Are you actually using the GCC from the devtoolset or the default one? Cmake 
tells you at the very beginning which compiler it is using.

Roland

> -----Original Message-----
> From: gromacs.org_gmx-users-boun...@maillist.sys.kth.se <gromacs.org_gmx-
> users-boun...@maillist.sys.kth.se> On Behalf Of Shlomit Afgin
> Sent: Wednesday, January 15, 2020 12:51 AM
> To: gmx-us...@gromacs.org
> Subject: [gmx-users] Error: Cannot find AVX 512F compiler flag
> 
> 
> 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
> --
> Gromacs Users mailing list
> 
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!
> 
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> 
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a
> mail to gmx-users-requ...@gromacs.org.
-- 
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to gmx-users-requ...@gromacs.org.

Reply via email to