Octopus
mpi_distribute_oct_m Module Reference

Data Types

interface  mpi_displacements
 

Functions/Subroutines

subroutine mpi_displacements_int32 (recvcounts, displs)
 Compute the displacements required for (all)gather(v) and (all)scatter(v). More...
 
subroutine mpi_displacements_int64 (recvcounts, displs)
 Compute the displacements required for (all)gather(v) and (all)scatter(v). More...
 

Function/Subroutine Documentation

◆ mpi_displacements_int32()

subroutine mpi_distribute_oct_m::mpi_displacements_int32 ( integer, dimension(:), intent(in)  recvcounts,
integer, dimension(:), intent(out)  displs 
)
private

Compute the displacements required for (all)gather(v) and (all)scatter(v).

Parameters
[in]recvcountsThe number of elements that are received from each process
[out]displsEntry i specifies the displacement (relative to recvbuf)

Definition at line 130 of file mpi_distribute.F90.

◆ mpi_displacements_int64()

subroutine mpi_distribute_oct_m::mpi_displacements_int64 ( integer, dimension(:), intent(in)  recvcounts,
integer(int64), dimension(:), intent(out)  displs 
)
private

Compute the displacements required for (all)gather(v) and (all)scatter(v).

Parameters
[in]recvcountsThe number of elements that are received from each process
[out]displsEntry i specifies the displacement (relative to recvbuf)

Definition at line 151 of file mpi_distribute.F90.