For the old torque documentation, please see the old documentation.
Please confer /etc/slurm/README.
-joe
in Torque?qsub -l nodes=x:ppn=y:cluster+n_b:ppn=p_b:booster
?PBS command | closest slurm equivalent |
qsub | sbatch |
qsub -I | salloc + srun —pty bash -i |
qsub into an existing reservation | … —reservation= <reservation> … |
pbsnodes | scontrol show node |
pbsnodes (-ln) | sinfo (-R) or sinfo -Rl -h -o "%n %12U %19H %6t %E" | sort -u |
pbsnodes -c -N n <node> | scontrol update NodeName?= <node> State=RESUME |
pbsnodes -o <node> | scontrol update NodeName?= <node> State=DRAIN reason="some comment here" |
pbstop | smap |
qstat | squeue |
checkjob <job> | scontrol show job <job> |
checkjob -v <job> | scontrol show -d job <job> |
showres | scontrol show res |
setres | scontrol create reservation [ReservationName?= <reservation>] user=partec Nodes=j3c![053-056] StartTime?=now duration=Unlimited Flags=IGNORE_JOBS |
setres -u <user> ALL | scontrol create reservation ReservationName?=\<some name> user=\<user> Nodes=ALL startTime=now duration=unlimited FLAGS=maint,ignore_jobs |
releaseres | scontrol delete ReservationName?= <reservation> |