[mpich-discuss] Joining a job from a process without mpiexec parent

Dmitriy Lyubimov dlieu.7 at gmail.com
Fri Mar 2 12:23:13 CST 2018


Hi,

Is it possible from context of a task (not launched with mpiexec), but
having loaded libmpi.so, to join a job or mpi group, perhaps with either
comm_connect/accept or PMI routines such as here
https://wiki.mpich.org/mpich/index.php/PMI_v2_API using job id?

I guess in this case the process will be a "singleton", using the
terminlogy from the document above.

we can assume information about singleton job ids and/or ports can be made
available to every process willing to do such join, as well as whatever
other information needed to form a communicator (world or group).

I have implemented a hierarchical join of processes using
MPI_CONNECT/accept started as singletons with mpiexec but i had to fork the
task to execute mpiexec. If i could avoid forking and instead join the
parent process directly, that would be a great benefit in my context.

I think i already asked a similar question a couple of years ago, at that
time I did not get a better solution. Perhaps there's some new insight on
this.

Thanks in advance !
-Dmitriy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20180302/d9e6ef47/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list