From b18dcd19b95372f5741d76ce14d2aa2233c48df7 Mon Sep 17 00:00:00 2001 From: Norbert Podhorszki Date: Tue, 19 Nov 2024 11:47:39 -0500 Subject: [PATCH] set response operator type in remote server for file Read Requests as well. black python --- python/adios2/variable.py | 1 + source/adios2/toolkit/remote/remote_server.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/python/adios2/variable.py b/python/adios2/variable.py index d04b968553..67358e767c 100644 --- a/python/adios2/variable.py +++ b/python/adios2/variable.py @@ -5,6 +5,7 @@ from adios2 import bindings + class Variable: """High level representation of the Variable class in the adios2.bindings""" diff --git a/source/adios2/toolkit/remote/remote_server.cpp b/source/adios2/toolkit/remote/remote_server.cpp index d5d39a0dc1..8a17e9c413 100644 --- a/source/adios2/toolkit/remote/remote_server.cpp +++ b/source/adios2/toolkit/remote/remote_server.cpp @@ -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;