Using the MOAB Workload Manager
Article Index
Using the MOAB Workload Manager
Basic MOAB Script
MOAB Serial Job
Running an interactive job
Running an MPI job
MOAB MPICH2 Job
MOAB OpenMPI Job
MOAB MPICH1 Job
Job Dependencies
MOAB Queues
All Pages

This article describes how to use some useful MOAB commands and how to submit different types of jobs to the MOAB scheduler at the FSU HPC. Don't forget to also read the FAQ on Running jobs on the cluster.

 

MOAB Command Reference

The following is a list of the frequently used MOAB commands.

showq
list the jobs in the current queue
msub -q
submit a job to the moab batch queue. If no queuename is specificed then the default queue is used. The job submission script is required. Use msub --help to see the full list of options. msub returns the jobid.
checkjob [-v] jobid
This command allows users to check their job in the event of problems with the job. This command will show you the reason why your job didn't start if it has been deferred or blocked.
showstats
shows the job submission history statistics.
canceljob
cancels a job, takes as an argument the jobID. As a last resort, you can also use mjobctl -C jobID or /opt/torque/bin/qdel jobID if canceljob gives an error.
showstart
gives an estimate of when your job will start to run. Since many people don't indicate the predicated run time of their jobs, this estimate can be completely wrong.
showbf
show the available system resources

See the cluster resources Command Overview page for more information about each individual command.

Examples:
$ showbf -c genacc_q 
(show the available resources in the general access queue)
$ showq -r -w class=coaps_q 
(show the jobs running in the COAPS owner queue)
$ showq -i -w class=coaps_q 
(show idle jobs in the COAPS owner queue)
$ showq -r -w qos=coaps_high 
(show jobs running with QOS coaps_high)