[torqueusers] problem about running jobs on multiple nodes
Jacques Foury
Jacques.Foury at math.u-bordeaux1.fr
Mon Nov 12 09:38:12 MST 2007
Chien-Pin Chou a écrit :
> Hello:
>
> I have a problem about running jobs on multiple nodes (n>1)
>
> when I use qsub -l nodes=2:ppn=2 for testing,
> but it just select 2 cpus in one node instead of choosing 2 cpus per
> node, which is total 4 cpus to run
>
> my test script is :
> #=========================
> cd $PBS_O_WORKDIR
> NPROCS=`wc -l < $PBS_NODEFILE`
> echo $NPROCS
> cat $PBS_NODEFILE
> echo "...."
> /opt/openmpi/bin/mpirun -np $NPROCS -machinefile $PBS_NODEFILE hostname
This is a VFAQ : Very Frequent Asked Question.
You must use mpiexec and not mpirun...
You must read the admin manuals :
http://clusterresources.com/torquedocs/7.1mpi.shtml
--
Jacques Foury
Institut de Mathematiques de Bordeaux
Universite Bordeaux 1 / CNRS
More information about the torqueusers
mailing list