-
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: CrsGraph & CrsMatrix still use deprecated enum value DynamicProfile #5117
Comments
@trilinos/tpetra TpetraCore's tests and examples build, but some tests still fail.
When I fixed build errors, some Tpetra tests failed. Here is my PR with the attempt: #5118 (don't merge it yet!). |
@trilinos/tpetra Issue: trilinos#5117 - Fixes build errors in Tpetra's `CrsMatrix::createCrsMatrix` and `CrsGraph::createCrsGraph` associated with `DynamicProfile` - Fixes many build errors in Tpetra's tests Still has one build error: ``` duplicate symbol typeinfo name for Tpetra::Experimental::BlockMultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > in: packages/tpetra/core/src/CMakeFiles/tpetra.dir/Tpetra_Experimental_BlockMultiVector.cpp.o packages/tpetra/core/src/CMakeFiles/tpetra.dir/Tpetra_Experimental_BlockMultiVector_DOUBLE_INT_LONG_LONG_SERIAL.cpp.o duplicate symbol typeinfo for Tpetra::Experimental::BlockMultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > in: packages/tpetra/core/src/CMakeFiles/tpetra.dir/Tpetra_Experimental_BlockMultiVector.cpp.o packages/tpetra/core/src/CMakeFiles/tpetra.dir/Tpetra_Experimental_BlockMultiVector_DOUBLE_INT_LONG_LONG_SERIAL.cpp.o ld: 2 duplicate symbols for architecture x86_64 collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ```
Hmmm, after fixing the build errors (see branch tjfulle/Trilinos@c6d04b22) associated with
|
@tjfulle Where does this link error occur? -- on what file? |
I have a branch that now builds. Many tests fail because export/import operations that resize the target matrix are not yet supported (as they are for CrsGraph, see #4147). The tests could be made to pass by allocating sufficient space to the target matrices, but a longer term solution is to modify CrsMatrix to allow a target matrix (with static profile) to expand during import/export, which is being tracked in #5164 |
This is vomiting hundreds of warnings all over the SPARC build:
There is nothing they can do to avoid these warnings since they are in Trilinos. We need to have a policy that if someone is going to deprecate something in Trilinos then they need to build all downstream Trilinos packages and remove usage of all deprecated usage in those packages. |
Can't these particular deprecated warnings be turned off by default until all of the usages of these deprecated warnings can be removed from Trilinos? Then Tpetra and other developers can turn back on these particular warnings at will to keep working on getting rid if their usage downstream in Trilinos. I can show how this would work. It is very little CMake and C++ preprocessor code. What we are doing right now is training users of Trilinos to ignore deprecated warnings which defeats the purpose of deprecated warnings. |
…s:develop' (d1e19b9). * trilinos-develop: Error out if trying to set Kokkos Pthreads backend (TRIL-272) tpetra: changes to reduce the number of deprecated warnings issued trilinos#5117 Tpetra: Fix trilinos#5408 (build warning in CrsGraph) Tpetra::CrsMatrix: Fix trilinos#5407 Teuchos::ParameterList: Fix 2 shadowing warnings Tpetra: Add benchmark for CrsMatrix::sumIntoLocalValues
…s:develop' (d1e19b9). * trilinos-develop: Error out if trying to set Kokkos Pthreads backend (TRIL-272) tpetra: changes to reduce the number of deprecated warnings issued trilinos#5117 Tpetra: Fix trilinos#5408 (build warning in CrsGraph) Tpetra::CrsMatrix: Fix trilinos#5407 Teuchos::ParameterList: Fix 2 shadowing warnings Tpetra: Add benchmark for CrsMatrix::sumIntoLocalValues
Bug Report
@trilinos/tpetra
Description
When I disable deprecated code in Tpetra, I get the following build errors:
When I fix those and enable tests, I get the following build errors:
When I fix those build errors, I get the following:
When I fix that, I get the following:
I get a few more after this in other tests in TpetraCore.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: