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

    r2633 r2636  
    2525   USE in_out_manager  ! I/O manager 
    2626   USE lbclnk          ! ocean lateral boundary condition (or mpp link) 
     27   USE lib_mpp         ! MPP library 
    2728 
    2829   IMPLICIT NONE 
     
    5758      ! 
    5859      IF( lk_mpp             )   CALL mpp_sum ( zdf_ric_alloc ) 
    59       IF( zdf_ric_alloc /= 0 )   CALL ctl_warn('zdf_ric_alloc: failed to allocate arrays.') 
     60      IF( zdf_ric_alloc /= 0 )   CALL ctl_warn('zdf_ric_alloc: failed to allocate arrays') 
    6061   END FUNCTION zdf_ric_alloc 
    6162 
     
    9798      !!---------------------------------------------------------------------- 
    9899 
    99       IF(wrk_in_use(2, 1) ) THEN 
     100      IF( wrk_in_use(2, 1) ) THEN 
    100101         CALL ctl_stop('zdf_ric : requested workspace array unavailable')   ;   RETURN 
    101102      END IF 
     
    150151      CALL lbc_lnk( avmu, 'U', 1. )   ;   CALL lbc_lnk( avmv, 'V', 1. ) 
    151152      ! 
    152       IF(wrk_not_released(2, 1) )   CALL ctl_stop('zdf_ric : failed to release workspace array') 
     153      IF( wrk_not_released(2, 1) )   CALL ctl_stop('zdf_ric : failed to release workspace array') 
    153154      ! 
    154155   END SUBROUTINE zdf_ric 
Note: See TracChangeset for help on using the changeset viewer.