[petsc-dev] [petsc-users] FindPETSc.cmake expects petscvariables in wrong location
Barry Smith
bsmith at mcs.anl.gov
Tue Apr 11 10:55:10 CDT 2017
> On Apr 11, 2017, at 10:43 AM, Joachim Wuttke <j.wuttke at fz-juelich.de> wrote:
>
> The PETSc FAQ recommends to use the FindPETSc.cmake module
Jed,
Is it time to update the PETSc FAQ and remove the "recommendation"? I thought you had developed a simpler way of handling that does not require cmake?
Barry
> from the repository https://github.com/jedbrown/cmake-modules.
>
> This doesn't work for me. CMake fails with the following message:
> CMake Error at cmake/modules/FindPETSc.cmake:125 (message):
> The pair PETSC_DIR=/usr/lib/src/petsc-3.7.5 PETSC_ARCH=linux-amd64 do not
> specify a valid PETSc installation
>
> Line 115 of FindPETSc.cmake shows that the file petscvariables
> is expected at location
> ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables
>
> However, in the current source archive, it is located in
> ${PETSC_DIR}/lib/petsc/conf/petscvariables,
> and the default install procedure does not copy it to ${PETSC_ARCH}.
>
>
More information about the petsc-dev
mailing list