[mpich-discuss] Spawn command launches new smpd process

Abu-Shakra, Makram Makram.Abu-Shakra at lpsvcs.com
Thu Jul 14 18:52:13 CDT 2011


Hello,

We installed MPICH2 on Windows (Windows7 and 2003 Server) and created a program using Python and mpi4py.  Within our program we call MPI.COMM_SELF.Spawn(...) and this runs fine when we call our program using multiple hosts, such as:
mpiexec -l -hosts 2 apacompute1 1 apacompute2 1 python ourprogram.py

Running our program using -hosts 1 causes the Spawn command to actually launch a new smpd process.  The new processes created by Spawn are now mirrored in both the original smpd process and under the new one, and both sets of processes seem to be doing the same exact work.
mpiexec -l -hosts 1 apacompute1 1 python ourprogram.py

Are we not supposed to be running mpiexec with hosts 1?

Any help would be greatly appreciated.

Thanks in advance,
Makram

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110714/90d84684/attachment.htm>


More information about the mpich-discuss mailing list