-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing argument for error code to MPI calls
Almost all MPI functions in Fortran need an additional argument for returning an error code. If there is no memory allocated that receives that error code, unrelated memory on the stack(?) could be overwritten. (What part of the memory is overwritten might depend on the calling convention.) Add that argument when calling MPI subroutines in `ParallelUtils.F90`.
- Loading branch information
Showing
1 changed file
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters