目录

CASTEP

misaraty 更新 | 2025-01-10
前言
CASTEP是类似VASPQuantum Espresso,基于平面波基组的第一性原理计算软件。

申请

安装

1
2
3
4
tar -zxf CASTEP-24.1.tar.gz
cd CASTEP-24.1
make COMMS_ARCH=mpi -j 19
make install
报错

Makefile:740: *** This makefile requires GNU make version 4.1 or later (found 3.82). Stop.

解决
1
2
3
4
5
6
7
8
9
wget https://ftp.gnu.org/gnu/make/make-4.4.tar.gz
tar -xvf make-4.4.tar.gz
cd make-4.4
./configure
make
make install

# 修改.bashrc export PATH=/opt/ohpc/pub/apps/make-4.4:$PATH

运行

  • 并行版本在/opt/ohpc/pub/apps/CASTEP-24.1/obj/linux_x86_64_ifort--mpi
1
mpirun -np 4 castep.mpi XXX
  • 串行版本在/opt/ohpc/pub/apps/CASTEP-24.1/obj/linux_x86_64_ifort--serial

教程