Dear all,

In order to make install the deal.II, I load all the necessary modules
first so that I have this
[chueh5851a@clogin2 build]$ module list
Currently Loaded Modulefiles:
  1) blacs/openmpi/gcc/64/1.1patch03   4) scalapack/openmpi/gcc/64/2.0.2
7) mlib/OpenBLAS-0.2.20
  2) lapack/gcc/64/3.7.0               5) blas/gcc/64/3.7.0
 8) gcc/6.3.0
  3) mpi/openmpi-3.0.0/intel2018u1     6) openmpi/gcc/64/1.10.4
 9) openmpi/open64/64/1.10.3

Then I get an error after I type this.



[chueh5851a@clogin2 build]$ /usr/bin/cmake3
-DCMAKE_INSTALL_PREFIX=/home/chueh5851a/software/dealii
-DP4EST_DIR=/home/chueh5851a/software/p4est-2.0/FAST
-DTRILINOS_DIR=/home/chueh5851a/software/Trilinos  -D
DEAL_II_WITH_MPI:BOOL=ON  -D DEAL_II_WITH_THREADS:BOOL=ON  -D
DEAL_II_WITH_UMFPACK:BOOL=ON  -D DEAL_II_WITH_TRILINOS:BOOL=ON  -D
DEAL_II_WITH_PETSC:BOOL=OFF  -D DEAL_II_WITH_SLEPC:BOOL=OFF  `pwd`/..


Basically, what the error is caused by not finding MPI (see the error
below). But I already load the necessary modules including MPI already.
Does anyone help me out?

....
-- Include
/home/chueh5851a/software/dealii/cmake/checks/check_01_cxx_features.cmake
-- DEAL_II_WITH_CXX14 successfully set up
--
-- Include
/home/chueh5851a/software/dealii/cmake/checks/check_02_compiler_features.cmake
--
-- Include
/home/chueh5851a/software/dealii/cmake/checks/check_02_system_features.cmake
--
-- Include
/home/chueh5851a/software/dealii/cmake/checks/check_03_compiler_bugs.cmake
--
-- Include
/home/chueh5851a/software/dealii/cmake/configure/configure_1_cuda.cmake
-- DEAL_II_WITH_CUDA is set to off.
--
-- Include
/home/chueh5851a/software/dealii/cmake/configure/configure_1_lapack.cmake
-- A library with LAPACK API found.
--   LAPACK_LIBRARIES:
/usr/lib64/liblapack.so;/usr/lib64/libblas.so;/usr/lib64/libblas.so;gfortran;m;gcc_s;gcc;quadmath;m;gcc_s;gcc;c;gcc_s;gcc
--   LAPACK_LINKER_FLAGS:
-- Found LAPACK
-- DEAL_II_WITH_LAPACK successfully set up with external dependencies.
--
-- Include
/home/chueh5851a/software/dealii/cmake/configure/configure_1_mpi.cmake
-- Could NOT find MPI_C (missing: MPI_C_WORKS)
-- Could NOT find MPI_CXX (missing: MPI_CXX_WORKS)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_WORKS)
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND MPI_Fortran_FOUND)
-- Performing Test MPI_HAVE_MPI_SEEK_SET
-- Performing Test MPI_HAVE_MPI_SEEK_SET - Failed
-- MPI_MPI_H not found! Call:
--     FIND_FILE(MPI_MPI_H NAMES mpi.h HINTS)
--   MPI_VERSION: 0.0
--   MPI_LIBRARIES:
/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi.so;/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi_usempif08.so;/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi_usempi_ignore_tkr.so;/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi_mpifh.so;/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi.so;/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi.so
--   MPI_INCLUDE_DIRS:
--   MPI_USER_INCLUDE_DIRS:
--   MPI_CXX_FLAGS:
--   MPI_LINKER_FLAGS: -Wl,-rpath -Wl,/opt/pbs/lib -Wl,-rpath
-Wl,/usr/lib64 -Wl,-rpath -Wl,/pkg/openmpi/3.0.0/intel/2018_u1/lib64
-Wl,--enable-new-dtags -L/opt/pbs/lib -L/usr/lib64 -pthread
-- Could NOT find MPI
-- DEAL_II_WITH_MPI has unmet external dependencies.
CMake Error at cmake/configure/configure_1_mpi.cmake:84 (MESSAGE):


  Could not find any suitable mpi library!



  Please ensure that an mpi library is installed on your computer

  and set CMAKE_CXX_COMPILER to the appropriate mpi wrappers:

      $ CXX=".../mpicxx" cmake <...>
      $ cmake -DCMAKE_CXX_COMPILER=".../mpicxx" <...>

  Or with additional C and Fortran wrappers (recommended!):

      $ CC=".../mpicc" CXX=".../mpicxx" F90=".../mpif90" cmake <...>
      $ cmake -DCMAKE_C_COMPILER=".../mpicc"\
              -DCMAKE_CXX_COMPILER=".../mpicxx"\
              -DCMAKE_Fortran_COMPILER=".../mpif90"\
              <...>

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


-- Configuring incomplete, errors occurred!
See also
"/home/chueh5851a/software/dealii/build/CMakeFiles/CMakeOutput.log".
See also "/home/chueh5851a/software/dealii/build/CMakeFiles/CMakeError.log".

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to