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 11782 for NEMO/branches/2019/dev_r11756_text_output/src/OCE/LBC/lib_mpp.F90 – NEMO

Ignore:
Timestamp:
2019-10-24T10:30:30+02:00 (4 years ago)
Author:
andmirek
Message:

Ticket #2320 print levels in ICE/OCE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11756_text_output/src/OCE/LBC/lib_mpp.F90

    r11536 r11782  
    946946            crname_dlg(n_sequence_dlg) = cdname     ! keep the name of the calling routine 
    947947         ENDIF 
    948       ELSE IF ( ncom_stp == nit000+2*ncom_freq ) THEN 
     948      ELSE IF ( ncom_stp == nit000+2*ncom_freq .AND. nprint > 1 ) THEN 
    949949         CALL ctl_opn( numcom, 'communication_report.txt', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, .FALSE., narea ) 
    950950         WRITE(numcom,*) ' ' 
     
    12041204         &  OPEN(UNIT=knum,FILE='NUL', FORM=cdform, ACCESS=cdacce, STATUS=cdstat                      , ERR=100, IOSTAT=iost )    
    12051205      IF( iost == 0 ) THEN 
    1206          IF(ldwp) THEN 
     1206         IF(ldwp .AND. nprint > 2) THEN 
    12071207            WRITE(kout,*) '     file   : ', TRIM(clfile),' open ok' 
    12081208            WRITE(kout,*) '     unit   = ', knum 
Note: See TracChangeset for help on using the changeset viewer.