EclypseMPI.bcast#

EclypseMPI.bcast(body, timestamp=None)[source]

Broadcasts a message to all neighbor services.

When awaited, the total wait time is the maximum communication cost among the interactions with neighbours. The result of this method must be awaited.

Parameters:
  • body (Any) – The data to be sent. It must be a pickleable object.

  • timestamp (datetime.datetime | None, optional) – The timestamp of the message. Defaults to datetime.datetime.now().

Returns:

The Broadcast MPI request.

Return type:

BroadcastRequest