-
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: Deprecated DynamicProfile used without deprecation guards #5065
Comments
This one may be difficult to fix, as it is used without max number of entries per row throughout the Trilinos stack. We may need help from other package developers to fix it correctly. Not sure how this one got through testing with TPETRA_ENABLE_DEPRECATED_CODE=OFF, though, as we use this method in Tpetra tests. |
FYI, I don't think any of the PR tests ever set |
@mhoemmen @jhux2 @csiefer2 @GeoffDanielson From the Tpetra side, I think the fix is straightforward:
For packages that use Tpetra::createCrs*, figuring out the appropriate value may be more difficult.
|
This looks simple to fix. I'll submit a PR. |
Thanks @mhoemmen Can you point me to this interface? All I see is interface that requires a matrix for C.
|
@kddevin Huh, I didn't realize we didn't have one of those. @trilinos/muelu I thought we had an interface like that? These interfaces might work if we just create an empty matrix, pass it in as the nonconst reference (output argument), and let MueLu do its setAllValues and expertStaticFillComplete thing. The idea is that MueLu expects an empty matrix and just clobbers it with raw arrays, so you don't need to preallocate storage. |
Tpetra DynamicProfile deprecation: some fixes for #5065
…s:develop' (2a84506). * trilinos-develop: (45 commits) Tpetra - I forgot to check stokhos. Tpetra - remove experimental block crs stuffs Ifpack2: responding to @mhoemmen 's review in trilinos#5426 Intrepid2: parallelize the Lagragian Interpolation tool (trilinos#5431) Tpetra - remove experimental block crs stuffss in other packages tacho: Replace deleted TaskSchedulerType alias tacho: remove unused scheduler_name from unit test file Tpetra - backward compatibility to experimental namespace Ifpack2: bug fix for sparse container staticProfile construction tacho: Fix -Werror For you Paul ;) Tacho - do not include test and example if rdc is off. Disable Tacho+Cuda testing until RDC is enabled Snapshot of kokkos-kernels.git from commit d86db111124cea12e23dd3447b6c307f96ef7439 Snapshot of kokkos.git from commit 2983b80d9aeafabb81f2c8c1c5a49b40cc0856cb ifpack2: more work toward static profile trilinos#5426 A count-allocate-fill pattern for SparseContainer. These changes may not be well tested yet; I am working my way through the tests. ifpack2: minor fixes for deprecating dynamic profile ifpack2: removed extraneous matrix creation (good catch, @mhoemmen) trilinos#5426 Removed RCPNode error bddc: Update interface for Tacho::Solver ifpack2: revisions to support static profile (round 1: ILUT) trilinos#5065 ...
…s:develop' (2a84506). * trilinos-develop: (45 commits) Tpetra - I forgot to check stokhos. Tpetra - remove experimental block crs stuffs Ifpack2: responding to @mhoemmen 's review in trilinos#5426 Intrepid2: parallelize the Lagragian Interpolation tool (trilinos#5431) Tpetra - remove experimental block crs stuffss in other packages tacho: Replace deleted TaskSchedulerType alias tacho: remove unused scheduler_name from unit test file Tpetra - backward compatibility to experimental namespace Ifpack2: bug fix for sparse container staticProfile construction tacho: Fix -Werror For you Paul ;) Tacho - do not include test and example if rdc is off. Disable Tacho+Cuda testing until RDC is enabled Snapshot of kokkos-kernels.git from commit d86db111124cea12e23dd3447b6c307f96ef7439 Snapshot of kokkos.git from commit 2983b80d9aeafabb81f2c8c1c5a49b40cc0856cb ifpack2: more work toward static profile trilinos#5426 A count-allocate-fill pattern for SparseContainer. These changes may not be well tested yet; I am working my way through the tests. ifpack2: minor fixes for deprecating dynamic profile ifpack2: removed extraneous matrix creation (good catch, @mhoemmen) trilinos#5426 Removed RCPNode error bddc: Update interface for Tacho::Solver ifpack2: revisions to support static profile (round 1: ILUT) trilinos#5065 ...
Bug Report
@trilinos/tpetra
Description
DynamicProfile is a deprecated feature.
It is used in Tpetra_CrsMatrix_decl.hpp without deprecation guards.
Trilinos/packages/tpetra/core/src/Tpetra_CrsMatrix_decl.hpp
Line 5039 in ec7ddad
Thus, building with TPETRA_ENABLE_DEPRECATED_CODE=OFF fails.
Related to #4701
Steps to Reproduce
Build Tpetra with TPETRA_ENABLE_DEPRECATED_CODE=OFF.
I am building with many other packages; I don't know if they are needed to see the error.
The text was updated successfully, but these errors were encountered: