[Beowulf] MPICH with ICC 8.1

Don Holmgren djholm at fnal.gov
Fri Dec 24 07:01:37 PST 2004

If you can do without weak symbols for the MPICH profiling interface
(i.e., when you want to profile, your code would have to preface the
names of mpi calls with "p", as in pmpi_wait instead of mpi_wait), then
during the configure step add the switch


I haven't found a compiler option, only this MPICH build option.

Don Holmgren

On Thu, 23 Dec 2004, John Lau wrote:

> Hi,
> 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../include
> -I/usr/src/redhat/BUILD/mpich- -I..
> -I/usr/src/redhat/BUILD/mpich-
> -I/usr/src/redhat/BUILD/mpich-
> -I/usr/src/redhat/BUILD/mpich-
> -I/usr/src/redhat/BUILD/mpich-
> -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
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

More information about the Beowulf mailing list