Skip to content

System Commands

Please check the table below to find the SLURM correspondence of a Torque command:

Command Description Torque SLURM
Batch job submission qsub \<Job File Name> sbatch \<Job File Name>
Interactive job submission qsub -I salloc | srun --pty /bin/bash
Job list qstat squeue -l
Job list by users qstat -u \<User Name> squeue -l -u \<User Name>
Job deletion qdel \<Job ID> scancel \<Job ID>
Job hold qhold \<Job ID> scontrol hold \<Job ID>
Job release qrls \<Job ID> scontrol release \<Job ID>
Job update qalter \<Job ID> scontrol update job \<Job ID>
Job details qstat -f \<Job ID> scontrol show job \<Job ID>
Node list pbsnodes -l sinfo -N
Node details pbsnodes scontrol show nodes

Please check the table below to find the SLURM correspondence of a Moab command:

Command Description Moab SLURM
Job start time showstart \<Job ID> squeue --start -j \<Job ID>
Status of nodes mdiag -n sinfo -N -l
User's account mdiag -u \<User Name> sacctmgr show association user=\<User Name>
Account members mdiag -a \<Account Name> sacctmgr show assoc account=\<Account Name>
Nodes of accounts mdiag -s sinfo -a

Finally, it is suggested to use srun as the parallel command wrapper although mpirun can still be used in SLRUM system.

Command Description OpenMPI SLURM
Parallel wrapper mpirun srun