<!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.16735" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008> There are two ways you can compile your MPI
program using MPICH2 on windows,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008>1. Install MPICH2 on windows</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008># Use MS Visual Studio compiler to compile your MPI
source to generate an exe (Use mpi.lib while linking).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008># Use gcc from cygwin to compile your MPI source (Use
libmpi.a while linking).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008>2. Configure/make/install MPICH2
on Cygwin</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008># Use the mpicc script after installing MPICH2 to
compile your MPI program.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008> Let us know if you need further
information.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=440145713-27102008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Manal
Helal<BR><B>Sent:</B> Sunday, October 26, 2008 11:31 PM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss] need to compile
unix code as windows exe<BR></FONT><BR></DIV>
<DIV></DIV>Hi<BR><BR>I need to compile Unix code under windows generating an exe
file. I downloaded cygwin with gcc and make (that what I use on Solaris and
Linux flavors) , and downloaded mpich2 for windows which didn't contain mpicc
this is what I use in my make files.<BR><BR>Will you please advise on the
easiest efficient way to compile Unix code on a windows platform and link to
mpich in the compilation process? sorry if it is a basic question, I searched
google, and couldn't get an easy step by step tutorial that covers all
requirements.<BR><BR>Thank you very much in advance, <BR><BR>Kind Regards,
<BR><BR>Manal<BR></BODY></HTML>