Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PETSC_ARCH and missing "/conf/PETScConfig.cmake") #39

Open
python152 opened this issue Aug 23, 2020 · 1 comment
Open

PETSC_ARCH and missing "/conf/PETScConfig.cmake") #39

python152 opened this issue Aug 23, 2020 · 1 comment

Comments

@python152
Copy link

python152 commented Aug 23, 2020

hi -

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?
@jedbrown
Copy link
Owner

jedbrown commented Aug 23, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants