计算化学公社

标题: Intel oneapi在AMD 9554上编译VASP.6.4.2怎么改makefile.include [打印本页]

作者
Author:
Weldingspock    时间: 2024-2-11 17:34
标题: Intel oneapi在AMD 9554上编译VASP.6.4.2怎么改makefile.include
如题,makefile.include里
  1. OFLAG       = -O2
  2. OFLAG_IN    = $(OFLAG)
  3. DEBUG       = -O0
复制代码
我改成了
  1. OFLAG       = -O3 -march=core-avx2
  2. OFLAG_IN    = $(OFLAG)
  3. DEBUG       = -O0
复制代码
  1. # When compiling on the target machine itself, change this to the
  2. # relevant target when cross-compiling for another architecture
  3. VASP_TARGET_CPU ?= -xHOST
复制代码
修改为
  1. # When compiling on the target machine itself, change this to the
  2. # relevant target when cross-compiling for another architecture
  3. VASP_TARGET_CPU ?= -march=core-avx2
复制代码
用的makefile.include.intel_omp。请问为了速度快一些还有什么tag可以改吗。不用aocc+aocl编译的原因是集群里没有

作者
Author:
chrinide    时间: 2024-2-11 21:36
onepai编译的vasp在AMD Zen4 上平均有30%~50%的性能损失
作者
Author:
乐平    时间: 2024-2-11 23:55
因为你的 VASP 6.4.2 也是自己安装的,没有 AOCC+AOCL 就自己安装一下。
没道理说可以自己安装 VASP 却不能安装  AOCC+AOCL 编译器……
作者
Author:
Weldingspock    时间: 2024-2-12 10:26
chrinide 发表于 2024-2-11 21:36
onepai编译的vasp在AMD Zen4 上平均有30%~50%的性能损失

老哥,有数据来源吗
作者
Author:
Weldingspock    时间: 2024-2-12 10:27
乐平 发表于 2024-2-11 23:55
因为你的 VASP 6.4.2 也是自己安装的,没有 AOCC+AOCL 就自己安装一下。
没道理说可以自己安装 VASP 却不 ...

okok,我想请问一下自己用户下安装的aocc+aocl,里面带的openmpi可以跨节点并行吗
作者
Author:
元无虚空    时间: 2024-2-12 19:44
Weldingspock 发表于 2024-2-12 10:26
老哥,有数据来源吗

实测7950x上,oneapi2023/2024编译的对比GNU+AOCL
作者
Author:
chrinide    时间: 2024-2-13 07:12
Weldingspock 发表于 2024-2-12 10:26
老哥,有数据来源吗

9654上测过
作者
Author:
Weldingspock    时间: 2024-2-13 18:50
chrinide 发表于 2024-2-13 07:12
9654上测过

好的谢谢,请问一下在9654上运行的话mpirun -np ***后面还需要加调优的参数吗




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3