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

    r2633 r2636  
    6969 
    7070      IF(  wrk_in_use(1, 1,2)  .OR.  wrk_in_use(2, 1,2)  ) THEN 
    71          CALL ctl_stop( 'lim_dyn : requested workspace arrays unavailable.' )   ;   RETURN 
    72       END IF 
     71         CALL ctl_stop('lim_dyn : requested workspace arrays unavailable')   ;   RETURN 
     72      ENDIF 
    7373      zind => wrk_1d_1(1:jpj)      ! Set-up pointers to sub-arrays of workspaces 
    7474      zmsk => wrk_1d_2(1:jpj) 
     
    212212      ENDIF 
    213213      ! 
    214       IF(  wrk_not_released(1, 1,2)  .OR.  wrk_not_released(2, 1,2)  ) THEN 
    215          CALL ctl_stop( 'lim_dyn : failed to release workspace arrays.' ) 
    216       END IF 
     214      IF( wrk_not_released(1, 1,2) .OR.   & 
     215          wrk_not_released(2, 1,2)  )   CALL ctl_stop('lim_dyn : failed to release workspace arrays' ) 
    217216      ! 
    218217   END SUBROUTINE lim_dyn 
Note: See TracChangeset for help on using the changeset viewer.