From 39c9ff2e6855f975711d4c13d62ddc95e7dd2598 Mon Sep 17 00:00:00 2001 From: Dusan Jovic Date: Mon, 1 Apr 2024 09:01:51 -0500 Subject: [PATCH] Remove -nowarn from cmake/Intel.cmake --- cmake/Intel.cmake | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cmake/Intel.cmake b/cmake/Intel.cmake index 0982761bfe..a18ff15fc2 100644 --- a/cmake/Intel.cmake +++ b/cmake/Intel.cmake @@ -1,6 +1,12 @@ -set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -traceback -fpp -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -nowarn -sox -align array64byte -qno-opt-dynamic-align") +set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -traceback -fpp -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -sox -align array64byte -qno-opt-dynamic-align") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -qno-opt-dynamic-align -sox -fp-model source") +# warning #5462: Global name too long. +set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -diag-disable 5462") + +# remark #7712: This variable has not been used. +set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -diag-disable 7712") + if(CMAKE_Platform STREQUAL "derecho.intel") set(CMAKE_Fortran_LINK_FLAGS "-Wl,--copy-dt-needed-entries") endif()