-
Notifications
You must be signed in to change notification settings - Fork 54
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
MPIBackend platform logic #875
Comments
Tested this
|
Maybe I'm missing something here, but don't we want |
posix path is Unix style, you’d want it True for Mac and Linux. The shlex.split function defaults with True, you only want to pass it posix=False for Windows so it can parse backslashes correctly. See the test examples above. |
Oh I get it now. It's a good thing I asked because I had that all mixed up in my head 🙃 Thanks @gtdang! |
Was inspecting the MPIBackend class and found this logic below.
hnn-core/hnn_core/parallel_backends.py
Lines 650 to 655 in ccef332
Isn't this setting posix=True for Windows and Mac (Darwin), and False for Linux? sys.platform docs
Although somehow MPI seems to be working OK on Linux despite the incorrect flag here?
The text was updated successfully, but these errors were encountered: