[gmx-users] Error: Cannot find AVX 512F compiler flag

Shlomit Afgin shlomit.afgin at weizmann.ac.il
Wed Jan 15 09:50:57 CET 2020


Hi,
I tried to install GROMACS 2019.5 on CentOS7,
cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON

I have already installed devtoolset-6 and still get this error:

-- Performing Test CXX_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS
-- Performing Test CXX_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS - Failed
-- Could not find any flag to build test source (this could be due to either the compiler or binutils)
-- Could not identify number of AVX-512 units - detection program missing compilation prerequisites
-- Could not run code to detect number of AVX-512 FMA units - assuming 2.
-- Detected best SIMD instructions for this CPU - AVX_512
CMake Error at cmake/gmxManageSimd.cmake:51 (message):
  Cannot find AVX 512F compiler flag.  Use a newer compiler, or choose a
  lower level of SIMD (slower).
Call Stack (most recent call first):
  cmake/gmxManageSimd.cmake:186 (gmx_give_fatal_error_when_simd_support_not_found)
  CMakeLists.txt:719 (gmx_manage_simd)


Thanks,
Shlomit


More information about the gromacs.org_gmx-users mailing list