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

Removed the local sumdomain checks if a variable has been filled from a GEOS restart #18

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

atrayano
Copy link

This was causing layout regression failures

Name and Institution (Required)

Name: Atanas Trayanov
Institution: NASA GSFC

Confirm you have reviewed the following documentation

Describe the update

A local reduction (sum) was used to determine if a variablle has been filled for a restart. For MODEL_GEOS this lead to a layout regression failure

Please provide a clear and concise overview of the update.

Expected changes

Please provide details on how this update will impact model output and include plots or tables as needed.

Reference(s)

If this is a science update, please provide a literature citation.

Related Github Issue(s)

Please link to the corresponding Github issue here. If fixing a bug, there should be an issue describing it with steps to reproduce.

restart for MODEL_GEOS. This was causing layout regression failures
@atrayano atrayano added 0 diff The changes in this pull request have verified to be zero-diff with the target branch. bug Something isn't working labels Jan 17, 2025
@atrayano atrayano requested review from mathomp4 and sdrabenh January 17, 2025 20:22
@atrayano atrayano self-assigned this Jan 17, 2025
@mathomp4
Copy link
Member

Thanks @atrayano I'll try and give this a try next week. Hopefully this (temporarily) fixes the great hemco mystery.

As a note, @lizziel has opened an issue on the mothership repo here: geoschem#305 for the modern HEMCO code.

@lizziel
Copy link
Collaborator

lizziel commented Jan 17, 2025

@atrayano, skipping the check will fix the layout problem but it means you will then always assume the restart fields were in the restart file. You should probably verify this is always true for GEOS before applying this fix.

@mathomp4
Copy link
Member

@atrayano, skipping the check will fix the layout problem but it means you will then always assume the restart fields were in the restart file. You should probably verify this is always true for GEOS before applying this fix.

@lizziel We believe this is true. If I read this:

https://github.com/GEOS-ESM/GEOSchem_GridComp/blob/develop/HEMCO_GridComp/HEMCO_Registry.rc

right, we should always have defaults when we bootstrap. I'm not sure if they are good defaults, but they are there and 0 or higher (which seems good for emissions 😄 )

@mathomp4 mathomp4 added Non 0-diff The changes in this pull request are non-zero-diff and removed 0 diff The changes in this pull request have verified to be zero-diff with the target branch. labels Jan 21, 2025
@mathomp4
Copy link
Member

I have tested this. It does seem to solve the issue but it is also non-zero-diff. So I'll merge and release. It'll be one of our geos/ tags as we are of course way behind mothership HEMCO.

@mathomp4 mathomp4 merged commit 88dbca2 into release/geos/2.2.3 Jan 21, 2025
@mathomp4 mathomp4 deleted the bugfix/atrayano/layout_regress_fix branch January 21, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Non 0-diff The changes in this pull request are non-zero-diff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants