MPI-2 Process Management and mpiexec
Pete Wyckoff
pw at osc.edu
Fri Dec 16 14:52:20 EST 2005
trach-minh.tran at epfl.ch wrote on Fri, 16 Dec 2005 09:58 +0100:
> Is MPI-2 process management supported by mpiexec? I've
> got the following error when using MPI_Comm_spawn
> in a MPI program:
>
> mpiexec -n 1 ./masterc
> mpiexec: Error: handle_pmi: no "cmd" key first in keyvals.
> mpiexec: Warning: task 0 exited with status 13.
>
> and this error with another program using MPI_Lookup_name
>
> mpiexec -n 1 ./viz
> mpiexec: Error: handle_pmi: unknown cmd lookup_name.
> mpiexec: Warning: task 0 died with signal 15 (Terminated).
>
> I use torque-2.0.0p2, mpiexec 0.80 and mpich2-1.0.3. Note
> that I have no problem with the mpich2 mpdboot/mpiexec
> launcher.
It works for the launching stage, but you are trying to do
MPI-2 specific features that depend on the launcher that are
not yet implemented in mpiexec.
MPI_Comm_spawn is a bit complex because mpiexec must figure
out where to spawn the task, but that functionality happens
to exist already due to the concurrent "-server" code.
MPI_Lookup_name might be easy, but I may have to make the
keyval infrastructure a bit more generic.
I'll probably start fiddling with these things soon, but if
you are eager to add the code in pmi.c to make these things
work, you would be welcome to it.
-- Pete
More information about the mpiexec
mailing list