Every process has a complete map of where every process in the job is located - not sure if there is an MPI API for accessing it, though.
> On Nov 25, 2014, at 2:32 PM, Teranishi, Keita <knte...@sandia.gov> wrote: > > Hi, > > I am trying to figure out a way for each local MPI rank to identify the > ranks located in physically remote nodes (just different nodes) of cluster or > MPPs such as Cray. I am using MPI_Get_processor_name to get the node ID, but > it requires some processing to map MPI rank to the node ID. Is there any > better ways doing this using MPI-2.2 (or earlier) capabilities? It will be > great if I can easily get a list of MPI ranks in the same physical node. > > Thanks, > ----------------------------------------------------------------------------- > Keita Teranishi > Principal Member of Technical Staff > Scalable Modeling and Analysis Systems > Sandia National Laboratories > Livermore, CA 94551 > +1 (925) 294-3738 > > _______________________________________________ > users mailing list > us...@open-mpi.org <mailto:us...@open-mpi.org> > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > <http://www.open-mpi.org/mailman/listinfo.cgi/users> > Link to this post: > http://www.open-mpi.org/community/lists/users/2014/11/25868.php > <http://www.open-mpi.org/community/lists/users/2014/11/25868.php>