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

    r2633 r2636  
    4141   !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
    4242   !! $Id$ 
    43    !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    44    !!---------------------------------------------------------------------- 
    45  
     43   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     44   !!---------------------------------------------------------------------- 
    4645CONTAINS 
    4746 
     
    5857      !!---------------------------------------------------------------------- 
    5958 
    60       IF(wrk_in_use(3, 1,2))THEN 
    61          CALL ctl_stop('dyn_ldf: requested workspace arrays unavailable.') 
    62          RETURN 
    63       END IF 
     59      IF( wrk_in_use(3, 1,2) ) THEN 
     60         CALL ctl_stop('dyn_ldf: requested workspace arrays unavailable.')   ;   RETURN 
     61      ENDIF 
    6462      ! 
    6563      IF( l_trddyn )   THEN                      ! temporary save of ta and sa trends 
     
    112110         &                       tab3d_2=va, clinfo2=       ' Va: ', mask2=vmask, clinfo3='dyn' ) 
    113111      ! 
    114       IF(wrk_not_released(3, 1,2))THEN 
    115          CALL ctl_stop('dyn_ldf: failed to release workspace arrays.') 
    116       END IF 
     112      IF( wrk_not_released(3, 1,2) )   CALL ctl_stop('dyn_ldf: failed to release workspace arrays.') 
    117113      ! 
    118114   END SUBROUTINE dyn_ldf 
Note: See TracChangeset for help on using the changeset viewer.