You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am compiling a software (gridpack) which depends on petsc. spack install petsc installs fine, but doesn't seem to have PETSC_ARCH set. The following messages suggests it is expecting another file: "${PETSC_DIR}/${PETSC_ARCH}/conf/PETScConfig.cmake")
that I am not sure of its origin ... is there anything I am missing here?
Thanks
-- Checking PETSc ...
CMake Error at /home/ubuntu/GridPACK/cmake-jedbrown/FindPETSc.cmake:151 (message):
The pair
PETSC_DIR=/home/ubuntu/spack/opt/spack/linux-ubuntu20.04-haswell/gcc-9.3.0/petsc-3.13.4-2bjevskgval6putbionc5ehmxeidsvnn
PETSC_ARCH= do not specify a valid PETSc installation
Call Stack (most recent call first):
CMakeLists.txt:280 (find_package)
-- Using PETSc version 3.13.4
CMake Error at CMakeLists.txt:290 (message):
PETSc found, but CMake configuration for PETSc installation not found?
The text was updated successfully, but these errors were encountered:
Since you're using a recent version of PETSc, I strongly recommend using [FindPkgConfig.cmake](https://cmake.org/cmake/help/latest/module/FindPkgConfig.html) to make use of the petsc.pc that is now included with PETSc. Patches welcome, but I don't use CMake for any of my current projects and unfortunately don't have time to support these modules.
hi -
I am compiling a software (gridpack) which depends on
petsc
.spack install petsc
installs fine, but doesn't seem to havePETSC_ARCH
set. The following messages suggests it is expecting another file:"${PETSC_DIR}/${PETSC_ARCH}/conf/PETScConfig.cmake")
that I am not sure of its origin ... is there anything I am missing here?
Thanks
The text was updated successfully, but these errors were encountered: