[petsc-dev] CMake: make, install, find_package ?

Satish Balay balay at mcs.anl.gov
Sun Nov 5 08:52:44 CST 2017


On Sun, 5 Nov 2017, Franck Houssen wrote:

> > Or are you having trouble with
> > https://github.com/jedbrown/cmake-modules/blob/master/FindPETSc.cmake ?
> > [and not with PETSc build?]
> 
> At first, I was trying to understand why find_package(petsc) was not working.
> So then, I looked at the way the make/install was done: that lead me to look at the CMakeLists.txt and test it.
> 

> > > What did not work for you? Please send relavent logs.
> 
> Didn't find mpi.mod.
> find_package(MPI) was missing: I just added it.
> Still can push if you want to have a look (?).

So your primary issue is with FindPETSc.cmake - and the fix you have is for petsc?

Sure post the patch or push [where?] and Jed might review..

Instructions to reproduce the problem will help.

Satish


More information about the petsc-dev mailing list