Skip to content
Snippets Groups Projects
Commit 8330ee6b authored by Antoine Cyril David Hoffmann's avatar Antoine Cyril David Hoffmann
Browse files

improve finish conditions for MPI

parent 355bb4bf
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,12 @@ SUBROUTINE tesend
use prec_const
IMPLICIT NONE
LOGICAL :: mlend
!________________________________________________________________________________
! 1. Some processors had set nlend
CALL mpi_allreduce(nlend, mlend, 1, MPI_LOGICAL, MPI_LOR, MPI_COMM_WORLD, &
& ierr)
IF( nlend ) THEN
WRITE(*,'(/a)') 'rhs are NaN/Inf'
IF (my_id .EQ. 0) WRITE(*,*) 'Run terminated at cstep=',cstep
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment