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

Ignore:
Timestamp:
2017-12-01T18:44:09+01:00 (6 years ago)
Author:
flavoni
Message:

dev_CNRS_2017 branch: merged dev_r7881_ENHANCE09_RK3 with trunk r8864

File:
1 edited

Legend:

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

    r8528 r8882  
    2828   USE trabbl          ! bottom boundary layer          (tra_bbl_init routine) 
    2929   USE traldf          ! lateral physics                (tra_ldf_init routine) 
    30    USE zdfini          ! vertical physics: initialization 
    31    USE sbcmod          ! surface boundary condition       (sbc_init     routine) 
    32    USE phycst          ! physical constant                  (par_cst routine) 
     30   USE sbcmod          ! surface boundary condition     (sbc_init     routine) 
     31   USE phycst          ! physical constant                   (par_cst routine) 
    3332   USE dtadyn          ! Lecture and Interpolation of the dynamical fields 
    3433   USE trcini          ! Initilization of the passive tracers 
    35    USE daymod          ! calendar                         (day     routine) 
    36    USE trcstp          ! passive tracer time-stepping      (trc_stp routine) 
     34   USE daymod          ! calendar                            (day     routine) 
     35   USE trcstp          ! passive tracer time-stepping        (trc_stp routine) 
    3736   USE dtadyn          ! Lecture and interpolation of the dynamical fields 
    3837   !              ! Passive tracers needs 
     
    158157      NAMELIST/namctl/ ln_ctl  , nn_print, nn_ictls, nn_ictle,   & 
    159158         &             nn_isplt, nn_jsplt, nn_jctls, nn_jctle,   & 
    160          &             nn_timing, nn_diacfl 
     159         &             ln_timing, ln_diacfl 
    161160 
    162161      NAMELIST/namcfg/ ln_read_cfg, cn_domcfg, ln_write_cfg, cn_domcfg_out, ln_use_jattr 
     
    290289      ENDIF 
    291290      ! 
    292       IF( nn_timing == 1 )  CALL timing_init 
     291      IF( ln_timing    )   CALL timing_init 
    293292      ! 
    294293 
    295294      !                                      ! General initialization 
    296       IF( nn_timing == 1 )  CALL timing_start( 'nemo_init') 
    297       ! 
    298                             CALL     phy_cst    ! Physical constants 
    299                             CALL     eos_init   ! Equation of state 
    300       IF( lk_c1d        )   CALL     c1d_init   ! 1D column configuration 
    301  
    302                             CALL     dom_init   ! Domain 
    303  
    304                             CALL  istate_init   ! ocean initial state (Dynamics and tracers) 
    305  
    306       IF( ln_nnogather )    CALL nemo_northcomms   ! Initialise the northfold neighbour lists (must be done after the masks are defined) 
    307  
    308       IF( ln_ctl        )   CALL prt_ctl_init   ! Print control 
    309  
    310                             CALL     sbc_init   ! Forcings : surface module 
    311  
    312                             CALL ldf_tra_init   ! Lateral ocean tracer physics 
    313                             CALL ldf_eiv_init   ! Eddy induced velocity param 
    314                             CALL tra_ldf_init   ! lateral mixing 
    315       IF( l_ldfslp )        CALL ldf_slp_init   ! slope of lateral mixing 
    316  
    317                             CALL tra_qsr_init   ! penetrative solar radiation qsr 
    318       IF( lk_trabbl     )   CALL tra_bbl_init   ! advective (and/or diffusive) bottom boundary layer scheme 
    319  
    320                             CALL trc_nam_run    ! Needed to get restart parameters for passive tracers 
    321                             CALL trc_rst_cal( nit000, 'READ' )   ! calendar 
    322                             CALL dta_dyn_init   ! Initialization for the dynamics 
    323  
    324                             CALL     trc_init   ! Passive tracers initialization 
    325                             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  
    326325      !                                         ! in various advection and diffusion routines 
    327326      IF(lwp) WRITE(numout,cform_aaa)           ! Flag AAAAAAA 
    328327      ! 
    329       IF( nn_timing == 1 )  CALL timing_stop( 'nemo_init') 
     328      IF( ln_timing    )   CALL timing_stop( 'nemo_init') 
    330329      ! 
    331330   END SUBROUTINE nemo_init 
     
    354353         WRITE(numout,*) '      number of proc. following i     nn_isplt   = ', nn_isplt 
    355354         WRITE(numout,*) '      number of proc. following j     nn_jsplt   = ', nn_jsplt 
    356          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 
    357357      ENDIF 
    358358      ! 
     
    364364      isplt     = nn_isplt 
    365365      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 
    366371 
    367372 
Note: See TracChangeset for help on using the changeset viewer.