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 @@ ...@@ -3,24 +3,24 @@
Torque Transition Table Torque Transition Table
----------------------- -----------------------
================================================= ===== =================================================== =====
Torque Slurm Torque Slurm
================================================= ===== =================================================== =====
**Submit** **Submit**
--------------------------------------------------------- -----------------------------------------------------------
``qsub job.pbs`` ``sbatch job.sh`` ``qsub job.pbs`` ``sbatch job.sh``
``echo "Rscript foo.R" | qsub`` ``sbatch --wrap "Rscript foo.R"`` ``echo "Rscript foo.R" | qsub`` ``sbatch --wrap "Rscript foo.R"``
``qsub -I -q testing`` ``srun -p test --pty /bin/bash`` ``qsub -I -q testing`` ``srun -p test --pty /bin/bash``
------------------------------------------------- ----- --------------------------------------------------- -----
**Query** **Query**
--------------------------------------------------------- -----------------------------------------------------------
``qstat`` ``squeue`` ``qstat`` ``squeue``
``qstat -r`` ``squeue -u $USER --states R`` ``qstat -r`` ``squeue -u $USER --states R``
``qstat -q`` ``sinfo -s`` ``qstat -q`` ``sinfo -s``
------------------------------------------------- ----- --------------------------------------------------- -----
**Manage** **Manage**
--------------------------------------------------------- -----------------------------------------------------------
``qdel 1234`` ``scancel 1234`` ``qdel 1234`` ``scancel 1234``
``qdel all`` ``scancel -u $USER`` ``qdel all`` ``scancel -u $USER``
``qalter -l walltime=1:0:0 1234`` ``scontrol update jobid=1234 TimeLimit=1:0:0`` ``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