-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Windows single threaded version compiled with mingw64 does not work #1253
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
Comments
How does "it does not work" manifest itself ? Do you get errors while compiling, or does the resulting library fail in any way ? |
Did you run 'make clean' between builds with different options? |
Yes, I did a clean build. No compliation error. The program crashes when runned. In unix it is ok. In addition, when I compiled openblas on mingw64 using 'make' & then runned using SET "OPENBLAS_NUM_THREADS=1", the program crashes. However, "OPENBLAS_NUM_THREADS=2" works fine. |
Which version of mingw, and did you specify any other options apart from USE_THREAD and USE_OPENMP ? |
I have compiled using mSYS2. The version was mingw-w64-gcc 7.1.0 (x86_64). As described eariler, using 'make' & setting "OPENBLAS_NUM_THREADS=1", the program crashes. However, "OPENBLAS_NUM_THREADS=2" works fine. |
Can you tell if it is a specific function call that crashes ? (We do not know what your program is or does) |
The single thread version on win hangs when dpotrf_(..) is called. Openblas is compiled on mingw64 as a dll & linked to program in msvc. > 1 thread works fine. |
Can you check with a debugger where exactly it hung? |
I have used 'make USE_THREAD=0 USE_OPENMP=0' on 0.2.19 & 0.2.20 & compiled on mingw64 using msys2 & it does not work. Compiling using 'make' works fine on windows.
The text was updated successfully, but these errors were encountered: