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 9124 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2017-12-19T09:26:25+01:00 (6 years ago)
Author:
gm
Message:

dev_merge_2017: ln_timing instead of nn_timing + restricted timing to nemo_init and routine called by step in OPA_SRC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r9023 r9124  
    205205         CALL Agrif_ParentGrid_To_ChildGrid() 
    206206         IF( ln_diaobs )        CALL dia_obs_wri 
    207          IF( nn_timing == 1 )   CALL timing_finalize 
     207         IF( ln_timing )   CALL timing_finalize 
    208208         CALL Agrif_ChildGrid_To_ParentGrid() 
    209209      ENDIF 
    210210#endif 
    211       IF( ln_timing    )   CALL timing_finalize 
     211      IF( ln_timing )   CALL timing_finalize 
    212212      ! 
    213213      CALL nemo_closefile 
     
    550550      njctle    = nn_jctle 
    551551      isplt     = nn_isplt 
    552       jsplt     = nn_jsplt 
    553 !!gm to be remove at the end of the 2017 merge party 
    554       if( ln_timing ) then  ;  nn_timing = 1 
    555       else                  ;  nn_timing = 0 
    556       endif 
    557 !!gm end 
    558        
     552      jsplt     = nn_jsplt       
    559553 
    560554      IF(lwp) THEN                  ! control print 
     
    613607      ! 
    614608#if defined key_agrif 
    615       IF( nn_timing == 1 ) CALL ctl_stop( 'AGRIF not implemented with nn_timing = 1') 
     609      IF( ln_timing )   CALL ctl_stop( 'AGRIF not implemented with ln_timing = true') 
    616610#endif 
    617611      ! 
Note: See TracChangeset for help on using the changeset viewer.