Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

MPI rank environment variable

mihainl
Beginner
2,457 Views

Hi all,

i need to get the rank number for each process through an environment variable. after some googling i found MPD_JRANK here

http://developers.sun.com/sunstudio/documentation/techart/mpi_apps/

but the variable seems not to be working withmy 4.0.1.007 MPI install...

I am looking for something similar to Open MPI's OMPI_COMM_WORLD_RANK.

thanks a lot!
Mihai

0 Kudos
1 Reply
mihainl
Beginner
2,457 Views
After some examination of the intel MPI env var set, I found $PMI_RANK that did the trick.
0 Kudos
Reply