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 2423 for trunk/NEMO/TOP_SRC/CFC/trcctl_cfc.F90 – NEMO

Ignore:
Timestamp:
2010-11-24T16:37:34+01:00 (13 years ago)
Author:
cetlod
Message:

v3.2:use of standard print control in TOP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/CFC/trcctl_cfc.F90

    r2047 r2423  
    4242      ! Check number of tracers 
    4343      ! -----------------------    
    44       IF( jp_cfc > 2) THEN  
    45           IF(lwp) THEN  
    46               WRITE (numout,*) ' ===>>>> : w a r n i n g <<<<===' 
    47               WRITE (numout,*)                             & 
    48               &   ' STOP, change jp_cfc to 1 or 2 in par_CFC module '   
    49           END IF  
    50           STOP 'TRC_CTL' 
    51       END IF  
     44      IF( jp_cfc > 2 ) CALL ctl_stop( ' change jp_cfc to 1 or 2 in par_cfc.F90.' ) 
    5245 
    5346      ! Check tracer names 
     
    6255 
    6356      IF(lwp) THEN 
    64          WRITE (numout,*) ' ===>>>> : w a r n i n g ' 
    65          WRITE (numout,*) ' =======   ============= ' 
    66          WRITE (numout,*) ' we force tracer names' 
     57         CALL ctl_warn( ' We force tracer names ' ) 
    6758         DO jl = 1, jp_cfc 
    6859            jn = jp_cfc0 + jl - 1 
     
    8071            ctrcun(jn) = 'mole/m3' 
    8172            IF(lwp) THEN 
    82                WRITE (numout,*) ' ===>>>> : w a r n i n g <<<<===' 
    83                WRITE (numout,*) ' we force tracer unit' 
     73               CALL ctl_warn( ' We force tracer units ' ) 
    8474               WRITE(numout,*) ' tracer  ',ctrcnm(jn), 'UNIT= ',ctrcun(jn) 
    8575               WRITE(numout,*) ' ' 
Note: See TracChangeset for help on using the changeset viewer.