MPI communication

API reference

ProxAL.comm_maxMethod
comm_max(data, comm)

Collective to reduce and return the maximum over scalar data.

source
ProxAL.comm_neighbors!Method
comm_neighbors!(data, blocks, runinfo, pattern, comm)

Nonblocking communication with a given pattern. An array of requests is returned.

source
ProxAL.comm_sumMethod
comm_sum(data::Float64, comm)

Collective to reduce and return the sum over scalar data.

source
ProxAL.comm_wait!Method
comm_wait!(requests)

Wait until the communciation requests requests have been fulfilled.

source
ProxAL.is_comm_patternMethod
is_comm_pattern(t, tn, k, kn, pattern)

Do period t, tn and contingencies k, kn match the communication pattern?
source
ProxAL.is_my_workMethod
is_my_work(blk, comm)

Returns a boolean whether the block blk is assigned to this rank.

source