Skip to content

Commit

Permalink
fix MPI_ABORT in oifs context after change to use mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Beyer committed Oct 21, 2024
1 parent 0047a67 commit 9897294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gen_modules_partitioning.F90
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ subroutine par_ex(COMM, mype, abort) ! finalizes MPI
!For OpenIFS coupled runs we use the new OASIS nameing scheme (oasis)
if (present(abort)) then
if (mype==0) write(*,*) 'Run finished unexpectedly!'
call MPI_ABORT(COMM, 1 )
call MPI_ABORT(MPI_COMM_WORLD, 1, error)
else
call oasis_terminate
endif
Expand Down

0 comments on commit 9897294

Please sign in to comment.