运行错误记录
本章节整理了 MatPL 、Lammps接口 运行时常见错误。
MatPL 常见运行时错误
环境变量检查
由于未正确加载或者未加载相关环境变量,导致的运行时错误,一般表现为找不到 MatPL 命令 或者 一些 ***.so的动态库缺失。此时请检查下列环境变量是否都已经加载。
# python 环境,是否激活了python 环境
source /the/path/etc/profile.d/conda.sh
conda activate matpl-2025.3
# intel 和 cuda 工具集是否加载
module load intel/2020 cuda/11.8
# MatPL 的环境变量是否加载
source /the/path/MatPL-2025.3/env.sh