MPIBlib: MPI Benchmark library

MPIB::SGv Namespace Reference

Classes

class  Assembler
class  Indexer
class  Vertex_writer
class  Edge_writer
class  Binomial_builder
class  Sorted_binomial_builder
class  Traff_builder

Variables

int tag = 0

Detailed Description

Auxiliaries for scatterv/gatherv tree algorithms

Communication tree builders for scatterv/gatherv. Must implement a function:

void build(int size, int root, int rank, int* counts,
    Graph& g, Vertex& r, Vertex& u, Vertex& v);
Parameters:
size communicator size
root root process
rank current process
counts array of message sizes in bytes (counts * extent) (number of elements = communicator size)
g graph
r root vertex (introduced to avoid search)
u parent of v (introduced to avoid search)
v vertex for the current process (introduced to avoid search)
See also:
Test for the tree-based scatterv/gatherv

Variable Documentation

int MPIB::SGv::tag = 0

tag for scatterv/gatherv - not safe, incremental on all processors