[DFTB-Plus-User] Error with mpifx and scalapack location

Benjamin Hourahine benjamin.hourahine at strath.ac.uk
Thu Jan 26 06:32:07 CET 2023


Hello Manuel,

Which Intel OneAPI toolkit did you install? The HPC version would be needed for MPI parallel compilation:
https://www.intel.com/content/www/us/en/developer/tools/oneapi/toolkits.html


Regards

Ben


Sent from Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: DFTB-Plus-User <dftb-plus-user-bounces at mailman.zfn.uni-bremen.de> on behalf of Manuel P?rez Escribano <manuel.perez-escribano at uv.es>
Sent: Wednesday, January 25, 2023 3:25:45 PM
To: dftb-plus-user at mailman.zfn.uni-bremen.de <dftb-plus-user at mailman.zfn.uni-bremen.de>
Subject: [DFTB-Plus-User] Error with mpifx and scalapack location

CAUTION: This email originated outside the University. Check before clicking links or attachments.

Dear,

I am trying to compile the source code of DFTB+ to be able to run it
using MPI parallelization. This is the command I have been trying to
build the code:

FC=mpiifort CC=mpicc cmake
-DCMAKE_INSTALL_PREFIX=/home/perez/soft/dftbplus-22.2/bin
-DSCALAPACK_LIBRARY_DIR=/home/perez/soft/intel/oneapi/mkl/2022.1.0/lib/intel64/
-B _build .

Cmake starts normally and the last lines of the prompt are:

-- Found BLAS:
/home/perez/soft/intel/oneapi/mkl/2022.1.0/lib/intel64/libmkl_intel_lp64.so;/home/perez/soft/intel/oneapi/mkl/2022.1.0/lib/intel64/libmkl_intel_thread.so;/home/perez/soft/intel/oneapi/mkl/2022.1.0/lib/intel64/libmkl_core.so;/home/perez/soft/intel/oneapi/compiler/2022.1.0/linux/compiler/lib/intel64_lin/libiomp5.so;-lm;-ldl
-- Found CustomBlas:
/home/perez/soft/intel/oneapi/mkl/2022.1.0/lib/intel64/libmkl_intel_lp64.so;/home/perez/soft/intel/oneapi/mkl/2022.1.0/lib/intel64/libmkl_intel_thread.so;/home/perez/soft/intel/oneapi/mkl/2022.1.0/lib/intel64/libmkl_core.so;/home/perez/soft/intel/oneapi/compiler/2022.1.0/linux/compiler/lib/intel64_lin/libiomp5.so;-lm;-ldl
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- A library with LAPACK API found.
-- Found CustomLapack:
/home/perez/soft/intel/oneapi/mkl/2022.1.0/lib/intel64/libmkl_intel_lp64.so;/home/perez/soft/intel/oneapi/mkl/2022.1.0/lib/intel64/libmkl_intel_thread.so;/home/perez/soft/intel/oneapi/mkl/2022.1.0/lib/intel64/libmkl_core.so;/home/perez/soft/intel/oneapi/compiler/2022.1.0/linux/compiler/lib/intel64_lin/libiomp5.so;-lm;-ldl;-lm;-ldl
-- MpiFx: Using source in external/mpifx/origin
CMake Error at
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
   Could NOT find CustomScalapack (missing: SCALAPACK_LIBRARY)
Call Stack (most recent call first):
   /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445
(_FPHSA_FAILURE_MESSAGE)
   cmake/Modules/FindCustomScalapack.cmake:112
(find_package_handle_standard_args)
   CMakeLists.txt:191 (find_package)

Seems like Scalapack and Blas are found but then MPIFx is not able to
locate them. Is there any way of avoiding this error? Maybe forcing
MpiFx to use the same Scalapack that is used for DFTB+? I am not sure
whether it is possible or what to look at.

Thank you very much and best regards,

Manuel

_______________________________________________
DFTB-Plus-User mailing list
DFTB-Plus-User at mailman.zfn.uni-bremen.de
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.zfn.uni-bremen.de%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdftb-plus-user&data=05%7C01%7Cbenjamin.hourahine%40strath.ac.uk%7C1dff4093cfc3469c261708dafee87a8b%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C638102571686133599%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2BKGZ3UAReRZ%2BD%2BKur%2BNqVb9LYV8I4rsRFJLj%2Fjs1cl8%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20230126/c750d7b8/attachment.htm>


More information about the DFTB-Plus-User mailing list