<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jayesh<br>
<br>
I tried that. It did not help. Here is the response:<br>
<br>
"<br>
<font color="#000099">C:\tmp>"C:\Program
Files\MPICH2\bin"\mpiexec.exe -n 2 -localroot icpi.exe<br>
<br>
Unable to open the
HKEY_LOCAL_MACHINE\SOFTWARE\MPICH\SMPD\process\6308 registry key,
error 5, Access is denied.<br>
Unable to open the
HKEY_LOCAL_MACHINE\SOFTWARE\MPICH\SMPD\process\808 registry k ey,
error 5, Access is denied.<br>
<font color="#000000">"</font><br>
<font color="#000000"><br>
When I killed the job by <CTRL> C, the following messages
appeared:<br>
<br>
</font></font>"<br>
<font color="#000099">mpiexec aborting job...<br>
received suspend command for a pmi context that doesn't exist:
unmatched id = 1<br>
<br>
job aborted:<br>
rank: node: exit code[: error message]<br>
0: Arun-PC: -1073741819: mpiexec aborting job<br>
1: Arun-PC: -1073741819<br>
Terminate batch job (Y/N)? y</font><br>
"<br>
<br>
When I tried the same thing on the pre-built "cpi.exe", I get the
same messages that I got with "icpi.exe", but it still works:<br>
<br>
"<br>
<font color="#000099">C:\tmp>"C:\Program
Files\MPICH2\bin"\mpiexec.exe -n 2 -localroot cpi<br>
<br>
Unable to open the
HKEY_LOCAL_MACHINE\SOFTWARE\MPICH\SMPD\process\4544 registry key,
error 5, Access is denied.<br>
Unable to open the
HKEY_LOCAL_MACHINE\SOFTWARE\MPICH\SMPD\process\7288 registry key,
error 5, Access is denied.<br>
<br>
Enter the number of intervals: (0 quits) 9<br>
pi is approximately 3.1426214565576127, Error is
0.0010288029678196<br>
wall clock time = 0.000077<br>
<br>
Enter the number of intervals: (0 quits)</font><br>
"<br>
<br>
When I killed this job by <CTRL> C, the following messages
appeared:<br>
<br>
"<br>
<font color="#000099">mpiexec aborting job...<br>
SuspendThread failed with error 5 for process
0:33FB034C-A281-4d45-9189-9DDCDC33C941:'cpi'<br>
unable to suspend process.<br>
unable to read the cmd header on the pmi context, Error = -1.<br>
Error posting readv, An existing connection was forcibly closed by
the remote host.(10054)<br>
<br>
SuspendThread failed with error 5 for process
1:33FB034C-A281-4d45-9189-9DDCDC33C941:'cpi'<br>
unable to suspend process.<br>
unable to read the cmd header on the pmi context, Error = -1.<br>
Error posting readv, An existing connection was forcibly closed by
the remote host.(10054)<br>
<br>
received kill command for a pmi context that doesn't exist:
unmatched id = 0<br>
<br>
job aborted:<br>
rank: node: exit code[: error message]<br>
0: Arun-PC: 123: process 0 exited without calling finalize<br>
1: Arun-PC: 123: process 1 exited without calling finalize<br>
Terminate batch job (Y/N)? y</font><br>
"<br>
<br>
Does it have anything to do with an incorrect node (<font
color="#000099">-1073741819<font color="#000000">) </font></font>on
which mpiexec is trying to launch the processes? Thanks for your
help.<br>
<br>
Best Regards<br>
Arun<br>
<br>
<br>
On 07-01-2011 22:11, Jayesh Krishna wrote:
<blockquote
cite="mid:1187761594.37327.1294418464208.JavaMail.root@zimbra.anl.gov"
type="cite">
<pre wrap="">Hi,
Can you try running your program with the "-localroot" option and let us know if it works for you (mpiexec -n 2 -localroot icpi.exe)?
Regards,
Jayesh
----- Original Message -----
From: "Arun Murthy" <a class="moz-txt-link-rfc2396E" href="mailto:arun.murthy@fluidyn.com"><arun.murthy@fluidyn.com></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>
Sent: Friday, January 7, 2011 12:56:17 AM
Subject: [mpich-discuss] MPICH2 On Windows 64 bit and Mingw-w64 compilers
Hi
I am trying to use MPICH2 on Windows 7 64bit (installed from
mpich2-1.3.1-win-x86-64.msi) along with Mingw-w64 compiler suite
(mingw-w64-1.0-bin_i686-mingw_20101129).
I tried to compile-link the example "icpi.c" using following command:
C:\MinGW\mingw-w64-1.0-bin_i686-mingw_20101129\bin\x86_64-w64-mingw32-gcc.exe
-I"C:\Program Files\MPICH2\include" icpi.c -L"C:\Program
Files\MPICH2\lib" -lmpi -o icpi.exe
I could get the executable, but it doesn't run with any number of
processors. When run with mpiexec, it aborts without any message. I
could run the pre-built "cpi.exe" with any number of CPU's. I don't have
MS Visual Studio on my machine. Can anyone help?
By the way, the 32-bit version of MPICH1 (1.2.5 SDK.gcc) works well with
Mingw-w32 compiler suite.
Thanks
Arun
_______________________________________________
mpich-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a>
</pre>
</blockquote>
</body>
</html>