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

Fix bug in volcano extension causing crash when volcano turned off #230

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

lizziel
Copy link
Contributor

@lizziel lizziel commented Jul 21, 2023

Name and Institution (Required)

Name: Lizzie Lundgren
Institution: Harvard University

Confirm you have reviewed the following documentation

Describe the update

This update fixes a problem where the simulation will crash in the volcano extension init subroutine on non-root threads if the volcano extension is turned off, such as in the transport tracer simulation. The fix moves the return if extension number is zero to directly after the call to retrieve extension number. This is the same handling as all other HEMCO extension initialization routines.

Expected changes

The model will not crash if the volcano extension is turned off.

Reference(s)

none

Related Github Issue(s)

geoschem/GCHP#331

…only

This update fixes a problem where the simulation will crash in the
volcano extension init subroutine on non-root threads if the volcano
extension is turned off, such as in the transport tracer simulation. The
fix moves the return if extension number is zero to directly after the
call to retrieve extension number. This is the same handling as all other
HEMCO extension initialization routines.

Signed-off-by: Lizzie Lundgren <[email protected]>
@lizziel lizziel self-assigned this Jul 21, 2023
@lizziel lizziel added this to the 3.7.0 milestone Jul 21, 2023
@lizziel lizziel added the category: Bug Something isn't working label Jul 21, 2023
@lizziel
Copy link
Contributor Author

lizziel commented Jul 21, 2023

Note I did not make an edit to the changelog since the bug came in with 14.2.0 alpha.16, in PR #221 in which I bracketed new code for printing to log in an amIRoot block.

@lizziel lizziel marked this pull request as ready for review July 24, 2023 15:04
@msulprizio
Copy link
Contributor

All GCClassic and GCHP integration tests for this PR have passed. I will now merge it into dev/3.7.0.

@msulprizio msulprizio merged commit 4b65f1c into dev/3.7.0 Jul 24, 2023
1 check passed
@msulprizio msulprizio deleted the bugfix/fix_volcano_ext_exit_if_not_used branch July 24, 2023 17:19
@yantosca yantosca added topic: HEMCO Extensions Pertaining to HEMCO extensions category: Bug Fix Fixes a bug that was previously reported and removed category: Bug Something isn't working labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Bug Fix Fixes a bug that was previously reported topic: HEMCO Extensions Pertaining to HEMCO extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants