Hi,<div><br></div><div>is it possible to create a binary which can be run directly without mpiexec but which can use MPI_Comm_spawn? I have a small test program which uses MPI_Comm_spawn and it works currently if I execute it with mpiexec. But if I execute it directly I get:</div>
<div><div>mpiexec was unable to launch the specified application as it could not find an executable:</div><div>Executable: -pmi_args</div><div><br></div><div>Even if a solution would require some internal API, I would be interested in it. If that is not possible, what is the best way to query whether the application was started with or without mpiexec? Should one just analyze the argv before MPI_Init is called or does mpich have some API for that use?</div>
<div><br></div><div>I would like to be able to create a binary which doesn't need to be executed with mpiexec to make it more user friendly so that a user which just wants to run on a single node can just execute the binary but the application uses all cores by default.</div>
<div><br></div><div>Roland</div><div><br></div>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a><br><a href="tel:865-241-1537" value="+18652411537" target="_blank">865-241-1537</a>, ORNL PO BOX 2008 MS6309<br>
</div>