trilinos / Trilinos

Primary repository for the Trilinos Project
https://trilinos.org/
Other
1.22k stars 570 forks source link

Trilinos, Tpetra, Kokkos and OpenMP #12508

Open dridzal opened 1 year ago

dridzal commented 1 year ago

Question

Are there examples of Trilinos configure options, and RHEL environment options, for the Tpetra/Kokkos linear algebra stack on a single MPI rank with OpenMP? The CPU is dual socket Intel Xeon. @trilinos/tpetra @trilinos/kokkos @trilinos/framework @trilinos/kokkos-kernels

jhux2 commented 1 year ago

@dridzal Have you tried -DTrilinos_ENABLE_OpenMP:BOOL=ON?

[EDIT]

You may also want Tpetra_INST_OPENMP:BOOL=ON.

dridzal commented 1 year ago

@jhux2 I haven't tried anything yet, I'm just getting started. I can try the options you mentioned. Will it grab all threads by default, or do I have to set some Kokkos env variables?

jhux2 commented 1 year ago

@dridzal That I don't know.

csiefer2 commented 1 year ago

@jhux2 Trilinos_ENABLE_OpenMP=ON by itself will have Tpetra build with OpenMP as its only Node type

github-actions[bot] commented 2 weeks ago

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity. If you would like to keep this issue open please add a comment and/or remove the MARKED_FOR_CLOSURE label. If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE. If it is ok for this issue to be closed, feel free to go ahead and close it. Please do not add any comments or change any labels or otherwise touch this issue unless your intention is to reset the inactivity counter for an additional year.