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_3/limistate.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_3/limistate.F90

    r2633 r2636  
    2424   USE in_out_manager   ! I/O manager 
    2525   USE lbclnk           ! lateral boundary condition - MPP exchanges 
     26   USE lib_mpp          ! MPP library 
    2627 
    2728   IMPLICIT NONE 
     
    7374 
    7475      IF(  wrk_in_use(1, 1,2)  ) THEN 
    75          CALL ctl_stop( 'lim_istate : requested workspace arrays unavailable.' )   ;   RETURN 
    76       END IF 
     76         CALL ctl_stop( 'lim_istate: requested workspace arrays unavailable' )   ;   RETURN 
     77      ENDIF 
    7778      zgfactorn => wrk_1d_1(1:jpm)   ;   zhin => wrk_1d_3(1:jpm)   ! Set-up pointers to sub-arrays of workspaces 
    7879      zgfactors => wrk_1d_2(1:jpm)   ;   zhis => wrk_1d_4(1:jpm) 
     
    516517      CALL lbc_lnk( fsbbq  , 'T', 1. ) 
    517518      ! 
    518       IF(  wrk_not_released(1, 1,2)  ) THEN 
    519          CALL ctl_stop( 'lim_istate : failed to release workspace arrays.' ) 
    520       END IF 
     519      IF( wrk_not_released(1, 1,2) )   CALL ctl_stop('lim_istate : failed to release workspace arrays') 
    521520      ! 
    522521   END SUBROUTINE lim_istate 
Note: See TracChangeset for help on using the changeset viewer.