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 14037 for NEMO/branches/2020/dev_r13333_KERNEL-08_techene_gm_HPG_SPG/src/OFF/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2020-12-03T12:20:38+01:00 (3 years ago)
Author:
ayoung
Message:

Updated to trunk at 14020. Sette tests passed with change of results for configurations with non-linear ssh. Ticket #2506.

Location:
NEMO/branches/2020/dev_r13333_KERNEL-08_techene_gm_HPG_SPG
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13333_KERNEL-08_techene_gm_HPG_SPG

    • Property svn:externals
      •  

        old new  
        88 
        99# SETTE 
        10 ^/utils/CI/sette@13292        sette 
         10^/utils/CI/sette_wave@13990         sette 
  • NEMO/branches/2020/dev_r13333_KERNEL-08_techene_gm_HPG_SPG/src/OFF/nemogcm.F90

    r13286 r14037  
    4040   USE sbcmod         ! surface boundary condition     (sbc_init     routine) 
    4141   USE phycst         ! physical constant                   (par_cst routine) 
     42   USE zdfphy         ! vertical physics manager       (zdf_phy_init routine) 
    4243   USE dtadyn         ! Lecture and Interpolation of the dynamical fields 
    4344   USE trcini         ! Initilization of the passive tracers 
     
    4950   USE trcnam         ! passive tracer : namelist 
    5051   USE trcrst         ! passive tracer restart 
    51    USE diaptr         ! Need to initialise this as some variables are used in if statements later 
    5252   USE sbc_oce , ONLY : ln_rnf 
    5353   USE sbcrnf         ! surface boundary condition : runoffs 
     
    7373 
    7474   CHARACTER (len=64) ::   cform_aaa="( /, 'AAAAAAAA', / ) "   ! flag for output listing 
     75#if defined key_mpp_mpi 
     76   ! need MPI_Wtime 
     77   INCLUDE 'mpif.h' 
     78#endif 
    7579 
    7680   !!---------------------------------------------------------------------- 
     
    96100      !!---------------------------------------------------------------------- 
    97101      INTEGER :: istp       ! time step index 
     102      REAL(wp)::   zstptiming   ! elapsed time for 1 time step 
    98103      !!---------------------------------------------------------------------- 
    99104 
     
    114119      !  
    115120      DO WHILE ( istp <= nitend .AND. nstop == 0 )    !==  OFF time-stepping  ==! 
     121 
     122         IF( ln_timing ) THEN 
     123            zstptiming = MPI_Wtime() 
     124            IF ( istp == ( nit000 + 1 ) ) elapsed_time = zstptiming 
     125            IF ( istp ==         nitend ) elapsed_time = zstptiming - elapsed_time 
     126         ENDIF 
    116127         ! 
     128      IF((istp == nitrst) .AND. lwxios) THEN 
     129         CALL iom_swap(      cw_toprst_cxt          ) 
     130         CALL iom_init_closedef(cw_toprst_cxt) 
     131         CALL iom_setkt( istp - nit000 + 1,      cw_toprst_cxt          ) 
     132      ENDIF 
     133 
    117134         IF( istp /= nit000 )   CALL day        ( istp )         ! Calendar (day was already called at nit000 in day_init) 
    118135                                CALL iom_setkt  ( istp - nit000 + 1, cxios_context )   ! say to iom that we are at time step kstp 
     
    147164#endif 
    148165#endif          
    149                                 CALL stp_ctl    ( istp )             ! Time loop: control and print 
     166         CALL stp_ctl    ( istp )             ! Time loop: control and print 
    150167         istp = istp + 1 
     168 
     169         IF( lwp .AND. ln_timing )   WRITE(numtime,*) 'timing step ', istp-1, ' : ', MPI_Wtime() - zstptiming 
     170 
    151171      END DO 
    152172      ! 
     
    326346                           CALL     eos_init        ! Equation of state 
    327347      IF( lk_c1d       )   CALL     c1d_init        ! 1D column configuration 
    328                            CALL     dom_init( Nbb, Nnn, Naa, "OPA") ! Domain 
     348                           CALL     dom_init( Nbb, Nnn, Naa ) ! Domain 
    329349      IF( sn_cfctl%l_prtctl )   & 
    330350         &                 CALL prt_ctl_init        ! Print control 
     
    333353 
    334354                           CALL     sbc_init( Nbb, Nnn, Naa )    ! Forcings : surface module 
    335                            CALL     bdy_init    ! Open boundaries initialisation     
     355                           CALL     bdy_init    ! Open boundaries initialisation 
     356                            
     357                           CALL zdf_phy_init( Nnn )    ! Vertical physics 
    336358 
    337359      !                                      ! Tracer physics 
    338360                           CALL ldf_tra_init    ! Lateral ocean tracer physics 
    339                            CALL ldf_eiv_init    ! Eddy induced velocity param 
     361                           CALL ldf_eiv_init    ! Eddy induced velocity param. must be done after ldf_tra_init 
    340362                           CALL tra_ldf_init    ! lateral mixing 
    341363      IF( l_ldfslp     )   CALL ldf_slp_init    ! slope of lateral mixing 
     
    351373                           CALL dta_dyn_init( Nbb, Nnn, Naa )        ! Initialization for the dynamics 
    352374#endif 
    353  
    354375                           CALL     trc_init( Nbb, Nnn, Naa )        ! Passive tracers initialization 
    355                            CALL dia_ptr_init   ! Poleward TRansports initialization 
    356376                            
    357377      IF(lwp) WRITE(numout,cform_aaa)           ! Flag AAAAAAA 
Note: See TracChangeset for help on using the changeset viewer.