Skip to content

Misc fixes for coupled setup#72

Merged
joewallwork merged 11 commits into
developfrom
fix-interface
Feb 4, 2025
Merged

Misc fixes for coupled setup#72
joewallwork merged 11 commits into
developfrom
fix-interface

Conversation

@joewallwork

@joewallwork joewallwork commented Jan 21, 2025

Copy link
Copy Markdown
Collaborator

Closes #71.

With the changes in this PR, I am able to get past configuration errors and run the coupled model on CSD3. It crashes with an

 Forced exit from Rosenbrock due to the following error:
 --> Step size too small: T + 10*H = T or H < Roundoff

error, but this occurs during the chemistry solve, i.e., after configuration has finished.

To review this, please check that you are able to build and run up to this point on CSD3.

@joewallwork joewallwork added the bug Something isn't working label Jan 21, 2025
@joewallwork joewallwork self-assigned this Jan 21, 2025
photolysis:
activate: true
input_directories:
fastjx_input_dir: /home/joe/data/GISS-GC/prod_input_files/ExtData/CHEM_INPUTS/FAST_JX/v2021-10/

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FAST_JX input data updated to more recent version, as recommended by @ltmurray.

Comment thread .gitignore

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just ordering of gitignore and adding in various GISS-GC specific files to avoid annoying output upon calling git status.

Comment thread decks/Makefile

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misc tidying.

# GISS-GC high-level CMakeLists.txt

cmake_minimum_required (VERSION 3.13)
project (geos-chem-classic

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More appropriate project name in the CMake.

#-------------------------------------------------------------------------
set(GCHP FALSE PARENT_SCOPE)
# LTM: Need to set this to false to get GISS-GC to compile
set(MODEL_GISS TRUE PARENT_SCOPE)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this wasn't defined?

@joewallwork joewallwork marked this pull request as ready for review January 21, 2025 14:39
Comment thread config/compiler.intel.mk
endif
CTM_LFLAGS = $(LFLAGS)
ifeq ($(GC),YES)
CTM_LFLAGS += -nostartfiles

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It turns out this compiler flag is required with the Intel compiler.

AdelekeBankole
AdelekeBankole previously approved these changes Feb 4, 2025

@AdelekeBankole AdelekeBankole left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me!

* Turn on verbose output for GEOS-Chem

* Use executable rather than .exe

* Shellcheck run.sh

* Shellcheck setup.sh

* Shellcheck build.sh

* Don't use xterm with gdb

* Command line option for COMPILE_WITH_TRAPS

* Add GitHub Actions workflow for linting

* Apply formatting fixes to GitHub Actions workflows

* Cancel running test suite job if new commit pushed

* Similarly for Docker workflow

* Consistent printing of env vars

* Post-merge fix

* Lint fix; apply to set_gcclassic_rundir.sh
@joewallwork joewallwork merged commit 4462f23 into develop Feb 4, 2025
@joewallwork joewallwork deleted the fix-interface branch February 4, 2025 16:57
@joewallwork joewallwork mentioned this pull request Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants