Giselle, Instead of setting the library yourself can you try: -DBLAS_LIBRARY_NAMES:STRING='mkl_core;mkl_sequential' -DLAPACK_LIBRARY_NAMES:STRING=mkl_intel_lp64
Don't set BLAS/LAPACK_FOUND/LIBRARIES/LINKER_FLAGS. Let CMake find the libraries and the flags it needs to use. Best, Bruno On Thursday, February 18, 2021 at 6:46:57 PM UTC-5 [email protected] wrote: > Hello, > > I am trying to configure deal.II with LAPACK using the following command: > > cmake > -DCMAKE_INSTALL_PREFIX=/mnt/c/Users/Giselle/Documents/dealii_install > /mnt/c/Users/Giselle/Documents/dealii -DDEAL_II_WITH_PETSC=ON > -DPETSC_DIR=$PETSC_DIR -DDEAL_II_WITH_UMFPACK=ON -DUMFPACK_DIR=$PETSC_DIR > -DDEAL_II_WITH_LAPACK=ON -DLAPACK_FOUND=true > -DLAPACK_LIBRARIES="/home/giselle/intel/mkl/lib/intel64/libmkl_blas95_lp64.a;\ > > /home/giselle/intel/mkl/lib/intel64/libmkl_lapack95_lp64.a;/home/giselle/intel/mkl/lib/intel64/libmkl_gf_lp64.a;\ > > /home/giselle/intel/mkl/lib/intel64/libmkl_intel_lp64.so;/home/giselle/intel/mkl/lib/intel64/libmkl_sequential.so;\ > /home/giselle/intel/mkl/lib/intel64/libmkl_core.so" > -DLAPACK_LINKER_FLAGS="-lgfortran -lm" -DDEAL_II_WITH_BLAS=ON > -DBLAS_FOUND=true > -DBLAS_LIBRARIES="/home/giselle/intel/mkl/lib/intel64/libmkl_blas95_lp64.a;\ > > /home/giselle/intel/mkl/lib/intel64/libmkl_lapack95_lp64.a;/home/giselle/intel/mkl/lib/intel64/libmkl_gf_lp64.a;\ > > /home/giselle/intel/mkl/lib/intel64/libmkl_intel_lp64.so;/home/giselle/intel/mkl/lib/intel64/libmkl_sequential.so;\ > /home/giselle/intel/mkl/lib/intel64/libmkl_core.so" > -DBLAS_LINKER_FLAGS="-lgfortran -lm" > > I am getting the following message: > > Could not find the lapack library! > > Could not find a sufficient BLAS/LAPACK installation: > > BLAS/LAPACK symbol check failed! This usually means that your BLAS/LAPACK > installation is incomplete or the link line is broken. > > Attached you will also find the CMakeError.log and CMakeOutput.log files. > Does anyone have any idea of what could be going on? I think it has > something to do with the linker flags but I have no idea and I've tried > everything I could think of. > > Thank you so much! > > Regards, > Giselle > > -- 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/c45e31de-651c-4427-83ba-06dc862227b8n%40googlegroups.com.
