Incorrect path for link libraries from PETSc
Bug #694507 reported by
Garth Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
Medium
|
Johannes Ring |
Bug Description
The correct path is not being added for some link libraries provided by PETSc (specifically, those provided by PCC_LINKER_LIBS).
I see this when building PETSc and DOLFIN using a locally installed OpenMPI. The consequence is that during configuration I get
messages like
Cannot generate a safe runtime search path for target
dg-advection-
with libraries in implicit directories:
runtime library [libmpi_f90.so.0] in /usr/lib may be hidden by files in:
/
Changed in dolfin: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in dolfin: | |
milestone: | none → 0.9.11 |
assignee: | nobody → Johannes Ring (johannr) |
Changed in dolfin: | |
status: | Confirmed → Fix Committed |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have tried to reproduce this, but without success. What I did was to let Dorsal build OpenMPI, PETSc, and DOLFIN using the attached platform file. I did see some similar warnings like
CMake Warning at demo/la/ eigenvalue/ cpp/CMakeLists. txt:31 (add_executable):
Cannot generate a safe linker search path for target demo_eigenvalue
because files in some directories may conflict with libraries in implicit
directories:
link library [libumfpack.so] in /usr/lib may be hidden by files in:
/work/ johannr/ dorsal/ Work/FEniCS/ lib
/work/ johannr/ dorsal/ Work/FEniCS/ lib
link library [libamd.so] in /usr/lib may be hidden by files in:
Some of these libraries may not be found correctly.
but nothing related to OpenMPI and PETSc.
Anyway, these are just CMake warnings and, unless you see some strange behavior, can safely be ignored.