Changeset 10748


Ignore:
Timestamp:
2019-03-13T16:49:13+01:00 (19 months ago)
Author:
andmirek
Message:

GMED 450 fix issue with solver.stat openning

Location:
branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC/SOL/solver.F90

    r10745 r10748  
    5959      ! 
    6060 
    61       IF(lwp .AND. ln_ctl .OR. sn_cfctl%l_runstat) THEN  !* open elliptic solver statistics file (only on the printing processors) 
     61      IF(lwp .AND. (ln_ctl .OR. sn_cfctl%l_runstat)) THEN  !* open elliptic solver statistics file (only on the printing processors) 
    6262         CALL ctl_opn( numsol, 'solver.stat', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, narea ) 
    6363      ENDIF 
  • branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC/stpctl.F90

    r10745 r10748  
    232232         ! 
    233233      ELSE                                   !* ssh statistics (and others...) 
    234          IF( kt == nit000 .AND. lwp .AND. ln_ctl .OR. sn_cfctl%l_runstat) THEN   ! open ssh statistics file (put in solver.stat file) 
     234         IF( kt == nit000 .AND. lwp .AND. (ln_ctl .OR. sn_cfctl%l_runstat)) THEN   ! open ssh statistics file (put in solver.stat file) 
    235235            CALL ctl_opn( numsol, 'solver.stat', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, narea ) 
    236236         ENDIF 
    237237         ! 
    238          IF( ll_wrtruns ) THEN 
     238         IF( ll_colruns ) THEN 
    239239            zssh2 = SUM( sshn(:,:) * sshn(:,:) * tmask_i(:,:) ) 
    240240            IF( lk_mpp )   CALL mpp_sum( zssh2 )      ! sum over the global domain 
Note: See TracChangeset for help on using the changeset viewer.