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 15540 for NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/OBS/obs_mpp.F90 – NEMO

Ignore:
Timestamp:
2021-11-26T12:27:56+01:00 (3 years ago)
Author:
sparonuz
Message:

Mixed precision version, tested up to 30 years on ORCA2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/OBS/obs_mpp.F90

    r14650 r15540  
    265265      !! References : http://www.mpi-forum.org 
    266266      !!---------------------------------------------------------------------- 
    267       REAL(KIND=wp), DIMENSION(jpiglo,jpjglo), INTENT(inout) ::   pval 
    268       ! 
    269       INTEGER :: ierr 
    270       ! 
    271 #if ! defined key_mpi_off 
    272       ! 
    273 INCLUDE 'mpif.h' 
    274       REAL(KIND=wp), DIMENSION(:,:), ALLOCATABLE ::   zcp 
     267      REAL(KIND=dp), DIMENSION(jpiglo,jpjglo), INTENT(inout) ::   pval 
     268      ! 
     269      INTEGER :: ierr 
     270      ! 
     271#if ! defined key_mpi_off 
     272      ! 
     273      REAL(KIND=dp), DIMENSION(:,:), ALLOCATABLE ::   zcp 
     274INCLUDE 'mpif.h' 
    275275      !!---------------------------------------------------------------------- 
    276276 
     
    361361#if ! defined key_mpi_off 
    362362      ! 
    363 INCLUDE 'mpif.h' 
    364363      INTEGER, DIMENSION(jpnij) ::   irdsp, isdsp 
     364INCLUDE 'mpif.h' 
    365365      !----------------------------------------------------------------------- 
    366366      ! Compute displacements 
     
    405405      INTEGER                    , INTENT(in   ) :: knoout 
    406406      INTEGER , DIMENSION(jpnij) , INTENT(in   ) ::   kinv, koutv 
    407       REAL(wp), DIMENSION(knoin) , INTENT(in   ) ::   pvalsin 
    408       REAL(wp), DIMENSION(knoout), INTENT(  out) ::   pvalsout 
     407      REAL(dp), DIMENSION(knoin) , INTENT(in   ) ::   pvalsin 
     408      REAL(dp), DIMENSION(knoout), INTENT(  out) ::   pvalsout 
    409409      !! 
    410410      INTEGER :: ierr 
     
    413413#if ! defined key_mpi_off 
    414414      ! 
    415 INCLUDE 'mpif.h' 
    416415      INTEGER, DIMENSION(jpnij) ::   irdsp, isdsp 
     416INCLUDE 'mpif.h' 
    417417      !!---------------------------------------------------------------------- 
    418418      ! 
Note: See TracChangeset for help on using the changeset viewer.