New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 13771 for NEMO/branches/UKMO/NEMO_4.0.3_GC_couple_pkg/src/OCE/LBC – NEMO

Ignore:
Timestamp:
2020-11-10T19:04:12+01:00 (4 years ago)
Author:
dancopsey
Message:

Merge in version NEMO_4.0.1 version of this branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.3_GC_couple_pkg/src/OCE/LBC/lib_mpp.F90

    r13587 r13771  
    666666 
    667667   SUBROUTINE mppstop( ld_abort )  
     668 
     669      USE mod_oasis      ! coupling routines 
     670 
    668671      !!---------------------------------------------------------------------- 
    669672      !!                  ***  routine mppstop  *** 
     
    679682      IF( PRESENT(ld_abort) ) ll_abort = ld_abort 
    680683      ! 
     684 
     685#if defined key_oasis3 
     686      ! If we're trying to shut down cleanly then we need to consider the fact 
     687      ! that this could be part of an MPMD configuration - we don't want to 
     688      ! leave other components deadlocked. 
     689 
     690      CALL oasis_abort(nproc,"mppstop","NEMO initiated abort") 
     691 
     692 
     693#else 
    681694#if defined key_mpp_mpi 
    682695      IF(ll_abort) THEN 
     
    689702      IF( ll_abort ) STOP 123 
    690703      ! 
     704#endif 
    691705   END SUBROUTINE mppstop 
    692706 
Note: See TracChangeset for help on using the changeset viewer.