mpiexec with OpenPBS

Gestion Linux gestionlinux at hotmail.com
Tue Jun 25 12:19:54 EDT 2002


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




More information about the mpiexec mailing list