[petsc-users] Error with petsc on OSX with libpng

Balay, Satish balay at mcs.anl.gov
Wed Feb 27 19:12:50 CST 2019


Can you try the following and see if it makes a difference?

./configure --CC=mpicc --CXX=mpicxx --FC=mpif90 --PETSC_ARCH=sierra-dbg --with-debugging=1 --download-hypre=1 --with-x=0 LIBS='-L/usr/local/Cellar/mpich/3.3/lib -lmpifort -L/usr/local/Cellar/gcc/8.3.0/lib/gcc/8 -lgfortran'

For some reason your xcode compiler is giving these warnings during linktime - and I don't know why. These warnings are confusing petsc configure.

>>>>>>>
ld: warning: text-based stub file /System/Library/Frameworks//OpenCL.framework/Versions/A/OpenCL.tbd and library file /System/Library/Frameworks//OpenCL.framework/Versions/A/OpenCL are out of sync. Falling back to library file for linking.
<<<<<

Satish

On Wed, 27 Feb 2019, Amneet Pal Bhalla via petsc-users wrote:


  [NON-Text Body part not included]




More information about the petsc-users mailing list