[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
--disable-weak-symbols
I haven't found a compiler option, only this MPICH build option.
Don Holmgren
Fermilab
On Thu, 23 Dec 2004, John Lau wrote:
> 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
>
> _______________________________________________
> 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