[petsc-dev] Tests are not working for me in next

Satish Balay balay at mcs.anl.gov
Mon Mar 19 12:09:28 CDT 2018


Ok - the issue is coming from the change in jed/gmakefile-paths

commit 8e69c5ec7dbec5c4ff0e2255fa41e86223635a8c
Author: Jed Brown <jed at jedbrown.org>

Previously we had:

/Users/petsc/petsc.next/arch-osx-10.6/bin/mpicc -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind    -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g3  -dynamiclib -install_name arch-osx-10.6/lib/libpetsc.3.08.dylib -compatibility_version 3.08 -current_version 3.08.3 -single_module -multiply_defined suppress -undefined dynamic_lookup -o arch-osx-10.6/lib/libpetsc.3.08.3.dylib ...

Now we have:

/Users/petsc/petsc.master/arch-osx-10.6/bin/mpicc -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind    -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g3  -dynamiclib -install_name /Users/petsc/petsc.master/arch-osx-10.6/lib/libpetsc.3.08.dylib -compatibility_version 3.08 -current_version 3.08.3 -single_module -multiply_defined suppress -undefined dynamic_lookup -o /Users/petsc/petsc.master/arch-osx-10.6/lib/libpetsc.3.08.3.dylib .....

'-install_name arch-osx-10.6/lib/libpetsc.3.08.dylib' vs
'-install_name /Users/petsc/petsc.master/arch-osx-10.6/lib/libpetsc.3.08.dylib'
is causing this difference.

Satish

On Mon, 19 Mar 2018, Matthew Knepley wrote:

> I get
> 
>           CC arch-next-opt/tests/dm/impls/plex/examples/tests/ex20.o
>      CLINKER arch-next-opt/tests/dm/impls/plex/examples/tests/ex20
>         TEST arch-next-opt/tests/counts/dm_impls_plex_tests-ex20_2d.counts
> not ok dm_impls_plex_tests-ex20_2d
> # dyld: Library not loaded: arch-next-opt/lib/libpetsc.3.08.dylib
> #   Referenced from:
> /PETSc3/petsc/petsc-pylith/arch-next-opt/tests/dm/impls/plex/examples/tests/runex20_2d/../ex20
> #   Reason: image not found
> 
> So some recent changes have broken dynamic linking on the Mac.
> 
>    Matt
> 
> 



More information about the petsc-dev mailing list