Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:services:application_services:high_performance_computing:interactive_queue [2019/04/09 10:30] tehlers |
en:services:application_services:high_performance_computing:interactive_queue [2019/06/12 13:13] (current) mboden -n to -c |
||
---|---|---|---|
Line 12: | Line 12: | ||
For an interactive bash session: | For an interactive bash session: | ||
<code> | <code> | ||
- | srun -p int -n 20 -N 1 --pty bash | + | srun -p int -c 20 -N 1 --pty bash |
</code> | </code> | ||
For an interactive bash session with X-Windows (GUI) support: | For an interactive bash session with X-Windows (GUI) support: | ||
<code> | <code> | ||
- | srun --x11 -n 20 -N 1 -p int --pty bash | + | srun --x11 -c 20 -N 1 -p int --pty bash |
</code> | </code> | ||
For an interactive session with MPI support: | For an interactive session with MPI support: | ||
<code> | <code> | ||
- | srun -p int -n 80 -N 4 --ntasks-per-node=20 --pty bash | + | srun -p int -N 4 --ntasks-per-node=20 --pty bash |
</code> | </code> | ||
You can also use these commands with a standard queue, for example to set some parameters interactively at the beginning of a long running job. | You can also use these commands with a standard queue, for example to set some parameters interactively at the beginning of a long running job. |