Re: [mpich-devel] --enable-wrapper-rpath not working
AFAICT, the Darwin linker includes the full path to all dynamic libraries needed by the library by default. Rpath flags shouldn't be strictly necessary. mpich-mac1:pt2pt raffenet$ otool -L large_message large_message: /Users/raffenet/mpich/i/lib/libmpi.0.dylib (compatibility version 1.0.0, current version 1.0.0) /Users/raffenet/mpich/i/lib/libpmpi.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) The concept of rpath was added in OSX 10.4 apparently, but I don't see much in the way of adoption in other open source projects. Are your binaries running into library not found issues? Ken On 12/17/2014 11:41 AM, Jeff Hammond wrote:
Am I doing something wrong here? Why is the rpath option not being added to the wrapper script? This issue makes it impossible for me to use MPICH on my laptop without excessive tedium.
Thanks,
Jeff
mobl:build-intel jrhammon$ /opt/mpich/dev/intel/default/bin/mpichversion MPICH Version: 3.2a2 MPICH Release date: unreleased development copy MPICH Device: ch3:nemesis MPICH configure: CC=icc CXX=icpc FC=ifort F77=ifort --enable-fortran --enable-threads=runtime --enable-g=dbg --with-pm=hydra --prefix=/opt/mpich/dev/intel/default --enable-wrapper-rpath --enable-static --enable-shared MPICH CC: icc -g -O2 MPICH CXX: icpc -g -O2 MPICH F77: ifort -g -O2 MPICH FC: ifort -g -O2
mobl:build-intel jrhammon$ /opt/mpich/dev/intel/default/bin/mpicc -show icc -Wl,-flat_namespace -I/opt/mpich/dev/intel/default/include -L/opt/mpich/dev/intel/default/lib -lmpi -lpmpi
participants (1)
-
Kenneth Raffenetti