ПАРАЛЛЕЛЬНОЕ ПРОГРАММИРОВАНИЕ
147
Привязки для топологий процессов в языке С++
namespace MPI {
Cartcomm Intracomm::Create_cart(int ndims, const int dims[],
const bool periods[], bool reorder) const
void Compute_dims(int nnodes, int ndims, int dims[])
Graphcomm Intracomm::Create_graph(int nnodes, const int index[],
const int edges[], bool reorder) const
int Comm::Get_topology() const
void Graphcomm::Get_dims(int nnodes[], int nedges[]) const
void Graphcomm::Get_topo(int maxindex, int maxedges, int index[],
int edges[]) const
int Cartcomm::Get_dim() const
void Cartcomm::Get_topo(int maxdims, int dims[], bool periods[],
int coords[])
const
int Cartcomm::Get_cart_rank(const int coords[]) const
void Cartcomm::Get_coords(int rank, int maxdims, int coords[])
const
int Graphcomm::Get_neighbors_count(int rank) const
void Graphcomm::Get_neighbors(int rank, int maxneighbors, int
neighbors[])const
void Cartcomm::Shift(int direction, int disp, int& rank_source,
int&rank_dest)
const
Cartcomm Cartcomm::Sub(const bool remain_dims[]) const
int Cartcomm::Map(int ndims, const int dims[], const bool pe-
riods[]) const
int Graphcomm::Map(int nnodes, const int index[], const int
edges[]) const
};
Привязки для запросов среды в языке С++
namespace MPI
{
void Get_processor_name(char* name, int& resultlen)
void Errhandler::Free()
void Get_error_string(int errorcode, char* name, int& resultlen)
int Get_error_class(int errorcode)
double Wtime()
double Wtick()
void Init(int& argc, char**& argv)
void Init()
void Finalize()
bool Is_initialized()
void Comm::Abort(int errorcode)
};
1...,139,140,141,142,143,144,145,146,147,148 150,151,152,153,154,155,156,157,158,159,...180