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

    r2633 r2636  
    2323   USE in_out_manager   ! I/O manager 
    2424   USE iom              ! I/O library 
     25   USE lib_mpp          ! MPP library 
    2526 
    2627   IMPLICIT NONE 
     
    103104 
    104105      IF( wrk_in_use(2, 1) ) THEN 
    105          CALL ctl_stop( 'lim_rst_write : requested workspace arrays unavailable.' )   ;   RETURN 
     106         CALL ctl_stop( 'lim_rst_write : requested workspace arrays unavailable' )   ;   RETURN 
    106107      END IF 
    107108 
     
    294295      ENDIF 
    295296      ! 
    296       IF( wrk_not_released(2, 1) ) THEN 
    297          CALL ctl_stop( 'lim_rst_write : failed to release workspace arrays.' ) 
    298       END IF 
     297      IF( wrk_not_released(2, 1) )   CALL ctl_stop( 'lim_rst_write : failed to release workspace arrays' ) 
    299298      ! 
    300299   END SUBROUTINE lim_rst_write 
     
    322321      IF( wrk_in_use(2, 1) ) THEN 
    323322         CALL ctl_stop( 'lim_rst_read : requested workspace arrays unavailable.' )   ;   RETURN 
    324       END IF 
     323      ENDIF 
    325324 
    326325      IF(lwp) THEN 
Note: See TracChangeset for help on using the changeset viewer.