[OMPI users] How to Read the Rank from the MPI_TASK

2013-05-10 Thread deepak mehta
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.3I have a simple shell script that I have writtenThe Shell Script that I have is as followshelloWorld.sh#!/bin/bashecho " Hello World from Rank $rank" The MPI Command that I am exe

Re: [OMPI users] How to Read the Rank from the MPI_TASK

2013-05-10 Thread deepak mehta
Hello Ralph,Your suggestion did the trick. >> I don't remember back to 1.4.3, but I think it was true even that long ago - >> we provide an environmental variable OMPI_COMM_WORLD_RANK that holds the >> rank of the process. Out of curiosity if I want to learn more about this >> topic in detail w