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/ZDF/zdfmxl.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/ZDF/zdfmxl.F90

    r2633 r2636  
    1414   USE in_out_manager  ! I/O manager 
    1515   USE prtctl          ! Print control 
    16    USE iom 
     16   USE iom             ! I/O library 
     17   USE lib_mpp         ! MPP library 
    1718 
    1819   IMPLICIT NONE 
     
    6465      !!---------------------------------------------------------------------- 
    6566      USE wrk_nemo, ONLY: iwrk_in_use, iwrk_not_released 
    66       USE wrk_nemo, ONLY: imld => iwrk_2d_1    ! 2D workspace 
     67      USE wrk_nemo, ONLY: imld => iwrk_2d_1    ! 2D integer workspace 
    6768      !! 
    6869      INTEGER, INTENT( in ) ::   kt   ! ocean time-step index 
     
    7475      !!---------------------------------------------------------------------- 
    7576 
    76       IF( iwrk_in_use(2,1) )THEN 
    77          CALL ctl_stop('zdf_mxl : requested workspace array unavailable.')   ;   RETURN 
     77      IF( iwrk_in_use(2, 1) )THEN 
     78         CALL ctl_stop('zdf_mxl : requested workspace array unavailable')   ;   RETURN 
    7879      END IF 
    7980 
     
    112113      IF(ln_ctl)   CALL prt_ctl( tab2d_1=REAL(nmln,wp), clinfo1=' nmln : ', tab2d_2=hmlp, clinfo2=' hmlp : ', ovlap=1 ) 
    113114      ! 
    114       IF( iwrk_not_released(2,1) )   CALL ctl_stop('zdf_mxl : failed to release workspace array') 
     115      IF( iwrk_not_released(2, 1) )   CALL ctl_stop('zdf_mxl : failed to release workspace array') 
    115116      ! 
    116117   END SUBROUTINE zdf_mxl 
Note: See TracChangeset for help on using the changeset viewer.