User Tools

Site Tools


slurm_sbatch_srun

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
slurm_sbatch_srun [2023/03/01 21:47]
root
slurm_sbatch_srun [2023/03/01 22:46] (current)
root
Line 39: Line 39:
 </code> </code>
  
-A similar interactive job with one node in the ''comp01'' partition would be+A similar interactive job with one node in the ''comp01'' partition would be:
 <code> <code>
 srun  --nodes 1 --ntasks-per-node=1  --cpus-per-task=32 --partition comp01 --qos comp \ srun  --nodes 1 --ntasks-per-node=1  --cpus-per-task=32 --partition comp01 --qos comp \
 --time=1:00:00 --pty /bin/bash --time=1:00:00 --pty /bin/bash
 </code> </code>
 +All the slurm options between ''srun'' and ''--pty'' are the same for ''srun'' or ''sbatch''.
 Then the ''module'' and ''mpirun'' commands would be entered interactively. Then the ''module'' and ''mpirun'' commands would be entered interactively.
  
slurm_sbatch_srun.1677707251.txt.gz · Last modified: 2023/03/01 21:47 by root