[petsc-users] Petsc and cmake

Michele Rosso mrosso at uci.edu
Fri Jun 19 18:32:29 CDT 2015


I am trying to move to cmake to build my code. How would you suggest to
handle the dependency on PETSc?
Currently my makefile relies on the PETSc variables for building the all
code, namely FLINKER, CLINKER and so on. I found the FindPETSc.cmake
module and I successfully used it
but it does not import the aforementioned variables.
Any suggestion on the matter is greatly appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150619/e287f175/attachment.html>

More information about the petsc-users mailing list