[petsc-dev] possible problem with prefixed build in master

Blaise A Bourdin bourdin at lsu.edu
Tue Jun 17 17:06:19 CDT 2014


On Jun 17, 2014, at 4:43 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> On Tue, 17 Jun 2014, Blaise A Bourdin wrote:
> 
>> 
>> On Jun 17, 2014, at 4:26 PM, Satish Balay <balay at mcs.anl.gov> wrote:
>> 
>>> It was my attempt to partly fix this issue that broke for Blaise.
>>> 
>>> I've pushed a revert for this partial/broken fix..
Great, it works now

Blaise


>>> 
>>> Wrt the issue Barry referes to - I still think 'prefix install for
>>> --download-package with shared libraries' is difficult. I'm not sure
>>> how to deal with it.
>> 
>> Thanks.
>> Why not link with libraries in $PETSC_DIR/$ETSC_ARCH/lib during make, and do a chrpath during make install?
> 
> previous discussion:
> 
> <satish>
> 
>> There is this thing
>> http://stackoverflow.com/questions/13769141/can-i-change-rpath-in-an-already-compiled-binary
>> 
>> but the tools mentioned are not available on default system installs
>> [linux] - so we would have to carry them arround? And I'm not sure if
>> they would work portably.
> 
> <jed>
> Only ELF on x86 and ppc.  This is the "non-portable" tool I was thinking of.
> 
>  http://nixos.org/patchelf.html
> 
> 
> satish

-- 
Department of Mathematics and Center for Computation & Technology
Louisiana State University, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin










More information about the petsc-dev mailing list