[petsc-users] CMake error in PETSc
jed at jedbrown.org
Thu Dec 5 08:07:14 CST 2019
Yingjie Wu <yjwu16 at gmail.com> writes:
> I installed the latest version of petsc, and compiled the example using
> cmke as described above. Compilation can be done, but there is a new
> problem while the program is running, as if the program could not find the
> shared library libpetsc.so.3.12. How can I solve this problem?
or set RPATH in CMake:
CMake's FindPkgConfig punts on this front (and it's sadly complicated,
but they broke their own conventions to get here). It's been 10 years
and they've had no interest in fixing some of the problems that my
modules were created to handle. I stopped using CMake by choice long
ago so I'd prefer to gently steer people toward something
(FindPkgConfig) that I'm not on the hook to maintain.
More information about the petsc-users