Information Technology

RCSG and CITI Deploying Enhanced Job Scheduler

01-Feb-2007

Revision 2.1


Introduction


showq, checkjob, and showstart Commands Available Once Again

The preferred way to check the status of jobs will be by using the showq and checkjob commands. These commands are provided by Moab and will reflect the position of a job in the queue (whether it is running, waiting to run, or blocked). Simply running the showq command will produce a detailed list of all jobs in the queue. Running the checkjob command followed by the job ID number will show a detailed status of the particular job. Running the showstart command followed by the job ID number will show the projected start time of a particular job. It is strongly recommended that you use these commands instead of qstat to check on the status of your jobs. Note that when a job is submitted, Torque will pass the job to Moab for scheduling. This process may take a few seconds. During these few seconds the new job will be visible with qstat but not with the showq, checkjob, and showstart commands. Please be patient until Moab assigns a position for your job in the queue.


Job Arrays No Longer Available


Node Request Method (select=X option is invalid)


Exclusive Access to Nodes

It is possible to request exclusive access to a node so that you will not share it with anyone else regardless of how many processors (i.e. independent of the value of ppn) you need on that node. This might be important for memory or disk intensive jobs where interference from other jobs would impact performance. There are two methods that can be used to gain exclusive access:

  • Use the following lines in your PBS batch script:

#PBS -l nodes=1:ppn=1
#PBS -W x=NACCESSPOLICY:SINGLEJOB

This combination of options will give the user one node, and only one processor (ppn), but will have exclusive access to the entire node. The remaining 3 processors will be unused. Note that the showq command will show your job in the queue as having been assigned 4 processors, even though only one will be used.

  • Request all four processors and then use mpiexec with the -n 1 option in your PBS batch script as follows:

#PBS -l nodes=1:ppn=4
mpiexec -n 1 $XD1LAUNCHER myprogram     #run your program with mpiexec

This combination of options will give the user one node and all four processors (thus exclusive access) but will specify that mpiexec should use only one processor.


Improved Job Scheduling!


Getting Help

IT
Division of Information Technology
MS-119, P.O. Box 1892, Rice University, Houston, Texas 77251-1892
713-348-HELP(4357)