Simple example Scripts
See: http://geco.mines.edu/prototype/How_do_I_do_a_simple_build_and_run/
Complex Scripts
See: http://geco.mines.edu/prototype/I_want_to_run_complex_scripts_any_advice/
Launching a job
sbatch script
Launching a job using a particular account
sbatch -A ACCOUNT_NUMBER script
Show the accounts I can use on AuN or Mc2
/opt/utility/accounts
Launching a job with exclusive access (recommended)
sbatch --exclusive script
Launching a job in a particular partition or set of nodes or running interactively
See: http://geco.mines.edu/prototype/How_do_I_select_MY_nodes/
See all jobs in the queue
squeue -a
Seeing what jobs I have in the queue
squeue -u $LOGNAME
Show an estimate of when a job will start
squeue --start --job JOB_NUMBER
Killing a job
scancel JOB_NUMBER
Show what partitions I am allowed to use:
sinfo -node
Show what partitions I am allowed to use and the nodes:
sinfo --summarize
Show all partitions and their nodes:
sinfo -a
Formatted Slurm Man Pages
See: http://slurm.schedmd.com/man_index.html
Text versions of the man pages
A cross reference for other work load managers
http://slurm.schedmd.com/rosetta.html