Commit e950a469 authored by Michael Krause's avatar Michael Krause 🎉
Browse files

Slurm transition table: use 24h in timelimit example

parent 32947ecb
......@@ -3,24 +3,24 @@
Torque Transition Table
-----------------------
================================================= =====
Torque Slurm
================================================= =====
=================================================== =====
Torque Slurm
=================================================== =====
**Submit**
---------------------------------------------------------
``qsub job.pbs`` ``sbatch job.sh``
``echo "Rscript foo.R" | qsub`` ``sbatch --wrap "Rscript foo.R"``
``qsub -I -q testing`` ``srun -p test --pty /bin/bash``
------------------------------------------------- -----
-----------------------------------------------------------
``qsub job.pbs`` ``sbatch job.sh``
``echo "Rscript foo.R" | qsub`` ``sbatch --wrap "Rscript foo.R"``
``qsub -I -q testing`` ``srun -p test --pty /bin/bash``
--------------------------------------------------- -----
**Query**
---------------------------------------------------------
``qstat`` ``squeue``
``qstat -r`` ``squeue -u $USER --states R``
``qstat -q`` ``sinfo -s``
------------------------------------------------- -----
-----------------------------------------------------------
``qstat`` ``squeue``
``qstat -r`` ``squeue -u $USER --states R``
``qstat -q`` ``sinfo -s``
--------------------------------------------------- -----
**Manage**
---------------------------------------------------------
``qdel 1234`` ``scancel 1234``
``qdel all`` ``scancel -u $USER``
``qalter -l walltime=1:0:0 1234`` ``scontrol update jobid=1234 TimeLimit=1:0:0``
================================================= =====
-----------------------------------------------------------
``qdel 1234`` ``scancel 1234``
``qdel all`` ``scancel -u $USER``
``qalter -l walltime=24:0:0 1234`` ``scontrol update jobid=1234 TimeLimit=24:0:0``
=================================================== =====
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment