<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV></DIV>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have solved the credentials issue. Now I have registered an Admin account following the steps you proposed and seems to be solved.</DIV>
<DIV> </DIV>
<DIV>The executalbles seems to start as expected! The only problem is that they are trying to read files from \Program Files\MPICH2\bin\ folder instead from corresponding folders D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster\, D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster1\ .... etc</DIV>
<DIV> </DIV>
<DIV>Just need to make the four executables to read data from different folders (exactly where the executables are located)</DIV>
<DIV> </DIV>
<DIV>See atteched error. The mpi2.bat didnīt changed.</DIV>
<DIV> </DIV>
<DIV>Thanks for your help.</DIV>
<DIV> </DIV>Horacio.
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt"><BR>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">De:</SPAN></B> Jayesh Krishna <jayesh@mcs.anl.gov><BR><B><SPAN style="FONT-WEIGHT: bold">Para:</SPAN></B> Horacio Pedro Burbridge <hpbridge@yahoo.com.ar><BR><B><SPAN style="FONT-WEIGHT: bold">CC:</SPAN></B> mpich-discuss@mcs.anl.gov<BR><B><SPAN style="FONT-WEIGHT: bold">Enviado:</SPAN></B> martes, 30 de noviembre, 2010 18:43:43<BR><B><SPAN style="FONT-WEIGHT: bold">Asunto:</SPAN></B> Re: [mpich-discuss] How to run MPI code on a single machin with four cores when using MPICH2<BR></FONT><BR>Hi,<BR>Try registering a valid Windows username/password with mpiexec by following the steps below,<BR><BR># Delete the default username registered by typing "mpiexec -remove" at the command prompt<BR># Register a valid Windows username/password by typing "mpiexec -register" at the command prompt<BR># Validate that the registered username/password by typing "mpiexec -validate" at the command prompt<BR># If the validation is
successful try running a simple non-MPI program, mpiexec -n 2 hostname<BR># If the above steps are successful try running your batch file.<BR><BR>(PS: I still recommend providing the full path to the mpiexec executable in your batch file until to finish sorting out issues with the setup)<BR><BR>Regards,<BR>Jayesh<BR><BR>----- Original Message -----<BR>From: Horacio Pedro Burbridge <<A href="mailto:hpbridge@yahoo.com.ar" ymailto="mailto:hpbridge@yahoo.com.ar">hpbridge@yahoo.com.ar</A>><BR>To: Jayesh Krishna <<A href="mailto:jayesh@mcs.anl.gov" ymailto="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</A>><BR>Cc: <A href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</A><BR>Sent: Tue, 30 Nov 2010 15:17:18 -0600 (CST)<BR>Subject: Re: [mpich-discuss] How to run MPI code on a single machin with four cores when using MPICH2<BR><BR>Hi Jayesh,<BR><BR>This time it seems itīs going to work. I
have modified the "mpi2.bat" file, now <BR>it is:<BR><BR> C:<BR>cd \Program Files\MPICH2\bin\<BR> <BR>mpiexec -n 1 D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster\Prueba32-01 : -n 1 <BR>D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster1\Prueba32-01 : -n 1 <BR>D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster2\Prueba32-01 : -n 1 <BR>D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster3\Prueba32-01<BR><BR>Now the system is asking for user credentials. But when I enter <BR>"computer-name\User" and my windows account password, it didnīt accept it. <BR><BR>Do you know what credentials is this referring to? (Please see the attached <BR>image)<BR><BR>Horacio. <BR><BR>PS: I asume if I add \Program Files\MPICH2\bin\ to my path environmental <BR>variable this should work without need to go to this directory to run the <BR>mpiexec.<BR><BR> <BR><BR><BR><BR>________________________________<BR>De: Jayesh Krishna <<A href="mailto:jayesh@mcs.anl.gov"
ymailto="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</A>><BR>Para: Horacio Pedro Burbridge <<A href="mailto:hpbridge@yahoo.com.ar" ymailto="mailto:hpbridge@yahoo.com.ar">hpbridge@yahoo.com.ar</A>><BR>CC: <A href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</A><BR>Enviado: martes, 30 de noviembre, 2010 13:57:54<BR>Asunto: Re: [mpich-discuss] How to run MPI code on a single machin with four <BR>cores when using MPICH2<BR><BR>Hi,<BR>AFAIK, MPICH and MPICH2 can be installed on the same machine (Although we don't <BR>test that setup routinely in our lab). We currently do not support installing <BR>two versions of MPICH2 on the same machine.<BR>Try specifying the complete path to mpiexec (C:\Progra~1\MPICH2\bin\mpiexec -n 1 <BR>...). Let us know if it works.<BR><BR>Regards,<BR>Jayesh<BR>----- Original Message -----<BR>From: Horacio Pedro Burbridge <<A href="mailto:hpbridge@yahoo.com.ar"
ymailto="mailto:hpbridge@yahoo.com.ar">hpbridge@yahoo.com.ar</A>><BR>To: Jayesh Krishna <<A href="mailto:jayesh@mcs.anl.gov" ymailto="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</A>>, <A href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</A><BR>Sent: Tue, 30 Nov 2010 09:37:19 -0600 (CST)<BR>Subject: Re: [mpich-discuss] How to run MPI code on a single machin with four <BR>cores when using MPICH2<BR><BR>Hi Jayesh,<BR><BR>Thanks for your answer. <BR>I followed your suggestion by creating a bat file that executes the command you <BR>sent to me. <BR><BR><BR>The content of the bat file is:<BR><BR> D:<BR>cd \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster<BR><BR>mpiexec -n 1 D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster\Prueba32-01 : -n 1 <BR>D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster1\Prueba32-01 : -n 1 <BR>D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster2\Prueba32-01 : -n 1
<BR>D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster3\Prueba32-01<BR><BR>The answer is:<BR><BR>Aborting, unable to connect to Usuario-PC, smpd version mismatch<BR><BR>ŋHow can be problems with smpd version if this is only one machine with four <BR>cores? There is no way to have different versions of MPICH2 installed. <BR><BR><BR>Note: In addition to have MPICH2 installed I also have MPICH installed into the <BR>same computer.<BR><BR>Thank you.<BR><BR> Horacio. <BR><BR><BR><BR><BR>________________________________<BR>De: Jayesh Krishna <<A href="mailto:jayesh@mcs.anl.gov" ymailto="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</A>><BR>Para: <A href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</A><BR>CC: <A href="mailto:hpbridge@yahoo.com.ar" ymailto="mailto:hpbridge@yahoo.com.ar">hpbridge@yahoo.com.ar</A><BR>Enviado: domingo, 21 de noviembre, 2010 2:42:37<BR>Asunto: Re: [mpich-discuss] How
to run MPI code on a single machin with four <BR>cores when using MPICH2<BR><BR>Hi,<BR>You should be able to launch different executables as part of the same job by <BR>separating the executables (and the executable specific args) by a colon (:). <BR>Try the following command and let us know if it works for you.<BR><BR>mpiexec -n 1 D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster\Prueba32-01 : -n 1 <BR>D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster1\Prueba32-01 : -n 1 <BR>D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster2\Prueba32-01 : -n 1 <BR>D:\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster3\Prueba32-01<BR><BR><BR>Regards,<BR>Jayesh<BR>----- Original Message -----<BR>From: Horacio Pedro Burbridge <<A href="mailto:hpbridge@yahoo.com.ar" ymailto="mailto:hpbridge@yahoo.com.ar">hpbridge@yahoo.com.ar</A>><BR>To: <A href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</A><BR>Sent: Sat, 20 Nov 2010 16:35:40 -0600
(CST)<BR>Subject: [mpich-discuss] How to run MPI code on a single machin with four <BR>cores when using MPICH2<BR><BR>Hello,<BR> <BR>I got this e-mail from the mpich_discuss forum. I have already suscribed to it.<BR> <BR>I have a code paralellized that is runnig OK when I compile it using Win32 Intel <BR><BR><BR>Fortran compiler and MPICH1 libraries.<BR>When I compile it using EMT64 Intel Fortran compiler and MPICH2 libraries it is <BR>compiled OK but I canīt make it run.<BR> <BR>I need to run this on a single Windows 7 machine using its four cores (Intel <BR>i7). Once the core is finished I will run it on a 20 node cluster. Now my <BR>problem is to run on a single machine. <BR><BR>When running the win32 MPICH1 compiled executable there is no problem at all. <BR>Iīm using four different folders and executing four executables. The executables <BR><BR><BR>are the same, but the
information they use is readed from different folders. For <BR><BR><BR>this, Iīm setting the enviromental varibles manually, and runing the executable <BR>"Prueba32-01.exe" on four cores as follows:<BR> <BR>file "mpi.bat" on folder \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster:<BR> <BR> D:<BR> cd <BR>\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster <BR><BR><BR><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<BR><BR>file "mpi.bat" on folder
\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster1:<BR> <BR> D:<BR> cd <BR>\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster1 <BR><BR><BR><BR> <BR> set MPICH_JOBID=ns.123<BR> set MPICH_IPROC= 1<BR> set MPICH_NPROC= 4<BR> set MPICH_ROOT=Usuario-PC:1<BR> Prueba32-01<BR> <BR>file "mpi.bat" on folder \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster2:<BR> <BR> D:<BR> cd
<BR>\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster2 <BR><BR><BR><BR> <BR> set MPICH_JOBID=ns.123<BR> set MPICH_IPROC= 2<BR> set MPICH_NPROC= 4<BR> set MPICH_ROOT=Usuario-PC:1<BR> Prueba32-01<BR><BR> <BR>file "mpi.bat" on folder \HORACIO\DOCTORADO\2-Corridas\MPI\Cluster3:<BR> <BR> D:<BR> cd
<BR>\HORACIO\DOCTORADO\2-Corridas\MPI\Cluster3 <BR><BR><BR><BR> <BR> set MPICH_JOBID=ns.123<BR> set MPICH_IPROC= 3<BR> set MPICH_NPROC= 4<BR> set MPICH_ROOT=Usuario-PC:1<BR> Prueba32-01<BR><BR>This works fine with MPICH1. I couldnīt find a way to launch this executable on <BR>four different folders using mpiexec or even manually by setting the <BR>environmental variables "PMI_RANK" and "PMI_SIZE"<BR><BR>Could you please help me?<BR><BR>Thank you in advance.<BR> Horacio.
<BR><BR><BR><BR></DIV></DIV></div><br></body></html>