This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
I gather you don't want to use the MPI calls to get it? Perhaps it would help if we understood a little more about what you are trying to do.
Or maybe we just aren't understanding the term "instance" - e.g., for #1, you want to know how many processes are executing in the job, yes?
If that's correct, then the second question doesn't make sense to me - so I'm a little lost.
On Aug 10, 2012, at 9:49 AM, Frank Kampe <u2591_at_[hidden]> wrote:
> No. I am looking for a user-callable function that will return information about the running OpenMPI MPMD program from within the running program---the information listed below in (1) -- (3).
> From: users-bounces_at_[hidden] [users-bounces_at_[hidden]] on behalf of Ralph Castain [rhc_at_[hidden]]
> Sent: Friday, August 10, 2012 11:15 AM
> To: Open MPI Users
> Subject: Re: [OMPI users] User Interface for MPMD
> I'm actually not sure I understand the question - are you talking about a programmatic API where an application wants to spawn an MPI program? Or an inter-program communication API that wants to tell another program some information? Or an API by which the app can tell MPI "I'm going to spawn N threads"? Or...?
> On Aug 10, 2012, at 9:00 AM, Gus Correa <gus_at_[hidden]> wrote:
>> 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
>> 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 mailing list
> users mailing list