Octopus
distributed_oct_m Module Reference

Data Types

type  distributed_t
 Distribution of N instances over mpi_grpsize processes, for the local rank mpi_grprank. Distribution for all other processes of mpi_grpcomm are stored in node, num and range. More...
 

Functions/Subroutines

subroutine, public distributed_nullify (this, total)
 
subroutine, public distributed_init (this, total, comm, tag, scalapack_compat)
 Distribute N instances across M processes of communicator comm More...
 
subroutine, public distributed_copy (in, out)
 @Brief Create a copy of a distributed instance More...
 
subroutine, public distributed_end (this)
 
subroutine, public distributed_allgather (this, aa)
 

Function/Subroutine Documentation

◆ distributed_nullify()

subroutine, public distributed_oct_m::distributed_nullify ( type(distributed_t), intent(out)  this,
integer, intent(in), optional  total 
)

Definition at line 166 of file distributed.F90.

◆ distributed_init()

subroutine, public distributed_oct_m::distributed_init ( type(distributed_t), intent(out)  this,
integer, intent(in)  total,
type(mpi_comm), intent(in)  comm,
character(len=*), intent(in), optional  tag,
logical, intent(in), optional  scalapack_compat 
)

Distribute N instances across M processes of communicator comm

Parameters
[in]totalSize of quantity to distribute
[in]commmpi communicator

Definition at line 183 of file distributed.F90.

◆ distributed_copy()

subroutine, public distributed_oct_m::distributed_copy ( type(distributed_t), intent(in)  in,
type(distributed_t), intent(inout)  out 
)

@Brief Create a copy of a distributed instance

Definition at line 246 of file distributed.F90.

◆ distributed_end()

subroutine, public distributed_oct_m::distributed_end ( type(distributed_t), intent(inout)  this)

Definition at line 286 of file distributed.F90.

◆ distributed_allgather()

subroutine, public distributed_oct_m::distributed_allgather ( type(distributed_t), intent(in)  this,
real(real64), dimension(:), intent(inout), contiguous  aa 
)

Definition at line 299 of file distributed.F90.