Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| slurm_interactive [2020/02/04 18:45] – root | slurm_interactive [2025/10/15 19:51] (current) – external edit 127.0.0.1 |
|---|
| ====Slurm Interactive==== | ====Slurm Interactive==== |
| On Pinnacle/Karpinski we currently only support interactive jobs on single nodes from one core to the number of the cores in the node. So always ''--nodes=1'' with ''srun''. MPI is supported, just not multiple-node interactive MPI. | On Pinnacle/Karpinski we currently only support interactive jobs on single nodes from one core to the number of the cores in the node. So always ''--nodes=1'' with ''srun''. MPI is supported, just not multiple-node interactive MPI. |
| | |
| | ''slurm'' interactive, like ''torque'' interactive, will hang your terminal until the job starts. This example is for an entire node (32 cores or cpus), which is more than a typical requirement for an interactive job (often 1 core). |
| <code> | <code> |
| srun --nodes=1 --ntasks-per-node=1 --cpus-per-task=32 --partition comp06 --time=6:00:00 --pty /bin/bash | srun --nodes=1 --ntasks-per-node=1 --cpus-per-task=32 --partition comp06 --time=6:00:00 --pty /bin/bash |
| </code> | </code> |
| |