<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> </P>
<P>I got this e-mail from the mpich_discuss forum. I have already suscribed to it.</P>
<P> </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 EMT64 Intel Fortran compiler and MPICH2 libraries it is compiled OK but I canīt make it run.</P>
<P> </P>
<P>I need to run this on a single Windows 7 machine using its four cores (Intel i7). Once the core is finished I will run it on a 20 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> </P>
<P>file "mpi.bat" on folder \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster:</P>
<P> </P>
<P> D:<BR> cd \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster <BR> <BR> set MPICH_JOBID=ns.123<BR> set MPICH_IPROC= 0<BR> set MPICH_NPROC= 4<BR> set MPICH_ROOT=Usuario-PC:1<BR> Prueba32-01</P>
<DIV> </DIV>
<P>file "mpi.bat" on folder \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster1:</P>
<P> </P>
<P> D:<BR> cd \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster1 <BR> <BR> set MPICH_JOBID=ns.123<BR> set MPICH_IPROC= 1</P>
<P> set MPICH_NPROC= 4<BR> set MPICH_ROOT=Usuario-PC:1<BR> Prueba32-01</P>
<P> </P>
<P>file "mpi.bat" on folder \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster2:</P>
<P> </P>
<P> D:<BR> cd \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster2 <BR> <BR> set MPICH_JOBID=ns.123<BR> set MPICH_IPROC= 2</P>
<P> set MPICH_NPROC= 4<BR> set MPICH_ROOT=Usuario-PC:1<BR> Prueba32-01</P>
<P><BR> </P>
<P>file "mpi.bat" on folder \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster3:</P>
<P> </P>
<P> D:<BR> cd \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster3 <BR> <BR> set MPICH_JOBID=ns.123<BR> set MPICH_IPROC= 3</P>
<P> set MPICH_NPROC= 4<BR> set MPICH_ROOT=Usuario-PC:1<BR> Prueba32-01</P>
<DIV><BR>This works fine with MPICH1. I couldnīt find a way to launch this executable on four different folders using mpiexec or even manually by setting the environmental variables "PMI_RANK" and "PMI_SIZE"</DIV>
<DIV> </DIV>
<DIV>Could you please help me?</DIV>
<DIV> </DIV>
<DIV>Thank you in advance.<BR> </DIV>Horacio.
<DIV></DIV></div><br>
</body></html>