[mpich-discuss] Undefined references to MPL, seems to be caused by --if-needed

chan at mcs.anl.gov chan at mcs.anl.gov
Fri Nov 19 14:27:27 CST 2010


Hi Jed,

I can't reproduce the undefined MPL symbols error after configuring 1.3.1
with your options except --with-python=python2 under linux.  AFAIK, I don't
think mpich2 added "-Wl,--hash-style=gnu -Wl,--as-needed" in mpicxx.  Could
you check if you have LDFLAGS or CXXFLAGS somehow set in your environment ?
Or what platform are you building mpich2 on ?


A.Chan



----- Original Message -----
> On Fri, Nov 19, 2010 at 16:55, Anthony Chan <chan at mcs.anl.gov> wrote:
> 
> > Can you tell us how do you configure mpich2 ?
> 
> 
> $ mpich2version
> MPICH2 Version: 1.3.1
> MPICH2 Release date: Wed Nov 17 10:48:28 CST 2010
> MPICH2 Device: ch3:nemesis
> MPICH2 configure: --prefix=/opt/mpich2 --enable-shared
> --enable-sharedlibs=gcc --enable-error-checking=runtime
> --enable-error-messages=all --enable-timer-type=clock_gettime
> --with-pm=hydra:gforker:mpd --with-python=python2
> MPICH2 CC: gcc -march=native -O1 -pipe -O2
> MPICH2 CXX: c++ -march=native -O1 -pipe -O2
> MPICH2 F77: gfortran -O2
> MPICH2 FC: gfortran -O2


More information about the mpich-discuss mailing list