The CRC Team provides some wrapper scripts that make interacting with Slurm easier by abstracting away some of the details of common commands. The scripts are written in Python and should accept;-h;and;--help;to provide help documentation.
To submit an interactive job, you should use the CRC wrapper:
crc-interactive --smp --time=1:00 --num-cores=2
would give you an interactive job for 1 hour on SMP with 2 processors. When the interactive job starts, you will notice that you are no longer on a login node, but rather one of the compute nodes.
[shs159@smp-n2 ˜]$
Try
crc-interactive -h
for more details.
Note:;The Python 2.7 library will be loaded automatically when you run crc-interactive. This will prevent;you from;sourcing;a python 3.x;environment. See this page for an alternative method.;
X11 forwarding is known to cause issues with crc-interactive. If you need an interactive session with X11 forwarding enabled, please refer to this documentation.
crc-quota
Show your storage quota on all of our storage systems;
crc-usage
Show your usage on each cluster
For now, this will only show your primary group. Try groups | cut -d' ' -f1code> to find your primary group.
crc-job-stats
This script is meant to be added at the bottom of your Slurm scripts (after srun) to give the statististic of your job.