[DFTB-Plus-User] Error with mpifx and scalapack location
Bálint Aradi
aradi at uni-bremen.de
Mon Jan 30 08:48:51 CET 2023
Dear Manuel,
Look at the issue here:
https://github.com/dftbplus/dftbplus/issues/1149
You would probably have to specify the SCALAPACK libraries explicitely.
The Scalapack detection is not as smooth, as it should be currently. (In
contrast to Lapack, CMake does not offer a detection module for
Scalapack...)
Best regards,
Bálint
On 25.01.23 16:25, Manuel Pérez Escribano wrote:
> 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://mailman.zfn.uni-bremen.de/cgi-bin/mailman/listinfo/dftb-plus-user
--
Dr. Bálint Aradi
Bremen Center for Computational Materials Science, University of Bremen
http://www.bccms.uni-bremen.de/cms/people/b-aradi/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20230130/cc351c5d/attachment.sig>
More information about the DFTB-Plus-User
mailing list