[CIG-MC] PBS batch configurations

Eh Tan tan2 at geodynamics.org
Tue Oct 27 13:37:45 PDT 2009


Hi Robert,

Do these options work for you?

[CitcomS]
scheduler = pbs

[CitcomS.launcher]
command = mpirun -np ${nodes} -hostfile ${PBS_NODEFILE}

[CitcomS.pbs]
ppn = 8

[CitcomS.job]
name = test
walltime = 1*hour



You can try run citcoms with --scheduler.dry. It will output the batch
submission script to screen.


Eh


Robert Moucha wrote:
> 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
>
>   

-- 
Eh Tan
Staff Scientist
Computational Infrastructure for Geodynamics
California Institute of Technology, 158-79
Pasadena, CA 91125
(626) 395-1693
http://www.geodynamics.org



More information about the CIG-MC mailing list