forked from ornladios/ADIOS2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ornladios#3687 from dmitry-ganyushin/i3646-mult-macos
Fix for the issue ornladios#3646. (cherry picked from commit c8c5238)
- Loading branch information
1 parent
f359ecb
commit 0f2bdf5
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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() | ||
|
@@ -88,4 +88,5 @@ def thread_receive(self): | |
|
||
|
||
if __name__ == '__main__': | ||
multiprocessing.set_start_method("fork") | ||
unittest.main() |