On Sat, Sep 18, 2021, Ryan Novosielski wrote:
>
>Trying to build with the Intel compilers and wanted to use auto vectorization, so I set:
>
>-DCMAKE_C_FLAGS="-O3 -xAVX -axCORE-AVX2" -DCMAKE_CXX_FLAGS="-O3 -xAVX -axCORE-AVX2" \
>-DCMAKE_FORTRAN_FLAGS="-O3 -xAVX -axCORE-AVX2" -DCMAKE_EXE_LINKER_FLAGS="-O3 -xAVX -axCORE-AVX2" \
>
I think you want to set OPT_CFLAGS, OPT_FFLAGS (and, if needed NO_OPT_CFLAGS
and NO_OPT_FFLAGS). Look in the amber20_src/cmake/CompilerFlags.cmake file
for more information.
....dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Sep 19 2021 - 05:30:02 PDT