(可选)安装BLAS依赖
BLAS加速用来加速oneDNN中涉及的线性代数运算,如果需要使用BLAS库加速功能,请在编译安装前使用Yum源方式安装并激活BLAS库所需依赖的软件environment-modules。
- 使用PuTTY工具,以root用户登录服务器。
- 执行以下命令安装environment-modules。
1
yum install environment-modules glibc-devel gcc-gfortran
- 激活modules。
1
source /etc/profile.d/modules.sh
父主题: 配置编译环境