Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

dist_matrix.h File Reference

The header of class dist_matrix, the data for distributed matrices and read/write functions. More...

#include <mpi.h>
#include <iostream>
#include <iomanip>
#include "Serializer.h"
#include "matrix.h"
#include "template_mpitype.h"
#include "../util/skeleton.h"
#include "dist_matrix.tpp"

Include dependency graph for dist_matrix.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  matrixStructure
 Structure of submatrix. More...
class  dist_matrix< A >
 A template class for handling matrix distributed on processors. More...
class  template_mpitype< matrix< A > >

Enumerations

enum  dist_matrix_tag_t {
  TAG_NOTHING, TAG_DISTRIBUTE, TAG_DISTRIBUTE2, TAG_GATHER1,
  TAG_GATHER2, TAG_GATHER3, TAG_PERMUTE1, TAG_PERMUTE2,
  TAG_PERMUTE3, TAG_SCAN12, TAG_SCAN12s, TAG_SCAN22,
  TAG_SCAN22s, TAG_REDUCE1, TAG_REDUCE2, TAG_REDUCE3,
  TAG_REDUCE4, TAG_ALLREDUCEROW1, TAG_ALLREDUCEROW2, TAG_ALLREDUCEROW3,
  TAG_ALLREDUCEROW4, TAG_ALLREDUCECOL1, TAG_ALLREDUCECOL2, TAG_ALLREDUCECOL3,
  TAG_ALLREDUCECOL4, TAG_GLOBAL_GET1, TAG_GLOBAL_GET2, TAG_GLOBAL_GET22,
  TAG_GLOBAL_GET3, TAG_GLOBAL_GET32, TAG_GLOBAL_SET1, TAG_GLOBAL_SET2,
  TAG_GLOBAL_SET22, TAG_GLOBAL_SET3, TAG_GLOBAL_SET32
}
 Tags for communication in skeletons. More...

Variables

static const MPI_Datatype BYTE_TYPE = MPI_BYTE
 Datatype used to transmit serialized binary data.
static const SKEL_MPI_INTRACOMM DEFAULT_COMM = SKEL_MPI_COMM_WORLD


Detailed Description

The header of class dist_matrix, the data for distributed matrices and read/write functions.

Author:
Kento EMOTO

Definition in file dist_matrix.h.


Enumeration Type Documentation

enum dist_matrix_tag_t
 

Tags for communication in skeletons.

Enumerator:
TAG_NOTHING  nothing(not used).
TAG_DISTRIBUTE  distribute(data).
TAG_DISTRIBUTE2  distribute(size).
TAG_GATHER1  gather (structure).
TAG_GATHER2  gather (data).
TAG_GATHER3  gather (size).
TAG_PERMUTE1  permute/shift/rotate (structure).
TAG_PERMUTE2  permute/shift/rotate (data).
TAG_PERMUTE3  permute/shift/rotate (size).
TAG_SCAN12  scan (step 1.2).
TAG_SCAN12s  scan (step 1.2, size).
TAG_SCAN22  scan (step 2.2).
TAG_SCAN22s  scan (step 2.2, size).
TAG_REDUCE1  reduce (row).
TAG_REDUCE2  reduce (col).
TAG_REDUCE3  reduce (row, size).
TAG_REDUCE4  reduce (col, size).
TAG_ALLREDUCEROW1  allreduce_row.
TAG_ALLREDUCEROW2  allreduce_row (size).
TAG_ALLREDUCEROW3  allreduce_row.
TAG_ALLREDUCEROW4  allreduce_row (size).
TAG_ALLREDUCECOL1  allreduce_col.
TAG_ALLREDUCECOL2  allreduce_col (size).
TAG_ALLREDUCECOL3  allreduce_col.
TAG_ALLREDUCECOL4  allreduce_col (size).
TAG_GLOBAL_GET1  global_get (flag).
TAG_GLOBAL_GET2  global_get (data).
TAG_GLOBAL_GET22  global_get (size).
TAG_GLOBAL_GET3  global_get (data).
TAG_GLOBAL_GET32  global_get (size).
TAG_GLOBAL_SET1  global_set (flag).
TAG_GLOBAL_SET2  global_set (data).
TAG_GLOBAL_SET22  global_set (size).
TAG_GLOBAL_SET3  global_set (data).
TAG_GLOBAL_SET32  global_set (size).

Definition at line 28 of file dist_matrix.h.


Variable Documentation

const MPI_Datatype BYTE_TYPE = MPI_BYTE [static]
 

Datatype used to transmit serialized binary data.

Definition at line 69 of file dist_matrix.h.

const SKEL_MPI_INTRACOMM DEFAULT_COMM = SKEL_MPI_COMM_WORLD [static]
 

Definition at line 71 of file dist_matrix.h.


Generated on Wed Jan 18 22:19:34 2006 for SkeTo -- Skeleton Library in Tokyo by  doxygen 1.4.4