Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
slurm_interactive [2020/02/04 18:46] root |
slurm_interactive [2020/02/19 19:04] (current) root |
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. | ''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> |
| |