Changeset 4462


Ignore:
Timestamp:
Mar 9, 2023, 5:44:30 PM (16 months ago)
Author:
lguez
Message:

Abort even when ierr is 0

This is consistent with the name of the subroutine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3dmem/abort_gcm.F

    r2100 r4462  
    4545      if (ierr .eq. 0) then
    4646        write(lunout,*) 'Everything is cool'
     47#ifdef CPP_MPI
     48c$OMP CRITICAL (MPI_ABORT_GCM)
     49        call MPI_ABORT(COMM_LMDZ, 0, ierror_mpi)
     50c$OMP END CRITICAL (MPI_ABORT_GCM)
     51#else
     52        stop 0
     53#endif         
    4754      else
    4855        write(lunout,*) 'Houston, we have a problem, ierr = ', ierr
Note: See TracChangeset for help on using the changeset viewer.