-
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
Build error when MKL TPL is enabled #135
Comments
Sorry about this. Current pull request fixes this. I will simply disable this in Trilinos until the next KokkosKernels promotion, as it is not used anyway. |
Thanks @mndevec ! Thanks also for the Trilinos PR. |
Same problem also occurs for the file KokkosSparse_spgemm_mkl2phase_impl.hpp, a similar fix might help (compilation works, unit tests not done yet) |
@anates |
@mndevec Same compilation failure, I am using it through Trilinos |
@anates It looks like we are using different flags to enable MKL within Trilinos and standalone package. @crtrott @srajama1 : Am I missing a place where trilinos sets both of the flags? Is this a bug that we should fix in Trilinos? |
@anates |
Trilinos sets the flag based on a combination of things : TPL name, what is in _config.h.in and sometimes explicitly in a package/CMakeLists.txt. There is no one way to do this. I would check all three places and change to a consistent naming as needed |
The errors of not refreshing the screen, you have a fix already :) |
Siva, I am not sure, but I think why this was not caught in kokkoskernels tests is because the flag used in KokkosKernels is different. When we enable MKL in kokkoskernels, makefile system sets only the flag the "KOKKOSKERNELS_ENABLE_TPL_MKL", not HAVE_KOKKOSKERNELS_MKL. I think this part of the code may have never been compiled in standalone library. |
Let us review this code when you have few minutes. |
Please push fix to Trilinos as well. Thanks!
The text was updated successfully, but these errors were encountered: