Interactive Jobs
Although Slurm has a command designed to run interactive jobs (salloc), we strongly recommend to use a tool named ‘interactive’ that is available in Marvin. Exist several ways to run interactive jobs (normaly are different combinatios between the salloc and the srun command) but the use for the ‘interactive’ tool help to the final user to do it in the correct way:
[msanchez@mr-login ~]# interactive -h |
Examples:
1.- Run an interactive job with a resource reservation of 4 nodes with 8 cores and 4Gb of RAM for each core.
[msanchez@mr-login ~]$ interactive -N 4 -T 8 -m 4 -e [email protected] -J test-interactive-job
2.- Run an interactive jobs with 32 cores (we don’t mind the number of cores and how many cores we have in each node). We also ask for 8 GB in each core:
[msanchez@mr-login ~]$ interactive -N 4 -n 32 -m 8 -e [email protected] -J test-interactive-job