-
Notifications
You must be signed in to change notification settings - Fork 573
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
MKL discovery in latest release #12102
Comments
I mean,
and that's on the |
Looks like it did not find the Intel compiler threading runtime (which explains the link errors about threading symbols). You'll need to add the compiler's 'lib' directory to BLAS_LIBRARY_DIRS and LAPACK_LIBRARY_DIRS, or use the non-threaded version of MKL. I've had issues with this type of thing repeatedly in the past. Intel does not make MKL very easy to use. For whatever it's worth, what you're doing is more or less what I've done for most CMake-based projects where I wanted to use MKL (including Trilinos). |
@bartlettroscoe is there a reason that it doesn't fail if it can't find ALL of the specified TPL libraries? I know it will error out if it can't find ANY of them, but it seems like we'd want it to error out unless it found everything that was specified. |
" what you're doing is more or less what I've done for most CMake-based projects where I wanted to use MKL (including Trilinos)." Right. But at least in Intel 2023 there is now a ton of |
@sebrowne that is what #10345 is about. See:
@VictorEijkhout, I have no experience with |
Leaving out |
I'm not really an expert on how the threaded MKL can affect performance. I'm guessing that @csiefer2 may be able to provide better insight? Or at least tag somebody who may? It does appear that you've got OpenMP enabled in your Trilinos configuration, so in general I think that Intel recommends using the threading library as well, but I know you can use threaded MKL if you're not using threaded code and vice-versa, so I believe it is primarily a performance question. |
Not necessary. If memory serves, this could actually causes problems if OpenMP is enable in Kokkos. Probably a question best asked on the Kokkos slack, though. |
Ok.
Closing. |
My blas specification passes all the cmake tests, but bombs during build.
Is there an easier way to spcify "I have MKL"?
V.
gcc12tril.zip
The text was updated successfully, but these errors were encountered: