User Tools

Site Tools


tutorial:torque

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorial:torque [2021/06/17 08:25]
mjm519 [Running MATLAB]
tutorial:torque [2023/12/07 09:22]
mjm519
Line 44: Line 44:
 #PBS -o /home/mat614/TEST.out #PBS -o /home/mat614/TEST.out
 #PBS -l nodes=1:ppn=4  #PBS -l nodes=1:ppn=4 
 +#PBS -l pmem=2GB:vmem=1GB
 #PBS -q batch #PBS -q batch
  
Line 144: Line 145:
 <code bash large.pbs>qsub  -l pmem=20gb  test.pbs</code> <code bash large.pbs>qsub  -l pmem=20gb  test.pbs</code>
  
 +To see what resources have been assigned by the batch queuing system run the ulimit command (bash) or limit comamnd:
 +<code bash pbs job submission command>qsub -I -l nodes=1:ppn=1 -l pmem=30GB:vmem=4GB -q short -N test -e TEST.err -o TEST.out -w e</code>
 +<code bash ulimit>user@polyp13:~$ ulimit -a
 +core file size          (blocks, -c) 0
 +data seg size           (kbytes, -d) 31457280
 +scheduling priority             (-e) 0
 +file size               (blocks, -f) unlimited
 +pending signals                 (-i) 128344
 +max locked memory       (kbytes, -l) unlimited
 +max memory size         (kbytes, -m) 31457280
 +open files                      (-n) 65536
 +pipe size            (512 bytes, -p) 8
 +POSIX message queues     (bytes, -q) 819200
 +real-time priority              (-r) 0
 +stack size              (kbytes, -s) unlimited
 +cpu time               (seconds, -t) unlimited
 +max user processes              (-u) 128344
 +virtual memory          (kbytes, -v) unlimited
 +file locks                      (-x) unlimited</code>
 +
 +**[[https://www.geeksforgeeks.org/ulimit-soft-limits-and-hard-limits-in-linux|For more information on the ulimit command review this link.]]**
 ==== Running MATLAB ==== ==== Running MATLAB ====
  
Line 320: Line 342:
 </code> </code>
 and then schedule your jobs with Torque to perform experiments on GPU 1. and then schedule your jobs with Torque to perform experiments on GPU 1.
 +
 +
 +====== MOAB Scheduler ======
 +PBS Torque is used to schedule and run jobs on our cluster. Two PBS processes are required to run jobs. On the PBS server, the pbs_server process runs to accept your job and add it to the queue. It will also dispatch the job to the nodes to run under the pbs_mom process.
 +
 +
 +==== Useful Commands ====
 +1. [[https://docs.adaptivecomputing.com/maui/commands/showq.php|showq]] - Displays information about active, eligible, blocked, and/or recently completed jobs.
 +
 +2. [[https://docs.adaptivecomputing.com/maui/commands/showstart.php|Showstart]] - Displays the estimated start time of a job based a number of analysis types.
 +
 +2. showstart
tutorial/torque.txt ยท Last modified: 2024/02/28 13:12 by mjm519