Dear all,
I am installing deal.ii with petsc on a cluster. After I compiled the petsc library (The arch folder name is arch-linux-c-debug) and gave a cmake argument -DPETSC_DIR=/home/yjin6/petsc
cmake cannot find the petsc library .so file(It is in the folder), but it founds the version is 3.13.
Could you tell me what's the possible reason why cmake cannot find the library?
Best regards
***********************************************
--- Include /home/yjin6/Deal.II/dealii-9.2.0/cmake/configure/configure_3_petsc.cmake
-- PETSC_LIBRARY not found! Call:
-- FIND_LIBRARY(PETSC_LIBRARY NAMES petsc libpetsc HINTS /home/yjin6/petsc /home/yjin6/petsc/ PATH_SUFFIXES lib lib64 lib)
-- PETSC_INCLUDE_DIR_ARCH not found! Call:
-- FIND_PATH(PETSC_INCLUDE_DIR_ARCH petscconf.h HINTS /home/yjin6/petsc /home/yjin6/petsc/ PATH_SUFFIXES petsc include include/petsc)
-- Found PETSC_INCLUDE_DIR_COMMON
-- Found PETSC_PETSCVARIABLES
-- PETSC_VERSION: 3.13.3.0-- PETSC_LIBRARIES: *** Required variable "PETSC_LIBRARY" set to NOTFOUND ***-- PETSC_INCLUDE_DIRS: *** Required variable "PETSC_INCLUDE_DIR_ARCH" set to NOTFOUND ***-- PETSC_USER_INCLUDE_DIRS: *** Required variable "PETSC_INCLUDE_DIR_ARCH" set to NOTFOUND ***-- Could NOT find PETSC-- DEAL_II_WITH_PETSC has unmet external dependencies.-- Yuesu Jin,
Ph.D student,
University of Houston,
College of Natural Sciences and Mathematics,
Department of Earth and Atmospheric Sciences,
Houston, Texas 77204-5008