How To Hold And Release Job in PBS
#qsig -s suspend command to suspend a job so that it won’t run. If you suspend a job, and then release it using the
#qsig -s resume command,
HOW TO HOLD THE PARTICULAR JOB.
For Example 54.
1)qstat -a 54 (list all the jobs id 54)
2)qhold 54 (hold the job 54)
3)qstat -a 54 (check the status)
4)qrls -h u 54 (release the job id 54)
5)qstat -a 54 (check the Status)
PBS Resource Management Useful Tips
1)qsub -l select=4:ncpus=1:mem=4gb -l place=free (Take the resource anywhere PLACE).
2)qsub -l select=1:ncpus=2:mem=50gb:host=zooland(Request job on specified NODE).
3)qsub -l select=2:ncpus=3:mem=6gb -l place=scatter (Request resource on different NODE).
4)qsub -l select=1:ncpus=1:mem=25gb -l place=pack:excl (Request a small number of CPUs but a large amount of memory, exclu-
sively)
User’s PBS Environment
User must be able to transfer files between hosts (e.g. via rcp or scp)
should add entry /usr/bin/scp in /etc/pbs.conf
#qsig -s suspend command to suspend a job so that it won’t run. If you suspend a job, and then release it using the
#qsig -s resume command,
HOW TO HOLD THE PARTICULAR JOB.
For Example 54.
1)qstat -a 54 (list all the jobs id 54)
2)qhold 54 (hold the job 54)
3)qstat -a 54 (check the status)
4)qrls -h u 54 (release the job id 54)
5)qstat -a 54 (check the Status)
PBS Resource Management Useful Tips
1)qsub -l select=4:ncpus=1:mem=4gb -l place=free (Take the resource anywhere PLACE).
2)qsub -l select=1:ncpus=2:mem=50gb:host=zooland(Request job on specified NODE).
3)qsub -l select=2:ncpus=3:mem=6gb -l place=scatter (Request resource on different NODE).
4)qsub -l select=1:ncpus=1:mem=25gb -l place=pack:excl (Request a small number of CPUs but a large amount of memory, exclu-
sively)
User’s PBS Environment
User must be able to transfer files between hosts (e.g. via rcp or scp)
should add entry /usr/bin/scp in /etc/pbs.conf
![]() |
