Skip to content

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

@python152

Description

@python152

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions