<div>Thanks Jayesh..<br></div><div></div><div>With some workaround, I&#39;m able to compile and run it with mpich2-1.0.8p1_ia32.</div><div></div><div>Initially I used IDE. There were errors &quot;undefined reference to ...&quot;. Then used command line:</div>
<div></div><div>D:\condor\CON-MP~1&gt;gcc himpi.c -o himpi.exe -I&quot;E:\Dev-Cpp\include&quot; -I&quot;E:\mpich2\<br>include&quot; -L&quot;E:\Dev-Cpp\lib&quot; &quot;E:\mpich2\lib\libmpi.a&quot;<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&gt;condor_submit job.sub<br>Submitting job(s)<br>ERROR: Condor cannot find the &quot;mpich.dll&quot; file it needs to run your MPI job.<br>Please specify the full path to this file in the &quot;transfer_input_files&quot;<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><br></div><div class="gmail_quote">On Fri, Apr 24, 2009 at 7:25 PM, Jayesh Krishna <span dir="ltr">&lt;<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



<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 
&quot;D:\mpich\SDK\Examples\nt\Basic\cpi.c&quot; -o 
&quot;D:\mpich\SDK\Examples\nt\Basic\cpi.exe&quot; -I&quot;E:\Dev-Cpp\include&quot; 
-I&quot;D:\mpich\SDK\Include&quot; -L&quot;E:\Dev-Cpp\lib&quot; -L&quot;D:\mpich\SDK\Lib&quot; <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 &quot;MPI_Offset&quot;<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 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:102: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:103: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:110: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:112: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:116: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:118: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:120: error: syntax error before 
&quot;MPI_Offset&quot;<br><br>D:/mpich/SDK/Include/mpio.h:122: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:129: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:131: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:153: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:154: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:155: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:171: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:172: error: syntax error before 
&quot;MPI_Offset&quot;<br><br>D:/mpich/SDK/Include/mpio.h:175: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:178: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:274: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:275: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:276: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:283: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:285: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:289: error: syntax error before 
&quot;MPI_Offset&quot;<br><br>D:/mpich/SDK/Include/mpio.h:291: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:293: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:295: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:302: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:304: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:326: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:327: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:328: error: syntax error before 
&quot;MPI_Offset&quot;<br><br>D:/mpich/SDK/Include/mpio.h:344: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:345: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:348: error: syntax error before 
&quot;MPI_Offset&quot;<br>D:/mpich/SDK/Include/mpio.h:351: error: syntax error before 
&quot;MPI_Offset&quot;<br><br>D:\mpich\SDK\Examples\nt\Basic\cpi.c: In function 
`main&#39;:<br>D:\mpich\SDK\Examples\nt\Basic\cpi.c:11: warning: return type of 
&#39;main&#39; is not `int&#39;<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&#39;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>