-
Notifications
You must be signed in to change notification settings - Fork 665
Initial Windows Support #2919
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
base: develop
Are you sure you want to change the base?
Initial Windows Support #2919
Changes from all commits
47f0b97
6f6ebae
9eff746
d711dde
c2fc162
722c6e6
ae0b297
7c832e2
45e7e19
a6eee38
a1bcd55
8731d7f
5f5bec8
2c82b3a
ee58f87
6359969
8b58264
578faba
544369e
06888e8
ccdb7ee
3db9028
d6c7e0a
c609f24
28c42ef
071c946
fde82e2
f6e1a04
38e11f2
3e1bce2
61b7164
666e8af
ac97924
b1480ee
e436d8a
7a99ace
03d40fd
37cf13e
2a74b4c
95a7d5e
2535052
3f78e6c
76d8c21
0398a7d
6611d85
53e1b82
c511b79
06df927
84753ef
0c12586
be79895
3fb37a7
2a2dd7f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,10 +10,17 @@ | |
|
|
||
| from openmc.mpi import comm | ||
|
|
||
| import sys | ||
|
|
||
| # Configurable switch that enables / disables the use of | ||
| # multiprocessing routines during depletion | ||
| USE_MULTIPROCESSING = True | ||
|
|
||
| # Not sure why, but using multiprocessing on Windows leads to many transport | ||
| # simulations being run over eachother and leads to catastrophe. | ||
| if sys.platform == 'win32': | ||
| USE_MULTIPROCESSING = False | ||
|
Comment on lines
+19
to
+22
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We ought to get to the bottom of this since it should work in principle on Windows
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I completely agree, though I have not had time to look at it since. It was a while ago when I examined this, but from what I could tell I think it is a Python/Windows problem and not necessarily a bug on our side.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just as a note, turns out this same problem exists on my student's M1 mac. |
||
|
|
||
| # Allow user to override the number of worker processes to use for depletion | ||
| # calculations | ||
| NUM_PROCESSES = None | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.