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/LIM_SRC_2/limtrp_2.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/LIM_SRC_2/limtrp_2.F90

    r2633 r2636  
    7979      !--------------------------------------------------------------------- 
    8080 
    81       IF(wrk_in_use(2, 1,2,3,4,5,6,7,8,9,10))THEN 
    82          CALL ctl_stop('lim_trp_2 : requested workspace arrays unavailable.') 
    83          RETURN 
    84       END IF 
     81      IF( wrk_in_use(2, 1,2,3,4,5,6,7,8,9,10) ) THEN 
     82         CALL ctl_stop('lim_trp_2 : requested workspace arrays unavailable')   ;   RETURN 
     83      ENDIF 
    8584 
    8685      IF( kt == nit000  )   CALL lim_trp_init_2      ! Initialization (first time-step only) 
     
    274273      ENDIF 
    275274      ! 
    276       IF(wrk_not_released(2, 1,2,3,4,5,6,7,8,9,10))THEN 
    277          CALL ctl_stop('lim_trp_2 : failed to release workspace arrays.') 
    278       END IF 
     275      IF( wrk_not_released(2, 1,2,3,4,5,6,7,8,9,10) )   CALL ctl_stop('lim_trp_2 : failed to release workspace arrays') 
    279276      ! 
    280277   END SUBROUTINE lim_trp_2 
Note: See TracChangeset for help on using the changeset viewer.