I have, but I haven't found any user-callable function(s) to get the info listed below in a running MPMD program. I can do this with the PMI interface for the Cray MPICH2 implementation but cannot find anything equivalent for OpenMPI.
From: users-bounces_at_[hidden] [users-bounces_at_[hidden]] on behalf of Gus Correa [gus_at_[hidden]]
Sent: Friday, August 10, 2012 11:00 AM
To: Open MPI Users
Subject: Re: [OMPI users] User Interface for MPMD
On 08/10/2012 11:31 AM, Frank Kampe wrote:
> Are there any user level APIs to provide the following information to
> a running OpenMPI MPMD program:
> (1) Number of executable instances
> (2) 1st MPI Task rank of each instance
> (3) Number of MPI Tasks per instance
> Thank You
> users mailing list
Check 'man mpiexec', the --app file option, maybe also --rankfile.
The on process binding at the end may also help.
I hope this helps,
users mailing list