[petsc-dev] --prefix install totally broken in next on Mac
Satish Balay
balay at mcs.anl.gov
Wed Mar 21 19:24:04 CDT 2018
This issue [is flaged by the nightlybuilds] and discussed on a different email thread .
Subject: Re: [petsc-dev] Tests are not working for me in next
I haven't checked on saws though..
Satish
On Thu, 22 Mar 2018, Smith, Barry F. wrote:
>
> After a make install
>
>
> otool -L petsc-install/lib/libpetsc.dylib
> petsc-install/lib/libpetsc.dylib:
> arch-simp/lib/libpetsc.3.08.dylib (compatibility version 3.8.0, current version 3.8.3)
> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib (compatibility version 1.0.0, current version 1.0.0)
> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib (compatibility version 1.0.0, current version 1.0.0)
> /Users/barrysmith/Src/petsc/arch-simp/externalpackages/git.saws/build/lib/libSAWs.so (compatibility version 0.0.0, current version 0.0.0)
> /opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
> /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0)
> /usr/local/opt/mpich/lib/libmpifort.12.dylib (compatibility version 14.0.0, current version 14.0.0)
> /usr/local/opt/mpich/lib/libmpi.12.dylib (compatibility version 14.0.0, current version 14.0.0)
> /usr/local/opt/mpich/lib/libpmpi.12.dylib (compatibility version 14.0.0, current version 14.0.0)
> /usr/local/opt/gcc/lib/gcc/7/libgfortran.4.dylib (compatibility version 5.0.0, current version 5.0.0)
> /usr/local/lib/gcc/7/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
> /usr/local/opt/gcc/lib/gcc/7/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)
> /usr/local/opt/mpich/lib/libmpicxx.12.dylib (compatibility version 14.0.0, current version 14.0.0)
>
> It has the wrong location for PETSc library and for Saws library
>
> From configure.log is one problem
>
> PETSC_WITH_EXTERNAL_LIB = -L/Users/barrysmith/Src/petsc/arch-simp/lib -Wl,-rpath,/Users/barrysmith/Src/petsc/petsc-install/lib -L/Users/barrysmith/Src/petsc/petsc-install/lib -Wl,-rpath,/opt/X11/lib -L/opt/X11/lib -Wl,-rpath,/usr/local/Cellar/mpich/3.2_3/lib -L/usr/local/Cellar/mpich/3.2_3/lib -Wl,-rpath,/usr/local/Cellar/gcc/7.3.0_1/lib/gcc/7/gcc/x86_64-apple-darwin17.3.0/7.3.0 -L/usr/local/Cellar/gcc/7.3.0_1/lib/gcc/7/gcc/x86_64-apple-darwin17.3.0/7.3.0 -Wl,-rpath,/usr/local/Cellar/gcc/7.3.0_1/lib/gcc/7 -L/usr/local/Cellar/gcc/7.3.0_1/lib/gcc/7 -Wl,-rpath,/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin -lpetsc -llapack -lblas -lSAWs -lX11 -lstdc++ -ldl -lmpifort -lmpi -lpmpi -lgfortran -lSystem -lgcc_ext.10.5 -lquadmath -lm -lc++ -ldl -lmpicxx -lmpi -lpmpi -lSystem -lclang_rt.osx -lstdc++ -ldl
>
> starts with /Users/barrysmith/Src/petsc/arch-simp/lib which I would think it problematic.
>
>
>
> If there is not one yet there needs to be a prefix install for Mac in the nightlies
>
>
>
> 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.
>
> This was all fine in the past for prefix builds on the Mac all the recent messing around broke it.
>
> Barry
>
>
More information about the petsc-dev
mailing list