[mpich-discuss] MPI_Comm_spawn without mpiexec
Dave Goodell
goodell at mcs.anl.gov
Mon Jun 18 08:02:43 CDT 2012
This should generally "just work" with MPICH2 on normal workstation-type platforms and plain-vanilla clusters. How are you invoking your binary when you "execute it directly"?
What version of MPICH2 are you using? What sort of platform is it on?
-Dave
On Jun 16, 2012, at 1:40 PM CDT, Roland Schulz wrote:
> Hi,
>
> 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:
> mpiexec was unable to launch the specified application as it could not find an executable:
> Executable: -pmi_args
>
> 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?
>
> 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.
>
> Roland
>
> --
> ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
> 865-241-1537, ORNL PO BOX 2008 MS6309
> _______________________________________________
> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list