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

    r2633 r2636  
    3737   USE in_out_manager  ! I/O manager 
    3838   USE lbclnk          ! lateral boundary condition (or mpp link) 
     39   USE lib_mpp         ! MPP library 
    3940   USE prtctl          ! Print control 
    4041#if defined key_agrif 
     
    110111      !!---------------------------------------------------------------------- 
    111112 
    112       IF(wrk_in_use(2, 1,2,3))THEN 
    113          CALL ctl_stop('dyn_nxt: requested workspace arrays unavailable.') 
    114          RETURN 
    115       END IF 
     113      IF( wrk_in_use(2, 1,2,3) ) THEN 
     114         CALL ctl_stop('dyn_nxt: requested workspace arrays unavailable')   ;   RETURN 
     115      ENDIF 
    116116 
    117117      IF( kt == nit000 ) THEN 
     
    325325         &                       tab3d_2=vn, clinfo2=' Vn: '       , mask2=vmask ) 
    326326      !  
    327       IF(wrk_not_released(2, 1,2,3))THEN 
    328          CALL ctl_stop('dyn_nxt: failed to release workspace arrays.') 
    329       END IF 
     327      IF( wrk_not_released(2, 1,2,3) )   CALL ctl_stop('dyn_nxt: failed to release workspace arrays.') 
    330328      ! 
    331329   END SUBROUTINE dyn_nxt 
Note: See TracChangeset for help on using the changeset viewer.