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 11940 for NEMO/branches/2019/dev_r11470_HPC_12_mpi3/src/OCE/LBC/mppini.F90 – NEMO

Ignore:
Timestamp:
2019-11-20T22:48:28+01:00 (4 years ago)
Author:
mocavero
Message:

Add MPI3 neighbourhood collectives halo exchange in LBC and call it in tracer advection FCT scheme #2011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11470_HPC_12_mpi3/src/OCE/LBC/mppini.F90

    r11799 r11940  
    3838   INTEGER :: numbot = -1  ! 'bottom_level' local logical unit 
    3939   INTEGER :: numbdy = -1  ! 'bdy_msk'      local logical unit 
    40     
     40 
    4141   !!---------------------------------------------------------------------- 
    4242   !! NEMO/OCE 4.0 , NEMO Consortium (2018) 
     
    464464      END DO 
    465465      nfipproc(:,:) = ipproc(:,:) 
     466 
     467      ! compute rank for MPI3 neighbourhood colectives 
     468      ALLOCATE(nranks(jpni*jpnj)) 
     469      icont = 1 
     470      DO ji = 1, jpni 
     471         DO jj = 1, jpnj 
     472            nranks(icont) = ipproc(ji,jj) 
     473            icont = icont + 1 
     474         END DO 
     475      END DO 
    466476 
    467477      ! neighbour treatment: change ibondi, ibondj if next to a land zone 
     
    694704         ENDIF 
    695705      ENDIF 
     706 
     707      CALL mpp_ini_nc 
    696708      ! 
    697709      CALL mpp_init_ioipsl       ! Prepare NetCDF output file (if necessary) 
Note: See TracChangeset for help on using the changeset viewer.