1 #ifndef __PCPP_COMM_UTIL_H__ 2 #define __PCPP_COMM_UTIL_H__ 8 void ReduceTimers(
double *processTimes,
unsigned int nTimes,
9 std::vector<std::vector<double> > ¶llelTimes,
13 std::vector<std::vector<long long> > ¶llelTimes,
38 std::ostream &messageStream);
std::vector< int > cartDecompDirections
std::vector< int > neighborRanks
std::vector< int > cartDirection
std::vector< int > cartNeighborhood
bool CheckResult(bool &localResult, pcpp::CommunicatorType &testComm)
std::vector< int > topoCoords
std::vector< int > cartDecomposition
std::vector< int > dimDir
void ReduceTimers(double *processTimes, unsigned int nTimes, std::vector< std::vector< double > > ¶llelTimes, pcpp::CommunicatorType &inCommunicator)
std::vector< int > isPeriodic
comm::paralleltopologyinfo ParallelTopologyInfoType
Main encapsulation of MPI.
void ReduceCounters(long long *processTimes, unsigned int nTimes, std::vector< std::vector< long long > > ¶llelTimes, pcpp::CommunicatorType &inCommunicator)
int SetupCartesianTopology(pcpp::CommunicatorType ¶llelCommunicator, pcpp::ParallelTopologyInfoType &topologyInfo, pcpp::CommunicatorType &topoCommunicator, std::ostream &messageStream)
Sets up a communicator with Cartesian topology.