Hi everyone,
Here is another elementary question. I tried the following steps found in the
FAQ section of www.open-mpi.org with a simple hello world example (with
PBS/torque):
$ qsub -l nodes=2 my_script.sh
my_script.sh is pasted below:
========================
#!/bin/sh -l
#PBS -N helloTest
#PBS -j eo
echo `cat $PBS_NODEFILE` # shows two nodes: WN1 WN2
cd $PBS_O_WORKDIR
/usr/local/bin/mpirun hello
========================
When the job is submitted, only one process is ran. When I add the -n 2 option
to the mpirun command,
two processes are ran but on one node only. Note that echo `cat $PBS_NODEFILE`
outputs
the two nodes I am using: WN1 and WN2.
The output from ompi_info is shown below:
$ ompi_info | grep tm
MCA memory: ptmalloc2 (MCA v2.0, API v2.0, Component v1.3.3)
MCA ras: tm (MCA v2.0, API v2.0, Component v1.3.3)
MCA plm: tm (MCA v2.0, API v2.0, Component v1.3.3)
Any help on why openMPI/mpirun is using only one PBS node is very appreciated.
Thanks a lot in advance and sorry for bothering you guys with my elementary
questions!
~Belaid.
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://go.microsoft.com/?linkid=9691815