Skip to content

Commit

Permalink
Add Dusan's fix to solve openmp warnings from compiling. (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenMeng-NOAA authored Nov 8, 2023
1 parent 22cfb88 commit 54cbb57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sorc/ncep_post.fd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
"-g -traceback -fp-model source -free -convert big_endian")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check bounds -check pointers -check shape -check stack -check uninit")
set_source_files_properties(INITPOST_GFS_NEMS_MPIIO.f INITPOST_NETCDF.f INITPOST_NEMS.f PROPERTIES COMPILE_FLAGS -qoverride-limits)
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$")
set(CMAKE_Fortran_FLAGS
"-g -fbacktrace -ffree-form -ffree-line-length-none -fconvert=big-endian")
Expand Down

0 comments on commit 54cbb57

Please sign in to comment.