XMLIOSERVER 0.4
Serveur d'Entrées/Sorties parallèles
|
Surcouche interne de la bibliàothèque M(essage) P(assing) I(nterface). Plus de détails...
#include <mpi_interface.hpp>
Fonctions membres publiques statiques | |
static void | Initialise (int *argc, char ***argv) |
static void | Finalize (void) |
static int | GetCommRank (MPI_Comm _comm=CMPIManager::GetCommWorld()) |
static int | GetCommSize (MPI_Comm _comm=CMPIManager::GetCommWorld()) |
static MPI_Comm | CreateComm (MPI_Group _group, MPI_Comm _pcomm=CMPIManager::GetCommWorld()) |
static MPI_Comm | GetCommWorld (void) |
static void | Barrier (MPI_Comm _comm=CMPIManager::GetCommWorld()) |
static bool | DispatchClient (bool _is_server, MPI_Comm &_comm_client, MPI_Comm &_comm_client_server, MPI_Comm &_comm_server, MPI_Comm _comm_parent=CMPIManager::GetCommWorld()) |
static MPI_Group | GetGroupWorld (void) |
static MPI_Group | CreateSubGroup (MPI_Group _pgroup, const std::vector< int > &_ranks) |
static MPI_Group | CreateSubGroup (MPI_Group _pgroup, int _min_rank, int _max_rank, int _intval=1) |
static bool | IsMaster (MPI_Comm _comm=CMPIManager::GetCommWorld()) |
static bool | IsRank (int _rank, MPI_Comm _comm=CMPIManager::GetCommWorld()) |
static void | Send (MPI_Comm _comm, int _dest_rank, char *_data, std::size_t _size, MPI_Request &_request) |
static void | Wait (MPI_Request &_request) |
static bool | Test (MPI_Request &_request) |
static bool | HasReceivedData (MPI_Comm _comm, int _src_rank) |
static std::size_t | GetReceivedDataSize (MPI_Comm _comm, int _src_rank) |
static void | Receive (MPI_Comm _comm, int _src_rank, char *_data) |
static void | AllGather (int _indata, std::vector< int > &_outdata, MPI_Comm _comm=CMPIManager::GetCommWorld()) |
static void | AllGather (const std::vector< int > &_indata, std::vector< int > &_outdata, MPI_Comm _comm=CMPIManager::GetCommWorld()) |
static void | AllocMemory (void *_data, std::size_t _size) |
static void | FreeMemory (void *_data) |
Surcouche interne de la bibliàothèque M(essage) P(assing) I(nterface).
Définition à la ligne 46 du fichier mpi_interface.hpp.
void xmlioserver::comm::CMPIManager::AllGather | ( | int | _indata, |
std::vector< int > & | _outdata, | ||
MPI_Comm | _comm = CMPIManager::GetCommWorld() |
||
) | [static] |
Définition à la ligne 236 du fichier mpi_interface.cpp.
Référencé par DispatchClient().
void xmlioserver::comm::CMPIManager::AllGather | ( | const std::vector< int > & | _indata, |
std::vector< int > & | _outdata, | ||
MPI_Comm | _comm = CMPIManager::GetCommWorld() |
||
) | [static] |
Définition à la ligne 242 du fichier mpi_interface.cpp.
Références GetCommSize(), et XIOS_ERROR.
void xmlioserver::comm::CMPIManager::AllocMemory | ( | void * | _data, |
std::size_t | _size | ||
) | [static] |
Définition à la ligne 262 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
void xmlioserver::comm::CMPIManager::Barrier | ( | MPI_Comm | _comm = CMPIManager::GetCommWorld() | ) | [static] |
Définition à la ligne 75 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
MPI_Comm xmlioserver::comm::CMPIManager::CreateComm | ( | MPI_Group | _group, |
MPI_Comm | _pcomm = CMPIManager::GetCommWorld() |
||
) | [static] |
Définition à la ligne 60 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
Référencé par DispatchClient().
MPI_Group xmlioserver::comm::CMPIManager::CreateSubGroup | ( | MPI_Group | _pgroup, |
const std::vector< int > & | _ranks | ||
) | [static] |
Définition à la ligne 150 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
Référencé par CreateSubGroup(), et DispatchClient().
MPI_Group xmlioserver::comm::CMPIManager::CreateSubGroup | ( | MPI_Group | _pgroup, |
int | _min_rank, | ||
int | _max_rank, | ||
int | _intval = 1 |
||
) | [static] |
Définition à la ligne 159 du fichier mpi_interface.cpp.
Références CreateSubGroup().
bool xmlioserver::comm::CMPIManager::DispatchClient | ( | bool | _is_server, |
MPI_Comm & | _comm_client, | ||
MPI_Comm & | _comm_client_server, | ||
MPI_Comm & | _comm_server, | ||
MPI_Comm | _comm_parent = CMPIManager::GetCommWorld() |
||
) | [static] |
Définition à la ligne 81 du fichier mpi_interface.cpp.
Références AllGather(), CreateComm(), CreateSubGroup(), GetCommRank(), et GetGroupWorld().
void xmlioserver::comm::CMPIManager::Finalize | ( | void | ) | [static] |
Définition à la ligne 36 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
void xmlioserver::comm::CMPIManager::FreeMemory | ( | void * | _data | ) | [static] |
Définition à la ligne 268 du fichier mpi_interface.cpp.
int xmlioserver::comm::CMPIManager::GetCommRank | ( | MPI_Comm | _comm = CMPIManager::GetCommWorld() | ) | [static] |
Définition à la ligne 44 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
Référencé par DispatchClient(), IsMaster(), et IsRank().
int xmlioserver::comm::CMPIManager::GetCommSize | ( | MPI_Comm | _comm = CMPIManager::GetCommWorld() | ) | [static] |
Définition à la ligne 52 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
Référencé par AllGather().
MPI_Comm xmlioserver::comm::CMPIManager::GetCommWorld | ( | void | ) | [static] |
Définition à la ligne 68 du fichier mpi_interface.cpp.
Référencé par GetGroupWorld().
MPI_Group xmlioserver::comm::CMPIManager::GetGroupWorld | ( | void | ) | [static] |
Définition à la ligne 142 du fichier mpi_interface.cpp.
Références GetCommWorld(), et XIOS_ERROR.
Référencé par DispatchClient().
std::size_t xmlioserver::comm::CMPIManager::GetReceivedDataSize | ( | MPI_Comm | _comm, |
int | _src_rank | ||
) | [static] |
Définition à la ligne 214 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
Référencé par Receive().
bool xmlioserver::comm::CMPIManager::HasReceivedData | ( | MPI_Comm | _comm, |
int | _src_rank | ||
) | [static] |
Définition à la ligne 205 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
void xmlioserver::comm::CMPIManager::Initialise | ( | int * | argc, |
char *** | argv | ||
) | [static] |
Définition à la ligne 23 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
bool xmlioserver::comm::CMPIManager::IsMaster | ( | MPI_Comm | _comm = CMPIManager::GetCommWorld() | ) | [static] |
Définition à la ligne 169 du fichier mpi_interface.cpp.
Références GetCommRank().
bool xmlioserver::comm::CMPIManager::IsRank | ( | int | _rank, |
MPI_Comm | _comm = CMPIManager::GetCommWorld() |
||
) | [static] |
Définition à la ligne 174 du fichier mpi_interface.cpp.
Références GetCommRank().
void xmlioserver::comm::CMPIManager::Receive | ( | MPI_Comm | _comm, |
int | _src_rank, | ||
char * | _data | ||
) | [static] |
Définition à la ligne 227 du fichier mpi_interface.cpp.
Références GetReceivedDataSize(), Wait(), et XIOS_ERROR.
void xmlioserver::comm::CMPIManager::Send | ( | MPI_Comm | _comm, |
int | _dest_rank, | ||
char * | _data, | ||
std::size_t | _size, | ||
MPI_Request & | _request | ||
) | [static] |
Définition à la ligne 181 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
bool xmlioserver::comm::CMPIManager::Test | ( | MPI_Request & | _request | ) | [static] |
Définition à la ligne 196 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
void xmlioserver::comm::CMPIManager::Wait | ( | MPI_Request & | _request | ) | [static] |
Définition à la ligne 189 du fichier mpi_interface.cpp.
Références XIOS_ERROR.
Référencé par Receive().