Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for the issue #3646 #3665

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/adios2/toolkit/format/bp5/BP5Deserializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ class BP5Deserializer : virtual public BP5Base
/* We assume operators are not thread-safe, call Decompress() one at a time
*/
std::mutex mutexDecompress;
std::vector<void *> *m_FreeableJDOA = nullptr;
};

} // end namespace format
Expand Down
7 changes: 4 additions & 3 deletions testing/adios2/engine/dataman/TestDataMan1D.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# TestDataMan1D.py: test for 1D data transfer by reading in Python
# Created on: March 3, 2023
# Author: Dmitry Ganyushin [email protected]
from multiprocessing import Process
import multiprocessing
import unittest
import numpy as np
import adios2
Expand All @@ -28,8 +28,8 @@ def setUp(self):

def test_run(self):

s = Process(target=self.thread_send)
r = Process(target=self.thread_receive)
s = multiprocessing.Process(target=self.thread_send)
r = multiprocessing.Process(target=self.thread_receive)

s.start()
r.start()
Expand Down Expand Up @@ -88,4 +88,5 @@ def thread_receive(self):


if __name__ == '__main__':
multiprocessing.set_start_method("fork")
unittest.main()