<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi walter,<div><br></div><div>I followed your suggestion, but it still would not work.</div><div><br></div><div>Installed the later MPICH2 1.4.1 and added the export path</div><div>export CC=c:/mpich2/mpich2-1.4.1p1/bin/mpicc</div><div><br></div><div>./configure (in CitcomS)</div><div><br></div><div>Get the error that it says the C compiler does not work and cannot create executables.&nbsp;</div><div>The gcc compiler is installed and works.</div><div><br></div><div>gcc, awk, make are all present and installed -&nbsp;</div><div><br></div><div>Cheers</div><div><br></div><div>Lester<br><br><div><div id="SkyDrivePlaceholder"></div>&gt; Date: Thu, 7 Jun 2012 11:16:52 -0700<br>&gt; To: cig-mc@geodynamics.org<br>&gt; From: wlandry@caltech.edu<br>&gt; Subject: Re: [CIG-MC] Installing CitcomS - Cygwin<br>&gt; <br>&gt; Lester Anderson &lt;lester_anderson1963@hotmail.com&gt; wrote:<br>&gt; &gt; Hi Eric,<br>&gt; &gt; <br>&gt; &gt; No I never did manage to get the code the compile under Cygwin. The<br>&gt; &gt; main issue seems to be that the MPI library will not install. At the<br>&gt; &gt; moment I am working with a colleague that uses the code a lot and<br>&gt; &gt; has it working. Unfortunately I do not have the time to keep trying<br>&gt; &gt; to compile the code.<br>&gt; &gt; <br>&gt; &gt; Perhaps somewhere down the line the code could be modified to work<br>&gt; &gt; on Windows 32/64 bit but I can appreciate that it would require a<br>&gt; &gt; lot of tweaking to get the functionality.<br>&gt; &gt; <br>&gt; &gt; If anyone does manage to get the code to compile and run under<br>&gt; &gt; Cygwin I would be interested to know. Cygwin is a bit of a strange<br>&gt; &gt; beast in that it is running in windows and can access windows<br>&gt; &gt; programs (eg GMT) but is fully UNIX compliant, so it is odd why<br>&gt; &gt; things do not work.<br>&gt; <br>&gt; I just compiled in on the Cygwin machine we have.  I did not have any<br>&gt; of the problems you had.  I compiled my own version of mpich2-1.3.2p1<br>&gt; with the configure line<br>&gt; <br>&gt;   ./configure --prefix=/home/walter --with-pm=gforker --enable-fast --disable-f77 --disable-fc<br>&gt; <br>&gt; Then I set the environment variables, configured, and built it.<br>&gt; <br>&gt;   export CC=/home/walter/src/mpich2-1.3.2p1/bin/mpicc<br>&gt;   ./configure<br>&gt;   make<br>&gt; <br>&gt; This gave me the non-Pyre version without HDF5.  Then I ran the<br>&gt; command<br>&gt; <br>&gt; /home/walter/src/mpich2-1.3.2p1/bin/mpirun -np 4 bin/CitcomSRegional.exe  examples/Regional/input.sample<br>&gt; <br>&gt; and it seems to work.<br>&gt; <br>&gt; Cheers,<br>&gt; Walter Landry<br>&gt; _______________________________________________<br>&gt; CIG-MC mailing list<br>&gt; CIG-MC@geodynamics.org<br>&gt; http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc<br></div></div>                                               </div></body>
</html>