[MPICH] Can I use mpiexec to launch different command prompts for different ranks? - Try starting manually

Yu-Cheng Chou cycchou at ucdavis.edu
Wed May 23 11:10:18 CDT 2007


Hi,
  These two programs are in two different Windows machines. Is there still
a way to bring up two command prompts on the host machine for user input?

Thanks!
 
> 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.




More information about the mpich-discuss mailing list