Look at the contents of $PBS_NODEFILE and see how many nodes it contains.

On Jun 15, 2010, at 3:56 AM, Govind Songara wrote:

Hi,

I have using openmpi build with tm support
When i run the job requesting for two nodes it run only on single node.
Here is my script.
>cat mpipbs-script.sh
#PBS -N mpipbs-script
#PBS -q short
### Number of nodes: resources per node
### (4 cores/node, so ppn=4 is ALL resources on the node)
#PBS -l nodes=2:ppn=4
/opt/openmpi-1.4.2/bin/mpirun /scratch0/gsongara/mpitest/hello


torque config
set queue short resources_max.nodes = 4
set queue short resources_default.nodes = 1
set server resources_default.neednodes = 1
set server resources_default.nodect = 1
set server resources_default.nodes = 1

Can someone please advise if i missing anything here.

Regards
Govind
_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users