[petsc-dev] --prefix install totally broken in next on Mac

Smith, Barry F. bsmith at mcs.anl.gov
Wed Mar 21 22:27:46 CDT 2018



> On Mar 21, 2018, at 7:41 PM, Jed Brown <jed at jedbrown.org> wrote:
> 
> Satish Balay <balay at mcs.anl.gov> writes:
> 
>> On Thu, 22 Mar 2018, Satish Balay wrote:
>> 
>>>> make gnumake VERBOSE=1 does not show how the library is built, how does one see what exactly is being passed to build the library? Impossible for me to debug.
>> 
>> BTW: This is:
>> 
>> make V=1
> 
> Barry, see other thread about whether to use
> 
>  -install_name @rpath/libpetsc.so.3.08
> 
> versus the absolute path.  Using @rpath makes the library relocatable
> without changing it (like on Linux), but requires either linking with
> RPATH (-Wl,-rpath,/prefix/lib) or DYLD_LIBRARY_PATH (like on Linux).
> What is your preference?

    I prefer the absolute path.

> 
>>>> This was all fine in the past for prefix builds on the Mac all the recent messing around broke it.

   Is there a branch that fixes the problem or has the problem just been commented on for a few days?

>> 
>> BTW: The changes didn't affect saws. It has its own installer that needs fixing?
> 
> Yeah, pretty sure Saws issues are unrelated.

   I'm not convinced.



More information about the petsc-dev mailing list