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 9321 for branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/SBC/sbcrnf.F90 – NEMO

Ignore:
Timestamp:
2018-02-12T14:29:34+01:00 (6 years ago)
Author:
davestorkey
Message:

UKMO/dev_r5518_GO6_package branch: allow timing of I/O and coupling only.
See GMED ticket 374.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/SBC/sbcrnf.F90

    r8302 r9321  
    2727   USE eosbn2 
    2828   USE wrk_nemo        ! Memory allocation 
     29   USE timing 
    2930 
    3031   IMPLICIT NONE 
     
    148149            & iom_varid( numror, 'rnf_b', ldstop = .FALSE. ) > 0 ) THEN 
    149150            IF(lwp) WRITE(numout,*) '          nit000-1 runoff forcing fields red in the restart file' 
     151            IF(nn_timing == 2)  CALL timing_start('iom_rstget') 
    150152            CALL iom_get( numror, jpdom_autoglo, 'rnf_b', rnf_b )     ! before runoff 
    151153            CALL iom_get( numror, jpdom_autoglo, 'rnf_hc_b', rnf_tsc_b(:,:,jp_tem) )   ! before heat content of runoff 
    152154            CALL iom_get( numror, jpdom_autoglo, 'rnf_sc_b', rnf_tsc_b(:,:,jp_sal) )   ! before salinity content of runoff 
     155            IF(nn_timing == 2)  CALL timing_stop('iom_rstget') 
    153156         ELSE                                                   !* no restart: set from nit000 values 
    154157            IF(lwp) WRITE(numout,*) '          nit000-1 runoff forcing fields set to nit000' 
     
    164167            &                    'at it= ', kt,' date= ', ndastp 
    165168         IF(lwp) WRITE(numout,*) '~~~~' 
     169         IF(nn_timing == 2)  CALL timing_start('iom_rstput') 
    166170         CALL iom_rstput( kt, nitrst, numrow, 'rnf_b' , rnf ) 
    167171         CALL iom_rstput( kt, nitrst, numrow, 'rnf_hc_b', rnf_tsc(:,:,jp_tem) ) 
    168172         CALL iom_rstput( kt, nitrst, numrow, 'rnf_sc_b', rnf_tsc(:,:,jp_sal) ) 
     173         IF(nn_timing == 2)  CALL timing_stop('iom_rstput') 
    169174      ENDIF 
    170175      ! 
Note: See TracChangeset for help on using the changeset viewer.