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 15303 – NEMO

Changeset 15303


Ignore:
Timestamp:
2021-09-30T14:54:55+02:00 (3 years ago)
Author:
mattmartin
Message:

Fixed bug in namelist reading part of stopack related to changes in other parts of NEMO.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_stophys/NEMOGCM/NEMO/OPA_SRC/STO/stopack.F90

    r15294 r15303  
    15111511      READ  ( numnam_cfg, namstopack, IOSTAT = ios, ERR = 902 ) 
    15121512902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namstopack in configuration namelist', lwp ) 
    1513       IF(lwm) WRITE ( numond, namstopack ) 
     1513      IF(lwm .AND. nprint > 2) WRITE ( numond, namstopack )      
    15141514#endif 
    15151515 
     
    16581658 
    16591659         WRITE(numout,*) 
     1660         IF(lflush) CALL flush(numout) 
    16601661      ENDIF 
    16611662 
    16621663      IF( .NOT. ln_stopack ) THEN 
    16631664         IF(lwp) WRITE(numout,*) '     STOPACK is switched off' 
     1665         IF(lflush) CALL flush(numout) 
    16641666         RETURN 
    16651667      ENDIF 
     
    17631765         WRITE(numout,*) '    SPP with own scales : ',ln_spp_own_gauss 
    17641766         WRITE(numout,*) '    SKEB with own scales: ',ln_skeb_own_gauss 
     1767         IF(lflush) CALL flush(numout)          
    17651768      ENDIF 
    17661769 
     
    18131816         WRITE(numout,*) '        Mean AR1 b term : ',SUM(sppt_b)/REAL(jpi*jpj) 
    18141817         WRITE(numout,*) 
     1818         IF(lflush) CALL flush(numout)          
    18151819      ENDIF 
    18161820 
     
    18461850          WRITE(numout,*) '        Mean AR1 b term : ',SUM(spp_b)/REAL(jpi*jpj) 
    18471851          WRITE(numout,*) 
     1852          IF(lflush) CALL flush(numout)           
    18481853        ENDIF 
    18491854      ENDIF 
     
    18701875          WRITE(numout,*) '        Mean AR1 b term : ',SUM(skeb_b)/REAL(jpi*jpj) 
    18711876          WRITE(numout,*) 
     1877          IF(lflush) CALL flush(numout)           
    18721878        ENDIF 
    18731879      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.