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

    r2633 r2636  
    2020   USE trdmod         ! ocean dynamics trends  
    2121   USE in_out_manager ! I/O manager 
     22   USE lib_mpp         ! MPP library 
    2223   USE prtctl         ! Print control 
    2324 
     
    6667      !!---------------------------------------------------------------------- 
    6768       
    68       IF( wrk_in_use(2, 1)  .OR.    & 
    69           wrk_in_use(3, 1,2) )THEN 
    70          CALL ctl_stop('dyn_zad: requested workspace arrays unavailable.') 
    71          RETURN 
     69      IF( wrk_in_use(2, 1)     .OR.    & 
     70          wrk_in_use(3, 1,2) ) THEN 
     71         CALL ctl_stop('dyn_zad: requested workspace arrays unavailable')   ;   RETURN 
    7272      END IF 
    7373 
     
    126126         &                       tab3d_2=va, clinfo2=       ' Va: ', mask2=vmask, clinfo3='dyn' ) 
    127127      ! 
    128       IF( wrk_not_released(2, 1)  .OR.    & 
    129           wrk_not_released(3, 1,2) )THEN 
    130          CALL ctl_stop('dyn_zad: failed to release workspace arrays.') 
    131       END IF 
    132  
     128      IF( wrk_not_released(2, 1)       .OR.    & 
     129          wrk_not_released(3, 1,2) )   CALL ctl_stop('dyn_zad: failed to release workspace arrays') 
     130      ! 
    133131   END SUBROUTINE dyn_zad 
    134132 
Note: See TracChangeset for help on using the changeset viewer.