-
Notifications
You must be signed in to change notification settings - Fork 99
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
Single precision on MacOS #155
Comments
MacOS 14.5, Xcode 15.4 |
I tried to get rid of this the warning in Cmake by adding a case for macOS to |
Can you try using internal BLAS first, with the following cmake definition: |
Compiling the project with |
This is good. However, the internal BLAS is not fast. You need to link with a high performance BLAS. |
I'll use double precision in any case so I'll think it should be okay. :) I still find it a bit confusing that it compiles if there is apparently no single precision implementation available, yet yields wrong results in the tests. If it is not available, I expected errors during compilation / linking. Also It appears to me that Xcode / Apple BLAS provides single precision interfaces (see https://developer.apple.com/documentation/accelerate/blas#1805465) but it wasn't immediately obvious to me how to include this in the library and which changes are necessary to facilitate single precision. |
A good public domain BLAS is OpenBLAS: https://www.openblas.net/ |
I tried installing and testing
superlu
(v7.0.0) by running the following commands:The tests failed for single precision and complex single precision failed:
I suppose that this is related to the cmake output
I also attach all logs (make , cmake, ctest). Is there a simple fix to get this running?
make.log
test.log
cmake.log
The text was updated successfully, but these errors were encountered: