Skip to content

Conversation

johnomotani
Copy link
Contributor

When mxg or myg are not given explicitly as arguments to processor_rearrange.get_processor_layout(), try to read them from the boutfile, and only set to hard-coded value of 2 if they are not present in boutfile.

Fixes a bug with restart.redistribute() where if the input restart files had mxg != 2 or myg != 2 the output restart files would be
wrong.

When `mxg` or `myg` are not given explicitly as arguments to
`processor_rearrange.get_processor_layout()`, try to read them from the
`boutfile`, and only set to hard-coded value of `2` if they are not
present in `boutfile`.

Fixes a bug with `restart.redistribute()` where if the input restart
files had `mxg != 2` or `myg != 2` the output restart files would be
wrong.
@johnomotani johnomotani added the bug Something isn't working label Mar 13, 2022
@johnomotani johnomotani merged commit 0f4913e into master Mar 14, 2022
@johnomotani johnomotani deleted the fix-restart-redistribute-mxg-not-2 branch March 14, 2022 15:08
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