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

Golaz1/2.1.0 misc fixes #268

Merged
merged 3 commits into from
Jun 21, 2022
Merged

Golaz1/2.1.0 misc fixes #268

merged 3 commits into from
Jun 21, 2022

Conversation

golaz
Copy link
Collaborator

@golaz golaz commented Jun 21, 2022

Misc minor fixes found while testing E3SM Unified 1.7.0rc1 on NERSC Cori-haswell.

Currently running additional tests, but those fixes should go in before the next unified rc.

golaz added 3 commits June 20, 2022 15:08
This was causing bundling to fail when no [ilamb_run] task was present.
Copy link
Collaborator

@forsyth2 forsyth2 left a comment

Choose a reason for hiding this comment

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

Thanks for these updates. I'll need to test myself, but from looking at the code, they look good.


year1 = y
year2 = y + 10 - 1
year2 = y + ts_num_years - 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

In #219 I set year2 = min(y + 10 - 1, end_yr) here as was suggested on #208. I'm assuming this change here would actually be able to close out #208 then?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Note: the number of years still has to be divisible by the increment.

@@ -28,7 +28,7 @@ def ilamb_run(config, scriptDir, existing_bundles):
# --- List of ilamb_run tasks ---
tasks = getTasks(config, "ilamb_run")
if len(tasks) == 0:
return []
return existing_bundles
Copy link
Collaborator

Choose a reason for hiding this comment

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

This was already fixed in #265.

@forsyth2 forsyth2 added the semver: bug Bug fix (will increment patch version) label Jun 21, 2022
@forsyth2 forsyth2 merged commit b7c8844 into main Jun 21, 2022
@forsyth2 forsyth2 deleted the golaz1/2.1.0-misc_fixes branch June 21, 2022 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: bug Bug fix (will increment patch version)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants