<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=078235116-14102009><FONT color=#0000ff
size=2 face=Arial>Instead of mpif90 -echo, can you try compiling an f90
program?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=078235116-14102009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> mpich-discuss-bounces@mcs.anl.gov
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of </B>Lei
Yang<BR><B>Sent:</B> Tuesday, October 13, 2009 7:52 PM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> Re: [mpich-discuss] Errors while
install MPICH on a 64bit cluster<BR></FONT><BR></DIV>
<DIV></DIV>hi, all,<BR><BR>I apologize for sending wrong files last time, this
time is certainly MPICH2-1.2<BR>I set environmental variables like
this:<BR><BR>export FC=/opt/intel/fce/10.0.023/bin/ifort<BR>export
F90=/opt/intel/fce/10.0.023/bin/ifort<BR>export CC=gcc<BR><BR>Didn't see any
errors in the files, but when I run "mpif90 -echo", it gave this error
message:<BR><BR>+ '[' no = no ']'<BR>+ unset 'allargs[0]'<BR>++ expr 0 +
1<BR>+ argno=1<BR>+ '[' 1 -eq 0 ']'<BR>+ '[' no = yes ']'<BR>+
mpilibs='-lmpichf90 -lmpich -lopa'<BR>+ F90FLAGS=<BR>+ LDFLAGS=' '<BR>+ '[' -n
'' ']'<BR>+ '[' -z -I ']'<BR>+ F90INCDIRS=-I/home/yanglei/mpich2/include<BR>+
moduledir=/home/yanglei/mpich2/include<BR>+ modulelib=mpichf90<BR>+ '[' -n ''
']'<BR>+ '[' -n -I ']'<BR>+ F90MODDIRS=-I/home/yanglei/mpich2/include<BR>+
F90MODLIBS=-lmpichf90<BR>+ '[' yes = yes ']'<BR>+ '[' -n '' ']'<BR><SPAN
style="COLOR: rgb(102,51,255)">+ /opt/intel/fce/10.0.023/bin/ifort
-I/home/yanglei/mpich2/include -I/home/yanglei/mpich2/include
-L/home/yanglei/mpich2/lib -L/home/yanglei/mpich2/lib -lmpichf90 -lmpichf90
-lmpich -lopa -lpthread -lrt</SPAN><BR style="COLOR: rgb(102,51,255)"><SPAN
style="COLOR: rgb(102,51,255)">/opt/intel/fce/10.0.023/lib/for_main.o: In
function `main':</SPAN><BR style="COLOR: rgb(102,51,255)"><SPAN
style="COLOR: rgb(102,51,255)">/export/users/nbtester/efi2linuxx86_nightly/branch-10_0/20070427_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x26):
undefined reference to `MAIN__'</SPAN><BR>+ rc=1<BR>+ '[' -n '' ']'<BR>+ exit
1<BR><BR>and we don't even have /<SPAN
style="COLOR: rgb(102,0,204)">export/users/nbtester</SPAN>...directory. and
obviously the mpif90 doesn't work...<BR><BR>My machine is 64bit cluster, ifort
is 10.0.023 for x86-64 system.<BR><BR>Attached are three files for MPICH2
installation.<BR><BR>Thanks a lot! </BLOCKQUOTE></BODY></HTML>