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 2771 for branches/2011/dev_r2769_LOCEAN_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2011-05-31T17:05:34+02:00 (13 years ago)
Author:
rblod
Message:

First implementation of timing, with tvd as an example, see ticket #829

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_r2769_LOCEAN_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r2715 r2771  
    171171      ENDIF 
    172172      ! 
     173      IF( ln_timing )   CALL timing_finalize 
     174      ! 
    173175      CALL nemo_closefile 
    174176#if defined key_oasis3 || defined key_oasis4 
     
    191193      CHARACTER(len=80), DIMENSION(16) ::   cltxt 
    192194      !! 
    193       NAMELIST/namctl/ ln_ctl  , nn_print, nn_ictls, nn_ictle,   & 
    194          &             nn_isplt, nn_jsplt, nn_jctls, nn_jctle, nn_bench 
     195      NAMELIST/namctl/ ln_ctl  , ln_timing, nn_ictls, nn_ictle,   & 
     196         &             nn_isplt, nn_jsplt , nn_jctls, nn_jctle,   & 
     197         &             nn_bench, nn_print 
    195198      !!---------------------------------------------------------------------- 
    196199      ! 
     
    286289      ENDIF 
    287290      ! 
     291      IF( ln_timing     )   CALL timing_init  
     292      ! 
    288293      !                                      ! General initialization 
    289294                            CALL     phy_cst    ! Physical constants 
     
    373378         WRITE(numout,*) '   Namelist namctl' 
    374379         WRITE(numout,*) '      run control (for debugging)     ln_ctl     = ', ln_ctl 
     380         WRITE(numout,*) '      run timing                      ln_timing  = ', ln_timing 
    375381         WRITE(numout,*) '      level of print                  nn_print   = ', nn_print 
    376382         WRITE(numout,*) '      Start i indice for SUM control  nn_ictls   = ', nn_ictls 
Note: See TracChangeset for help on using the changeset viewer.