wrench::SMPIExecutor

class SMPIExecutor

A wrapper class for all SMPI operations.

Public Static Functions

static void performAlltoall(std::vector<simgrid::s4u::Host*> &hosts, int data_size)

Method to perform an SMPI Alltoall.

Parameters:
  • hosts – list of hosts

  • data_size – size in data_size of each message sent/received

static void performBarrier(std::vector<simgrid::s4u::Host*> &hosts)

Method to perform an SMPI Barrier.

Parameters:

hosts – list of hosts

static void performBcast(std::vector<simgrid::s4u::Host*> &hosts, simgrid::s4u::Host *root_host, int data_size)

Method to perform an SMPI Bcast.

Parameters:
  • hosts – list of hosts

  • root_host – the host on which the root of the broadcast runs

  • data_size – size in data_size of each message sent/received