[MPICH] Can I use mpiexec to launch different command prompts for different ranks? - Try starting manually
Jayesh Krishna
jayesh at mcs.anl.gov
Wed May 23 10:49:12 CDT 2007
Hi,
One way to do it is to set the PMI environment variables (see the
"Debugging jobs by starting them manually" section in the window's
developer's guide -- available at http://www-unix.mcs.anl.gov/mpi/mpich/)
and executing the programs manually on two windows/command prompts.
###############2 proc job#########################
1) Start two command prompts -- run setmpi2.bat (see window's developer's
guide) on the two windows as follows
On 1st window -- setmpi2.bat 0 2
On 2nd window -- setmpi2.bat 1 2
2) Run your program manually on each window (Note that you do not use
mpiexec to launch the program -- all the info is provided by setmpi2.bat)
On 1st window -- testprogram.exe
On 2nd window -- testprogram.exe
##################################################
Let us know if this works for you.
Regards,
Jayesh
-----Original Message-----
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Yu-Cheng Chou
Sent: Wednesday, May 23, 2007 1:14 AM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] Can I use mpiexec to launch different command prompts for
different ranks?
Hi,
I have two very simple MPI programs, each of which basically asks the user
to input a number, waits for the other program to finish, and then print the
number out.
How can I use mpiexec to have two command prompts popping up for these two
programs so that they can receive standard input?
Thanks
More information about the mpich-discuss
mailing list