cp2K-2024.1 在centos7的CPU版编译安装
yum install zlib-devel zlib openssl groupinstall "Development tools" readline-devel
(1)升级gcc:scl devtoolset:
(2)cp2k-2024.1 toolchain安装各种库文件 ./install_cp2k_toolchain.sh --with-openmpi=install --math-mode=mkl --with-scalapack=no --with-openblas=no --with-sirius=no --no-check-certificate --libint-lmax=6 备注:如何后面编译会有elpa报错,就要在这里加上--with-elpa=no, 否则make -j 12 ARCH=local_cuda VERSION=psmp不能通过
(3)编译CP2K cp install/arch/* ../../arch/ |