Submitting your job to a batch queue and monitoring its progress
The PPPL cluster uses
MOAB,
the Mother Of All Batch schedulers, for job submission and
job control. It supports the Portable Batch Scheduler (PBS) directives,
however, and uses the Torque daemon for job control on each cluster node.
To submit your job, ssh to portal, and execute the command
qsub.
This command
submits
a job script to a job queue on
the MOAB server isis.
For example:
qsub myjobscript
submits the job script myjobscript for execution.
The job will start executing when the resources required by
the job are available. For example, if you submit a job that
requires 24 nodes, the job will be started immediately if 24
nodes are available. However, if 24 nodes are
not available, MOAB will queue the job until nodes become
available.
Monitoring your job
Use the
qstat
command to monitor jobs on the cluster.
To list the current jobs on the cluster:
qstat -a
To list the currently running jobs on the cluster:
qstat -r
To list a specific user's currently running jobs on the cluster:
qstat -u <username>
To lists nodes allocated to running jobs:
qstat -n
To show detailed information for a specific job:
qstat -f <jobid>
To show detailed information for all queues
qstat -q
Man pages of Scheduler Commands