<!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.16640" name=GENERATOR></HEAD>
<BODY text=#000099 bgColor=#99ffff>
<DIV dir=ltr align=left><SPAN class=849522703-14052008><FONT face=Arial
color=#0000ff size=2>You need to put them all on one line:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=849522703-14052008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=849522703-14052008><FONT face=Arial
color=#0000ff size=2># <FONT face="Times New Roman" size=3>$ F77=/path/to/g95
F90=/path/to/g95 ./configure
--prefix=/some/place/mpich2-install</FONT></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<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>PattiMichelle<BR><B>Sent:</B> Tuesday, May 13, 2008 10:02 PM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> Re: [mpich-discuss] Getting
MPICH2 to find/use g95 fortran<BR></FONT><BR></DIV>
<DIV></DIV>Pavan Balaji wrote:
<BLOCKQUOTE cite=mid47F947F6.70007@earthlink.net type="cite">
<BLOCKQUOTE cite=mid47F92643.7080906@mcs.anl.gov type="cite"><BR>You can
force MPICH2 to use g95 by setting environment variables at configure
time: <BR><BR> $ F77=/path/to/g95 F90=/path/to/g95 ./configure
--prefix=/some/place/mpich2-install <BR><BR> $ make && make
install <BR><BR> -- Pavan <BR></BLOCKQUOTE></BLOCKQUOTE>I didn't have
luck with this:patti-desktop:<BR># F77=/usr/local/bin/g95<BR>#
F90=/usr/local/bin/g95<BR># ./configure<BR>Configuring MPICH2 version
1.0.7<BR>Running on system: Linux patti-desktop 2.6.18.8-0.9-default #1 SMP
Sun Feb 10 22:48:05 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux<BR>Executing
mpich2prereq in /usr/local/mpich2-1.0.7/src/mpid/ch3 with<BR>Executing
mpich2prereq in /usr/local/mpich2-1.0.7/src/mpid/ch3/channels/sock<BR>sourcing
/usr/local/mpich2-1.0.7/src/pm/mpd/mpich2prereq<BR>sourcing
/usr/local/mpich2-1.0.7/src/pm/mpd/setup_pm<BR>checking for gcc...
gcc<BR>checking for C compiler default output file name... a.out<BR>checking
whether the C compiler works... yes<BR>checking whether we are cross
compiling... no<BR>checking for suffix of executables...<BR>checking for
suffix of object files... o<BR>checking whether we are using the GNU C
compiler... yes<BR>checking whether gcc accepts -g... yes<BR>checking for gcc
option to accept ANSI C... none needed<BR>checking whether C compiler accepts
option -O2... yes<BR>checking whether routines compiled with -O2 can be linked
with ones compiled without -O2... yes<BR>checking for type of weak symbol
support... pragma weak<BR>checking whether __attribute__ ((weak)) allowed...
yes<BR>checking for multiple weak symbol support... yes<BR>checking for g77...
no<BR>checking for f77... no<BR>checking for xlf... no<BR>checking for frt...
no<BR>checking for pgf77... no<BR>checking for fort77... no<BR>checking for
fl32... no<BR>checking for af77... no<BR>checking for f90... no<BR>checking
for xlf90... no<BR>checking for pgf90... no<BR>checking for epcf90...
no<BR>checking for f95... no<BR>checking for fort... no<BR>checking for
xlf95... no<BR>checking for ifc... no<BR>checking for efc... no<BR>checking
for pgf95... no<BR>checking for lf95... no<BR>checking for gfortran...
gfortran<BR>checking whether we are using the GNU Fortran 77 compiler...
no<BR>checking whether gfortran accepts -g... no<BR>checking whether Fortran
77 compiler accepts option -O2... no<BR>checking how to get verbose linking
output from gfortran... configure: WARNING: compilation failed<BR><BR>checking
for Fortran libraries of gfortran...<BR>checking whether gfortran accepts the
FLIBS found by autoconf... no<BR>checking for valid entries in
FLIBS...<BR>checking whether C can link with ... yes<BR>checking for linker
for Fortran main programs... configure: error: Could not compile Fortran test
program<BR><BR></BLOCKQUOTE></BODY></HTML>