├── .gitignore ├── 01-introduction ├── .gitignore ├── 1-hello-world │ ├── 01.sh │ ├── 02.sh │ ├── 03.sh │ └── README.md ├── 2-environment-modules │ └── 01.sh └── 3-array-jobs │ ├── 01.sh │ ├── 02.sh │ ├── 03.sh │ ├── README.md │ └── bin │ └── square.py ├── LICENSE ├── ManifestofJobs-R ├── README.md ├── Rtask.R ├── arrayjob-kickoff.sh └── taskArgumentManifest.csv ├── Matlab └── multi-task │ ├── README.md │ ├── run-matlab.sh │ ├── script.m │ └── submit.sh ├── README.md ├── R_and_sh_example ├── .gitignore ├── Output │ └── .placeholder ├── README.md ├── R_cluster_example.R ├── Rout │ └── .placeholder └── example.sh ├── Rmpi-to-rslurm └── README.md ├── checkpointer ├── README.md ├── bin │ └── checkpointer └── lib │ └── checkpointer │ ├── checkpointer │ ├── checkpointer-generic │ ├── checkpointer-lib │ ├── checkpointer-slurm │ ├── checkpointer-suid.c │ ├── old │ ├── checkpointer-slurm.0.1 │ └── checkpointer.0.1 │ └── slurmtime2seconds ├── legacy ├── Singularity │ ├── .gitignore │ ├── example_1 │ │ ├── README.md │ │ ├── list_installed.R │ │ ├── r-base-with-libraries.def │ │ └── r-base-with-mount.def │ └── lolcow │ │ └── lolcow.sbatch.sh └── dask │ ├── fhdask │ └── grabdask ├── make-pipeline ├── Makefile ├── README.md └── myscript ├── mp-array ├── .gitignore ├── README.md ├── array │ ├── hello.R │ └── super.sh ├── mp-sbatch │ ├── hello.R │ ├── runscript │ └── super.sh └── mp │ ├── hello.R │ ├── runscript │ └── super.sh ├── pytorch-distributed ├── README.md ├── hello.py └── hello.sh ├── rslurm ├── README.md ├── pi.R └── rslurm-example.R └── tensorflow-gpu ├── README.md ├── beginner-apptainer.sh ├── beginner.py └── beginner.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /01-introduction/.gitignore: -------------------------------------------------------------------------------- 1 | *.out 2 | -------------------------------------------------------------------------------- /01-introduction/1-hello-world/01.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "Hello, World" 4 | -------------------------------------------------------------------------------- /01-introduction/1-hello-world/02.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/01-introduction/1-hello-world/02.sh -------------------------------------------------------------------------------- /01-introduction/1-hello-world/03.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/01-introduction/1-hello-world/03.sh -------------------------------------------------------------------------------- /01-introduction/1-hello-world/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/01-introduction/1-hello-world/README.md -------------------------------------------------------------------------------- /01-introduction/2-environment-modules/01.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/01-introduction/2-environment-modules/01.sh -------------------------------------------------------------------------------- /01-introduction/3-array-jobs/01.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/01-introduction/3-array-jobs/01.sh -------------------------------------------------------------------------------- /01-introduction/3-array-jobs/02.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/01-introduction/3-array-jobs/02.sh -------------------------------------------------------------------------------- /01-introduction/3-array-jobs/03.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/01-introduction/3-array-jobs/03.sh -------------------------------------------------------------------------------- /01-introduction/3-array-jobs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/01-introduction/3-array-jobs/README.md -------------------------------------------------------------------------------- /01-introduction/3-array-jobs/bin/square.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/01-introduction/3-array-jobs/bin/square.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /ManifestofJobs-R/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/ManifestofJobs-R/README.md -------------------------------------------------------------------------------- /ManifestofJobs-R/Rtask.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/ManifestofJobs-R/Rtask.R -------------------------------------------------------------------------------- /ManifestofJobs-R/arrayjob-kickoff.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/ManifestofJobs-R/arrayjob-kickoff.sh -------------------------------------------------------------------------------- /ManifestofJobs-R/taskArgumentManifest.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/ManifestofJobs-R/taskArgumentManifest.csv -------------------------------------------------------------------------------- /Matlab/multi-task/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/Matlab/multi-task/README.md -------------------------------------------------------------------------------- /Matlab/multi-task/run-matlab.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/Matlab/multi-task/run-matlab.sh -------------------------------------------------------------------------------- /Matlab/multi-task/script.m: -------------------------------------------------------------------------------- 1 | task_id = getenv('SLURM_LOCALID') 2 | -------------------------------------------------------------------------------- /Matlab/multi-task/submit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/Matlab/multi-task/submit.sh -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/README.md -------------------------------------------------------------------------------- /R_and_sh_example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/R_and_sh_example/.gitignore -------------------------------------------------------------------------------- /R_and_sh_example/Output/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /R_and_sh_example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/R_and_sh_example/README.md -------------------------------------------------------------------------------- /R_and_sh_example/R_cluster_example.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/R_and_sh_example/R_cluster_example.R -------------------------------------------------------------------------------- /R_and_sh_example/Rout/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /R_and_sh_example/example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/R_and_sh_example/example.sh -------------------------------------------------------------------------------- /Rmpi-to-rslurm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/Rmpi-to-rslurm/README.md -------------------------------------------------------------------------------- /checkpointer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/checkpointer/README.md -------------------------------------------------------------------------------- /checkpointer/bin/checkpointer: -------------------------------------------------------------------------------- 1 | ../lib/checkpointer/checkpointer -------------------------------------------------------------------------------- /checkpointer/lib/checkpointer/checkpointer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/checkpointer/lib/checkpointer/checkpointer -------------------------------------------------------------------------------- /checkpointer/lib/checkpointer/checkpointer-generic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/checkpointer/lib/checkpointer/checkpointer-generic -------------------------------------------------------------------------------- /checkpointer/lib/checkpointer/checkpointer-lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/checkpointer/lib/checkpointer/checkpointer-lib -------------------------------------------------------------------------------- /checkpointer/lib/checkpointer/checkpointer-slurm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/checkpointer/lib/checkpointer/checkpointer-slurm -------------------------------------------------------------------------------- /checkpointer/lib/checkpointer/checkpointer-suid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/checkpointer/lib/checkpointer/checkpointer-suid.c -------------------------------------------------------------------------------- /checkpointer/lib/checkpointer/old/checkpointer-slurm.0.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/checkpointer/lib/checkpointer/old/checkpointer-slurm.0.1 -------------------------------------------------------------------------------- /checkpointer/lib/checkpointer/old/checkpointer.0.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/checkpointer/lib/checkpointer/old/checkpointer.0.1 -------------------------------------------------------------------------------- /checkpointer/lib/checkpointer/slurmtime2seconds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/checkpointer/lib/checkpointer/slurmtime2seconds -------------------------------------------------------------------------------- /legacy/Singularity/.gitignore: -------------------------------------------------------------------------------- 1 | *.sif 2 | -------------------------------------------------------------------------------- /legacy/Singularity/example_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/legacy/Singularity/example_1/README.md -------------------------------------------------------------------------------- /legacy/Singularity/example_1/list_installed.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/legacy/Singularity/example_1/list_installed.R -------------------------------------------------------------------------------- /legacy/Singularity/example_1/r-base-with-libraries.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/legacy/Singularity/example_1/r-base-with-libraries.def -------------------------------------------------------------------------------- /legacy/Singularity/example_1/r-base-with-mount.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/legacy/Singularity/example_1/r-base-with-mount.def -------------------------------------------------------------------------------- /legacy/Singularity/lolcow/lolcow.sbatch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/legacy/Singularity/lolcow/lolcow.sbatch.sh -------------------------------------------------------------------------------- /legacy/dask/fhdask: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/legacy/dask/fhdask -------------------------------------------------------------------------------- /legacy/dask/grabdask: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/legacy/dask/grabdask -------------------------------------------------------------------------------- /make-pipeline/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/make-pipeline/Makefile -------------------------------------------------------------------------------- /make-pipeline/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/make-pipeline/README.md -------------------------------------------------------------------------------- /make-pipeline/myscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/make-pipeline/myscript -------------------------------------------------------------------------------- /mp-array/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/mp-array/.gitignore -------------------------------------------------------------------------------- /mp-array/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/mp-array/README.md -------------------------------------------------------------------------------- /mp-array/array/hello.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/mp-array/array/hello.R -------------------------------------------------------------------------------- /mp-array/array/super.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/mp-array/array/super.sh -------------------------------------------------------------------------------- /mp-array/mp-sbatch/hello.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/mp-array/mp-sbatch/hello.R -------------------------------------------------------------------------------- /mp-array/mp-sbatch/runscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/mp-array/mp-sbatch/runscript -------------------------------------------------------------------------------- /mp-array/mp-sbatch/super.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/mp-array/mp-sbatch/super.sh -------------------------------------------------------------------------------- /mp-array/mp/hello.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/mp-array/mp/hello.R -------------------------------------------------------------------------------- /mp-array/mp/runscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/mp-array/mp/runscript -------------------------------------------------------------------------------- /mp-array/mp/super.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/mp-array/mp/super.sh -------------------------------------------------------------------------------- /pytorch-distributed/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/pytorch-distributed/README.md -------------------------------------------------------------------------------- /pytorch-distributed/hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/pytorch-distributed/hello.py -------------------------------------------------------------------------------- /pytorch-distributed/hello.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/pytorch-distributed/hello.sh -------------------------------------------------------------------------------- /rslurm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/rslurm/README.md -------------------------------------------------------------------------------- /rslurm/pi.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/rslurm/pi.R -------------------------------------------------------------------------------- /rslurm/rslurm-example.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/rslurm/rslurm-example.R -------------------------------------------------------------------------------- /tensorflow-gpu/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/tensorflow-gpu/README.md -------------------------------------------------------------------------------- /tensorflow-gpu/beginner-apptainer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/tensorflow-gpu/beginner-apptainer.sh -------------------------------------------------------------------------------- /tensorflow-gpu/beginner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/tensorflow-gpu/beginner.py -------------------------------------------------------------------------------- /tensorflow-gpu/beginner.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FredHutch/slurm-examples/HEAD/tensorflow-gpu/beginner.sh --------------------------------------------------------------------------------