triqs.utility.dist_on_nodes

Master / worker pattern for distributing a function evaluation over MPI.

Defines DistributionOnNodes, an abstract base class implementing the master-side dispatch loop, plus DistributionOnNodesOneStack, a ready-to-use subclass that consumes a fixed stack of input points. DistributionOnNodesTest is a minimal example used by the self-test at the bottom of the module.

Classes

DistributionOnNodes()

Abstract master / worker dispatcher distributing function calls over MPI.

DistributionOnNodesOneStack(the_stack)

Concrete DistributionOnNodes consuming a fixed stack of inputs.

DistributionOnNodesTest(the_stack)

Minimal DistributionOnNodesOneStack used by the self-test.