<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009>Hi, </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009> You shouldn't need any *workaround*
to get MPI programs compiled with MPICH2 on windows. Let us know if you need
help in this regard.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009> The MPICH2 installer installs the
necessary MPICH2 dlls to the windows system directory (eg: c:\windows\system32)
of the installed machine. You might have to transfer the MPICH2 dlls to the same
directory as your executable for you application to work.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009>=====================================================</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009>C:\>dir
"c:\WINDOWS\system32"\mpich*.dll<BR> Volume in drive C has no
label.<BR> Volume Serial Number is AC9F-67B7</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009> Directory of
c:\WINDOWS\system32</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009>04/13/2009 01:42
PM 1,171,456
mpich2.dll<BR>04/13/2009 01:55
PM 151,552
mpich2mpe.dll<BR>04/13/2009 01:37
PM 159,744
mpich2mpi.dll<BR>04/13/2009 02:37
PM 1,220,608
mpich2mt.dll<BR>04/13/2009 02:45
PM 1,425,408
mpich2mtp.dll<BR>03/18/2009 01:26
PM 2,289,664
mpich2nemesis.dll<BR>04/13/2009 01:51
PM 1,376,256
mpich2p.dll<BR>04/13/2009 02:03
PM 1,142,784
mpich2shm.dll<BR>04/13/2009 02:10
PM 1,331,200
mpich2shmp.dll<BR>04/13/2009 02:18
PM 1,187,840
mpich2ssm.dll<BR>04/13/2009 02:27
PM 1,409,024
mpich2ssmp.dll<BR>
11 File(s) 12,865,536
bytes<BR>
0 Dir(s) 4,153,282,560 bytes free</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009>C:\>dir
"c:\WINDOWS\system32"\fmpich*.dll<BR> Volume in drive C has no
label.<BR> Volume Serial Number is AC9F-67B7</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009> Directory of
c:\WINDOWS\system32</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009>04/09/2009 11:09
AM 114,688
fmpich2.dll<BR>04/13/2009 01:57
PM 118,784
fmpich2g.dll<BR>04/13/2009 01:57
PM 126,976
fmpich2s.dll<BR>
3 File(s) 360,448
bytes<BR>
0 Dir(s) 4,153,282,560 bytes free<BR><SPAN
class=959200314-27042009>=====================================================</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009><SPAN
class=959200314-27042009></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009><SPAN class=959200314-27042009> Note that the
name of the MPICH dlls have changed from MPICH to MPICH2 (eg: You don't
have mpich.dll - only mpich2.dll - with MPICH2. See the list of dlls
above).</SPAN></SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009><SPAN class=959200314-27042009> Also note that
you need to have the process manager running on all the nodes (smpd.exe -start)
for your MPI program to work.</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009><SPAN class=959200314-27042009> We don't test
MPICH2 with condor, but several customers routinely run MPICH2 with
condor.</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009><SPAN class=959200314-27042009> Let us know if
you still have problems.</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009><SPAN
class=959200314-27042009></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009><SPAN
class=959200314-27042009>Regards,</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009><SPAN
class=959200314-27042009>Jayesh</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=959200314-27042009> </DIV></SPAN></FONT>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B> Sangamesh B
[mailto:forum.san@gmail.com] <BR><B>Sent:</B> Sunday, April 26, 2009 3:06
AM<BR><B>To:</B> Jayesh Krishna<BR><B>Cc:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> Re: [mpich-discuss] MPICH on
windows: not able to compile programs<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Thanks Jayesh..<BR></DIV>
<DIV></DIV>
<DIV>With some workaround, I'm able to compile and run it with
mpich2-1.0.8p1_ia32.</DIV>
<DIV></DIV>
<DIV>Initially I used IDE. There were errors "undefined reference to ...". Then
used command line:</DIV>
<DIV></DIV>
<DIV>D:\condor\CON-MP~1>gcc himpi.c -o himpi.exe -I"E:\Dev-Cpp\include"
-I"E:\mpich2\<BR>include" -L"E:\Dev-Cpp\lib"
"E:\mpich2\lib\libmpi.a"<BR><BR></DIV>
<DIV>Now its required me to run mpi programs under condor scheduler. The error
am facing for this is:</DIV>
<DIV></DIV>
<DIV>D:\condor\CON-MP~1>condor_submit job.sub<BR>Submitting job(s)<BR>ERROR:
Condor cannot find the "mpich.dll" file it needs to run your MPI job.<BR>Please
specify the full path to this file in the "transfer_input_files"<BR>setting in
your submit description file.<BR><BR></DIV>
<DIV>There is no mpich.dll in mpich2-1.0.8p1 version.</DIV>
<DIV></DIV>
<DIV>Is it possible to get mpich.dll by other ways of
install/distribution?</DIV>
<DIV></DIV>
<DIV>Is mpich2 team testing condor?</DIV>
<DIV></DIV>
<DIV>Thanks in advance,</DIV>
<DIV>Sangamesh</DIV>
<DIV></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff
size=2></FONT><BR></DIV>
<DIV class=gmail_quote>On Fri, Apr 24, 2009 at 7:25 PM, Jayesh Krishna <SPAN
dir=ltr><<A
href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN> MPICH 1.2.5 is old. Can you try the latest stable version
of MPICH2 (<A
href="http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads"
target=_blank>http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads</A>)?</SPAN></FONT></DIV>
<DIV dir=ltr align=left> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Jayesh</SPAN></FONT></DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
href="mailto:mpich-discuss-bounces@mcs.anl.gov"
target=_blank>mpich-discuss-bounces@mcs.anl.gov</A> [mailto:<A
href="mailto:mpich-discuss-bounces@mcs.anl.gov"
target=_blank>mpich-discuss-bounces@mcs.anl.gov</A>] <B>On Behalf Of
</B>Sangamesh B<BR><B>Sent:</B> Friday, April 24, 2009 7:53 AM<BR><B>To:</B>
MPICH ML<BR><B>Subject:</B> [mpich-discuss] MPICH on windows: not able to
compile programs<BR></FONT><BR></DIV>
<DIV>
<DIV class=h5>
<DIV>Dear All,</DIV>
<DIV> MPICH-1.2.5 (<A
href="ftp://ftp.mcs.anl.gov/pub/mpi/nt/mpich.nt.1.2.5.exe"
target=_blank>ftp://ftp.mcs.anl.gov/pub/mpi/nt/mpich.nt.1.2.5.exe</A>) and
Dev-C++-4.9.9.2 is installed on a Windows XP machine.</DIV>
<DIV>When I try to compile cpi.c program, it thrown errors wrt MPI header
files:</DIV>
<DIV>Compiler Log:</DIV>
<DIV>Compiler: Default compiler<BR>Executing gcc.exe...<BR>gcc.exe
"D:\mpich\SDK\Examples\nt\Basic\cpi.c" -o
"D:\mpich\SDK\Examples\nt\Basic\cpi.exe" -I"E:\Dev-Cpp\include"
-I"D:\mpich\SDK\Include" -L"E:\Dev-Cpp\lib" -L"D:\mpich\SDK\Lib" <BR>In file
included from D:/mpich/SDK/Include/mpidefs.h:54,<BR> from
D:/mpich/SDK/Include/mpi.h:239,<BR> from
D:\mpich\SDK\Examples\nt\Basic\cpi.c:1:<BR><BR>D:/mpich/SDK/Include/mpio.h:30:
error: syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:30:
warning: data definition has no type or storage
class<BR><BR>D:/mpich/SDK/Include/mpio.h:101: error: syntax error before
"MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:102: error: syntax error before
"MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:103: error: syntax error before
"MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:110: error: syntax error before
"MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:112: error: syntax error before
"MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:116: error: syntax error before
"MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:118: error: syntax error before
"MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:120: error: syntax error before
"MPI_Offset"<BR><BR>D:/mpich/SDK/Include/mpio.h:122: error: syntax error
before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:129: error: syntax error
before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:131: error: syntax error
before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:153: error: syntax error
before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:154: error: syntax error
before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:155: error: syntax error
before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:171: error: syntax error
before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:172: error: syntax error
before "MPI_Offset"<BR><BR>D:/mpich/SDK/Include/mpio.h:175: error: syntax
error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:178: error: syntax
error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:274: error: syntax
error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:275: error: syntax
error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:276: error: syntax
error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:283: error: syntax
error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:285: error: syntax
error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:289: error: syntax
error before "MPI_Offset"<BR><BR>D:/mpich/SDK/Include/mpio.h:291: error:
syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:293: error:
syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:295: error:
syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:302: error:
syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:304: error:
syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:326: error:
syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:327: error:
syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:328: error:
syntax error before "MPI_Offset"<BR><BR>D:/mpich/SDK/Include/mpio.h:344:
error: syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:345:
error: syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:348:
error: syntax error before "MPI_Offset"<BR>D:/mpich/SDK/Include/mpio.h:351:
error: syntax error before
"MPI_Offset"<BR><BR>D:\mpich\SDK\Examples\nt\Basic\cpi.c: In function
`main':<BR>D:\mpich\SDK\Examples\nt\Basic\cpi.c:11: warning: return type of
'main' is not `int'<BR><BR>Execution terminated<BR><BR>Why these errors?</DIV>
<DIV>Is there anybody successful to compile C mpi program on Windows?</DIV>
<DIV>I've faced same problem with MPICH2 also.</DIV>
<DIV>Thanks in advance,</DIV>
<DIV>- Sangamesh</DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR>
<DIV><BR></DIV></BODY></HTML>