Skip to content

Commit

Permalink
oy
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer committed Nov 4, 2024
1 parent 7f89612 commit 1f6a3a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/adios2/toolkit/format/bp5/BP5Helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,14 @@ void BP5Helper::BP5AggregateInformation(helper::Comm &mpiComm,
// Incoming, we expect a single Attribute Encode buffer, get its hash
BP5Helper::digest attrHash;
size_t attrLen = 0;
std::cout << "Agg info a " << AttributeEncodeBuffers.size() << std::endl;
if (AttributeEncodeBuffers.size() > 0)
{
std::cout << "Agg info b" << std::endl;
size_t AlignedSize = ((AttributeEncodeBuffers[0].iov_len + 7) & ~0x7);
attrLen = AlignedSize;
}
std::cout << "Agg info c " << attrLen << std::endl;
if ((attrLen > 0) && AttributeEncodeBuffers[0].iov_base)
attrHash = HashOfBlock(AttributeEncodeBuffers[0].iov_base, attrLen);
std::vector<char> RecvBuffer;
Expand All @@ -399,8 +402,10 @@ void BP5Helper::BP5AggregateInformation(helper::Comm &mpiComm,
std::vector<size_t> AttrSize;
std::vector<size_t> MMBSizes;
std::vector<digest> MMBIDs;
std::cout << "Agg info d " << attrLen << std::endl;
auto myFixedContrib = BuildFixedNodeContrib(attrHash, attrLen, NewMetaMetaBlocks,
MetaEncodeSize[0], WriterDataPositions);
std::cout << "Agg info e " << attrLen << std::endl;
bool NeedDynamic = false;

if (mpiComm.Rank() == 0)
Expand Down

0 comments on commit 1f6a3a6

Please sign in to comment.