<!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=806455414-17082009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=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=806455414-17082009></SPAN></FONT><FONT color=#0000ff face=Arial><SPAN
class=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=806455414-17082009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=806455414-17082009>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=806455414-17082009>Jayesh</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff face=Arial><SPAN
class=806455414-17082009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</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"
target=_new>Try it now.</A> </BODY></HTML>