-
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
KokkosKernels Trilinos Integration Threads Compilation Failure #43
Comments
Kokkos does not support 100% the use of OpenMP and Threads, therefore first problem is not a real issue. However, trilinos pthread compilation still remains to be problem for my workstation. @crtrott , could you have a look at this problem? |
Kokkos specifically prohibits the simultaneous use of OpenMP and Threads (pthreads) back-ends due to a whole set of performance (even livelock) problems. The error message should have said as much. Perhaps the error message needs to be more clear about this restriction? |
The error messages I was getting are below. I don't know if there were more error messages about this, they might not be displayed as gtest emits standard output. In this unit test, Kokkos::initialize() initializes openmp, and then pthreads; and below error is thrown as a result of this. I was not getting this error if I specifically initialize execution spaces such as Kokkos::Threads::initialize() when all execution spaces are enabled in the compilation. Does kokkos prohibit the simultaneous use of them at runtime or also at compile time?
|
You are probably on an older version of Kokkos which didn't have the "I don't allow you to do this" in it. |
Closing the issue, rest can be followed in #46 |
@crtrott @srajama1
I am having some issues when I enable Threads in KokkosKernels.
With standalone make:
Within Trilinos cmake,
The text was updated successfully, but these errors were encountered: