Skip to content

Commit

Permalink
Remove debug option for nvhpc, appears to be a compiler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherwharrop-noaa committed Aug 10, 2024
1 parent a1e7c39 commit 3a0eec4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion ref/cmake/compiler_flags_NVHPC_Fortran.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set( CMAKE_Fortran_FLAGS_RELEASE "-fast -mp -Mnovect" )
# DEBUG FLAGS
####################################################################

set( CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -Mbounds -Mchkptr -Mchkstk -Ktrap=fp" )
set( CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -Mbounds -Mchkptr -Mchkstk" )

####################################################################
# FLAGS FOR GPU
Expand Down
1 change: 0 additions & 1 deletion ref/src/cu_gf_deep.F90
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ subroutine cu_gf_deep_run( &
!- zws for shallow convection closure (grant 2001)
!- height of the pbl
zws(i) = max(0.,.001-flux_tun(i)*0.41*buo_flux*zo(i,kpbl(i))*g/t(i,kpbl(i)))
write(*,'(I5,E20.10)') i, zws(i)
zws(i) = 1.2*zws(i)**.3333
zws(i) = zws(i)*rho(i,kpbl(i)) !check if zrho is correct
enddo
Expand Down

0 comments on commit 3a0eec4

Please sign in to comment.