[Beowulf] MPICH with ICC 8.1
John Lau
cflau at clc.cuhk.edu.hk
Wed Dec 22 20:44:28 PST 2004
Hi,
I can't compile MPICH 1.2.5.2 with the new Intel compiler 8.1. I used to
compile it successfully with the ICC 8.0. This is the error message:
/usr/intel/intel_cc_80/bin/icc -I.
-I/usr/src/redhat/BUILD/mpich-1.2.5.2-8chess/src/fortran/src
-I../include
-I/usr/src/redhat/BUILD/mpich-1.2.5.2-8chess/src/fortran/include -I..
-I/usr/src/redhat/BUILD/mpich-1.2.5.2-8chess/include
-I/usr/src/redhat/BUILD/mpich-1.2.5.2-8chess/icc8/include
-I/usr/src/redhat/BUILD/mpich-1.2.5.2-8chess/icc8/mpid/ch_p4
-I/usr/src/redhat/BUILD/mpich-1.2.5.2-8chess/mpid/util
-I/usr/src/redhat/BUILD/mpich-1.2.5.2-8chess/mpid/ch_p4 -fPIC -O2
-mcpu=pentium4 -gcc-version=320 -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR
-DHAVE_MPICHCONF_H
-c /usr/src/redhat/BUILD/mpich-1.2.5.2-8chess/src/fortran/src/addressf.c
/usr/src/redhat/BUILD/mpich-1.2.5.2-8chess/src/fortran/src/addressf.c(25): error: identifier "mpi_address_" is undefined
#pragma weak mpi_address_ = pmpi_address_
I think it is related to the weak symbol defination checking. Because
when I put the function defination before weak symbol defination, it can
be compiled with ICC 8.1.
So is there any compiler option or workaround for ICC 8.1, so that I
dont need to change the sources?
Thanks in advance.
Best regards,
John Lau
--
John Lau Chi Fai
cflau at clc.cuhk.edu.hk
Software Engineer
Center for Large-Scale Computation
More information about the Beowulf
mailing list