1 | Before exiting an MPI application, it is courteous to clean up the MPI state and MPI_FINALIZE does this. No MPI routine may be called in a given process after that process has called MPI_FINALIZE |
2 | for C: int MPI_Finalize() |
3 |
for Fortran:call MPI_FINALIZE(mpierr)
|