|
硬件:双路AMD EPYC 9654
系统:Rocky Linux release 9.3
软件版本:gcc 11.4;cmake 3.26.5;openmpi 4.1.1
按照社长CP2K第一性原理程序在CentOS中的简易安装方法帖子中使用toolchain工具编译CP2K-2024.1(--with-sirius=no --with-openmpi=system --with-plumed=install --with-intel=no --with-cmake=system),编译过程都顺利,运行任务也没报错,但是提示当前编译的版本不支持AVX512指令集:
- *** HINT in environment.F:920 :: The compiler target flags (x86_sse4) ***
- *** used to build this binary cannot exploit all extensions of this CPU ***
- *** model (x86_avx512). Consider compiler target flags as part of FCFLAGS ***
- *** and CFLAGS (ARCH file). ***
复制代码 请教大家,如何编译才能启用avx512呢?是否跟gcc版本有关系呢? |
|