[CP2K-user] toolchain fails to compile elpa by gfortran openmpi mkl
Dr. Hongxia Hao PhD
h... at berkeley.edu
Wed Jan 8 21:03:50 UTC 2020
Hello,
I encountered the similar problem. It's "undefined mkl_lapack..." and
"undefined mkl_blas...". Do you know how to solve the problem now?
Sincerely
Hongxia
On Thursday, January 10, 2019 at 9:56:18 AM UTC-8, Geng Sun wrote:
>
> Hello,
>
> I am compiling cp2k with toolchain tools and try to include elpa library.
>
> I am using gcc/7.2.0 and openmpi/3.1.3 and the math library is from
> intel/18.0.3 mkl. I've tested both cp2k-6.1 and most recent master branch
> and the compiling has the similar errors.
>
> The command looks like this:
> ./install_cp2k_toolchain.sh --mpi-mode=openmpi --math-mode=mkl --with-gcc=system
> --with-openmpi=system --with-libxc=install --with-fftw=install --with-
> libint=install --with-reflapack=no --with-acml=no --with-mkl=system --with
> -openblas=no --with-libxsmm=no --with-elpa=install --with-sirius=no
>
>
> While the toolchain always fails at the compiling elpa library.
>
> The configure.log and make.log are attached. There are many errors like
> this for example:
> ): In function `blacs_gridmap__':
> blacs_gridmap_.c:(.text+0x1fb): undefined reference to `
> mkl_serv_get_mpi_wrappers'
> blacs_gridmap_.c:(.text+0x20a): undefined reference to
> `mkl_serv_get_mpi_wrappers'
> blacs_gridmap_.c:(.text+0x22c): undefined reference to
> `mkl_serv_get_mpi_wrappers'
> blacs_gridmap_.c:(.text+0x244): undefined reference to `
> mkl_serv_get_mpi_wrappers'
> blacs_gridmap_.c:(.text+0x584): undefined reference to
> `mkl_serv_get_mpi_wrappers'
>
>
>
> Does any one know how to fix this error? Thank you very much.
>
> Best Wishes,
>
> Geng
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20200108/941673ff/attachment.htm>
More information about the CP2K-user
mailing list