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

Manage better Pardiso dependency #74

Open
jd-lara opened this issue Feb 13, 2024 · 9 comments
Open

Manage better Pardiso dependency #74

jd-lara opened this issue Feb 13, 2024 · 9 comments
Assignees

Comments

@jd-lara
Copy link
Member

jd-lara commented Feb 13, 2024

Consider the following issue from the MKL library

JuliaLinearAlgebra/MKL.jl#146

JuliaLinearAlgebra/MKL.jl#129

Check the use of https://github.com/JuliaPackaging/Preferences.jl to avoid issues.

Refs for Mac Users

https://developer.apple.com/documentation/accelerate/sparse_solvers/sparse_direct_solving_functions_matrix_rhs

@jd-lara
Copy link
Member Author

jd-lara commented Feb 13, 2024

On top of this, some users have been facing challenges with the binaries in windows.

@jd-lara jd-lara self-assigned this Feb 13, 2024
@ViralBShah
Copy link

@jd-lara Try MKL.jl master to see if helps, and do see the recent PRs I merged.

@gmantegna
Copy link

@jd-lara I am still getting a warning about MKL_jll when I install and load in PowerNetworkMatrices on macOS with Apple Silicon. It seems everything is working fine, but are there plans to address this? Is it indicating something actually wrong or is everything fine? I will note also that MKL itself actually installs fine, when I install that on its own.

Screenshot 2024-07-26 at 2 27 56 PM

@ViralBShah
Copy link

ViralBShah commented Jul 27, 2024

macOS aarch64 is not an Intel platform, and hence won't have Intel MKL!

This is just a no-op and the warning is just fyi - not a sign of something being wrong or broken.

@gmantegna
Copy link

gmantegna commented Jul 29, 2024 via email

@ViralBShah
Copy link

I have been thinking about that too. This is really for the package author to address - because one could use AppleAccelerate on apple silicon, and should ideally not load MKL which is a platform specific library.

Perhaps we need a BLASPreferences.jl package that helps deal with all this in a more streamlined way.

@gmantegna
Copy link

Ok. @jd-lara any thoughts?

@jd-lara
Copy link
Member Author

jd-lara commented Jul 29, 2024

@gmantegna we support MKLPardiso for our HPC applications for large scale. Most of the developers from Sienna use Macs and we use the KLU solver since for systems below 15k buses there is no real difference between KLU and MKLPardiso.

TBH we mostly ignore that warning since we don't use that solver in Mac applications.

@ViralBShah
Copy link

You could just put an @static if platform check around MKL.

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