-
Notifications
You must be signed in to change notification settings - Fork 578
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
Tpetra: Bad interaction with Kokkos ETI with XL compiler #8418
Comments
@trilinos/tpetra |
@trilinos/xpetra |
@tcfisher Sorry I missed this notification. The missing symbol |
@brian-kelley Thank you for looking at this. |
Remove static constexpr member variables from SpADD functors. In official C++ pre 17, these need out-of-class definitions just like non-constexpr static members, but I didn't add them here. GCC/Clang let this work anyway, but XL goes by the standard so this fixes building with XL.
OK, I thought I understood this but there are 2 other places in KokkosKernels that also use static constexpr variables, without a definition in a .cpp, but those didn't cause any errors on XL (I did replicate the linker error with ORDINAL_MAX). |
Remove static constexpr member variables from SpADD functors. In official C++ pre 17, these need out-of-class definitions just like non-constexpr static members, but I didn't add them here. GCC/Clang let this work anyway, but XL goes by the standard so this fixes building with XL.
#8443 fixes this. I built with XL on vortex all tests for KokkosKernels, Tpetra, Ifpack2, MueLu and got no errors. A handful of tests failed but I don't think they're related to this. |
Automatically Merged using Trilinos Pull Request AutoTester PR Title: KokkosKernels: remove static constexpr member (#8418) PR Author: brian-kelley
…s:develop' (e00327c). * trilinos-develop: Panzer STK: Add a test to verify the ability to query the PerceptMesh member Panzer STK: Add functionality for keeping and for querying an STK_Interface's PerceptMesh member Framework: Reduce rate limit for stale job actionscript Updated ninja Panzer: fix race condition with launch blocking off in GED accessor. MueLu: applying an ugly fix in SaPFactory_kokkos constraint algo Updated to cmake 19 for Ross' cuda schedule fixes TrilinosCouplings: Fixing maxwell example Tpetra: Fix issue in `transferAndFillComplete` Tpetra: Add test for trilinos#8447 forgot to add this fix to change the value in the P matrix Moving the Teko configuration to use the Tpetra default LO/GOs Add a test to MueLu_UnitTestsTpetra_kokkos that checks the SaP factory including the enforce constaint option. fix up some gold files fix up some gold files fix up some gold files fix up some gold files KokkosKernels: remove static constexpr member (trilinos#8418) fixed up an unused variable and a scalar traits comparison ... as well as updated a couple of gold files kokkos version of satisfy constraints for SaP
…s:develop' (e00327c). * trilinos-develop: Panzer STK: Add a test to verify the ability to query the PerceptMesh member Panzer STK: Add functionality for keeping and for querying an STK_Interface's PerceptMesh member Framework: Reduce rate limit for stale job actionscript Updated ninja Panzer: fix race condition with launch blocking off in GED accessor. MueLu: applying an ugly fix in SaPFactory_kokkos constraint algo Updated to cmake 19 for Ross' cuda schedule fixes TrilinosCouplings: Fixing maxwell example Tpetra: Fix issue in `transferAndFillComplete` Tpetra: Add test for trilinos#8447 forgot to add this fix to change the value in the P matrix Moving the Teko configuration to use the Tpetra default LO/GOs Add a test to MueLu_UnitTestsTpetra_kokkos that checks the SaP factory including the enforce constaint option. fix up some gold files fix up some gold files fix up some gold files fix up some gold files KokkosKernels: remove static constexpr member (trilinos#8418) fixed up an unused variable and a scalar traits comparison ... as well as updated a couple of gold files kokkos version of satisfy constraints for SaP
Appears to be fixed. Please re-open if not. Thanks for reporting, @tcfisher |
…develop' (c6ac7b3). * potential-trilinos-develop: (26 commits) Revert commit 75febde (trilinos#8471) Ifpack2: fix timers Panzer STK: Add a test to verify the ability to query the PerceptMesh member Panzer STK: Add functionality for keeping and for querying an STK_Interface's PerceptMesh member Automatic snapshot commit from tribits at 18f7981 Automatic snapshot commit from tribits at 0591d05 We don't need tweeks files for spack-rhel contributed (ATDV-406) MueLu: regionMG replacing Map with const Map where possible to avoid casting MueLu: applying an ugly fix in SaPFactory_kokkos constraint algo Bring back ride, remove serrano forgot to add this fix to change the value in the P matrix Moving the Teko configuration to use the Tpetra default LO/GOs Add a test to MueLu_UnitTestsTpetra_kokkos that checks the SaP factory including the enforce constaint option. fix up some gold files fix up some gold files fix up some gold files fix up some gold files KokkosKernels: remove static constexpr member (trilinos#8418) fixed up an unused variable and a scalar traits comparison ... as well as updated a couple of gold files kokkos version of satisfy constraints for SaP ...
Bug Report
@trilinos/tpetra
@jhux2
@brian-kelley
Description
SPARC is failing to link on vortex pwr9 seemingly because of the change in TpetraExt_MatrixMatrix_def.hpp from 75333e4. The XL compiler is the only place it has appeared. The error is as follows:
Please confirm that the deduced template arguments are the intended template arguments when using
GO=long long
andLO = int
.The text was updated successfully, but these errors were encountered: