[petsc-users] Integrating PETSc with existing software using CMake

Hadayat Seddiqi hadsed at gmail.com
Mon Jul 30 16:19:39 CDT 2012


Hello,

I'm working on a large numerical software project whose framework has
largely been developed already. We're using CMake to generate makefiles.
I'm also using SLEPc (for full disclosure). The examples given by PETSc and
SLEPc documentation require me to include makefiles, but I don't know of
any straightforward way to command CMake to do this for me.

I have looked at the FAQ's link for the CMake question:
https://github.com/jedbrown/dohp But this seems very old, and in any case
it doesn't exactly work. I'm not an expert on CMake, so I couldn't say what
was the causing the problem, but in the end it told me it could not find
the PETSc libraries. It seemed to be rather complicated-- I know PETSc will
be where I need it, so I don't need all the verification that it's there
and everything works. I thought, with the benefit of more intimate
knowledge of how PETSc runs, that someone could show a much simpler way (it
seems to me that this ought to be the case).

I hope this is the right list. I have fully configured and installed
PETSc/SLEPc, as well as having successfully run the examples with MPI.

Thanks,

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


More information about the petsc-users mailing list