<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<STYLE>.hmmessage P {
        PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-FAMILY: Verdana; FONT-SIZE: 10pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=217192714-18082009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=217192714-18082009> You can specify an alternate directory for
installing MPICH2 during the installation process.</SPAN></FONT></DIV>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left><SPAN
class=217192714-18082009><FONT color=#0000ff face=Arial> Did you try
putting quotes (") around the include directory ? You can also
try the non-8dot3 directory names (Try "dir /x c:\")?</FONT></SPAN></DIV>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left><SPAN
class=217192714-18082009><FONT color=#0000ff
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left><SPAN
class=217192714-18082009><FONT color=#0000ff
face=Arial>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left><SPAN
class=217192714-18082009><FONT color=#0000ff
face=Arial>Jayesh</FONT></SPAN></DIV>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left><SPAN
class=217192714-18082009> </SPAN></DIV>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left><FONT
face=Tahoma><B>From:</B> Heming Xu [mailto:heming_@hotmail.com] <BR><B>Sent:</B>
Monday, August 17, 2009 9:15 PM<BR><B>To:</B>
jayesh@mcs.anl.gov<BR><B>Subject:</B> RE: [mpich-discuss] fmpich2 lib not found
with g95<BR></FONT><BR></DIV>
<DIV></DIV>Hi, <BR>Thanks for your advice. The 32-bit version worked with
g95 but I have to move \lib and \include to the working directory. Looks that
MPI is always installed under program files (x86) and cannot be changed. How
can I directly point to that directory?<BR> <BR>g95 -c hello.f90
-Ic:\program files (x86)\MPICH2\include<BR> <BR>cannot find the include
path (the spaces matter). Is there some way to have the path
correctly?<BR> <BR>Thanks.<BR> <BR>Heming<BR> <BR> <BR>
<HR id=stopSpelling>
From: jayesh@mcs.anl.gov<BR>To: heming_@hotmail.com<BR>CC:
mpich-discuss@mcs.anl.gov<BR>Subject: RE: [mpich-discuss] fmpich2 lib not found
with g95<BR>Date: Mon, 17 Aug 2009 10:18:52 -0500<BR><BR>
<STYLE>.ExternalClass .EC_hmmessage P {
        PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
.ExternalClass BODY.EC_hmmessage {
        FONT-FAMILY: Verdana; FONT-SIZE: 10pt
}
</STYLE>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_993281115-17082009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_993281115-17082009> We current don't provide the gcc libs with the
64-bit version of MPICH2. This is in our list of todo items though. You can
follow our progress on this task using the ticket, <A
href="https://trac.mcs.anl.gov/projects/mpich2/ticket/568">https://trac.mcs.anl.gov/projects/mpich2/ticket/568</A> .</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_993281115-17082009> The last time I tried I had a tough time
getting gcc 4.5.x (version of gcc that supports 64-bit executables) compile
on Cygwin.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_993281115-17082009> Unfortunately at this time your option would
be to try 32-bit version of MPICH2 (The 32-bit version of MPICH2 should install
on your 64-bit machine, however you will be compiling/running 32-bit executables
using the lib).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_993281115-17082009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_993281115-17082009>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_993281115-17082009>Jayesh</SPAN></FONT></DIV><BR>
<DIV dir=ltr lang=en-us class=EC_OutlookMessageHeader align=left>
<HR>
<FONT face=Tahoma><B>From:</B> Heming Xu [mailto:heming_@hotmail.com]
<BR><B>Sent:</B> Monday, August 17, 2009 10:10 AM<BR><B>To:</B>
jayesh@mcs.anl.gov<BR><B>Subject:</B> RE: [mpich-discuss] fmpich2 lib not found
with g95<BR></FONT><BR></DIV>
<DIV></DIV>Thanks for help.<BR> <BR>I did not see that library under
\lib. I downloaded the binary distribution mpich2-1.1.1p1-win-x86-64.msi from
MPICH2 web site and installed from there. Only those libraries are there:
cxx.lib,fmpich2.lib,fmpich2g.lib,mpe.lib,mpi.lib,rlog.lib,irlog2rlog.lib and
TraceInput.lib.<BR> <BR>Thanks in
advance.<BR> <BR>Heming<BR> <BR> <BR>
<HR id=EC_stopSpelling>
From: jayesh@mcs.anl.gov<BR>To: heming_@hotmail.com<BR>CC:
mpich-discuss@mcs.anl.gov<BR>Subject: RE: [mpich-discuss] fmpich2 lib not found
with g95<BR>Date: Mon, 17 Aug 2009 09:58:03 -0500<BR><BR>
<STYLE>.ExternalClass .EC_hmmessage P {
        PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
.ExternalClass BODY.EC_hmmessage {
        FONT-FAMILY: Verdana; FONT-SIZE: 10pt
}
</STYLE>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_EC_806455414-17082009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_EC_806455414-17082009> You should use the gnu fortran lib,
libfmpich2g.a, provided with MPICH2
(<MPICH2-INSTALL-DIR>/lib/libfmpich2g.a) to link your programs with g77
(or g95).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_EC_806455414-17082009></SPAN></FONT><FONT color=#0000ff
face=Arial><SPAN class=EC_EC_806455414-17082009> Let us know if it works
for you.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_EC_806455414-17082009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_EC_806455414-17082009>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_EC_806455414-17082009>Jayesh</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=EC_EC_806455414-17082009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left>
<HR>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma><B>From:</B>
mpich-discuss-bounces@mcs.anl.gov [mailto:mpich-discuss-bounces@mcs.anl.gov]
<B>On Behalf Of </B>Heming Xu<BR><B>Sent:</B> Monday, August 17, 2009 9:44
AM<BR><B>To:</B> mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss]
fmpich2 lib not found with g95<BR></FONT><BR></DIV>
<DIV></DIV><BR>I installed the latest g95 and MPICH2 (binary distribution) on
Vista and set path and library path correctly. when only compiling,<BR><BR>g95
-c hello.f90 -Ic:\Progra~1\MPICH2\include<BR> <BR>works fine
but<BR> <BR>g95 -o hello hello.o
-l:c:\Progra~1\MPICH2\lib\fmpich2.lib<BR>gives multiple messages saying
<BR>undefined reference to '_mpi_init__', '_mpi_send__', etc<BR>It seems the
library does not include the subroutines. Other libraries mpi.lib,etc are the
same.<BR> <BR>Do I have to configure MPICH2 in window? <BR> <BR>Any
assistance would be highly
appreciated.<BR> <BR>Thanks.<BR> <BR>Heming<BR> <BR><BR>
<HR>
Hotmail® is up to 70% faster. Now good news travels really fast. <A
href="http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_faster:082009">Try
it now.</A><BR>
<HR>
Windows Live: Make it easier for your friends to see what you’re up to on
Facebook. <A
href="http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_facebook:082009">Find
out more.</A><BR>
<HR>
Windows Live: Keep your friends up to date with what you do online. <A
href="http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009"
target=_new>Find out more.</A> </BODY></HTML>