Changeset 4471 for LMDZ6/trunk/libf


Ignore:
Timestamp:
Mar 10, 2023, 10:54:14 PM (21 months ago)
Author:
lguez
Message:

Reverse commit r4462

Because, in leapfrog_loc, abort_gcm is called after
finalize_parallel and mpi_abort cannot be called after
mpi_finalize. Note that leapfrog_loc is the only place where
abort_gcm is called with code 0.

File:
1 edited

Legend:

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

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