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 2710 for branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/TRD/trdmld.F90 – NEMO

Ignore:
Timestamp:
2011-03-28T16:29:54+02:00 (11 years ago)
Author:
smasson
Message:

dynamic memory: correction for trdmld

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/TRD/trdmld.F90

    r2690 r2710  
    9494      !!---------------------------------------------------------------------- 
    9595      USE wrk_nemo, ONLY:   wrk_in_use, wrk_not_released 
    96       USE wrk_nemo, ONLY:   zvlmsk => wrk_2d_1     ! 2D workspace 
     96      USE wrk_nemo, ONLY:   zvlmsk => wrk_2d_10     ! 2D workspace 
    9797      ! 
    9898      INTEGER                         , INTENT( in ) ::   ktrd       ! ocean trend index 
     
    104104      !!---------------------------------------------------------------------- 
    105105 
    106       IF( wrk_in_use(2, 1) ) THEN 
     106      IF( wrk_in_use(2, 10) ) THEN 
    107107         CALL ctl_stop('trd_mld_zint : requested workspace arrays unavailable')   ;   RETURN 
    108108      ENDIF 
     
    195195      END SELECT 
    196196      ! 
    197       IF( wrk_not_released(2, 1) )   CALL ctl_stop('trd_mld_zint: failed to release workspace arrays') 
     197      IF( wrk_not_released(2, 10) )   CALL ctl_stop('trd_mld_zint: failed to release workspace arrays') 
    198198      ! 
    199199   END SUBROUTINE trd_mld_zint 
Note: See TracChangeset for help on using the changeset viewer.