Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CPP USE_SNICARHC to NO_SNICARHC #886

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading