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/TOP_SRC/LOBSTER/trcopt.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/TOP_SRC/LOBSTER/trcopt.F90

    r2633 r2636  
    2121   USE sms_lobster 
    2222   USE prtctl_trc      ! Print control for debbuging 
     23   USE lib_mpp         ! MPP library 
    2324 
    2425   IMPLICIT NONE 
     
    6970 
    7071      IF( (wrk_in_use(2, 1,2)) .OR. (wrk_in_use(3, 2,3)) )THEN 
    71          CALL ctl_stop('trc_opt : requested workspace arrays unavailable.') 
    72          RETURN 
     72         CALL ctl_stop('trc_opt : requested workspace arrays unavailable')   ;   RETURN 
    7373      END IF 
    7474 
     
    138138      ENDIF 
    139139      ! 
    140       IF( (wrk_not_released(2, 1,2)) .OR. (wrk_not_released(3, 2,3)) )THEN 
    141          CALL ctl_stop('trc_opt : failed to release workspace arrays.') 
    142       END IF 
     140      IF( wrk_not_released(2, 1,2)  .OR.  wrk_not_released(3, 2,3)  )   & 
     141          CALL ctl_stop('trc_opt : failed to release workspace arrays') 
    143142      ! 
    144143   END SUBROUTINE trc_opt 
Note: See TracChangeset for help on using the changeset viewer.