Commit 1588f805 authored by Francois Tessier's avatar Francois Tessier

Aggregation and target tiers are now set through environment variables. Nodes...

Aggregation and target tiers are now set through environment variables. Nodes list based on the ComputeNodeId (network abstraction)
parent 3bdff8ec
This diff is collapsed.
......@@ -51,10 +51,7 @@ class Tapioca
~Tapioca ();
void Init (int64_t *chunkCount, int *chunkSize, int64_t *chunkOffset,
int nChunks, int64_t header, MPI_Comm comm);
void setAggregationTier ( int nBuffers, mem_t mem, char* fileName );
void setTargetTier ( mem_t mem, int64_t buffSize, char* fileName );
int nChunks, int64_t header, char* fileName, MPI_Comm comm);
int Write ( MPI_Offset offset, void *buf, int count, MPI_Datatype datatype,
MPI_Status *status, int64_t bufOffset = 0);
......@@ -86,6 +83,9 @@ protected:
int NumberOfAggregators ();
void IdentifyMyAggregators ();
void setAggregationTier ( );
void setTargetTier ( char* fileName );
void SelectOneAggregatorPerNode ();
void KeepAggregators ();
void ElectAggregators ();
int64_t DataSizeSentToAggr (int aggrId);
......@@ -133,7 +133,6 @@ protected:
int nChunks_;
int nCommit_;
int nAggr_;
int currentRound_;
int totalRounds_;
int readRound_;
......@@ -141,7 +140,7 @@ protected:
int totalNeededBuffers_;
int64_t currentDataSize_;
int intCoords_;
int hostId_;
int nNodes_;
std::map<int, bool> excludedNode;
......@@ -155,18 +154,22 @@ protected:
std::vector<int> dataSize;
std::vector< std::vector<int> > chunksIndexMatching;
int nBuffers_;
std::vector<Memory> memBuffers;
Memory memTarget;
int nAggr_;
int nBuffers_;
int64_t bufferSize_;
mem_t memAggr_;
bool reElectAggr_;
bool electedAggr_;
bool amAnAggr_;
int globalAggrRank_;
bool commSplit_;
int64_t bufferSize_;
int64_t aggrDataSize_;
int totalWrites_;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment