From afd7abf4a00e29853f6ecf3134f172b11fad62d5 Mon Sep 17 00:00:00 2001 From: David Hutchinson Date: Fri, 20 Feb 2026 18:06:24 +1300 Subject: [PATCH 1/2] CmakeLists.txt: Replace -xCORE-AVX2 with -mavx2 Also, remove -qopt-report=5 -qopt-report-annotate --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69ab9d5..6afb950 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ endif() if(CMAKE_Fortran_COMPILER_ID MATCHES Intel) set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -r8 -fpe0 -fp-model precise -fp-model source -align all -traceback") set(CMAKE_Fortran_FLAGS_DEBUG "-g3 -O0 -check all") - set(CMAKE_Fortran_FLAGS_RELEASE "-g3 -O2 -axCORE-AVX2 -debug all -check none -qopt-report=5 -qopt-report-annotate") + set(CMAKE_Fortran_FLAGS_RELEASE "-g3 -O2 -mavx2 -debug all -check none ") endif() find_package(PkgConfig REQUIRED) From ae9244516f39cb15936819e901466ce11f806855 Mon Sep 17 00:00:00 2001 From: Dougie Squire Date: Mon, 2 Mar 2026 09:46:49 +1100 Subject: [PATCH 2/2] CMakeLists.txt: Remove -mavx2 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6afb950..d3c5a7e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ endif() if(CMAKE_Fortran_COMPILER_ID MATCHES Intel) set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -r8 -fpe0 -fp-model precise -fp-model source -align all -traceback") set(CMAKE_Fortran_FLAGS_DEBUG "-g3 -O0 -check all") - set(CMAKE_Fortran_FLAGS_RELEASE "-g3 -O2 -mavx2 -debug all -check none ") + set(CMAKE_Fortran_FLAGS_RELEASE "-g3 -O2 -debug all -check none ") endif() find_package(PkgConfig REQUIRED) @@ -191,4 +191,4 @@ configure_package_config_file( ) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libaccessom2-config.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libaccessom2 -) \ No newline at end of file +)