I want to avoid the user having to figure that out. MPICH2 sets RPATH by default when installed to nonstandard locations and I think that is not a bad choice. Usually applications are compiled differetly when the want to switch between debug and optimized (or other reasons for selecting a different library using LD_LIBRARY_PATH). On Sep 8, 2012 2:48 PM, "Reuti" <re...@staff.uni-marburg.de> wrote:
> Hi, > > Am 08.09.2012 um 14:46 schrieb Jed Brown: > > > Is there a way to configure Open MPI to use RPATH without needing to > manually specify --with-wrapper-ldflags=-Wl,-rpath,${prefix}/lib (and > similar for non-GNU-compatible compilers)? > _______________________________________________ > > What do you want to achieve in detail - just shorten the `./configure` > command line? You could also add it after Open MPI's compilation in the > text file: > > ${prefix}/share/openmpi/mpicc-wrapper-data.txt > > -- Reuti > > > > users mailing list > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >