<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">I guess i need to be asking more specific questions. </div><div class="gmail_extra"><br></div><div class="gmail_extra">I saw the same issue has been raised a few years ago and apparently there was no solution for it back then, so i thought i'd check again. </div><div class="gmail_extra"><br></div><div class="gmail_extra">The question is about bypassing mpiexec and trying to connect already running processes (which already have some data in memory to share with mpi tasks) into a single communicator without having to spawn yet another process with mpiexec.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Suppose one of this processes uses MPI_Comm_accept, and the other somehow know the mpi port name and would use MPI_Comm_connect() to connect to it.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Everything works as long as both server and client started with mpiexec -n 1. However, without mpiexec, the same attempts cause errors and connection never happens: </div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">mpiexec@Intel-Kubu] match_arg (utils/args/args.c:159): unrecognized argument pmi_args</div><div class="gmail_extra">[mpiexec@Intel-Kubu] HYDU_parse_array (utils/args/args.c:174): argument matching returned error</div><div class="gmail_extra">[mpiexec@Intel-Kubu] parse_args (ui/mpich/utils.c:1596): error parsing input array</div><div class="gmail_extra">[mpiexec@Intel-Kubu] HYD_uii_mpx_get_parameters (ui/mpich/utils.c:1648): unable to parse user arguments</div><div class="gmail_extra">[mpiexec@Intel-Kubu] main (ui/mpich/mpiexec.c:153): error parsing parameters</div><div><br></div><div><br></div><div>So, there's no way of working around the necessity to spawn an entirely new process with mpiexec?</div><div><br></div><div>Thank you very much for your help. </div><div>-Dmitriy</div></div></div>