<div dir="ltr">Dear all,<br><br>When I'm trying to compile CP2K 3.0 by using intel mpi and mkl, one error occur like this:<br><br>/home-gg/compiler/intel2016/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a(mkl_blacs_memory.o): In function `mkl_blacs_malloc':<br>mkl_blacs_memory.c.text+0x8d): undefined reference to `mkl_serv_iface_malloc'<br>mkl_blacs_memory.c.text+0xec): undefined reference to `mkl_serv_iface_free'<br>/home-gg/compiler/intel2016/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a(mklmpi-impl.o): In function `MKLMPI_Type_create_struct':<br>mklmpi-impl.c.text+0x3eae): undefined reference to `MKL_calloc'<br>mklmpi-impl.c.text+0x3ec0): undefined reference to `MKL_calloc'<br>/home-gg/compiler/intel2016/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a(mklmpi-impl.o): In function `MKLMPI_Waitall':<br>mklmpi-impl.c.text+0x4768): undefined reference to `MKL_calloc'<br>mklmpi-impl.c.text+0x4994): undefined reference to `MKL_calloc'<br>/home-gg/compiler/intel2016/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a(mklmpi-impl.o): In function `MKLMPI_Waitany':<br>mklmpi-impl.c.text+0x4de7): undefined reference to `MKL_calloc'<br>/home-gg/compiler/intel2016/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a(mkl_blacs_memory.o): In function `mkl_blacs_malloc':<br>mkl_blacs_memory.c.text+0x8d): undefined reference to `mkl_serv_iface_malloc'<br>mkl_blacs_memory.c.text+0xec): undefined reference to `mkl_serv_iface_free'<br>/home-gg/compiler/intel2016/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a(mklmpi-impl.o): In function `MKLMPI_Type_create_struct':<br>mklmpi-impl.c.text+0x3eae): undefined reference to `MKL_calloc'<br>mklmpi-impl.c.text+0x3ec0): undefined reference to `MKL_calloc'<br>/home-gg/compiler/intel2016/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a(mklmpi-impl.o): In function `MKLMPI_Waitall':<br>mklmpi-impl.c.text+0x4768): undefined reference to `MKL_calloc'<br>mklmpi-impl.c.text+0x4994): undefined reference to `MKL_calloc'<br>/home-gg/compiler/intel2016/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a(mklmpi-impl.o): In function `MKLMPI_Waitany':<br>mklmpi-impl.c.text+0x4de7): undefined reference to `MKL_calloc'<br>make[3]: *** [/home-gg/users/nscc1657_ZZY/software/cp2k-3.0/exe/Linux-x86-64-intel-host/cp2k.popt] 错误 1<br>make[3]: *** 正在等待未完成的任务....<br>make[3]: *** [/home-gg/users/nscc1657_ZZY/software/cp2k-3.0/exe/Linux-x86-64-intel-host/cp2k_shell.popt] 错误 1<br>make[2]: *** [all] 错误 2<br>make[1]: *** [popt] 错误 2<br>make: *** [all] 错误 2<br><br>Can anyone help me solve this problem? Thanks.<br><br>Zhaoyang <br></div>