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

2013-05-10 Thread Ralph Castain
You mean a good MPI book? There are a lot of good ones out there - just search Amazon for "MPI programming" On May 10, 2013, at 1:55 PM, deepak mehta wrote: > 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 >

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

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

2013-05-10 Thread Ralph Castain
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 On May 10, 2013, at 1:39 PM, deepak mehta wrote: > Hello All, > I am new user to this mailing list and am trying to get fam

[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