- Timestamp:
- 2016-07-01T18:02:45+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90
r5602 r6772 72 72 PUBLIC mpp_lnk_3d, mpp_lnk_3d_gather, mpp_lnk_2d, mpp_lnk_2d_e 73 73 PUBLIC mpp_lnk_2d_9 74 PUBLIC mppscatter, mppgather 74 PUBLIC mppscatter, mppgather, mppgatheri 75 75 PUBLIC mpp_ini_ice, mpp_ini_znl 76 76 PUBLIC mppsize … … 1475 1475 END SUBROUTINE mppgather 1476 1476 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 1477 1499 1478 1500 SUBROUTINE mppscatter( pio, kp, ptab )
Note: See TracChangeset
for help on using the changeset viewer.