-
Notifications
You must be signed in to change notification settings - Fork 16
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
Accelerate support is broken #38
Comments
Just in case, it is as broken with bundled
|
What version of macOS/compiler are you using here? It may be that the Eigen Accelerate wrapper only works with more recent version of the Accelerate solver. |
macOS 10.6, gcc 12.3.0. I do not think this is an Eigen3 problem, since we have some ports which use Eigen3 together with Accelerate (choice depends on the system and can be overridden, but older systems actually default to Accelerate), and that works with my system and compiler (I maintain some of those ports, so it is tested). For example, |
When I read the documentation of Accelerate for the error messages you reported, I see e.g. that vBool32 requires macOS 10.9+, or that SparseFactorization_t requires macOS 10.13+. That seems more like a Eigen problem than a Polysolve problem to be honest. I tried to look at how HIOP uses Accelerate, but I couldn't find any reference in the code. |
Eigen3 on its own certainly works on MacOS at least back to 10.5. It won’t use full vectorization on CPUs using ISA below 2.06 since those do not support VSX (perhaps some Altivec code is still used whenever supported by hardware). I am not sure what macOS uses on Intel, but from what I understand, vector implementations are very different. P. S. I need to check docs for older Accelerate and vecLibFort, what specifically was unsupported. I think a few Lapack functions were added rather recently, so those won’t be found and will need an alternative implementation like OpenBLAS. |
Do you have a MWE project with CMake + .cpp using the |
@jdumas If you could name a couple of specific projects that do use named functionality, I will see if they build and work on PowerPC. (I just do not know which inside parts of Eigen ports use.) |
I think a simple |
The text was updated successfully, but these errors were encountered: