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 8568 for branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OFF_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2017-09-27T16:29:24+02:00 (7 years ago)
Author:
gm
Message:

#1911 (ENHANCE-09): PART I.2 - _NONE option + remove zts + see associated wiki page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OFF_SRC/nemogcm.F90

    r8215 r8568  
    157157      NAMELIST/namctl/ ln_ctl  , nn_print, nn_ictls, nn_ictle,   & 
    158158         &             nn_isplt, nn_jsplt, nn_jctls, nn_jctle,   & 
    159          &             nn_timing, nn_diacfl 
     159         &             ln_timing, ln_diacfl 
    160160 
    161161      NAMELIST/namcfg/ ln_read_cfg, cn_domcfg, ln_write_cfg, cn_domcfg_out, ln_use_jattr 
     
    289289      ENDIF 
    290290      ! 
    291       IF( nn_timing == 1 )  CALL timing_init 
     291      IF( ln_timing    )   CALL timing_init 
    292292      ! 
    293293 
    294294      !                                      ! General initialization 
    295       IF( nn_timing == 1 )  CALL timing_start( 'nemo_init') 
    296       ! 
    297                             CALL     phy_cst    ! Physical constants 
    298                             CALL     eos_init   ! Equation of state 
    299       IF( lk_c1d        )   CALL     c1d_init   ! 1D column configuration 
    300  
    301                             CALL     dom_init   ! Domain 
    302  
    303                             CALL  istate_init   ! ocean initial state (Dynamics and tracers) 
    304  
    305       IF( ln_nnogather )    CALL nemo_northcomms   ! Initialise the northfold neighbour lists (must be done after the masks are defined) 
    306  
    307       IF( ln_ctl        )   CALL prt_ctl_init   ! Print control 
    308  
    309                             CALL     sbc_init   ! Forcings : surface module 
    310  
    311                             CALL ldf_tra_init   ! Lateral ocean tracer physics 
    312                             CALL ldf_eiv_init   ! Eddy induced velocity param 
    313                             CALL tra_ldf_init   ! lateral mixing 
    314       IF( l_ldfslp )        CALL ldf_slp_init   ! slope of lateral mixing 
    315  
    316                             CALL tra_qsr_init   ! penetrative solar radiation qsr 
    317       IF( ln_trabbl     )   CALL tra_bbl_init   ! advective (and/or diffusive) bottom boundary layer scheme 
    318  
    319                             CALL trc_nam_run    ! Needed to get restart parameters for passive tracers 
    320                             CALL trc_rst_cal( nit000, 'READ' )   ! calendar 
    321                             CALL dta_dyn_init   ! Initialization for the dynamics 
    322  
    323                             CALL     trc_init   ! Passive tracers initialization 
    324                             CALL dia_ptr_init   ! Initialise diaptr as some variables are used  
     295      IF( ln_timing    )   CALL timing_start( 'nemo_init') 
     296      ! 
     297                           CALL     phy_cst    ! Physical constants 
     298                           CALL     eos_init   ! Equation of state 
     299      IF( lk_c1d       )   CALL     c1d_init   ! 1D column configuration 
     300 
     301                           CALL     dom_init   ! Domain 
     302 
     303                           CALL  istate_init   ! ocean initial state (Dynamics and tracers) 
     304 
     305      IF( ln_nnogather )   CALL nemo_northcomms   ! Initialise the northfold neighbour lists (must be done after the masks are defined) 
     306 
     307      IF( ln_ctl       )   CALL prt_ctl_init   ! Print control 
     308 
     309                           CALL     sbc_init   ! Forcings : surface module 
     310 
     311                           CALL ldf_tra_init   ! Lateral ocean tracer physics 
     312                           CALL ldf_eiv_init   ! Eddy induced velocity param 
     313                           CALL tra_ldf_init   ! lateral mixing 
     314      IF( l_ldfslp     )   CALL ldf_slp_init   ! slope of lateral mixing 
     315 
     316                           CALL tra_qsr_init   ! penetrative solar radiation qsr 
     317      IF( ln_trabbl    )   CALL tra_bbl_init   ! advective (and/or diffusive) bottom boundary layer scheme 
     318 
     319                           CALL trc_nam_run    ! Needed to get restart parameters for passive tracers 
     320                           CALL trc_rst_cal( nit000, 'READ' )   ! calendar 
     321                           CALL dta_dyn_init   ! Initialization for the dynamics 
     322 
     323                           CALL     trc_init   ! Passive tracers initialization 
     324                           CALL dia_ptr_init   ! Initialise diaptr as some variables are used  
    325325      !                                         ! in various advection and diffusion routines 
    326326      IF(lwp) WRITE(numout,cform_aaa)           ! Flag AAAAAAA 
    327327      ! 
    328       IF( nn_timing == 1 )  CALL timing_stop( 'nemo_init') 
     328      IF( ln_timing    )   CALL timing_stop( 'nemo_init') 
    329329      ! 
    330330   END SUBROUTINE nemo_init 
     
    353353         WRITE(numout,*) '      number of proc. following i     nn_isplt   = ', nn_isplt 
    354354         WRITE(numout,*) '      number of proc. following j     nn_jsplt   = ', nn_jsplt 
    355          WRITE(numout,*) '      timing activated    (0/1)       nn_timing  = ', nn_timing 
     355         WRITE(numout,*) '      timing by routine               ln_timing  = ', ln_timing 
     356         WRITE(numout,*) '      CFL diagnostics                 ln_diacfl  = ', ln_diacfl 
    356357      ENDIF 
    357358      ! 
     
    363364      isplt     = nn_isplt 
    364365      jsplt     = nn_jsplt 
     366!!gm to be remove at the end of the 2017 merge party 
     367      if( ln_timing ) then  ;  nn_timing = 1 
     368      else                  ;  nn_timing = 0 
     369      endif 
     370!!gm end 
    365371 
    366372 
Note: See TracChangeset for help on using the changeset viewer.