Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ParmParse::addfile needs Init (AMReX-Codes#3440)
## Summary `ParmParse` can be used before AMReX is initialized for most functionality, which is greatly helpful for us. One function that cannot be used before init is reading from a file, because it needs an MPI context to broadcast. Add a clean error message instead of a segfault. ## Additional background cc @EZoni @RevathiJambunathan ## 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
- Loading branch information