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 14644 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/tests/ICE_ADV1D – NEMO

Ignore:
Timestamp:
2021-03-26T15:33:49+01:00 (3 years ago)
Author:
sparonuz
Message:

Merge trunk -r14642:HEAD

Location:
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final

    • Property svn:externals
      •  

        old new  
        99 
        1010# SETTE 
        11 ^/utils/CI/sette_wave@13990         sette 
         11^/utils/CI/sette@14244        sette 
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/tests/ICE_ADV1D/EXPREF/namelist_cfg

    r13558 r14644  
    216216!!                  ***  Miscellaneous namelists  ***                 !! 
    217217!!                                                                    !! 
    218 !!   nammpp            Massively Parallel Processing                    ("key_mpp_mpi") 
     218!!   nammpp            Massively Parallel Processing 
    219219!!   namctl            Control prints                                   (default: OFF) 
    220220!!   namsto            Stochastic parametrization of EOS                (default: OFF) 
     
    222222! 
    223223!----------------------------------------------------------------------- 
    224 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
     224&nammpp        !   Massively Parallel Processing 
    225225!----------------------------------------------------------------------- 
    226226/ 
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/tests/ICE_ADV1D/EXPREF/namelist_cfg_120pts

    r13558 r14644  
    216216!!                  ***  Miscellaneous namelists  ***                 !! 
    217217!!                                                                    !! 
    218 !!   nammpp            Massively Parallel Processing                    ("key_mpp_mpi") 
     218!!   nammpp            Massively Parallel Processing 
    219219!!   namctl            Control prints                                   (default: OFF) 
    220220!!   namsto            Stochastic parametrization of EOS                (default: OFF) 
     
    222222! 
    223223!----------------------------------------------------------------------- 
    224 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
     224&nammpp        !   Massively Parallel Processing 
    225225!----------------------------------------------------------------------- 
    226226/ 
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/tests/ICE_ADV1D/EXPREF/namelist_cfg_240pts

    r13558 r14644  
    216216!!                  ***  Miscellaneous namelists  ***                 !! 
    217217!!                                                                    !! 
    218 !!   nammpp            Massively Parallel Processing                    ("key_mpp_mpi") 
     218!!   nammpp            Massively Parallel Processing 
    219219!!   namctl            Control prints                                   (default: OFF) 
    220220!!   namsto            Stochastic parametrization of EOS                (default: OFF) 
     
    222222! 
    223223!----------------------------------------------------------------------- 
    224 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
     224&nammpp        !   Massively Parallel Processing 
    225225!----------------------------------------------------------------------- 
    226226/ 
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/tests/ICE_ADV1D/EXPREF/namelist_cfg_60pts

    r13558 r14644  
    216216!!                  ***  Miscellaneous namelists  ***                 !! 
    217217!!                                                                    !! 
    218 !!   nammpp            Massively Parallel Processing                    ("key_mpp_mpi") 
     218!!   nammpp            Massively Parallel Processing 
    219219!!   namctl            Control prints                                   (default: OFF) 
    220220!!   namsto            Stochastic parametrization of EOS                (default: OFF) 
     
    222222! 
    223223!----------------------------------------------------------------------- 
    224 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
     224&nammpp        !   Massively Parallel Processing 
    225225!----------------------------------------------------------------------- 
    226226/ 
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/tests/ICE_ADV1D/MY_SRC/usrdef_hgr.F90

    r13295 r14644  
    7575 
    7676      !                          ========== 
    77       zlam0 = -REAL( (Ni0glo-2)/2, wp) * 1.e-3 * rn_dx 
    78       zphi0 = -REAL( (Nj0glo-2)/2, wp) * 1.e-3 * rn_dy 
     77      zlam0 = -REAL(Ni0glo, wp) * 0.5 * 1.e-3 * rn_dx 
     78      zphi0 = -REAL(Nj0glo, wp) * 0.5 * 1.e-3 * rn_dy 
    7979 
    80       DO_2D( 1, 1, 1, 1 ) 
    81          zti = REAL( mig0_oldcmp(ji) - 1, wp )   ! start at i=0 in the global grid without halos 
    82          ztj = REAL( mjg0_oldcmp(jj) - 1, wp )   ! start at j=0 in the global grid without halos 
     80      DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 
     81         zti = REAL( mig0(ji), wp ) - 0.5_wp  ! start at i=0.5 in the global grid without halos 
     82         ztj = REAL( mjg0(jj), wp ) - 0.5_wp  ! start at j=0.5 in the global grid without halos 
    8383          
    8484         plamt(ji,jj) = zlam0 + rn_dx * 1.e-3 *   zti 
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/tests/ICE_ADV1D/MY_SRC/usrdef_nam.F90

    r13286 r14644  
    3939CONTAINS 
    4040 
    41    SUBROUTINE usr_def_nam( cd_cfg, kk_cfg, kpi, kpj, kpk, kperio ) 
     41   SUBROUTINE usr_def_nam( cd_cfg, kk_cfg, kpi, kpj, kpk, ldIperio, ldJperio, ldNFold, cdNFtype ) 
    4242      !!---------------------------------------------------------------------- 
    4343      !!                     ***  ROUTINE dom_nam  *** 
     
    5151      !! ** input   : - namusr_def namelist found in namelist_cfg 
    5252      !!---------------------------------------------------------------------- 
    53       CHARACTER(len=*)              , INTENT(out) ::   cd_cfg          ! configuration name 
    54       INTEGER                       , INTENT(out) ::   kk_cfg          ! configuration resolution 
    55       INTEGER                       , INTENT(out) ::   kpi, kpj, kpk   ! global domain sizes  
    56       INTEGER                       , INTENT(out) ::   kperio          ! lateral global domain b.c.  
     53      CHARACTER(len=*), INTENT(out) ::   cd_cfg               ! configuration name 
     54      INTEGER         , INTENT(out) ::   kk_cfg               ! configuration resolution 
     55      INTEGER         , INTENT(out) ::   kpi, kpj, kpk        ! global domain sizes 
     56      LOGICAL         , INTENT(out) ::   ldIperio, ldJperio   ! i- and j- periodicity 
     57      LOGICAL         , INTENT(out) ::   ldNFold              ! North pole folding 
     58      CHARACTER(len=1), INTENT(out) ::   cdNFtype             ! Folding type: T or F 
    5759      ! 
    5860      INTEGER ::   ios       ! Local integer 
     
    7880      zly = kpj*rn_dy*1.e-3 
    7981      !                             ! Set the lateral boundary condition of the global domain 
    80       kperio = 0                    ! ICE_ADV1D configuration : bi-periodic basin 
     82      ldIperio = .FALSE.   ;   ldJperio = .FALSE.   ! ICE_ADV1D configuration : closed domain 
     83      ldNFold  = .FALSE.   ;   cdNFtype = '-' 
     84      ! 
    8185      !                             ! control print 
    8286      IF(lwp) THEN 
     
    9599         WRITE(numout,*) '         Coriolis:', ln_corio 
    96100         WRITE(numout,*) '   ' 
    97          WRITE(numout,*) '   Lateral boundary condition of the global domain' 
    98          WRITE(numout,*) '      ICE_ADV1D : closed basin                 jperio = ', kperio 
    99101      ENDIF 
    100102      ! 
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/tests/ICE_ADV1D/MY_SRC/usrdef_sbc.F90

    r14072 r14644  
    120120      emp_oce (:,:)   = 0._wp   ! uniform value for freshwater budget (E-P) 
    121121      qsr_oce (:,:)   = 0._wp   ! uniform value for     solar radiation 
    122       qns_oce (:,:)   = 0._wp   ! uniform value for non-solar radiation 
     122      qns_oce (:,:)   = 0._wp   ! uniform value for non-solar heat flux 
    123123 
    124124      ! ice variables 
    125125      alb_ice (:,:,:) = 0.7_wp  ! useless 
    126126      qsr_ice (:,:,:) = 0._wp   ! uniform value for     solar radiation 
    127       qns_ice (:,:,:) = 0._wp   ! uniform value for non-solar radiation 
     127      qns_ice (:,:,:) = 0._wp   ! uniform value for non-solar heat flux 
     128      dqns_ice(:,:,:) = 0._wp   ! uniform value for non solar heat flux sensitivity for ice 
    128129      sprecip (:,:)   = 0._wp   ! uniform value for snow precip 
    129130      evap_ice(:,:,:) = 0._wp   ! uniform value for sublimation 
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/tests/ICE_ADV1D/cpp_ICE_ADV1D.fcm

    r14200 r14644  
    1 bld::tool::fppkeys key_si3 key_mpp_mpi key_nosignedzero key_iomput key_linssh 
     1bld::tool::fppkeys key_si3 key_xios key_linssh 
Note: See TracChangeset for help on using the changeset viewer.