Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HDF5: Correctly determine max_mfi_count (AMReX-Codes#4024)
## Summary Fixes a bug so that all processes correctly evaluate the maximum number of mfi's across all processes, rather than just the preceding ones. This resulted in lower-number ranks sometimes finishing the write early and not correctly doing enough dummy writes to write collectively, causing a crash. Sorry, I just figured this out this afternoon, after previous pull was merged. ## Checklist The proposed changes: - [X] fix a bug or incorrect behavior in AMReX - [ ] add new capabilities to AMReX - [ ] changes answers in the test suite to more than roundoff level - [ ] are likely to significantly affect the results of downstream AMReX users - [ ] include documentation in the code and/or rst files, if appropriate