Project

General

Profile

Introduction to Moab for users » History » Version 2

« Previous - Version 2/4 (diff) - Next » - Current version
Miguel Dias Costa, 29/02/2012 15:48


Introduction to Moab for users

Moab is the workload management system that is used in FEUP's high performance computing clusters.

Getting started

After gaining ssh accesh to a moab frontend, a user can see what resources are available and check the status of the queue by running

mshow

In order to submit jobs, one needs to create a submit script that defines the requirements and the command to be executed. A simple example to get started would be

Example serial job submission script helloworld.submit

#!/bin/bash                                                
#MOAB -l nodes=1:ppn=1                                    
#MOAB -l partition=torque1                                 
#MOAB -j oe                                          
cd $PBS_O_WORKDIR                                    
#!/bin/bash
echo "----------------------" 
hostname
echo "----------------------" 
date
echo "----------------------" 
echo "Sleeping 20s" 
sleep 20
echo "----------------------" 
echo "Hello World!" 

After creating this file, the job would be submitted by running

msub helloworld.submit

Checking status

To see details about the status of each job in the queue, one would run

mshow

To check the status of a specific job,

checkjob jobid

To check the status of a specific node,

checknode nodeid

To cancel a job

canceljob jobid

More Information

http://www.adaptivecomputing.com/resources/docs/