[Beowulf] MPICH with ICC 8.1

John Lau cflau at clc.cuhk.edu.hk
Wed Dec 22 20:44:28 PST 2004


I can't compile MPICH 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- -I..
-I/usr/src/redhat/BUILD/mpich-  -fPIC -O2
-mcpu=pentium4 -gcc-version=320 -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR
-c /usr/src/redhat/BUILD/mpich-
/usr/src/redhat/BUILD/mpich- 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