dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #22356
[Bug 694507] Re: Incorrect path for link libraries from PETSc
The attached patch reduces the number of 3rd party libs for both PETSc
and SLEPc to a minimum. This is close to what we had in the SCons based
build system. I have tested the patch with several different
configurations and will apply it unless someone has any objections.
** Patch added: "findpetscslepc.patch"
https://bugs.launchpad.net/dolfin/+bug/694507/+attachment/1953187/+files/findpetscslepc.patch
--
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/694507
Title:
Incorrect path for link libraries from PETSc
Status in DOLFIN:
Confirmed
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-diffusion-demo because files in some directories may conflict
with libraries in implicit directories:
runtime library [libmpi_f90.so.0] in /usr/lib may be hidden by files in:
/home/gnw20/local/lib
References