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 2636 for branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/DYN/dynkeg.F90 – NEMO

Ignore:
Timestamp:
2011-03-01T20:04:06+01:00 (13 years ago)
Author:
gm
Message:

dynamic mem: #785 ; move ctl_stop & warn in lib_mpp to avoid a circular dependency + ctl_stop improvment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/DYN/dynkeg.F90

    r2633 r2636  
    1414   USE oce             ! ocean dynamics and tracers 
    1515   USE dom_oce         ! ocean space and time domain 
    16    USE in_out_manager  ! I/O manager 
    1716   USE trdmod          ! ocean dynamics trends  
    1817   USE trdmod_oce      ! ocean variables trends 
     18   USE in_out_manager  ! I/O manager 
     19   USE lib_mpp         ! MPP library 
    1920   USE prtctl          ! Print control 
    2021 
     
    6162      !!---------------------------------------------------------------------- 
    6263 
    63       IF(wrk_in_use(3,1) ) THEN 
    64          CALL ctl_stop('dyn_key: requested workspace array is unavailable.')   ;   RETURN 
     64      IF( wrk_in_use(3,1) ) THEN 
     65         CALL ctl_stop('dyn_key: requested workspace array is unavailable')   ;   RETURN 
    6566      ENDIF 
    6667 
     
    135136         &                       tab3d_2=va, clinfo2=       ' Va: ', mask2=vmask, clinfo3='dyn' ) 
    136137      ! 
    137       IF(wrk_not_released(3, 1) )   CALL ctl_stop('dyn_key: failed to release workspace array') 
     138      IF( wrk_not_released(3, 1) )   CALL ctl_stop('dyn_key: failed to release workspace array') 
    138139      ! 
    139140   END SUBROUTINE dyn_keg 
Note: See TracChangeset for help on using the changeset viewer.