The issue is that the libs that PETSc supplied 3rd party libs do not use the full path.
I may have partially 'fixed' this a while back by not using as many of the PETSc supplied libs when linking. -- 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 _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp