[mpich-discuss] Spawn command launches new smpd process
Jayesh Krishna
jayesh at mcs.anl.gov
Fri Jul 15 10:42:37 CDT 2011
Hi,
You should be sending this question to the mpi4py developers. We don't have details on how mpi4py interacts with SMPD to launch MPI programs in python.
Regards,
Jayesh
----- Original Message -----
From: "Makram Abu-Shakra" <Makram.Abu-Shakra at lpsvcs.com>
To: "mpich-discuss at mcs.anl.gov" <mpich-discuss at mcs.anl.gov>
Sent: Thursday, July 14, 2011 6:52:13 PM
Subject: [mpich-discuss] Spawn command launches new smpd process
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.
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list