[mpich-discuss] mpich 3.0.4 build fails on OS X Mountain lion

Mathieu MORLIGHEM Mathieu.Morlighem at uci.edu
Wed May 15 11:28:12 CDT 2013


Hello,

I am trying to compile mpich 3.0.4 on my machine:

uname -a
Darwin shackleton.ess.uci.edu 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64

I successfully installed mpich 1.5 several times with the following options:
./configure --prefix="$ISSM_DIR/externalpackages/mpich2/install" --enable-shared
 
However, with the same options, the build of mpich 3.0.4 at linking with a segmentation fault:

Making all in .
make[3]: Nothing to be done for `all-am'.
Making all in .
  GEN      lib/libmpich.la
collect2: ld terminated with signal 11 [Segmentation fault: 11]
make[2]: *** [lib/libmpich.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

with VERBOSE=1:
/bin/sh ./libtool  --tag=F77   --mode=link gfortran  -O2 -L./src/mpl -L./src/openpa/src -version-info 10:4:0 -Wl,-flat_namespace -o lib/libmpich.la -rpath /Users/mmorligh/Desktop/issmuci/trunk-jpl/externalpackages/mpich/install/lib src/mpi/attr/attrutil.lo src/mpi/attr/dup_fn.lo src/mpi/coll/allred_group.lo src/mpi/coll/barrier_group.lo ………… src/mpi_t/.libs/pvar_stop.o src/mpi_t/.libs/pvar_write.o src/binding/f77/.libs/setbot.o src/binding/f77/.libs/setbotf.o   -Wl,-force_load,src/mpi/romio/.libs/libromio.a -Wl,-force_load,src/mpi/romio/.libs/libpromio.a  -L./src/mpl -L./src/openpa/src /Users/mmorligh/Desktop/issmuci/trunk-jpl/externalpackages/mpich/src/src/mpl/.libs/libmpl.dylib /Users/mmorligh/Desktop/issmuci/trunk-jpl/externalpackages/mpich/src/src/openpa/src/.libs/libopa.dylib -lpthread  -O2 -Wl,-flat_namespace   -install_name  /Users/mmorligh/Desktop/issmuci/trunk-jpl/externalpackages/mpich/install/lib/libmpich.10.dylib -compatibility_version 11 -current_version 11.4 -Wl,-single_module
collect2: ld terminated with signal 11 [Segmentation fault: 11]
make[2]: *** [lib/libmpich.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Has anybody reported a similar issue? Do you think this is a problem with libtool?
Thanks a lot for your help
 
--
Mathieu Morlighem

Assistant Project Scientist
Department of Earth System Science
University of California, Irvine

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130515/cc4d2f5b/attachment.html>


More information about the discuss mailing list