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