Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] running as rank 0 of 1 for 2 processor
From: Ramya Narasimhan (varsharamya_at_[hidden])
Date: 2009-02-13 01:32:28


Hi,
     I have installed openmpi-1.3. When I checked for the example programs,
the output shows only rank 0 of size 1 for 2 processors. When I gave the
command: *mpirun -hostfile node -np 2 hello_c*
the output is
Hello, world, I am 0 of 1
Hello, world, I am 0 of 1

In my node file, I have
*IP address* slots=2 max_slots=2
I don't know why it is not giving as 0 of 2 and 1 of 2.
For installation, I gave
*configure --prefix=/path
make all
make install*

Thanks for any clarifications and suggestions.
Varsha