<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt;color:#000000;"><DIV></DIV>
<P>Hello,</P>
<P>&nbsp;</P>
<P>I&nbsp;got&nbsp;this&nbsp;e-mail&nbsp;from the mpich_discuss forum. I have already suscribed to it.</P>
<P>&nbsp;</P>
<P>I have a code paralellized that is runnig OK when I compile it using Win32 Intel Fortran compiler and MPICH1 libraries.</P>
<P>When I compile it using&nbsp;EMT64 Intel Fortran compiler and MPICH2 libraries it is compiled OK but I canīt make it run.</P>
<P>&nbsp;</P>
<P>I need to run this on a single&nbsp;Windows 7 machine using its four cores (Intel i7). Once the core is finished I will run it on a 20&nbsp;node cluster. Now my problem is to run on a single machine. </P>
<P>When running the win32 MPICH1 compiled executable there is no problem at all. Iīm using four different folders and executing four executables. The executables are the same, but the information they use is readed from different folders. For this, Iīm setting the enviromental varibles manually, and runing the executable "Prueba32-01.exe" on four cores as follows:</P>
<P>&nbsp;</P>
<P>file "mpi.bat" on folder \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster:</P>
<P>&nbsp;</P>
<P>&nbsp;D:<BR>&nbsp;cd \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp; <BR>&nbsp;set MPICH_JOBID=ns.123<BR>&nbsp;set MPICH_IPROC= 0<BR>&nbsp;set MPICH_NPROC= 4<BR>&nbsp;set MPICH_ROOT=Usuario-PC:1<BR>&nbsp;Prueba32-01</P>
<DIV>&nbsp;</DIV>
<P>file "mpi.bat" on folder \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster1:</P>
<P>&nbsp;</P>
<P>&nbsp;D:<BR>&nbsp;cd \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;set MPICH_JOBID=ns.123<BR>&nbsp;set MPICH_IPROC=&nbsp;1</P>
<P>&nbsp;set MPICH_NPROC= 4<BR>&nbsp;set MPICH_ROOT=Usuario-PC:1<BR>&nbsp;Prueba32-01</P>
<P>&nbsp;</P>
<P>file "mpi.bat" on folder \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster2:</P>
<P>&nbsp;</P>
<P>&nbsp;D:<BR>&nbsp;cd \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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H_JOBID=ns.123<BR>&nbsp;set MPICH_IPROC=&nbsp;3</P>
<P>&nbsp;set MPICH_NPROC= 4<BR>&nbsp;set MPICH_ROOT=Usuario-PC:1<BR>&nbsp;Prueba32-01</P>
<DIV><BR>This works fine with&nbsp;MPICH1. I couldnīt find a way to launch this executable on four different folders using mpiexec or even manually&nbsp;by setting the environmental variables "PMI_RANK"&nbsp;and "PMI_SIZE"</DIV>
<DIV>&nbsp;</DIV>
<DIV>Could you please help me?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you in advance.<BR>&nbsp;</DIV>Horacio. 
<DIV></DIV></div><br>




      &nbsp;</body></html>