Hello!
I have installed deal.II with MKL 2023.1.0:
-DDEAL_II_WITH_LAPACK=ON -DBLAS_DIR=${MKLROOT} -DLAPACK_DIR=${MKLROOT}
However,
when I run the step-1.release progoram,
I encountered an error:
./step-1.release: symbol lookup error: 
/opt/intel/oneapi/mkl/2023.1.0/lib/intel64/libmkl_gf_lp64.so.2: undefined 
symbol: mkl_blas_dgemm

Can someone help me fix this?

Thanks!

-- 
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/bcd37ba3-94c0-4ba8-a6f9-45c699ca5549n%40googlegroups.com.
###
#
#  deal.II configuration:
#        CMAKE_BUILD_TYPE:       Release
#        BUILD_SHARED_LIBS:      ON
#        CMAKE_INSTALL_PREFIX:   /home/slurmuser/bin/dealii-9.5.1
#        CMAKE_SOURCE_DIR:       /home/slurmuser/package_files/dealii-9.5.1
#                                (version 9.5.1)
#        CMAKE_BINARY_DIR:       /home/slurmuser/package_files/deal.II-build
#        CMAKE_CXX_COMPILER:     GNU 11.4.0 on platform Linux x86_64
#                                /usr/bin/c++
#        CMAKE_C_COMPILER:       /usr/bin/cc
#        CMAKE_Fortran_COMPILER: /usr/bin/gfortran
#        CMAKE_GENERATOR:        Unix Makefiles
#        C++ language standard:  C++17
#        Vectorization level:    128 bit (sse2)
#
#  Exported compiler and linker flags:
#        DEAL_II_CXX_FLAGS:            -fopenmp-simd
#        DEAL_II_CXX_FLAGS_RELEASE:    -O2 -funroll-loops -funroll-all-loops -fstrict-aliasing -Wno-unused-local-typedefs
#        DEAL_II_WARNING_FLAGS:        -pedantic -Wall -Wextra -Wmissing-braces -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations -Wno-literal-suffix -Wno-psabi -Wno-class-memaccess -Wno-unused-local-typedefs
#        DEAL_II_LINKER_FLAGS:         -rdynamic -fuse-ld=gold
#        DEAL_II_LINKER_FLAGS_RELEASE: 
#  Library targets:
#
#    Target: dealii
#        TYPE: INTERFACE_LIBRARY
#        INTERFACE_LINK_LIBRARIES: $<$<CONFIG:Release>:dealii::dealii_release>
#        INTERFACE_COMPILE_OPTIONS: $<$<COMPILE_LANGUAGE:CXX>:-fopenmp-simd>,$<$<AND:$<CONFIG:Release>,$<COMPILE_LANGUAGE:CXX>>:-O2,-funroll-loops,-funroll-all-loops,-fstrict-aliasing,-Wno-unused-local-typedefs>
#        INTERFACE_LINK_OPTIONS: -rdynamic,-fuse-ld=gold,$<$<CONFIG:Release>:>
#
#    Target: dealii_release
#        TYPE: SHARED_LIBRARY
#        VERSION: 9.5.1
#        SOVERSION: 9.5.1
#        LINK_LIBRARIES: rt,interface_lapack,interface_mpi,interface_zlib,interface_tbb_release,interface_p4est_release,bundled_boost_serialization_release,bundled_boost_system_release,bundled_boost_iostreams_release,bundled_kokkos_release,bundled_muparser_release,object_numerics_release,object_fe_release,object_matrix_free_release,object_dofs_release,object_lac_release,object_base_release,object_cgal_release,object_gmsh_release,object_grid_release,object_hp_release,object_multigrid_release,object_distributed_release,object_algorithms_release,object_integrators_release,object_meshworker_release,object_opencascade_release,object_particle_release,object_differentiation_ad_release,object_differentiation_sd_release,object_physics_elasticity_release,object_physics_release,object_rol_release,object_non_matching_release,object_sundials_release,object_trilinos_release,object_arborx_release
#        INCLUDE_DIRECTORIES: /home/slurmuser/package_files/deal.II-build/include,/home/slurmuser/package_files/dealii-9.5.1/include,/home/slurmuser/package_files/dealii-9.5.1/bundled/boost-1.70.0/include,/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/algorithms/src,/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/containers/src,/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/core/src,/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/simd/src,/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/tpls/desul/include,/home/slurmuser/package_files/dealii-9.5.1/bundled/muparser_v2_3_3//include
#        COMPILE_DEFINITIONS: NDEBUG
#        COMPILE_OPTIONS: -pedantic,-Wall,-Wextra,-Wmissing-braces,-Woverloaded-virtual,-Wpointer-arith,-Wsign-compare,-Wsuggest-override,-Wswitch,-Wsynth,-Wwrite-strings,-Wno-placement-new,-Wno-deprecated-declarations,-Wno-literal-suffix,-Wno-psabi,-Wno-class-memaccess,-Wno-unused-local-typedefs,-fopenmp-simd,-O2,-funroll-loops,-funroll-all-loops,-fstrict-aliasing,-Wno-unused-local-typedefs
#        LINK_OPTIONS: -rdynamic,-fuse-ld=gold
#        INTERFACE_LINK_LIBRARIES: rt,interface_lapack,interface_mpi,interface_zlib,interface_tbb_release,interface_p4est_release
#        INTERFACE_INCLUDE_DIRECTORIES: $<BUILD_INTERFACE:/home/slurmuser/package_files/deal.II-build/include>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/include>,$<INSTALL_INTERFACE:include>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/boost-1.70.0/include>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/algorithms/src>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/containers/src>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/core/src>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/simd/src>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/tpls/desul/include>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/muparser_v2_3_3//include>,$<INSTALL_INTERFACE:include/deal.II/bundled>
#        INTERFACE_SYSTEM_INCLUDE_DIRECTORIES: $<BUILD_INTERFACE:/home/slurmuser/package_files/deal.II-build/include>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/include>,$<INSTALL_INTERFACE:include>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/boost-1.70.0/include>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/algorithms/src>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/containers/src>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/core/src>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/simd/src>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/tpls/desul/include>,$<BUILD_INTERFACE:/home/slurmuser/package_files/dealii-9.5.1/bundled/muparser_v2_3_3//include>,$<INSTALL_INTERFACE:include/deal.II/bundled>
#        INTERFACE_COMPILE_DEFINITIONS: NDEBUG
#
#  Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION = ON):
#      ( DEAL_II_WITH_64BIT_INDICES = OFF )
#      ( DEAL_II_WITH_ADOLC = OFF )
#      ( DEAL_II_WITH_ARBORX = OFF )
#      ( DEAL_II_WITH_ARPACK = OFF )
#      ( DEAL_II_WITH_ASSIMP = OFF )
#        DEAL_II_WITH_BOOST set up with bundled packages
#            BOOST_VERSION = 1.70.0
#      ( DEAL_II_WITH_CGAL = OFF )
#        DEAL_II_WITH_COMPLEX_VALUES = ON
#      ( DEAL_II_WITH_CUDA = OFF )
#      ( DEAL_II_WITH_GINKGO = OFF )
#      ( DEAL_II_WITH_GMSH = OFF )
#      ( DEAL_II_WITH_GSL = OFF )
#      ( DEAL_II_WITH_HDF5 = OFF )
#        DEAL_II_WITH_KOKKOS set up with bundled packages
#            KOKKOS_VERSION = 3.7.0
#            KOKKOS_BACKENDS = Serial
#            KOKKOS_ARCHITECTURES =  
#        DEAL_II_WITH_LAPACK set up with external dependencies
#            LAPACK_WITH_64BIT_BLAS_INDICES = OFF
#      ( DEAL_II_WITH_METIS = OFF )
#        DEAL_II_WITH_MPI set up with external dependencies
#            MPI_VERSION = 3.1
#            MPI_C_COMPILER = /opt/intel/oneapi/mpi/2021.9.0/bin/mpigcc
#            MPI_CXX_COMPILER = /opt/intel/oneapi/mpi/2021.9.0/bin/mpigxx
#            MPI_Fortran_COMPILER = /opt/intel/oneapi/mpi/2021.9.0/bin/mpif90
#            MPI_CXX_VERSION = 3.1
#        DEAL_II_WITH_MUPARSER set up with bundled packages
#            MUPARSER_VERSION = 2.3.3
#      ( DEAL_II_WITH_OPENCASCADE = OFF )
#        DEAL_II_WITH_P4EST set up with external dependencies
#            P4EST_VERSION = 2.8
#            P4EST_DIR = /home/slurmuser/bin/p4est-2.8
#      ( DEAL_II_WITH_PETSC = OFF )
#      ( DEAL_II_WITH_SCALAPACK = OFF )
#      ( DEAL_II_WITH_SLEPC = OFF )
#      ( DEAL_II_WITH_SUNDIALS = OFF )
#      ( DEAL_II_WITH_SYMENGINE = OFF )
#        DEAL_II_WITH_TBB set up with external dependencies
#            TBB_VERSION = 2021.9
#            TBB_DIR = /opt/intel/oneapi/tbb/2021.9.0
#      ( DEAL_II_WITH_TRILINOS = OFF )
#      ( DEAL_II_WITH_UMFPACK = OFF )
#        DEAL_II_WITH_ZLIB set up with external dependencies
#            ZLIB_VERSION = 1.2.11
#
#  Interface targets:
#
#    Target: bundled_kokkos_release
#        TYPE: OBJECT_LIBRARY
#        LINK_LIBRARIES: rt,interface_lapack,interface_mpi,interface_zlib,interface_tbb_release,interface_p4est_release
#        INCLUDE_DIRECTORIES: /home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/algorithms/src,/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/containers/src,/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/core/src,/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/simd/src,/home/slurmuser/package_files/dealii-9.5.1/bundled/kokkos-3.7.00/tpls/desul/include,/home/slurmuser/package_files/deal.II-build/include,/home/slurmuser/package_files/dealii-9.5.1/include
#        COMPILE_DEFINITIONS: NDEBUG
#        COMPILE_OPTIONS: -pedantic,-Wall,-Wextra,-Wmissing-braces,-Woverloaded-virtual,-Wpointer-arith,-Wsign-compare,-Wsuggest-override,-Wswitch,-Wsynth,-Wwrite-strings,-Wno-placement-new,-Wno-deprecated-declarations,-Wno-literal-suffix,-Wno-psabi,-Wno-class-memaccess,-Wno-unused-local-typedefs,-Wno-float-conversion,-Wno-missing-field-initializers,-Wno-suggest-override,-Wno-unused-but-set-parameter,-fopenmp-simd,-O2,-funroll-loops,-funroll-all-loops,-fstrict-aliasing,-Wno-unused-local-typedefs
#        INTERFACE_LINK_LIBRARIES: $<LINK_ONLY:rt>,$<LINK_ONLY:interface_lapack>,$<LINK_ONLY:interface_mpi>,$<LINK_ONLY:interface_zlib>,$<LINK_ONLY:interface_tbb_release>,$<LINK_ONLY:interface_p4est_release>
#
#    Target: interface_lapack
#        TYPE: INTERFACE_LIBRARY
#        INTERFACE_LINK_LIBRARIES: /opt/intel/oneapi/mkl/2023.1.0/lib/intel64/libmkl_gf_lp64.so,/opt/intel/oneapi/mkl/2023.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
#
#    Target: interface_mpi
#        TYPE: INTERFACE_LIBRARY
#        INTERFACE_LINK_LIBRARIES: /opt/intel/oneapi/mpi/2021.9.0/lib/libmpicxx.so,/opt/intel/oneapi/mpi/2021.9.0/lib/libmpifort.so,/opt/intel/oneapi/mpi/2021.9.0/lib/release/libmpi.so,/usr/lib/x86_64-linux-gnu/librt.a,/usr/lib/x86_64-linux-gnu/libpthread.a,/usr/lib/x86_64-linux-gnu/libdl.a
#        INTERFACE_INCLUDE_DIRECTORIES: /opt/intel/oneapi/mpi/2021.9.0/include
#        INTERFACE_SYSTEM_INCLUDE_DIRECTORIES: /opt/intel/oneapi/mpi/2021.9.0/include
#        INTERFACE_LINK_OPTIONS: SHELL:-Xlinker --enable-new-dtags -Xlinker -rpath,SHELL:-Xlinker /opt/intel/oneapi/mpi/2021.9.0/lib/release -Xlinker -rpath,SHELL:-Xlinker /opt/intel/oneapi/mpi/2021.9.0/lib -Xlinker --enable-new-dtags
#
#    Target: bundled_muparser_release
#        TYPE: OBJECT_LIBRARY
#        LINK_LIBRARIES: rt,interface_lapack,interface_mpi,interface_zlib,interface_tbb_release,interface_p4est_release
#        INCLUDE_DIRECTORIES: /home/slurmuser/package_files/dealii-9.5.1/bundled/muparser_v2_3_3/include,/home/slurmuser/package_files/deal.II-build/include,/home/slurmuser/package_files/dealii-9.5.1/include
#        COMPILE_DEFINITIONS: NDEBUG
#        COMPILE_OPTIONS: -Wextra,-Wmissing-braces,-Woverloaded-virtual,-Wpointer-arith,-Wsign-compare,-Wsuggest-override,-Wswitch,-Wsynth,-Wwrite-strings,-Wno-placement-new,-Wno-deprecated-declarations,-Wno-literal-suffix,-Wno-psabi,-Wno-class-memaccess,-Wno-unused-local-typedefs,-Wno-switch,-Wno-implicit-fallthrough,-Wno-cast-function-type,-Wno-float-conversion,-fopenmp-simd,-O2,-funroll-loops,-funroll-all-loops,-fstrict-aliasing,-Wno-unused-local-typedefs
#        INTERFACE_LINK_LIBRARIES: $<LINK_ONLY:rt>,$<LINK_ONLY:interface_lapack>,$<LINK_ONLY:interface_mpi>,$<LINK_ONLY:interface_zlib>,$<LINK_ONLY:interface_tbb_release>,$<LINK_ONLY:interface_p4est_release>
#
#    Target: interface_p4est_release
#        TYPE: INTERFACE_LIBRARY
#        INTERFACE_LINK_LIBRARIES: /opt/intel/oneapi/mkl/2023.1.0/lib/intel64/libmkl_gf_lp64.so,/opt/intel/oneapi/mkl/2023.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,/opt/intel/oneapi/mpi/2021.9.0/lib/release/libmpi.so,/usr/lib/x86_64-linux-gnu/librt.a,/usr/lib/x86_64-linux-gnu/libpthread.a,/usr/lib/x86_64-linux-gnu/libdl.a,/home/slurmuser/bin/p4est-2.8/FAST/lib/libp4est.so,/home/slurmuser/bin/p4est-2.8/FAST/lib/libsc.so
#        INTERFACE_INCLUDE_DIRECTORIES: /home/slurmuser/bin/p4est-2.8/FAST/include
#        INTERFACE_SYSTEM_INCLUDE_DIRECTORIES: /home/slurmuser/bin/p4est-2.8/FAST/include
#
#    Target: interface_tbb_release
#        TYPE: INTERFACE_LIBRARY
#        INTERFACE_LINK_LIBRARIES: /opt/intel/oneapi/tbb/2021.9.0/lib/intel64/gcc4.8/libtbb.so
#        INTERFACE_INCLUDE_DIRECTORIES: /opt/intel/oneapi/tbb/2021.9.0/include
#        INTERFACE_SYSTEM_INCLUDE_DIRECTORIES: /opt/intel/oneapi/tbb/2021.9.0/include
#
#    Target: interface_zlib
#        TYPE: INTERFACE_LIBRARY
#        INTERFACE_LINK_LIBRARIES: /usr/lib/x86_64-linux-gnu/libz.so
#        INTERFACE_INCLUDE_DIRECTORIES: /usr/include
#        INTERFACE_SYSTEM_INCLUDE_DIRECTORIES: /usr/include
#
#  Component configuration:
#      ( DEAL_II_COMPONENT_DOCUMENTATION = OFF )
#        DEAL_II_COMPONENT_EXAMPLES
#      ( DEAL_II_COMPONENT_PACKAGE = OFF )
#      ( DEAL_II_COMPONENT_PYTHON_BINDINGS = OFF )
#
###

Reply via email to