From 0b0d5a3cce92d63a79da9cb0ae04b1c3525526a5 Mon Sep 17 00:00:00 2001 From: Garrett Mills Date: Wed, 14 Nov 2018 00:34:46 -0600 Subject: [PATCH] sbatch: add page (#2584) --- pages/linux/sbatch.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/linux/sbatch.md diff --git a/pages/linux/sbatch.md b/pages/linux/sbatch.md new file mode 100644 index 0000000000..34c53678ab --- /dev/null +++ b/pages/linux/sbatch.md @@ -0,0 +1,19 @@ +# sbatch + +> Submit a batch job to the SLURM scheduler. + +- Submit a batch job: + +`sbatch {{path/to/job.sh}}` + +- Submit a batch job with a custom name: + +`sbatch --job-name={{myjob}} {{path/to/job.sh}}` + +- Submit a batch job with a time limit of 30 minutes: + +`sbatch --time={{00:30:00}} {{path/to/job.sh}}` + +- Submit a job and request multiple nodes: + +`sbatch --nodes={{3}} {{path/to/job.sh}}`