Skip to content

Commit

Permalink
Merge pull request ornladios#3687 from dmitry-ganyushin/i3646-mult-macos
Browse files Browse the repository at this point in the history
Fix for the issue ornladios#3646.
  • Loading branch information
eisenhauer committed Jul 4, 2023
2 parents 55dc9b2 + 9318869 commit c8c5238
Showing 1 changed file with 4 additions and 3 deletions.
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 ganyushindi@ornl.gov
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()

0 comments on commit c8c5238

Please sign in to comment.