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

Is there a pthreads pool available that works on Windows? #2

Open
carlkl opened this issue Nov 24, 2021 · 8 comments
Open

Is there a pthreads pool available that works on Windows? #2

carlkl opened this issue Nov 24, 2021 · 8 comments

Comments

@carlkl
Copy link

carlkl commented Nov 24, 2021

see #1 (comment) and #1 (comment)
Related msys2 scipy issue: msys2/MINGW-packages#10164

Is pocketfft with thread support functional on windows? And if not, what has to be done to enable this functionality?

@mreineck
Copy link
Owner

I have not heard of problems with pocketfft on Windows so far, and my own CI tests for the successor package (https://github.com/litebird/ducc) seem to work fine with multiple threads on Windows. However those tests are using MSVC and do not require MinGW.

If someone could help me set up these tests for MinGW using Github Actions, I'm happy to do further analysis!

@carlkl
Copy link
Author

carlkl commented Nov 24, 2021

@mreineck, this is a nice reference project for our question. If will check, if this works with msys2 g++ as well.

@mreineck
Copy link
Owner

Very good! The multi-threading part has been moved out of the FFT code in this project, but it is essentially hte same as in pocketfft (just with some more functionality put on top). I'm sure that if we can get one to work, we'll manage with the other as well.

@carlkl
Copy link
Author

carlkl commented Nov 24, 2021

@mreineck, are there some simple test cases available as well?

@carlkl
Copy link
Author

carlkl commented Nov 24, 2021

ups, found it in the repo...

@carlkl
Copy link
Author

carlkl commented Nov 25, 2021

ducc0 binary wheels (Python-3.9 64bit) are available here for some time: https://my.hidrive.com/share/7gun0qvp2v

@peterbell10
Copy link
Contributor

It might help if you could grab some stack traces of where it hangs. However, If the bug really is in the compiler and/or system libraries then I'm not sure what we could do.

@carlkl
Copy link
Author

carlkl commented Nov 26, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants