Skip to content

Commit

Permalink
set response operator type in remote server for file Read Requests as…
Browse files Browse the repository at this point in the history
… well.

black python
  • Loading branch information
pnorbert committed Dec 6, 2024
1 parent 0214817 commit b18dcd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/adios2/variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from adios2 import bindings


class Variable:
"""High level representation of the Variable class in the adios2.bindings"""

Expand Down
1 change: 1 addition & 0 deletions source/adios2/toolkit/remote/remote_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ static void ReadRequestHandler(CManager cm, CMConnection conn, void *vevent, voi
Response.ReadData = (char *)tmp;
Response.ReadResponseCondition = ReadMsg->ReadResponseCondition;
Response.Dest = ReadMsg->Dest;
Response.OperatorType = Operator::OperatorType::COMPRESS_NULL;
if (verbose >= 2)
std::cout << "Returning " << readable_size(Response.Size) << " for Read " << std::endl;
f->m_BytesSent += Response.Size;
Expand Down

0 comments on commit b18dcd1

Please sign in to comment.