[CIG-MC] PBS batch configurations

Robert Moucha rmoucha at gmail.com
Tue Oct 27 13:07:59 PDT 2009


Hi All,

I'm using a new cluster that uses the MOAB pbs scheduler, our previous
cluster did not use a batch system. I am trying to figure out how to
set the parameters in CitcomS.cfg, in the manual only lsf settings are
shown.  In particular, how do I specify multiple special options for
pbs. Is the following cfg file correct for the launch script below?
Or, does any one have a sample cfg file for pbs?

[CitComS]
scheduler = pbs

[CitcomS.pbs]
pbs-options = [-N test, -l nodes=2:ppn=8,walltime=1:00:00]

[Citcoms.launcher]
command = mpirun

Here is an example of a batch submission script that is used on the cluster:

#!/bin/bash
# MOAB/Torque submission script for SciNet GPC (ethernet)
#
#PBS -l nodes=2:ppn=8,walltime=1:00:00
#PBS -N test

# DIRECTORY TO RUN - $PBS_O_WORKDIR is directory job was submitted from
cd $PBS_O_WORKDIR

# EXECUTION COMMAND; -np = nodes*ppn
mpirun -np 16 -hostfile $PBS_NODEFILE ./a.out

Thanks all,
Rob

-- 
GEOTOP - Département des Sciences de la Terre et de l'Atmosphère
Université du Québec à Montréal
CP 8888, succursale Centre-Ville
Montréall, Québec
Canada  H3C 3P8
Tel:     (1-514) 987-3000, ext 1554#
FAX:     (1-514) 987-3635


More information about the CIG-MC mailing list