Stern School of Business, New York University

Interactive Jobs on Slurm

One of the advantages of Slurm is the ability to run a large interactive job without having to specify the machine to run it on. To do this, you use the “srun” command.

For instance,

Typing the following on a slurm submit node (rnd, vleda, …)

srun --mem=12G --time=2:00:00 --pty /bin/bash    

will log you into a slurm node and reserve 12Gb of ram and a 2 hour wall-time session.

You then should be able to run any interactive programs including XWindows GUI applications like matlab, sas, xstat, …

Remember to “exit” when you are done, to free up your session.

Tagged as: ,