Skip to content

Commit

Permalink
Update Icepack CPP USE_SNICARHC to NO_SNICARHC and update logic (#886)
Browse files Browse the repository at this point in the history
Update Icepack to version #0c548120ce44382 Oct 16, 2023 includes NO_SNICARHC
  • Loading branch information
apcraig committed Oct 18, 2023
1 parent 48a92ef commit 96b43fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configuration/scripts/cice.build
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ else if (${ICE_IOTYPE} =~ pio*) then
else
set IODIR = io_binary
endif
if (${ICE_SNICARHC} == 'true') then
setenv ICE_CPPDEFS "${ICE_CPPDEFS} -DUSE_SNICARHC"
if (${ICE_SNICARHC} == 'false') then
setenv ICE_CPPDEFS "${ICE_CPPDEFS} -DNO_SNICARHC"
endif

### List of source code directories (in order of importance).
Expand Down
2 changes: 1 addition & 1 deletion doc/source/user_guide/ug_case_settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ can be found in :ref:`cicecpps`. The following CPPs are available.
"NO_F2003", "Turns off some Fortran 2003 features"
"NO_I8", "Converts integer*8 to integer*4. This could have adverse affects for certain algorithms including the ddpdd implementation associated with the ``bfbflag``"
"NO_R16", "Converts real*16 to real*8. This could have adverse affects for certain algorithms including the lsum16 implementation associated with the ``bfbflag``"
"NO_SNICARHC", "Does not compile hardcoded (HC) 5 band snicar tables tables needed by ``shortwave=dEdd_snicar_ad``. May reduce compile time."
"USE_NETCDF", "Turns on netcdf code. This is normally on and is needed for released configurations. An older value, ncdf, is still supported"
"USE_SNICARHC", "Includes compilation of large dEdd hardcoded (HC) SNICAR table in Icepack"
"",""
"**Application Macros**", ""
"CESMCOUPLED", "Turns on code changes for the CESM coupled application "
Expand Down

0 comments on commit 96b43fb

Please sign in to comment.