Skip to content

Commit 0cb198c

Browse files
committed
NVHPC: downgrade optimisation for W_MAXH
1 parent 951f596 commit 0cb198c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ecwam/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ elseif( CMAKE_Fortran_COMPILER_ID MATCHES GNU )
485485
set_source_files_properties( mubuf.F90 PROPERTIES COMPILE_OPTIONS "-ffp-contract=off" )
486486
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "PGI|NVHPC" AND CMAKE_BUILD_TYPE MATCHES "Bit")
487487
set_source_files_properties(
488-
sbottom.F90 PROPERTIES COMPILE_FLAGS " -g -O1 -Mflushz -Mno-signed-zeros "
488+
w_maxh.F90 sbottom.F90 PROPERTIES COMPILE_FLAGS " -g -O1 -Mflushz -Mno-signed-zeros "
489489
)
490490
set_source_files_properties( mubuf.F90 PROPERTIES COMPILE_OPTIONS "-Mnofma" )
491491
if( HAVE_SINGLE_PRECISION )

0 commit comments

Comments
 (0)