Hello everyone,
I am very new to deal ii. I tried installing deal ii with PETSC and got the 
following error message.


--------------------------------------------------------------------------------------------------------------------------------------
-- Include 
/home/anupama/Documents/deal2_build_dir/dealii-9.4.1/cmake/configure/configure_30_petsc.cmake
-- Found PETSC_LIBRARY
-- Found PETSC_INCLUDE_DIR_ARCH
-- Found PETSC_INCLUDE_DIR_COMMON
-- PETSC_PETSCVARIABLES not found! The call was:
--     FIND_FILE(PETSC_PETSCVARIABLES NAMES petscvariables HINTS / 
PATH_SUFFIXES conf lib/petsc/conf)
--   PETSC_VERSION: 3.15.5.0
--   PETSC_INCLUDE_DIRS: /usr/include/petsc
--   PETSC_USER_INCLUDE_DIRS: /usr/include/petsc
--   PETSC_LIBRARIES: /usr/lib/x86_64-linux-gnu/libpetsc.so
-- Found PETSC
-- Could not find a sufficient PETSc installation: PETSc has to be 
configured with the same MPI configuration as deal.II.
-- DEAL_II_WITH_PETSC has unmet external dependencies.
CMake Error at cmake/configure/configure_30_petsc.cmake:141 (MESSAGE):
  

  Could not find the petsc library!

  Could not find a sufficient PETSc installation:

  PETSc has to be configured with the same MPI configuration as deal.II, but
  found:

    DEAL_II_WITH_MPI = OFF
    PETSC_WITH_MPI   = (NOT FALSE)

  

  Please ensure that the petsc library version 3.3.0 or newer is installed 
on
  your computer and is configured with the same mpi options as deal.II

  If the library is not at a default location, either provide some hints

  for the autodetection:

  PETSc installed with --prefix=<...> to a destination:

      $ PETSC_DIR="..." cmake <...>
      $ cmake -DPETSC_DIR="..." <...>

  PETSc compiled in source tree:

      $ PETSC_DIR="..."  PETSC_ARCH="..." cmake <...>
      $ cmake -DPETSC_DIR="..." -DPETSC_ARCH="..." <...>

  or set the relevant variables by hand in ccmake.

  

Call Stack (most recent call first):
  build/CMakeFiles/CMakeTmp/evaluate_expression.tmp:1 
(FEATURE_PETSC_ERROR_MESSAGE)
  cmake/macros/macro_evaluate_expression.cmake:30 (INCLUDE)
  cmake/macros/macro_configure_feature.cmake:267 (EVALUATE_EXPRESSION)
  cmake/configure/configure_30_petsc.cmake:160 (CONFIGURE_FEATURE)
  cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)
  CMakeLists.txt:130 (VERBOSE_INCLUDE)


-- Configuring incomplete, errors occurred!

-----------------------------------------------------------------------------------------------------------------------

Can anyone please help me install it?

Thanking you
Anupama

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/eeefe99c-eabd-4af3-aad3-3af4f4d1db81n%40googlegroups.com.

Reply via email to