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

Do not build KPP-Standalone executable unless specifically requested at compile time #473

Merged

Conversation

yantosca
Copy link
Contributor

@yantosca yantosca commented Feb 5, 2025

Name and Institution (Required)

Name: Bob Yantosca
Institution: Harvard + GCST

Describe the update

This PR adds CMake updates so that the KPP-Standalone executable will not be built unless the user configures with the -DKPPSA=y option.

Expected changes

This is a zero-diff update

Related Github Issue

CMakeScripts/GC-ConfigureClassic.cmake
- Added boolean cache variable KPPSA and print its value

src/CMakeLists.txt
- Only execute the block where KPPSA_FILE_NAME is defined as a target
  if the KPPSA boolean variable is true.  This will only build the
  KPP-Standalone executable when -DKPPSA=y is passed from the cmd line.

src/GCHP_GridComp/GEOSChem_GridComp/CMakeLists.txt
- Added boolean cache variable KPPSA

CHANGELOG.md
- Updated accordingly

TODO: Update KPP-Standalone documentation accordingly in ReadTheDocs,
which is located in the geos-chem-shared-docs submodule

Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
@yantosca yantosca added category: Feature Request New feature or request topic: Build Related to makefiles or the build sequence no-diff-to-benchmark This update will not change the results of fullchem benchmark simulations labels Feb 5, 2025
@yantosca yantosca changed the title Now only build KPP-Standalone when -DKPPSA=y Do not build KPP-Standalone executable unless specifically requested at compile time Feb 5, 2025
@yantosca yantosca requested a review from lizziel February 5, 2025 20:51
@yantosca yantosca self-assigned this Feb 5, 2025
@yantosca yantosca added this to the 14.5.3 milestone Feb 5, 2025
@yantosca yantosca marked this pull request as ready for review February 5, 2025 20:51
@yantosca yantosca merged commit c9cf46c into dev/no-diff-to-benchmark Feb 6, 2025
1 check passed
@yantosca
Copy link
Contributor Author

yantosca commented Feb 6, 2025

All GCClassic integration tests (designated as gcc.3.f2fd5b) passed:

==============================================================================
GEOS-Chem Classic: Execution Test Results

CodeDir   : 11e7d2e Fixed CMake gc_pretty_print statement for KPPSA variable
GEOS-Chem : e4b931b07 Ask user if they wish to build KPP-Standalone at rundir creation
HEMCO     : 9cf873a Merge PR #304 (Add .zenodo.json; Update jinja2 to 3.1.5)
Cloud-J   : f8a2b7f Update version number for 8.0.1 release
HETP      : 2a99b24 Merge pull request #2 from geoschem/bugfix/initialize_local_variables

Using 24 OpenMP threads
Number of execution tests: 30

Submitted as SLURM job: 1379115
==============================================================================

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%  All execution tests passed!  %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Also all tests were zero-diff w/r/t gcc.2.2b205b except for:

  • TOMAS (parallelization error?)
  • APM (parallelization error?)
  • alldiags (KppDiags, ObsPack output)

@yantosca
Copy link
Contributor Author

yantosca commented Feb 6, 2025

All GCHP integration tests (designated as gchp.3.c9cf46) passed:

==============================================================================
GCHP: Execution Test Results

CodeDir       : 1adb581 Now only build KPP-Standalone when -DKPPSA=y
MAPL          : 6207fd0 Merge pull request #38 from geoschem/bugfix/intel_build_error_in_AbstractComponent
GMAO_Shared   : 4ddb3ec Merge pull request #2 from geoschem/feature/mapl-upgrade
ESMA_cmake    : ad5deba Added ecbuild as a submodule of ESMA_cmake
gFTL-shared   : 4b82492 Merge branch 'upstream_v1.5.0' into feature/v1.5.0
FMS           : 259759d Merge pull request #3 from geoschem/feature/update_gmao_libs
FVdycoreCubed : af42462 Merge PR #8 (Add PLEadv diagnostic for offline advection in GCHP)
geos-chem     : e4b931b07 Ask user if they wish to build KPP-Standalone at rundir creation
HEMCO         : 9cf873a Merge PR #304 (Add .zenodo.json; Update jinja2 to 3.1.5)
yaFyaml       : 19afe50 Merge branch 'upstream_v1.0.4' into feature/v1.0.4
pFlogger      : 2c4b724 Merge branch 'upstream_v1.9.1' into feature/v1.9.1
Cloud-J       : f8a2b7f Update version number for 8.0.1 release
HETP          : 2a99b24 Merge pull request #2 from geoschem/bugfix/initialize_local_variables

Number of execution tests: 12

Submitted as SLURM job: 1380789
==============================================================================

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%  All execution tests passed!  %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

All tests were zero-diff w/r/t the previous integration test gchp.2.dedfaf

@yantosca yantosca deleted the feature/request-kpp-standalone-build branch February 6, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Feature Request New feature or request no-diff-to-benchmark This update will not change the results of fullchem benchmark simulations topic: Build Related to makefiles or the build sequence
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants