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 10397 for NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/IOM/restart.F90 – NEMO

Ignore:
Timestamp:
2018-12-14T17:27:24+01:00 (5 years ago)
Author:
smasson
Message:

dev_r10164_HPC09_ESIWACE_PREP_MERGE: action 5 introduce mpp_delay_sum, see #2133

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/IOM/restart.F90

    r10380 r10397  
    2828   USE iom             ! I/O module 
    2929   USE diurnal_bulk 
     30   USE lib_mpp         ! distribued memory computing library 
    3031 
    3132   IMPLICIT NONE 
     
    140141      !!---------------------------------------------------------------------- 
    141142      INTEGER, INTENT(in) ::   kt   ! ocean time-step 
    142       INTEGER             :: ji 
    143143      !!---------------------------------------------------------------------- 
    144144                     IF(lwxios) CALL iom_swap(      cwxios_context          ) 
    145145                     CALL iom_rstput( kt, nitrst, numrow, 'rdt'    , rdt       , ldxios = lwxios)   ! dynamics time step 
    146                      DO ji = 1, nbdelay 
    147                         CALL iom_rstput( kt, nitrst, numrow, c_delaylist(ji), todelay(ji), ldxios = lwxios) 
    148                      END DO 
     146                     CALL iom_delay_rst( 'WRITE', 'OCE', numrow )   ! save only ocean delayed global communication variables 
    149147 
    150148      IF ( .NOT. ln_diurnal_only ) THEN 
     
    249247      !!---------------------------------------------------------------------- 
    250248      REAL(wp) ::   zrdt 
    251       INTEGER  ::   ji, jk 
     249      INTEGER  ::   jk 
    252250      REAL(wp), DIMENSION(jpi, jpj, jpk) :: w3d 
    253251      !!---------------------------------------------------------------------- 
     
    261259      ENDIF 
    262260 
    263       DO ji = 1, nbdelay 
    264          IF( iom_varid( numror, c_delaylist(ji), ldstop = .FALSE. ) > 0 )  THEN 
    265             CALL iom_get( numror, c_delaylist(ji), todelay(ji), ldxios = lrxios ) 
    266             ndelayid(ji) = 0   ! set to 0 to speficy that the value was read in the restart 
    267          ENDIF 
    268       END DO 
     261      CALL iom_delay_rst( 'READ', 'OCE', numror )   ! read only ocean delayed global communication variables 
    269262       
    270263      ! Diurnal DSST  
Note: See TracChangeset for help on using the changeset viewer.