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/dynzdf_exp.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/dynzdf_exp.F90

    r2633 r2636  
    1919   USE zdf_oce         ! ocean vertical physics 
    2020   USE sbc_oce         ! surface boundary condition: ocean 
     21   USE lib_mpp         ! MPP library 
    2122   USE in_out_manager  ! I/O manager 
     23   USE lib_mpp         ! MPP library 
    2224 
    2325   IMPLICIT NONE 
     
    6365      !!---------------------------------------------------------------------- 
    6466 
    65       IF( wrk_in_use(3, 1,2) )THEN 
    66          CALL ctl_stop('dyn_zdf_exp : requested workspace arrays unavailable.') 
    67          RETURN 
    68       END IF 
     67      IF( wrk_in_use(3, 1,2) ) THEN 
     68         CALL ctl_stop('dyn_zdf_exp: requested workspace arrays unavailable')   ;   RETURN 
     69      ENDIF 
    6970 
    7071      IF( kt == nit000 .AND. lwp ) THEN 
     
    119120      END DO                           ! End of time splitting 
    120121      ! 
    121       IF( wrk_not_released(3, 1,2) )THEN 
    122          CALL ctl_stop('dyn_zdf_exp : failed to release workspace arrays.') 
    123       END IF 
     122      IF( wrk_not_released(3, 1,2) )   CALL ctl_stop('dyn_zdf_exp : failed to release workspace arrays') 
    124123      ! 
    125124   END SUBROUTINE dyn_zdf_exp 
Note: See TracChangeset for help on using the changeset viewer.