ninghui, Can you share /media/ninghui/Aspect/dealii-candi-oneapi/tmp/build/deal.II-v9.5.1/CMakeFiles/CMakeOutput.log and /media/ninghui/Aspect/dealii-candi-oneapi/tmp/build/deal.II-v9.5.1/CMakeFiles/CMakeError.log.
Best, Bruno On Tuesday, October 17, 2023 at 8:27:33 PM UTC-4 [email protected] wrote: > Hi, all > > Hello everyone! > I had some problems when using candi to compile and install dealii. The > mkl+oneapi component is selected. > > ------------------------------------------ > 3.1.0/lib/intel64/libmkl_gnu_thread.so;/opt/intel/oneapi/mkl/2023.1.0/lib/intel64/libmkl_core.so;/usr/lib/gcc/x86_64-linux-gnu/11/libgomp. > > so;-lm;-ldl > -- > -- DEAL_II_WITH_LAPACK successfully set up with external dependencies. > -- > -- Include > /media/ninghui/Aspect/dealii-candi-oneapi/tmp/unpack/deal.II-v9.5.1/cmake/configure/configure_10_mpi.cmake > -- Found MPI_C: /opt/intel/oneapi/mpi/2021.9.0/lib/release/libmpi.so > (found version "3.1") > -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR > MPI_CXX_WORKS) > -- Found MPI_Fortran: /opt/intel/oneapi/mpi/2021.9.0/bin/mpif90 (found > version "3.1") > -- Could NOT find MPI (missing: MPI_CXX_FOUND) (found version "3.1") > -- Found MPI_MPI_H > -- Performing Test MPI_UNDERLINKAGE_OK > -- Performing Test MPI_UNDERLINKAGE_OK - Success > -- Processing MPI variables and targets > -- Unable to process MPI > -- DEAL_II_WITH_MPI has unmet external dependencies. > CMake Error at cmake/configure/configure_10_mpi.cmake:68 (message): > > > Could not find any suitable mpi library! > > > > Please ensure that an mpi library is installed on your computer > > and set MPI_CXX_COMPILER to the appropriate mpi wrappers: > > $ cmake -DMPI_CXX_COMPILER=".../mpicxx" <...> > > Or with additional C and Fortran wrappers (recommended!): > > $ cmake -DMPI_C_COMPILER=".../mpicc"\ > -DMPI_CXX_COMPILER=".../mpicxx"\ > -DMPI_Fortran_COMPILER=".../mpif90"\ > <...> > > Call Stack (most recent call first): > > > /media/ninghui/Aspect/dealii-candi-oneapi/tmp/build/deal.II-v9.5.1/CMakeFiles/CMakeTmp/evaluate_expression.tmp:1 > > (feature_MPI_error_message) > cmake/macros/macro_evaluate_expression.cmake:30 (include) > cmake/macros/macro_configure_feature.cmake:275 (evaluate_expression) > cmake/configure/configure_10_mpi.cmake:83 (configure_feature) > cmake/macros/macro_verbose_include.cmake:19 (include) > CMakeLists.txt:120 (verbose_include) > > > -- Configuring incomplete, errors occurred! > See also > "/media/ninghui/Aspect/dealii-candi-oneapi/tmp/build/deal.II-v9.5.1/CMakeFiles/CMakeOutput.log". > See also > "/media/ninghui/Aspect/dealii-candi-oneapi/tmp/build/deal.II-v9.5.1/CMakeFiles/CMakeError.log". > Failure with exit status: 1 > Exit message: There was a problem configuring dealii v9.5.1. > > --------------- > But I checked that mpicxx exists > $ which mpicxx > /opt/intel/oneapi/mpi/2021.9.0/bin/mpicxx > $ mpicc --version > gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 > Copyright (C) 2021 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > Any advice would be greatly appreciated. > good luck! > ninghui > -- 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/c522f502-2dfa-4b66-8aab-f018063b0631n%40googlegroups.com.
