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 11101 for branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/TOP_SRC/trcini.F90 – NEMO

Ignore:
Timestamp:
2019-06-11T16:10:28+02:00 (5 years ago)
Author:
frrh
Message:

Merge changes from Met Office GMED ticket 450 to reduce unnecessary
text output from NEMO.
This output, which is typically not switchable, is rarely of interest
in normal (non-debugging) runs and simply redunantley consumes extra
file space.
Further, the presence of this text output has been shown to
significantly degrade performance of models which are run during
Met Office HPC RAID (disk) checks.
The new code introduces switches which are configurable via the
changes made in the associated Met Office MOCI ticket 399.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/TOP_SRC/trcini.F90

    r10149 r11101  
    123123      CALL trc_ice_ini                                 ! Tracers in sea ice 
    124124 
    125       IF( ln_ctl ) THEN 
    126          ! 
    127          IF (narea == 1) THEN   
    128             ! The tracer.stat file only contains global tracer sum values, if  
    129             ! it contains anything at all. Hence it only needs to be opened  
    130             ! and written to on the master PE, not on all PEs.   
    131             CALL ctl_opn( numstr, 'tracer.stat', 'REPLACE','FORMATTED',  &  
    132                           'SEQUENTIAL', -1, numout, lwp , narea )  
    133          ENDIF   
    134          ! 
    135       ENDIF 
     125      ! 
     126      IF (lwm .AND. sn_cfctl%l_trcstat) THEN   
     127         ! The tracer.stat file only contains global tracer sum values, if  
     128         ! it contains anything at all. Hence it only needs to be opened  
     129         ! and written to on the master PE, not on all PEs.   
     130         CALL ctl_opn( numstr, 'tracer.stat', 'REPLACE','FORMATTED',  &  
     131                       'SEQUENTIAL', -1, numout, lwp , narea )  
     132      ENDIF   
     133      ! 
    136134 
    137135      IF( ln_trcdta ) THEN 
Note: See TracChangeset for help on using the changeset viewer.