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 <g...@ldeo.columbia.edu> 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 >> us...@open-mpi.org >> 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 > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users