-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e985a1
commit 14c0608
Showing
10 changed files
with
80 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
#SBATCH --job-name="Sbatch Example" | ||
#SBATCH --output=cpu_job_%j.out | ||
#SBATCH --mail-type=ALL | ||
#SBATCH [email protected] | ||
#SBATCH --partition=teaching | ||
#SBATCH --nodes=1 | ||
#SBATCH --cpus-per-task=2 | ||
#SBATCH --mem=2GB | ||
|
||
## SCRIPT START | ||
|
||
srun echo "Hello from the executing node!" | ||
srun hostname | ||
srun python --version | ||
|
||
## SCRIPT END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
#SBATCH --job-name="DGX 8 GPU" | ||
#SBATCH --output=train_%N_%j.out | ||
#SBATCH --mail-type=ALL | ||
#SBATCH [email protected] | ||
#SBATCH --partition=dgx | ||
#SBATCH --nodes=1 | ||
#SBATCH --gres=gpu:v100:8 | ||
#SBATCH --cpus-per-gpu=8 | ||
|
||
SCRIPT_NAME="Rosie DGX Script" | ||
CONTAINER="/data/containers/msoe-tensorflow.sif" | ||
SCRIPT_PATH="" | ||
SCRIPT_ARGS="" | ||
|
||
## SCRIPT | ||
echo "SBATCH SCRIPT: ${SCRIPT_NAME}" | ||
srun hostname; pwd; date; | ||
srun singularity exec --nv -B /data:/data ${CONTAINER} python3 ${SCRIPT_PATH} ${SCRIPT_ARGS} | ||
echo "END: " $SCRIPT_NAME |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
#SBATCH --job-name="Sbatch Example" | ||
#SBATCH --output=job_%j.out | ||
#SBATCH --mail-type=ALL | ||
#SBATCH [email protected] | ||
#SBATCH --partition=teaching | ||
#SBATCH --nodes=1 | ||
#SBATCH --gres=gpu:t4:1 | ||
#SBATCH --cpus-per-gpu=4 | ||
|
||
## SCRIPT START | ||
|
||
srun echo "Hello from the executing node!" | ||
srun hostname | ||
srun python --version | ||
srun nvidia-smi | ||
|
||
## SCRIPT END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
#SBATCH --job-name="Sbatch Example" | ||
#SBATCH --output=job_%j.out | ||
#SBATCH --mail-type=ALL | ||
#SBATCH [email protected] | ||
#SBATCH --partition=teaching | ||
#SBATCH --nodes=1 | ||
#SBATCH --gres=gpu:t4:1 | ||
#SBATCH --cpus-per-gpu=4 | ||
|
||
SCRIPT_NAME="Rosie Job Script" | ||
CONTAINER="/data/containers/msoe-tensorflow.sif" | ||
SCRIPT_PATH="" | ||
SCRIPT_ARGS="" | ||
|
||
## SCRIPT | ||
echo "SBATCH SCRIPT: ${SCRIPT_NAME}" | ||
srun hostname; pwd; date; | ||
srun singularity exec --nv -B /data:/data ${CONTAINER} python3 ${SCRIPT_PATH} ${SCRIPT_ARGS} | ||
echo "END: " $SCRIPT_NAME |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.