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 6772 for branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90 – NEMO

Ignore:
Timestamp:
2016-07-01T18:02:45+02:00 (8 years ago)
Author:
cbricaud
Message:

clean in coarsening branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90

    r5602 r6772  
    7272   PUBLIC   mpp_lnk_3d, mpp_lnk_3d_gather, mpp_lnk_2d, mpp_lnk_2d_e 
    7373   PUBLIC   mpp_lnk_2d_9  
    74    PUBLIC   mppscatter, mppgather 
     74   PUBLIC   mppscatter, mppgather, mppgatheri 
    7575   PUBLIC   mpp_ini_ice, mpp_ini_znl 
    7676   PUBLIC   mppsize 
     
    14751475   END SUBROUTINE mppgather 
    14761476 
     1477   SUBROUTINE mppgatheri( ptab, kp, pio ) 
     1478      !!---------------------------------------------------------------------- 
     1479      !!                   ***  routine mppgather  *** 
     1480      !! 
     1481      !! ** Purpose :   Transfert between a local subdomain array and a work 
     1482      !!     array which is distributed following the vertical level. 
     1483      !! 
     1484      !!---------------------------------------------------------------------- 
     1485      INTEGER, DIMENSION(1,1),   INTENT(in   ) ::   ptab   ! subdomain input array 
     1486      INTEGER,                   INTENT(in   ) ::   kp     ! record length 
     1487      INTEGER, DIMENSION(jpnij), INTENT(  out) ::   pio    ! subdomain input array 
     1488      !! 
     1489      INTEGER :: itaille, ierror   ! temporary integer 
     1490      !!--------------------------------------------------------------------- 
     1491      ! 
     1492      itaille = 1 
     1493      CALL mpi_allgather( ptab, itaille, mpi_integer, pio, itaille     ,   & 
     1494         &                            mpi_integer, mpi_comm_opa, ierror ) 
     1495! CALL MPI_ALLGATHER ( njmpp, 1, mpi_integer, kwork, 1, mpi_integer, mpi_comm_opa, ierr ) 
     1496      ! 
     1497   END SUBROUTINE mppgatheri 
     1498 
    14771499 
    14781500   SUBROUTINE mppscatter( pio, kp, ptab ) 
Note: See TracChangeset for help on using the changeset viewer.