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/OPA_SRC/DIA/diawri.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/OPA_SRC/DIA/diawri.F90

    r10020 r11101  
    462462      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index 
    463463      !! 
    464       LOGICAL ::   ll_print = .FALSE.                        ! =T print and flush numout 
    465464      CHARACTER (len=40) ::   clhstnam, clop, clmx           ! local names 
    466465      INTEGER  ::   inum = 11                                ! temporary logical unit 
     
    489488      ! ----------------- 
    490489 
    491       ! local variable for debugging 
    492       ll_print = .FALSE. 
    493       ll_print = ll_print .AND. lwp 
    494  
    495490      ! Define frequency of output and means 
    496491      zdt = rdt 
     
    532527         IF(lwp)WRITE(numout,*) ' indexes of zoom = ', iimi, iima, ijmi, ijma,   & 
    533528                                 ' limit storage in depth = ', ipk 
    534  
     529        
    535530         ! WRITE root name in date.file for use by postpro 
    536531         IF(lwp) THEN 
     
    806801         CALL histend( nid_W, snc4chunks=snc4set ) 
    807802 
    808          IF(lwp) WRITE(numout,*) 
    809          IF(lwp) WRITE(numout,*) 'End of NetCDF Initialization' 
    810          IF(ll_print) CALL FLUSH(numout ) 
     803         IF(lwp) THEN 
     804            WRITE(numout,*) 
     805            WRITE(numout,*) 'End of NetCDF Initialization' 
     806            IF(lflush) CALL flush(numout) 
     807         ENDIF 
    811808 
    812809      ENDIF 
     
    987984      ! 
    988985      IF( nn_timing == 1 )   CALL timing_stop('dia_wri') 
     986      ! 
     987      IF(lwp .AND. lflush) CALL flush(numout) 
    989988      ! 
    990989   END SUBROUTINE dia_wri 
Note: See TracChangeset for help on using the changeset viewer.