<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div class="gmail_extra">Hi, </div><div class="gmail_extra"><br></div><div class="gmail_extra">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 <a href="https://wiki.mpich.org/mpich/index.php/PMI_v2_API">https://wiki.mpich.org/mpich/index.php/PMI_v2_API</a> using job id?</div><div class="gmail_extra"><br></div><div class="gmail_extra">I guess in this case the process will be a "singleton", using the terminlogy from the document above. </div><div class="gmail_extra"><br></div><div class="gmail_extra">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).<br><br>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. </div><div class="gmail_extra"><br></div><div class="gmail_extra">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.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks in advance !</div><div class="gmail_extra">-Dmitriy</div></div>