Slurm Job Script Generator for Condo

* indicates a required field

 
Parameters
* Compute node type:
* Number of compute nodes:
Use 1 unless running a distributed-memory parallel application
* Number of processor cores per node:
compute nodes have 16 cores, gpu node has 12 cores
fat node has 32 cores, huge node has 40 cores
Number of GPUs:
Max 2 GPUs per node
* Walltime limit:
Maximum time the job may run. Shorter jobs may start running sooner.
hours mins secs
Max memory per compute node:
Default memory is 7900 MB per processor core requested for the regular compute nodes (1 GB == 1024 MB)
Job name:
Default is the job script name. Displayed by the squeue command.
Receive email for job events:
BEGIN: when job starts, END: when job ends, FAIL: if job fails
BEGIN END FAIL EMAIL
Job standard output file:
Default is "slurm-%j.out", where %j is the job ID.
Job standard error file:
Default is same file as the job standard output file.

Job Script

#!/bin/bash

# Copy/paste this job script into a text file and submit with the command:
#    sbatch thefilename
# job standard output will go to the file slurm-%j.out (where %j is the job ID)

#SBATCH --time=1:00:00   # walltime limit (HH:MM:SS)
#SBATCH --nodes=1   # number of nodes
#SBATCH --ntasks-per-node=16   # 16 processor core(s) per node 

# LOAD MODULES, INSERT CODE, AND RUN YOUR PROGRAMS HERE