[mpich-discuss] Errors while install MPICH on a 64bit cluster

Rajeev Thakur thakur at mcs.anl.gov
Wed Oct 14 11:52:04 CDT 2009


Instead of mpif90 -echo, can you try compiling an f90 program?
 


  _____  

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Lei Yang
Sent: Tuesday, October 13, 2009 7:52 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Errors while install MPICH on a 64bit
cluster


hi, all,

I apologize for sending wrong files last time, this time is certainly
MPICH2-1.2
I set environmental variables like this:

export FC=/opt/intel/fce/10.0.023/bin/ifort
export F90=/opt/intel/fce/10.0.023/bin/ifort
export CC=gcc

Didn't see any errors in the files, but when I run "mpif90 -echo", it
gave this error message:

+ '[' no = no ']'
+ unset 'allargs[0]'
++ expr 0 + 1
+ argno=1
+ '[' 1 -eq 0 ']'
+ '[' no = yes ']'
+ mpilibs='-lmpichf90 -lmpich -lopa'
+ F90FLAGS=
+ LDFLAGS=' '
+ '[' -n '' ']'
+ '[' -z -I ']'
+ F90INCDIRS=-I/home/yanglei/mpich2/include
+ moduledir=/home/yanglei/mpich2/include
+ modulelib=mpichf90
+ '[' -n '' ']'
+ '[' -n -I ']'
+ F90MODDIRS=-I/home/yanglei/mpich2/include
+ F90MODLIBS=-lmpichf90
+ '[' yes = yes ']'
+ '[' -n '' ']'
+ /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
/opt/intel/fce/10.0.023/lib/for_main.o: In function `main':
/export/users/nbtester/efi2linuxx86_nightly/branch-10_0/20070427_000000/
libdev/frtl/src/libfor/for_main.c:(.text+0x26): undefined reference to
`MAIN__'
+ rc=1
+ '[' -n '' ']'
+ exit 1

and we don't even have /export/users/nbtester...directory. and obviously
the mpif90 doesn't work...

My machine is 64bit cluster, ifort is 10.0.023 for x86-64 system.

Attached are three files for MPICH2 installation.

Thanks a lot! 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20091014/77eb7f58/attachment-0001.htm>


More information about the mpich-discuss mailing list