CPM: A software tool for Communication Performance Modelling

Hockney-based collective operations

Functions

int Hockney_initialize (MPI_Comm comm, Hockney_model *model)
int Hockney_finalize (MPI_Comm comm)
int Hockney_Scatterv_sorted_flat_asc (void *sendbuf, int *sendcounts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gatherv_sorted_flat_asc (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatterv_sorted_flat_dsc (void *sendbuf, int *sendcounts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gatherv_sorted_flat_dsc (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Bcast_dfs_binomial_min (void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm)
int Hockney_Reduce_dfs_binomial_min (void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
int Hockney_Bcast_dfs_binomial_max (void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm)
int Hockney_Reduce_bfs_binomial_min (void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
int Hockney_Reduce_bfs_binomial_max (void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
int Hockney_Bcast_bfs_binomial_min (void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm)
int Hockney_Bcast_bfs_binomial_max (void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm)
int Hockney_Reduce_dfs_binomial_max (void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
int Hockney_Bcast_ucs_binomial_min (void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm)
int Hockney_Reduce_ucs_binomial_min (void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
int Hockney_Bcast_ucs_binomial_max (void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm)
int Hockney_Reduce_ucs_binomial_max (void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
int Hockney_Scatter_dfs_binomial_min (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gather_dfs_binomial_min (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatter_dfs_binomial_max (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gather_dfs_binomial_max (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatter_ucs_binomial_min (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gather_ucs_binomial_min (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatter_ucs_binomial_max (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gather_ucs_binomial_max (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatter_bfs_binomial_min (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gather_bfs_binomial_min (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatter_bfs_binomial_max (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gather_bfs_binomial_max (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatterv_dfs_binomial_min (void *sendbuf, int *sendcounts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gatherv_dfs_binomial_min (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatterv_dfs_binomial_max (void *sendbuf, int *sendcounts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gatherv_dfs_binomial_max (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatterv_bfs_binomial_min (void *sendbuf, int *sendcounts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gatherv_bfs_binomial_min (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatterv_bfs_binomial_max (void *sendbuf, int *sendcounts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gatherv_bfs_binomial_max (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatterv_ucs_binomial_min (void *sendbuf, int *sendcounts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gatherv_ucs_binomial_min (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatterv_ucs_binomial_max (void *sendbuf, int *sendcounts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gatherv_ucs_binomial_max (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Scatterv_Traff (void *sendbuf, int *sendcounts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int Hockney_Gatherv_Traff (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)

Detailed Description

The implementations of tree-based algorithms are similar to .


Function Documentation

int Hockney_initialize ( MPI_Comm  comm,
Hockney_model model 
)

Initializes the instances of the Hockney model at all processes in the communicatior.

Parameters:
comm MPI communicator
model Hockney model (significant only at root)
int Hockney_finalize ( MPI_Comm  comm  ) 

Destroys the instances of the Hockney model at all processes in the communicatior.

int Hockney_Scatterv_sorted_flat_asc ( void *  sendbuf,
int *  sendcounts,
int *  displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

Sorted flat-tree scatterv based on the Hockney model.

int Hockney_Gatherv_sorted_flat_asc ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcounts,
int *  displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

Sorted flat-tree gatherv based on the Hockney model.

int Hockney_Scatterv_sorted_flat_dsc ( void *  sendbuf,
int *  sendcounts,
int *  displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

Sorted flat-tree scatterv based on the Hockney model.

int Hockney_Gatherv_sorted_flat_dsc ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcounts,
int *  displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

Sorted flat-tree gatherv based on the Hockney model.

int Hockney_Bcast_dfs_binomial_min ( void *  buffer,
int  count,
MPI_Datatype  datatype,
int  root,
MPI_Comm  comm 
)

DFS binomial bcast based on the Hockney model.

int Hockney_Reduce_dfs_binomial_min ( void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
int  root,
MPI_Comm  comm 
)

DFS binomial reduce based on the Hockney model.

int Hockney_Bcast_dfs_binomial_max ( void *  buffer,
int  count,
MPI_Datatype  datatype,
int  root,
MPI_Comm  comm 
)

DFS binomial bcast based on the Hockney model.

int Hockney_Reduce_bfs_binomial_min ( void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
int  root,
MPI_Comm  comm 
)

BFS binomial reduce based on the Hockney model.

int Hockney_Reduce_bfs_binomial_max ( void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
int  root,
MPI_Comm  comm 
)

BFS binomial reduce based on the Hockney model.

int Hockney_Bcast_bfs_binomial_min ( void *  buffer,
int  count,
MPI_Datatype  datatype,
int  root,
MPI_Comm  comm 
)

BFS binomial bcast based on the Hockney model.

int Hockney_Bcast_bfs_binomial_max ( void *  buffer,
int  count,
MPI_Datatype  datatype,
int  root,
MPI_Comm  comm 
)

BFS binomial bcast based on the Hockney model.

int Hockney_Reduce_dfs_binomial_max ( void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
int  root,
MPI_Comm  comm 
)

DFS binomial reduce based on the Hockney model.

int Hockney_Bcast_ucs_binomial_min ( void *  buffer,
int  count,
MPI_Datatype  datatype,
int  root,
MPI_Comm  comm 
)

UCS binomial bcast based on the Hockney model.

int Hockney_Reduce_ucs_binomial_min ( void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
int  root,
MPI_Comm  comm 
)

UCS binomial reduce based on the Hockney model.

int Hockney_Bcast_ucs_binomial_max ( void *  buffer,
int  count,
MPI_Datatype  datatype,
int  root,
MPI_Comm  comm 
)

UCS binomial bcast based on the Hockney model.

int Hockney_Reduce_ucs_binomial_max ( void *  sendbuf,
void *  recvbuf,
int  count,
MPI_Datatype  datatype,
MPI_Op  op,
int  root,
MPI_Comm  comm 
)

UCS binomial reduce based on the Hockney model.

int Hockney_Scatter_dfs_binomial_min ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

DFS binomial scatter based on the Hockney model.

int Hockney_Gather_dfs_binomial_min ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

DFS binomial gather based on the Hockney model.

int Hockney_Scatter_dfs_binomial_max ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

DFS binomial scatter based on the Hockney model.

int Hockney_Gather_dfs_binomial_max ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

DFS binomial gather based on the Hockney model.

int Hockney_Scatter_ucs_binomial_min ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

UCS binomial scatter based on the Hockney model.

int Hockney_Gather_ucs_binomial_min ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

UCS binomial gather based on the Hockney model.

int Hockney_Scatter_ucs_binomial_max ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

UCS binomial scatter based on the Hockney model.

int Hockney_Gather_ucs_binomial_max ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

UCS binomial gather based on the Hockney model.

int Hockney_Scatter_bfs_binomial_min ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

BFS binomial scatter based on the Hockney model.

int Hockney_Gather_bfs_binomial_min ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

BFS binomial gather based on the Hockney model.

int Hockney_Scatter_bfs_binomial_max ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

BFS binomial scatter based on the Hockney model.

int Hockney_Gather_bfs_binomial_max ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

BFS binomial gather based on the Hockney model.

int Hockney_Scatterv_dfs_binomial_min ( void *  sendbuf,
int *  sendcounts,
int *  displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

DFS binomial scatterv based on the Hockney model.

int Hockney_Gatherv_dfs_binomial_min ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcounts,
int *  displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

DFS binomial gatherv based on the Hockney model.

int Hockney_Scatterv_dfs_binomial_max ( void *  sendbuf,
int *  sendcounts,
int *  displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

DFS binomial scatterv based on the Hockney model.

int Hockney_Gatherv_dfs_binomial_max ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcounts,
int *  displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

DFS binomial gatherv based on the Hockney model.

int Hockney_Scatterv_bfs_binomial_min ( void *  sendbuf,
int *  sendcounts,
int *  displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

BFS binomial scatterv based on the Hockney model.

int Hockney_Gatherv_bfs_binomial_min ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcounts,
int *  displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

BFS binomial gatherv based on the Hockney model.

int Hockney_Scatterv_bfs_binomial_max ( void *  sendbuf,
int *  sendcounts,
int *  displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

BFS binomial scatterv based on the Hockney model.

int Hockney_Gatherv_bfs_binomial_max ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcounts,
int *  displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

BFS binomial gatherv based on the Hockney model.

int Hockney_Scatterv_ucs_binomial_min ( void *  sendbuf,
int *  sendcounts,
int *  displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

UCS binomial scatterv based on the Hockney model.

int Hockney_Gatherv_ucs_binomial_min ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcounts,
int *  displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

UCS binomial gatherv based on the Hockney model.

int Hockney_Scatterv_ucs_binomial_max ( void *  sendbuf,
int *  sendcounts,
int *  displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

UCS binomial scatterv based on the Hockney model.

int Hockney_Gatherv_ucs_binomial_max ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcounts,
int *  displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

UCS binomial gatherv based on the Hockney model.

int Hockney_Scatterv_Traff ( void *  sendbuf,
int *  sendcounts,
int *  displs,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

Scatterv based on modified Traff using the Hockney model.

int Hockney_Gatherv_Traff ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcounts,
int *  displs,
MPI_Datatype  recvtype,
int  root,
MPI_Comm  comm 
)

Gatherv based on modified Traff using the Hockney model.