Skip to content

Commit

Permalink
Merge pull request #640 from FESOM/fix/partitioner_oifs_mpi
Browse files Browse the repository at this point in the history
fix MPI_ABORT in oifs context after change to 'use mpi'
  • Loading branch information
JanStreffing authored Oct 21, 2024
2 parents 0047a67 + 9897294 commit 3b9c8ed
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 3b9c8ed

Please sign in to comment.