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 10968 for NEMO/branches/UKMO/NEMO_4.0_mirror_text_diagnostics/src/OCE/LBC/mppini.F90 – NEMO

Ignore:
Timestamp:
2019-05-13T11:43:03+02:00 (5 years ago)
Author:
andmirek
Message:

GMED 462 print levels implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0_mirror_text_diagnostics/src/OCE/LBC/mppini.F90

    r10888 r10968  
    168168      !!---------------------------------------------------------------------- 
    169169 
    170       llwrtlay = lwp .OR. ln_ctl .OR. sn_cfctl%l_layout 
     170      llwrtlay = (lwp.AND.nprint>1).OR. ln_ctl .OR. sn_cfctl%l_layout 
    171171      ! do we need to take into account bdy_msk? 
    172172      REWIND( numnam_ref )              ! Namelist nambdy in reference namelist : BDY 
     
    490490      ! 5. Subdomain print 
    491491      ! ------------------ 
    492       IF(lwp) THEN 
     492      IF(lwp .AND. nprint > 1) THEN 
    493493         ifreq = 4 
    494494         il1 = 1 
     
    629629      ! 
    630630      nproc = narea-1 
    631       IF(lwp) THEN 
     631      IF(lwp .AND. nprint > 0) THEN 
    632632         WRITE(numout,*) 
    633633         WRITE(numout,*) '   resulting internal parameters : ' 
     
    11651165      idid(2) = 2 
    11661166 
    1167       IF(lwp) THEN 
     1167      IF(lwp .AND. nprint > 0) THEN 
    11681168          WRITE(numout,*) 
    11691169          WRITE(numout,*) 'mpp_init_ioipsl :   iloc  = ', iloc (1), iloc (2) 
Note: See TracChangeset for help on using the changeset viewer.