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

Smith, Barry F. bsmith at mcs.anl.gov
Wed Mar 21 19:18:08 CDT 2018


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180322/4c559f88/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 3767644 bytes
Desc: configure.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180322/4c559f88/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: petscvariables
Type: application/octet-stream
Size: 7706 bytes
Desc: petscvariables
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180322/4c559f88/attachment-0003.obj>


More information about the petsc-dev mailing list