Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] User Interface for MPMD
From: Frank Kampe (u2591_at_[hidden])
Date: 2012-08-10 12:47:08


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
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
Hi Frank
Check 'man mpiexec', the --app file option, maybe also --rankfile.
The on process binding at the end may also help.
I hope this helps,
Gus Correa
_______________________________________________
users mailing list
users_at_[hidden]
http://www.open-mpi.org/mailman/listinfo.cgi/users