Skip to content

Commit

Permalink
Removed BPCH_DIAG compilation option
Browse files Browse the repository at this point in the history
CMakeScripts/GC-ConfigureClassic.cmake
- Removed the option BPCH_DIAG, which activated the binary punch
  diagnostics.  This option is no longer needed.

CHANGELOG.md
- Updated accordingly

Signed-off-by: ubuntu <[email protected]>
  • Loading branch information
ubuntu committed Feb 26, 2024
1 parent f261845 commit 3fb76b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ This file documents all notable changes to the GEOS-Chem Classic wrapper reposit

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased] -- TBD
### Removed
- `BPCH_DIAG` configuration option

## [14.3.0] - 2024-02-07
### Changed
- Updated GEOS-Chem submodule to 14.3.0
Expand Down
13 changes: 0 additions & 13 deletions CMakeScripts/GC-ConfigureClassic.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@ function(configureGCClassic)
set(MECH "fullchem" CACHE STRING "Name of the chemistry mechanism to use")
gc_pretty_print(VARIABLE MECH OPTIONS "fullchem" "carbon" "Hg" "custom")

#-------------------------------------------------------------------------
# Turn on bpch diagnostics?
#-------------------------------------------------------------------------
set(BPCH_DIAG "OFF" CACHE BOOL
"Switch to enable GEOS-Chem's bpch diagnostics"
)
gc_pretty_print(VARIABLE BPCH_DIAG IS_BOOLEAN)
if(${BPCH_DIAG})
target_compile_definitions(GEOSChemBuildProperties
INTERFACE BPCH_DIAG
)
endif()

#-------------------------------------------------------------------------
# Set USE_REAL8 as cache variable so as to not override existing definition
# See https://github.com/geoschem/geos-chem/issues/43.
Expand Down

0 comments on commit 3fb76b2

Please sign in to comment.