Tips, SLURM

Tips, SLURM


  • In order to see your jobs only, and no others, run squeue -u <username>
  • Remember, in SLURM, your batch job starts to run in the directory from which you submitted the script. This means you do NOT have to change to that directory like you do in Torque or PBS systems.
  • Per default, SLURM may place other tasks - both your own and others - on the node(s) you are using. It is possible to ask for the entire node, and since SLURM does not separate between your own jobs and the jobs of others, this means the node will also not be shared between your own tasks. This is useful if you, say, need the whole infiniband bandwidth. However, remember that if you allocate the entire node for yourself, even if you only run on one or two cores, then you will still be 'charged' for a whole node from your SNIC allocation, so only do this if you actually need it!
  • Using salloc, you get an interactive shell to run your jobs in, when your nodes are allocated. This works like an interactive shell (-I) in PBS - including the fact that you cannot use the window while you wait for - perhaps - a long time before the job starts.