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 6544 – NEMO

Changeset 6544


Ignore:
Timestamp:
2016-05-17T11:33:10+02:00 (8 years ago)
Author:
frrh
Message:

Add by hand, relevant changes ONLY, from
fcm:NEMO.xm/branches/UKMO/dev_r5107_hadgem3_cplseq from revisions 5279 to 5303.

Note: we no longer employ a separate CPP key for key_oasis3mct and simply intend
to use the NEMO base code key_oasis3.

Note also that most, if not all the changnes made here are things which should
go to the nemo trunk since they involve improvements to error messages, shutdown
processes and abort handling.

Location:
branches/UKMO/dev_r5518_MO_couple_package/NEMOGCM/NEMO/OPA_SRC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_MO_couple_package/NEMOGCM/NEMO/OPA_SRC/DIA/diadimg.F90

    r6542 r6544  
    124124 
    125125    CASE DEFAULT 
    126        IF(lwp) WRITE(numout,*) ' E R R O R : bad cd_type in dia_wri_dimg ' 
    127        STOP 'dia_wri_dimg' 
     126       WRITE(numout,*) 'dia_wri_dimg : E R R O R : bad cd_type in dia_wri_dimg' 
     127       CALL ctl_stop( 'STOP', 'dia_wri_dimg :bad cd_type in dia_wri_dimg ' ) 
    128128 
    129129    END SELECT 
  • branches/UKMO/dev_r5518_MO_couple_package/NEMOGCM/NEMO/OPA_SRC/DYN/dynldf_bilapg.F90

    r6542 r6544  
    465465            END DO 
    466466         ELSE 
    467             IF(lwp)WRITE(numout,*) ' ldfguv: kahm= 1 or 2, here =', kahm 
    468             IF(lwp)WRITE(numout,*) '         We stop' 
    469             STOP 'ldfguv' 
     467            WRITE(numout,*) ' ldfguv: kahm= 1 or 2, here =', kahm 
     468            WRITE(numout,*) '         We stop' 
     469            CALL ctl_stop('STOP', 'ldfguv: Unexpected kahm value') 
    470470         ENDIF 
    471471         !                                             ! =============== 
  • branches/UKMO/dev_r5518_MO_couple_package/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90

    r6542 r6544  
    6262   USE lbcnfd         ! north fold treatment 
    6363   USE in_out_manager ! I/O manager 
     64   USE mod_oasis      ! coupling routines  
    6465 
    6566   IMPLICIT NONE 
     
    20152016      !!---------------------------------------------------------------------- 
    20162017      ! 
     2018      #if defined key_oasis3 
     2019      ! If we're trying to shut down cleanly then we need to consider the fact 
     2020      ! that this could be part of an MPMD configuration - we don't want to 
     2021      ! leave other components deadlocked. 
     2022 
     2023      CALL oasis_abort(nproc,"mppstop","NEMO initiated abort") 
     2024 
     2025      #else 
     2026 
    20172027      CALL mppsync 
    20182028      CALL mpi_finalize( info ) 
     2029 
     2030      #endif 
     2031 
    20192032      ! 
    20202033   END SUBROUTINE mppstop 
  • branches/UKMO/dev_r5518_MO_couple_package/NEMOGCM/NEMO/OPA_SRC/step.F90

    r6542 r6544  
    346346                               CALL ctl_stop( 'step: indic < 0' ) 
    347347                               CALL dia_wri_state( 'output.abort', kstp ) 
     348                               CALL ctl_stop('STOP','NEMO failure in stp') 
    348349      ENDIF 
    349350      IF( kstp == nit000   )   THEN 
Note: See TracChangeset for help on using the changeset viewer.