mpiexec with OpenPBS

ALLEON Guillaume guillaume.alleon at airbus.aeromatra.com
Tue Jun 25 12:28:54 EDT 2002


you should specify #PBS -l nodes=2:ppn=2 which tells
PBS to run 2 processes per node on two nodes.

I guess your notation is obsolete so that it does not
take into account your "ncpus" requirement

Yours

Guillaume

> -----Message d'origine-----
> De: Gestion Linux [mailto:gestionlinux at hotmail.com]
> Date: mardi 25 juin 2002 18:20
> À: mpiexec at osc.edu
> Objet: mpiexec with OpenPBS
> 
> 
> 
> 
> Hi,
> I'm new to the mpiexec world.
> 
> 1. How to let mpiexec know that I have 2 nodes with a 2 processors
>    each.
> 2. Should tell mpiexec that I want to use 1 or 2 nodes? Or its the
>    job of OpenPBS.
> 
> Here is an example (is it correct?):
> -------------------------
> #!/bin/sh
> ### Job name
> #PBS -N test
> ### Output files
> #PBS -e parallel4.err
> #PBS -o parallel4.log
> #PBS -q dque
> #PBS -l nodes=2
> #PBS -l ncpus=4
> echo Working directory is $PBS_O_WORKDIR
> cd $PBS_O_WORKDIR
> echo Running on host `hostname`
> echo Time is `date`
> echo This job runs on the following processors
> echo `cat $PBS_NODEFILE`
> NPROCS=`wc -l < $PBS_NODEFILE`
> echo This job has allocated $NPROCS nodes
> mpiexec  mpi1
> echo Terminated at `date`
> ----------------------------
> 
> When I submit this job with qsub, I see the job runninh on the 2 nodes
> but only one processor is executing on each node AND STAYS 
> RUNNING FOR 
> EVER??? Can some body
> explain that to me ??
> Thanks
> Noureddine
> 
> 
> 
> _________________________________________________________________
> Envoyez et recevez des messages Hotmail sur votre 
> périphérique mobile : 
> http://mobile.msn.com
> 
> _______________________________________________
> mpiexec mailing list
> mpiexec at osc.edu
> http://email.osc.edu/mailman/listinfo/mpiexec
> 



More information about the mpiexec mailing list