Hello All,
I am new user to this mailing list and am trying to get familiar with mpi.
I am using open mpi version 1.4.3
I have a simple shell script that I have written
The Shell Script that I have is as follows
echo " Hello World from Rank $rank"

The MPI Command that I am executing is as follows
mpirun -np 3 helloWorld.sh

What I want to know how what parameter do I need to pass from the mpirun command line so that I can read the rank for each task within my helloWorld Shell Script.

Please excuse me if this is a duplicate entry. I have searched through all the forums and did not get the answer to my question.
Thanks in advance for all your help.