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 11210 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/TOP/trcbdy.F90 – NEMO

Ignore:
Timestamp:
2019-07-03T12:08:42+02:00 (5 years ago)
Author:
girrmann
Message:

dev_r10984_HPC-13 : remove some communications in bdy treatment in case nn_hls > 1, see #2285

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/TOP/trcbdy.F90

    r11195 r11210  
    5656      ! 
    5757      igrd = 1  
    58       ! 
     58      llsend1(:) = .false.  ;   llrecv1(:) = .false. 
    5959      DO ir = 1, 0, -1   ! treat rim 1 before rim 0 
    6060         IF( ir == 0 ) THEN   ;   llrim0 = .TRUE. 
     
    8282         END DO 
    8383         ! 
    84          llsend1(:) = .false. 
    85          llrecv1(:) = .false. 
     84         IF( nn_hls > 1 .AND. ir == 1 ) CYCLE   ! at least 2 halos will be corrected -> no need to correct rim 1 before rim 0 
     85         IF( nn_hls == 1 ) THEN   ;   llsend1(:) = .false.   ;   llrecv1(:) = .false.   ;   END IF 
    8686         DO ib_bdy=1, nb_bdy 
    8787            SELECT CASE( TRIM(cn_tra(ib_bdy)) ) 
Note: See TracChangeset for help on using the changeset viewer.