Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Setting RPATH for Open MPI libraries
From: Jed Brown (jed_at_[hidden])
Date: 2012-09-11 14:22:16


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" <reuti_at_[hidden]> 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
> > users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>