Skip to content

CDDSO-289 modified chunking logic and unit tests#133

Merged
piotr-florek-mohc merged 3 commits intov2.4_releasefrom
CDDSO-289-optimise-pp-file-retrieval
Jun 21, 2023
Merged

CDDSO-289 modified chunking logic and unit tests#133
piotr-florek-mohc merged 3 commits intov2.4_releasefrom
CDDSO-289-optimise-pp-file-retrieval

Conversation

@piotr-florek-mohc
Copy link
Contributor

@piotr-florek-mohc piotr-florek-mohc commented Jun 16, 2023

Changes in this PR involve refactoring of the chunking logic in the pp branch of the code. Chunk size is now calculated and tested for each chunk until reaching the end of the simulation run bounds, which allows us to retrieve data spread unevenly on many tapes in MASS.

The with_ensemble_id parameter is necessary because the usage of the ensemble id in filenames is inconsistent, so we want to try both filename templates (i.e. with the ensemble id and without one).

The PR also includes a change in the number of files that can be retrieved in a single moose filter query, which is a stopgap solution for the same problem in the nc branch of the chunking logic. This is because changes from CDDSO-245 (#103) are still on the main branch only (in retrospect I should have merged it in v2.4 as well, but I had thought 2.4.2 would be our last release before 2.5.0).

Copy link
Collaborator

@matthew-mizielinski matthew-mizielinski left a comment

Choose a reason for hiding this comment

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

I'd just like to clarify the MOOSE_MAX_NC_FILES change justification and then I think we can proceed

Copy link
Collaborator

@matthew-mizielinski matthew-mizielinski left a comment

Choose a reason for hiding this comment

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

LGTM

@piotr-florek-mohc piotr-florek-mohc merged commit 4b66db1 into v2.4_release Jun 21, 2023
@matthew-mizielinski matthew-mizielinski deleted the CDDSO-289-optimise-pp-file-retrieval branch March 26, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants