Trilinos issueshttps://gitlab.osti.gov/jmwille/Trilinos/-/issues2018-06-05T22:06:03Zhttps://gitlab.osti.gov/jmwille/Trilinos/-/issues/2871Ifpack2: BlockTriDiContainer calls unknown method2018-06-05T22:06:03ZJames WillenbringIfpack2: BlockTriDiContainer calls unknown method*Created by: lucbv*
@trilinos/ifpack2
@kyungjoo-kim @ambrad
## Expectations
Ifpack2 should build...
## Current Behavior
If does not build, gcc returns the following error:
```
In file included from /home/lberge/Research/T...*Created by: lucbv*
@trilinos/ifpack2
@kyungjoo-kim @ambrad
## Expectations
Ifpack2 should build...
## Current Behavior
If does not build, gcc returns the following error:
```
In file included from /home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainer.cpp:59:0:
/home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainerUtil.hpp: In instantiation of ‘static tif_utest::BlockTriDiContainerTester<Scalar, LO, GO>::Int tif_utest::BlockTriDiContainerTester<Scalar, LO, GO>::test_BR_BTDC(const Teuchos::RCP<const Teuchos::Comm<int> >&, const StructuredBlock&, const StructuredBlockPart&, tif_utest::BlockTriDiContainerTester<Scalar, LO, GO>::Int, tif_utest::BlockTriDiContainerTester<Scalar, LO, GO>::Int, bool, bool, bool, bool, bool, const string&) [with Scalar = std::complex<double>; LO = int; GO = int; tif_utest::BlockTriDiContainerTester<Scalar, LO, GO>::Int = int; tif_utest::BlockTriDiContainerTester<Scalar, LO, GO>::StructuredBlock = tif_utest::BlockCrsMatrixMaker<std::complex<double>, int, int>::StructuredBlock; tif_utest::BlockTriDiContainerTester<Scalar, LO, GO>::StructuredBlockPart = tif_utest::BlockCrsMatrixMaker<std::complex<double>, int, int>::StructuredBlockPart; std::string = std::basic_string<char>]’:
/home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainer.cpp:292:51: required from ‘LO run_teuchos_tests(const Input&, Teuchos::FancyOStream&, bool&) [with Scalar = std::complex<double>; LO = int; GO = int; Teuchos::FancyOStream = Teuchos::basic_FancyOStream<char>]’
/home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainer.cpp:313:53: required from ‘void Ifpack2BlockTriDi_Unit_UnitTest<Scalar, LO, GO>::runUnitTestImpl(Teuchos::FancyOStream&, bool&) const [with Scalar = std::complex<double>; LO = int; GO = int; Teuchos::FancyOStream = Teuchos::basic_FancyOStream<char>]’
/home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainer.cpp:321:1: required from here
/home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainerUtil.hpp:238:9: error: ‘class Ifpack2::BlockTriDiContainer<Tpetra::RowMatrix<std::complex<double>, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> >, Ifpack2::BlockTriDiContainerDetails::ImplNotAvailTag>’ has no member named ‘createDefaultComputeParameters’
T_bare->compute(T_bare->createDefaultComputeParameters());
^
/home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainerUtil.hpp:293:49: error: ‘class Ifpack2::BlockTriDiContainer<Tpetra::RowMatrix<std::complex<double>, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> >, Ifpack2::BlockTriDiContainerDetails::ImplNotAvailTag>’ has no member named ‘getNorms0’
const auto n0 = T_bare->getNorms0();
^
/home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainerUtil.hpp:294:53: error: ‘class Ifpack2::BlockTriDiContainer<Tpetra::RowMatrix<std::complex<double>, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> >, Ifpack2::BlockTriDiContainerDetails::ImplNotAvailTag>’ has no member named ‘getNormsFinal’
const auto nf = T_bare->getNormsFinal();
^
/home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainerUtil.hpp:311:63: error: ‘class Ifpack2::BlockTriDiContainer<Tpetra::RowMatrix<std::complex<double>, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> >, Ifpack2::BlockTriDiContainerDetails::ImplNotAvailTag>’ has no member named ‘createDefaultApplyParameters’
auto input = T_bare->createDefaultApplyParameters();
^
/home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainerUtil.hpp:318:19: error: ‘class Ifpack2::BlockTriDiContainer<Tpetra::RowMatrix<std::complex<double>, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> >, Ifpack2::BlockTriDiContainerDetails::ImplNotAvailTag>’ has no member named ‘createDefaultApplyParameters’
input = T_bare->createDefaultApplyParameters();
^
/home/lberge/Research/Trilinos_lucbv/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainerUtil.hpp:325:21: error: ‘class Ifpack2::BlockTriDiContainer<Tpetra::RowMatrix<std::complex<double>, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> >, Ifpack2::BlockTriDiContainerDetails::ImplNotAvailTag>’ has no member named ‘createDefaultApplyParameters’
input = T_bare->createDefaultApplyParameters();
```
## Motivation and Context
This is blocking development and it also prevent nightly tests to run properly since Ifpack2 gets disabled by CMake.
## Definition of Done
Ifpack2 can be build again
## Possible Solution
It looks from the template: `Ifpack2::BlockTriDiContainerDetails::ImplNotAvailTag` that some implementation might be missing in which case BlockTriDiContatiner might not be ready to be pushed in develop?
Or the missing implementation needs to be added or guarded to avoid compilation issues?
## Steps to Reproduce
Get a fresh version of trilinos and enable Ifpack2, I tried with and without `openmp`, both are failing.
## Your Environment
- Trilinos SHA1: 0d2d3c9
- source Trilinos/cmake/load_sems_dev_env.sh
- Trilinos_ENABLE_Ifpack2https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2764Xpetra: link error ("file truncated"): GCC 4.9.3, MPI_DEBUG, OpenMP enabled2018-05-19T15:36:44ZJames WillenbringXpetra: link error ("file truncated"): GCC 4.9.3, MPI_DEBUG, OpenMP enabled*Created by: mhoemmen*
I'm trying to add a new test to Ifpack2. Ifpack2 depends optionally on Xpetra. When building Ifpack2's unit tests, I get the following link error:
```
Scanning dependencies of target belostpetra
[ 87%] Linkin...*Created by: mhoemmen*
I'm trying to add a new test to Ifpack2. Ifpack2 depends optionally on Xpetra. When building Ifpack2's unit tests, I get the following link error:
```
Scanning dependencies of target belostpetra
[ 87%] Linking CXX shared library libxpetra.so
[ 87%] Linking CXX shared library libbelosepetra.so
CMakeFiles/xpetra.dir/Utils/Xpetra_Utils.cpp.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [packages/xpetra/src/libxpetra.so.12.13] Error 1
CMakeFiles/belosepetra.dir/BelosEpetraAdapter.cpp.o: file not recognized: make[1]: File truncated*** [packages/xpetra/src/CMakeFiles/xpetra.dir/all] Error 2
```
This is an `MPI_DEBUG` build, with GCC 4.9.3 and OpenMP enabled. The corresponding `MPI_RELEASE` build does not have this issue.
@trilinos/xpetra @trilinos/muelu https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2767Question: generating file "TrilinosConfig.cmake"2018-05-16T22:47:40ZJames WillenbringQuestion: generating file "TrilinosConfig.cmake"*Created by: jhux2*
Is there a Trilinos cmake option that suppresses the creation/installation of the file `TrilinosConfig.cmake`? I am trying to figure out why my build of Trilinos does not have this file.
@trilinos/framework *Created by: jhux2*
Is there a Trilinos cmake option that suppresses the creation/installation of the file `TrilinosConfig.cmake`? I am trying to figure out why my build of Trilinos does not have this file.
@trilinos/framework https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2717Sacado: Remove calls to deprecated Kokkos::View methods2018-05-11T18:35:56ZJames WillenbringSacado: Remove calls to deprecated Kokkos::View methods*Created by: mhoemmen*
Kokkos will soon deprecate the following Kokkos::View methods:
1. `ptr_on_device()`: replace with `data()`
2. `dimension(N)` (for N = 0, 1, 2, ..., 7): replace with `extent(N)`
3. `dimension_N()` (for N =...*Created by: mhoemmen*
Kokkos will soon deprecate the following Kokkos::View methods:
1. `ptr_on_device()`: replace with `data()`
2. `dimension(N)` (for N = 0, 1, 2, ..., 7): replace with `extent(N)`
3. `dimension_N()` (for N = 0, 1, 2, ..., 7): replace with `extent(N)`
4. `is_contiguous()`: replace with `span_is_contiguous()`
5. `capacity()`: replace with `span()`
Sierra is already seeing build errors with its Trilinos integration build, since Sierra doesn't define `KOKKOS_ENABLE_DEPRECATED_CODE`. If that macro is not defined, code that uses the above methods will not build.
I tried straightforwardly replacing `ptr_on_device` with `data` and `dimension_N` with `extent(N)`, but got build errors like this:
```
.../Trilinos/packages/sacado/src/KokkosExp_View_Fad.hpp:1073:19: error: ‘Kokkos::Impl::ViewMapping<Kokkos::ViewTraits<Sacado::Fad::SFad<Sacado::Fad::SFad<double, 3>, 5>**, Kokkos::LayoutLeft, Kokkos::OpenMP>, void>::offset_type’ has no member named ‘extent’
( Rank == 0 ? m_offset.extent(0) :
```
The `m_offset` instance field is a `ViewMapping` specialization. I'm curious if `Kokkos::View`'s internals have since moved on from an implementation detail, upon which the Sacado specialization of `Kokkos::View` depends.
@trilinos/sacado @micahahoward @rrdrake @prwolfe @etphipp https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2574Tpetra: Compile error after commit 47e569d2018-04-19T15:13:23ZJames WillenbringTpetra: Compile error after commit 47e569d*Created by: lxmota*
@trilinos/tpetra
## Expectations
Trilinos should compile without error.
## Current Behavior
Compile errors with both clang and gcc of this type:
[trilinos-serial-gcc-release.log](https://github.com/t...*Created by: lxmota*
@trilinos/tpetra
## Expectations
Trilinos should compile without error.
## Current Behavior
Compile errors with both clang and gcc of this type:
[trilinos-serial-gcc-release.log](https://github.com/trilinos/Trilinos/files/1922123/trilinos-serial-gcc-release.log)
## Motivation and Context
Tpetra used for nightly tests and production runs in Albany. This error prevents further development.
## Definition of Done
Compile without error.
## Steps to Reproduce
Enable Tpetra and compile Trilinos.
## Your Environment
commit 47e569d
-DTrilinos_ENABLE_Tpetra:BOOL=ON
Fedora 27, gcc 7.3.1 or clang 5.01
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2543ShyLU: shadow warnings in Tacho2018-04-11T17:44:23ZJames WillenbringShyLU: shadow warnings in Tacho*Created by: jhux2*
There are a few shadow warnings in Tacho during a relatively vanilla build of Trilinos.
@trilinos/shylu
@kyungjoo-kim
```
In file included from /home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/sr...*Created by: jhux2*
There are a few shadow warnings in Tacho during a relatively vanilla build of Trilinos.
@trilinos/shylu
@kyungjoo-kim
```
In file included from /home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/Tacho.hpp:28:0,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Tacho_decl.hpp:51,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Tacho.hpp:47,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Factory.hpp:111,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2.hpp:45,
from /home/jhu/trilinos/Trilinos/packages/muelu/src/Smoothers/MueLu_Amesos2Smoother_def.hpp:56,
from packages/muelu/src/Utils/ExplicitInstantiation/MueLu_Amesos2Smoother.cpp:55:
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_SymbolicTools.hpp: In lambda function:
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_SymbolicTools.hpp:251:75: warning: declaration of ‘const ordinal_type_array& aj’ shadows a parameter [-Wshadow]
const ordinal_type_array &flag) -> ordinal_type {
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_SymbolicTools.hpp:224:52: note: shadowed declaration is here
const ordinal_type_array &aj,
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_SymbolicTools.hpp:251:75: warning: declaration of ‘const size_type_array& ap’ shadows a parameter [-Wshadow]
const ordinal_type_array &flag) -> ordinal_type {
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_SymbolicTools.hpp:223:49: note: shadowed declaration is here
const size_type_array &ap,
^
In file included from /home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/Tacho.hpp:56:0,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Tacho_decl.hpp:51,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Tacho.hpp:47,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Factory.hpp:111,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2.hpp:45,
from /home/jhu/trilinos/Trilinos/packages/muelu/src/Smoothers/MueLu_Amesos2Smoother_def.hpp:56,
from packages/muelu/src/Utils/ExplicitInstantiation/MueLu_Amesos2Smoother.cpp:55:
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_FactorizeChol.hpp: In member function ‘void Tacho::Experimental::TaskFunctor_FactorizeChol<MatValueType, ExecSpace>::operator()(Tacho::Experimental::TaskFunctor_FactorizeChol<MatValueType, ExecSpace>::member_type&, Tacho::Experimental::TaskFunctor_FactorizeChol<MatValueType, ExecSpace>::value_type&)’:
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_FactorizeChol.hpp:91:34: warning: declaration of ‘const ordinal_type r_val’ shadows a parameter [-Wshadow]
const ordinal_type r_val = factorize_internal(member, _s.max_decendant_schur_size, true);
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_FactorizeChol.hpp:81:56: note: shadowed declaration is here
void operator()(member_type &member, value_type &r_val) {
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_FactorizeChol.hpp:117:32: warning: declaration of ‘const ordinal_type r_val’ shadows a parameter [-Wshadow]
const ordinal_type r_val = factorize_internal(member, _s.n - _s.m, false);
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_FactorizeChol.hpp:81:56: note: shadowed declaration is here
void operator()(member_type &member, value_type &r_val) {
^
In file included from /home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/Tacho.hpp:57:0,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Tacho_decl.hpp:51,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Tacho.hpp:47,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Factory.hpp:111,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2.hpp:45,
from /home/jhu/trilinos/Trilinos/packages/muelu/src/Smoothers/MueLu_Amesos2Smoother_def.hpp:56,
from packages/muelu/src/Utils/ExplicitInstantiation/MueLu_Amesos2Smoother.cpp:55:
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_FactorizeCholPanel.hpp: In member function ‘void Tacho::Experimental::TaskFunctor_FactorizeCholPanel<MatValueType, ExecSpace>::operator()(Tacho::Experimental::TaskFunctor_FactorizeCholPanel<MatValueType, ExecSpace>::member_type&, Tacho::Experimental::TaskFunctor_FactorizeCholPanel<MatValueType, ExecSpace>::value_type&)’:
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_FactorizeCholPanel.hpp:95:34: warning: declaration of ‘const ordinal_type r_val’ shadows a parameter [-Wshadow]
const ordinal_type r_val = factorize_internal(member, _s.max_decendant_schur_size, true);
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_FactorizeCholPanel.hpp:85:56: note: shadowed declaration is here
void operator()(member_type &member, value_type &r_val) {
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_FactorizeCholPanel.hpp:121:32: warning: declaration of ‘const ordinal_type r_val’ shadows a parameter [-Wshadow]
const ordinal_type r_val = factorize_internal(member, _s.n - _s.m, false);
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_FactorizeCholPanel.hpp:85:56: note: shadowed declaration is here
void operator()(member_type &member, value_type &r_val) {
^
In file included from /home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/Tacho.hpp:61:0,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Tacho_decl.hpp:51,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Tacho.hpp:47,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Factory.hpp:111,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2.hpp:45,
from /home/jhu/trilinos/Trilinos/packages/muelu/src/Smoothers/MueLu_Amesos2Smoother_def.hpp:56,
from packages/muelu/src/Utils/ExplicitInstantiation/MueLu_Amesos2Smoother.cpp:55:
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_SolveLowerChol.hpp: In member function ‘void Tacho::Experimental::TaskFunctor_SolveLowerChol<MatValueType, ExecSpace>::operator()(Tacho::Experimental::TaskFunctor_SolveLowerChol<MatValueType, ExecSpace>::member_type&, Tacho::Experimental::TaskFunctor_SolveLowerChol<MatValueType, ExecSpace>::value_type&)’:
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_SolveLowerChol.hpp:93:34: warning: declaration of ‘const ordinal_type r_val’ shadows a parameter [-Wshadow]
const ordinal_type r_val = solve_internal(member, _s.max_decendant_schur_size, true);
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_SolveLowerChol.hpp:85:56: note: shadowed declaration is here
void operator()(member_type &member, value_type &r_val) {
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_SolveLowerChol.hpp:117:32: warning: declaration of ‘const ordinal_type r_val’ shadows a parameter [-Wshadow]
const ordinal_type r_val = solve_internal(member, _s.n - _s.m, false);
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_SolveLowerChol.hpp:85:56: note: shadowed declaration is here
void operator()(member_type &member, value_type &r_val) {
^
In file included from /home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/Tacho.hpp:62:0,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Tacho_decl.hpp:51,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Tacho.hpp:47,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2_Factory.hpp:111,
from /home/jhu/trilinos/Trilinos/packages/amesos2/src/Amesos2.hpp:45,
from /home/jhu/trilinos/Trilinos/packages/muelu/src/Smoothers/MueLu_Amesos2Smoother_def.hpp:56,
from packages/muelu/src/Utils/ExplicitInstantiation/MueLu_Amesos2Smoother.cpp:55:
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_SolveUpperChol.hpp: In member function ‘void Tacho::Experimental::TaskFunctor_SolveUpperChol<MatValueType, ExecSpace>::operator()(Tacho::Experimental::TaskFunctor_SolveUpperChol<MatValueType, ExecSpace>::member_type&, Tacho::Experimental::TaskFunctor_SolveUpperChol<MatValueType, ExecSpace>::value_type&)’:
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_SolveUpperChol.hpp:85:32: warning: declaration of ‘const ordinal_type r_val’ shadows a parameter [-Wshadow]
const ordinal_type r_val = solve_internal(member, _s.max_decendant_schur_size, true);
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_SolveUpperChol.hpp:81:56: note: shadowed declaration is here
void operator()(member_type &member, value_type &r_val) {
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_SolveUpperChol.hpp:89:32: warning: declaration of ‘const ordinal_type r_val’ shadows a parameter [-Wshadow]
const ordinal_type r_val = solve_internal(member, _s.n - _s.m, false);
^
/home/jhu/trilinos/Trilinos/packages/shylu/shylu_node/tacho/src/TachoExp_TaskFunctor_SolveUpperChol.hpp:81:56: note: shadowed declaration is here
void operator()(member_type &member, value_type &r_val) {
```https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2340MueLu: Link error with Kokkos (& Tpetra) disabled2018-04-10T15:59:55ZJames WillenbringMueLu: Link error with Kokkos (& Tpetra) disabled*Created by: mhoemmen*
```
CMakeFiles/MueLu_UnitTests.dir/TentativePFactory.cpp.o: In function `MueLuTests::TentativePFactory_NoQROption_UnitTest<double, int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>::runUnitTestImpl(Teuchos::basi...*Created by: mhoemmen*
```
CMakeFiles/MueLu_UnitTests.dir/TentativePFactory.cpp.o: In function `MueLuTests::TentativePFactory_NoQROption_UnitTest<double, int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>::runUnitTestImpl(Teuchos::basic_FancyOStream<char, std::char_traits<char> >&, bool&) const':
.../Trilinos/packages/muelu/test/unit_tests/TentativePFactory.cpp:333: undefined reference to `Teuchos::RCP<Xpetra::Map<int, int, Kokkos::Compat::KokkosOpenMPWrapperNode> > Galeri::Xpetra::CreateMap<int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>(Xpetra::UnderlyingLib, std::string const&, Teuchos::RCP<Teuchos::Comm<int> const> const&, Teuchos::ParameterList&)'
CMakeFiles/MueLu_UnitTests.dir/UnsmooshFactory.cpp.o: In function `MueLuTests::UnsmooshFactory_UnsmooshTentativeP_UnitTest<double, int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>::runUnitTestImpl(Teuchos::basic_FancyOStream<char, std::char_traits<char> >&, bool&) const':
.../Trilinos/packages/muelu/test/unit_tests/UnsmooshFactory.cpp:91: undefined reference to `Teuchos::RCP<Xpetra::Map<int, int, Kokkos::Compat::KokkosOpenMPWrapperNode> > Galeri::Xpetra::CreateMap<int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>(Xpetra::UnderlyingLib, std::string const&, Teuchos::RCP<Teuchos::Comm<int> const> const&, Teuchos::ParameterList&)'
CMakeFiles/MueLu_UnitTests.dir/VariableDofLaplacianFactory.cpp.o: In function `MueLuTests::VariableDofLaplacianFactory_VarLaplConstructor2_UnitTest<double, int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>::runUnitTestImpl(Teuchos::basic_FancyOStream<char, std::char_traits<char> >&, bool&) const':
.../Trilinos/packages/muelu/test/unit_tests/VariableDofLaplacianFactory.cpp:137: undefined reference to `Teuchos::RCP<Xpetra::Map<int, int, Kokkos::Compat::KokkosOpenMPWrapperNode> > Galeri::Xpetra::CreateMap<int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>(Xpetra::UnderlyingLib, std::string const&, Teuchos::RCP<Teuchos::Comm<int> const> const&, Teuchos::ParameterList&)'
CMakeFiles/MueLu_UnitTests.dir/VariableDofLaplacianFactory.cpp.o: In function `MueLuTests::VariableDofLaplacianFactory_VarLaplPtent_UnitTest<double, int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>::runUnitTestImpl(Teuchos::basic_FancyOStream<char, std::char_traits<char> >&, bool&) const':
.../Trilinos/packages/muelu/test/unit_tests/VariableDofLaplacianFactory.cpp:235: undefined reference to `Teuchos::RCP<Xpetra::Map<int, int, Kokkos::Compat::KokkosOpenMPWrapperNode> > Galeri::Xpetra::CreateMap<int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>(Xpetra::UnderlyingLib, std::string const&, Teuchos::RCP<Teuchos::Comm<int> const> const&, Teuchos::ParameterList&)'
CMakeFiles/MueLu_UnitTests.dir/Repartition.cpp.o: In function
`MueLuTests::Repartition_CoordinateMap_UnitTest<double, int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>::runUnitTestImpl(Teuchos::basic_FancyOStream<char, std::char_traits<char> >&, bool&) const':
.../Trilinos/packages/muelu/test/unit_tests/Repartition.cpp:855: undefined reference to `Teuchos::RCP<Xpetra::Map<int, int, Kokkos::Compat::KokkosOpenMPWrapperNode> > Galeri::Xpetra::CreateMap<int, int, Kokkos::Compat::KokkosOpenMPWrapperNode>(Xpetra::UnderlyingLib, std::string const&, Teuchos::RCP<Teuchos::Comm<int> const> const&, Teuchos::ParameterList&)'
collect2: error: ld returned 1 exit status
make[2]: *** [packages/muelu/test/unit_tests/MueLu_UnitTests.exe] Error 1
make[1]: *** [packages/muelu/test/unit_tests/CMakeFiles/MueLu_UnitTests.dir/all] Error 2
make: *** [all] Error 2
```
@trilinos/muelu https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2495Tpetra: compile error in OpenMP-only build2018-04-04T15:54:37ZJames WillenbringTpetra: compile error in OpenMP-only build*Created by: brian-kelley*
<!---
Provide a general summary of the issue in the Title above. If this issue
pertains to a particular package in Trilinos, it's worthwhile to start the
title with "PackageName: ".
-->
<!---
Note th...*Created by: brian-kelley*
<!---
Provide a general summary of the issue in the Title above. If this issue
pertains to a particular package in Trilinos, it's worthwhile to start the
title with "PackageName: ".
-->
<!---
Note that anything between these delimiters is a comment that will not appear
in the issue description once created. Click on the Preview tab to see what
everything will look like when you submit.
-->
<!---
Feel free to delete anything from this template that is not applicable to the
issue you are submitting.
-->
<!---
Replace <teamName> below with the appropriate Trilinos package/team name.
-->
@trilinos/tpetra
<!---
Assignees: If you know anyone who should likely tackle this issue, select them
from the Assignees drop-down on the right.
-->
<!---
Lables: Choose any applicable package names from the Labels drop-down on the
right. Additionally, choose a label to indicate the type of issue, for
instance, bug, build, documentation, enhancement, etc.
-->
<!---
Tell us what you think should happen, how you think things should work, what
you would like to see in the documentation, etc.
-->
## Current Behavior
<!---
Tell us how the current behavior fails to meet your expectations in some way.
-->
On bowman with Intel 17.0.098 and OpenMPI 1.10.4, a release build of Tpetra with OpenMP as the only Node type fails. Enabling both Serial and OpenMP makes the error go away. This was on a fresh pull from develop (as of Mar. 29).
```
[ 77%] Building CXX object packages/tpetra/core/test/inout/CMakeFiles/TpetraCore_ReadTriples.dir/ReadTriples.cpp.o
/home/bmkelle/FreshTrilinos/Trilinos/packages/tpetra/core/inout/Tpetra_Details_PackTriples.hpp(364): error: static assertion failed with "countPackTriples: OrdinalType lacks an MpiTypeTraits specialization."
static_assert (MpiTypeTraits<OrdinalType>::isSpecialized, "countPackTriples: "
^
detected during:
instantiation of "int Tpetra::Details::countPackTriples<ScalarType,OrdinalType>(int, const Teuchos::Comm<int> &, int &, std::ostream *) [with ScalarType=double, OrdinalType=<unnamed>::GO={long long}]" at line 689 of "/home/bmkelle/FreshTrilinos/Trilinos/packages/tpetra/core/inout/Tpetra_Details_ReadTriples.hpp" instantiation of "int Tpetra::Details::Impl::readAndSendOneBatchOfTriples(std::istream &, std::size_t={unsigned long} &, std::size_t={unsigned long} &, Teuchos::ArrayRCP<int> &, Teuchos::ArrayRCP<char> &, std::vector<GO, std::allocator<GO>> &, std::vector<GO, std::allocator<GO>> &, std::vector<SC, std::allocator<SC>> &, std::size_t={unsigned long}, int, const Teuchos::Comm<int> &, bool, std::ostream *, bool) [with SC=double, GO=<unnamed>::GO={long long}]" at line 1019 of "/home/bmkelle/FreshTrilinos/Trilinos/packages/tpetra/core/inout/Tpetra_Details_ReadTriples.hpp"
instantiation of "int Tpetra::Details::readAndDealOutTriples(std::istream &, std::size_t={unsigned long} &, std::size_t={unsigned long} &, std::function<int (GO, GO, const SC &)>, std::size_t={unsigned long}, const Teuchos::Comm<int> &, bool, std::ostream *, bool) [with SC=double, GO=<unnamed>::GO={long long}]" at line 210 of "/home/bmkelle/FreshTrilinos/Trilinos/packages/tpetra/core/test/inout/ReadTriples.cpp"
/home/bmkelle/FreshTrilinos/Trilinos/packages/tpetra/core/inout/Tpetra_Details_PackTriples.hpp(368): error #165: too few arguments in function call
MPI_Datatype ordinalDt = MpiTypeTraits<OrdinalType>::getType ();
^
detected during:
instantiation of "int Tpetra::Details::countPackTriples<ScalarType,OrdinalType>(int, const Teuchos::Comm<int> &, int &, std::ostream *) [with ScalarType=double, OrdinalType=<unnamed>::GO={long long}]" at line 689 of "/home/bmkelle/FreshTrilinos/Trilinos/packages/tpetra/core/inout/Tpetra_Details_ReadTriples.hpp"
instantiation of "int Tpetra::Details::Impl::readAndSendOneBatchOfTriples(std::istream &, std::size_t={unsigned long} &, std::size_t={unsigned long} &, Teuchos::ArrayRCP<int> &, Teuchos::ArrayRCP<char> &, std::vector<GO, std::allocator<GO>> &, std::vector<GO, std::allocator<GO>> &, std::vector<SC, std::allocator<SC>> &, std::size_t={unsigned long}, int, const Teuchos::Comm<int> &, bool, std::ostream *, bool) [with SC=double, GO=<unnamed>::GO={long long}]" at line 1019 of "/home/bmkelle/FreshTrilinos/Trilinos/packages/tpetra/core/inout/Tpetra_Details_ReadTriples.hpp"
```
<!---
How has this expectation failure affected you? What are you trying to
accomplish? Why do we need to address this? What does it have to do with
anything? Providing context helps us come up with a solution that is most
useful in the real world.
-->
<!---
Tell us what needs to happen. If necessary, give us a task list along the
lines of:
- [ ] First do this.
- [ ] Then do that.
- [ ] Also this other thing.
-->
<!---
Not obligatory, but suggest a fix for the bug or documentation, or suggest
ideas on how to implement the addition or change.
-->
## Steps to Reproduce
```
# in ../Trilinos/
git checkout f5753969053681ce7ec8d79f8aa0d159de59f35e
# in ../build/, put the module/configure script linked below
source config.sh
make -j8
```
<!---
Provide a link to a live example, or an unambiguous set of steps to reproduce
this issue. Include code to reproduce, if relevant.
1. Do this.
1. Do that.
1. Shake fist angrily at computer.
-->
## Your Environment
<!---
Include relevant details about your environment such that we can replicate this
issue.
-->
- Trilinos: f5753969053681ce7ec8d79f8aa0d159de59f35e
- bowman KNL testbed with icc 17.0.098
- [Module loading and Trilinos configure script](https://gist.github.com/brian-kelley/a27e8e6f8f71efa7dbb6cfe1499c8d18)
- Enabling Serial in the above configure script makes the build work
<!---
If applicable, let us know how this bug is related to any other open issues:
-->
## Additional Information
<!---
Anything else that might be helpful for us to know in addressing this issue:
* Configure log file:
* Build log file:
* Test log file:
* When was the last time everything worked (date/time; SHA1s; etc.)?
* What did you do that made the bug rear its ugly head?
* Have you tried turning it off and on again?
-->
[Full make output](https://gist.github.com/brian-kelley/40fb0368d081419e0e28f4d561aee43e)https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2419Shylu: build failure on MacOS2018-03-20T22:01:23ZJames WillenbringShylu: build failure on MacOS*Created by: ccober6*
I did a pull, and got several build errors on my MacOS. My last pull was sometime last week. Attached configure and make logs below. Did a fresh build; got the same errors.
@trilinos/shylu
## Expectation...*Created by: ccober6*
I did a pull, and got several build errors on my MacOS. My last pull was sometime last week. Attached configure and make logs below. Did a fresh build; got the same errors.
@trilinos/shylu
## Expectations
Should be able to build on Mac (has until recently).
## Your Environment
<!---
Include relevant details about your environment such that we can replicate this
issue.
-->
- **Relevant repo SHA1s:**
- **Relevant configure flags or configure script:**
- **Operating system and version:**
- **Compiler and TPL versions:**
## Related Issues
<!---
If applicable, let us know how this bug is related to any other open issues:
-->
* Blocks
* Is blocked by
* Follows
* Precedes
* Related to
* Part of
* Composed of
## Additional Information
* Configure log file:
[configure.log](https://github.com/trilinos/Trilinos/files/1827260/configure.log)
* Build log file:
[make.log](https://github.com/trilinos/Trilinos/files/1827277/make.log)
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2392Building Trilinos on Power 8+ CUDA environment2018-03-16T16:21:29ZJames WillenbringBuilding Trilinos on Power 8+ CUDA environment*Created by: keitat*
I am curious if anybody can share the experience of building Trillions (2nd generation packages) on Power 8 + CUDA environment. I have been struggling to build and run Tpetra examples on IBM testbed platforms. *Created by: keitat*
I am curious if anybody can share the experience of building Trillions (2nd generation packages) on Power 8 + CUDA environment. I have been struggling to build and run Tpetra examples on IBM testbed platforms. https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2348Tpetra::Map: CUDA build warnings2018-03-08T00:35:55ZJames WillenbringTpetra::Map: CUDA build warnings*Created by: mhoemmen*
In a CUDA (debug; haven't checked CUDA release today) build, `Tpetra::Map` emits many build warnings, of the following form:
```
.../Trilinos/packages/tpetra/core/src/Tpetra_Map_def.hpp(323): warning: integer co...*Created by: mhoemmen*
In a CUDA (debug; haven't checked CUDA release today) build, `Tpetra::Map` emits many build warnings, of the following form:
```
.../Trilinos/packages/tpetra/core/src/Tpetra_Map_def.hpp(323): warning: integer conversion resulted in a change of sign
detected during instantiation of "Tpetra::Map<LocalOrdinal, GlobalOrdinal, Node>::Map(Tpetra::global_size_t, size_t, GlobalOrdinal, const Teuchos::RCP<const Teuchos::Comm<int>> &, const Teuchos::RCP<Node> &) [with LocalOrdinal=int, GlobalOrdinal=int, Node=Tpetra::Kokkos_Compat_KokkosOpenMPWrapperNode]"
.../Trilinos/packages/tpetra/core/src/Tpetra_Map.cpp(56): here
.../Trilinos/packages/tpetra/core/src/Tpetra_Map_def.hpp(326): warning: integer conversion resulted in a change of sign
detected during instantiation of "Tpetra::Map<LocalOrdinal, GlobalOrdinal, Node>::Map(Tpetra::global_size_t, size_t, GlobalOrdinal, const Teuchos::RCP<const Teuchos::Comm<int>> &, const Teuchos::RCP<Node> &) [with LocalOrdinal=int, GlobalOrdinal=int, Node=Tpetra::Kokkos_Compat_KokkosOpenMPWrapperNode]"
.../Trilinos/packages/tpetra/core/src/Tpetra_Map.cpp(56): here
```
@trilinos/tpetra https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2345Tpetra: Fix build warnings in BlockCrs benchmark2018-03-07T22:20:36ZJames WillenbringTpetra: Fix build warnings in BlockCrs benchmark*Created by: mhoemmen*
@trilinos/tpetra *Created by: mhoemmen*
@trilinos/tpetra https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2273Teuchos: Add CMake test to set HAVE_TEUCHOS_KOKKOS_PROFILING2018-03-06T06:41:29ZJames WillenbringTeuchos: Add CMake test to set HAVE_TEUCHOS_KOKKOS_PROFILING*Created by: mhoemmen*
See #2271, in particular my comment here: https://github.com/trilinos/Trilinos/pull/2272#issuecomment-367517327
Teuchos actually does define a CMake option (`Teuchos_KOKKOS_PROFILING`) that controls `HAVE_TEUCH...*Created by: mhoemmen*
See #2271, in particular my comment here: https://github.com/trilinos/Trilinos/pull/2272#issuecomment-367517327
Teuchos actually does define a CMake option (`Teuchos_KOKKOS_PROFILING`) that controls `HAVE_TEUCHOS_KOKKOS_PROFILING`, but the default value of the CMake option is `OFF`. It doesn't check Kokkos' CMake options at all. We need Teuchos to enable this automatically by default, if the Kokkos package is enabled and if Kokkos profiling is enabled.
@trilinos/teuchos
## Motivation and Context
Lots of Trilinos packages use Teuchos timers. We want those packages to get the advantage of Kokkos profiling, without needing to change their existing Teuchos timer infrastructure. We also want this capability to exist by default; users shouldn't have to set nondefault CMake options to get it.
## Definition of Done
- [ ] Make Teuchos' CMake logic enable `Teuchos_KOKKOS_PROFILING` by default, if the Kokkos package is enabled and if Kokkos profiling is enabled.
- [ ] Test that the Teuchos code that uses Kokkos profiling hooks actually builds and runs correctly, since it hasn't been building or running by default.
## Related Issues
* Related to #2271 https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2339MueLu test fails to build when Tpetra is disabled2018-03-05T21:46:32ZJames WillenbringMueLu test fails to build when Tpetra is disabled*Created by: mhoemmen*
MueLu only optionally depends on Tpetra, but it fails to build when Tpetra (actually Kokkos, but Tpetra requires Kokkos) is disabled. Here is the build error I get:
```
[ 98%] Building CXX object packages/muelu...*Created by: mhoemmen*
MueLu only optionally depends on Tpetra, but it fails to build when Tpetra (actually Kokkos, but Tpetra requires Kokkos) is disabled. Here is the build error I get:
```
[ 98%] Building CXX object packages/muelu/test/unit_tests/CMakeFiles/MueLu_UnitTests.dir/Galeri.cpp.o
.../Trilinos/packages/muelu/test/unit_tests/Galeri.cpp:59:40: fatal error: TpetraCore_ETIHelperMacros.h: No such file or directory
#include <TpetraCore_ETIHelperMacros.h>
^
compilation terminated.
```
@trilinos/muelu
## Related Issues
* Blocks #2273 (downstream testing)
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2337Moertel: Undeclared Kokkos requirement2018-03-05T18:38:18ZJames WillenbringMoertel: Undeclared Kokkos requirement*Created by: mhoemmen*
When I enable Teuchos, disable Kokkos, and enable downstream packages, the Moertel package gets enabled. However, this results in a build error:
```
In file included from .../Trilinos/packages/moertel/src/morta...*Created by: mhoemmen*
When I enable Teuchos, disable Kokkos, and enable downstream packages, the Moertel package gets enabled. However, this results in a build error:
```
In file included from .../Trilinos/packages/moertel/src/mortar/mrtr_segment.cpp:47:0:
.../Trilinos/packages/moertel/src/mortar/Moertel_ExplicitTemplateInstantiation.hpp:55:25: error: ‘KokkosDeviceWrapperNode’ in namespace ‘Kokkos::Compat’ does not name a template type
typedef Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> KokkosNode;
```
`Trilinos/packages/moertel/cmake/Dependencies.cmake` declares an optional dependency on Kokkos, so the issue appears to be that no one has ever tested Moertel with Kokkos disabled.
@trilinos/moertel
## Possible Solution
Hide the typedef when Kokkos is disabled.
## Related Issues
* Blocks #2273 (I need to test downstream packages with Teuchos enabled and Kokkos disabled)
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/97libmuelu.a is Zero Length with Intel 15.5/16.1 Compiler when Building with Debug2018-03-03T00:41:23ZJames Willenbringlibmuelu.a is Zero Length with Intel 15.5/16.1 Compiler when Building with Debug*Created by: nmhamster*
We have seen a few builds where libmuelu.a is zero length or 8 bytes in length when installed. The common situation appears to be with roughly the packages required for NALU but also when CMAKE_BUILD_TYPE is set ...*Created by: nmhamster*
We have seen a few builds where libmuelu.a is zero length or 8 bytes in length when installed. The common situation appears to be with roughly the packages required for NALU but also when CMAKE_BUILD_TYPE is set to DEBUG and the compiler flags are set to -O3 -g. In all sightings so far we have been using either the Intel 15.3, 15.5 or 16.1 compilers. Looking at the object files some of these are quite large making me wonder if the collective size is exceeding limits somewhere in the archive/library building process. The result is that Muelu objects are not found in the library and linking fails. If CMAKE_BUILD_TYPE is set to RELEASE the library builds correctly and linking proceeds as expected.
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2316Teuchos: Build warning in BigUInt2018-03-02T18:34:38ZJames WillenbringTeuchos: Build warning in BigUInt*Created by: mhoemmen*
```
In file included from .../Trilinos/packages/teuchos/core/src/Teuchos_PrintDouble.cpp:43:
.../Trilinos/packages/teuchos/core/src/Teuchos_BigUInt.hpp:180:9: warning: variable 'xi' is used uninitialized wheneve...*Created by: mhoemmen*
```
In file included from .../Trilinos/packages/teuchos/core/src/Teuchos_PrintDouble.cpp:43:
.../Trilinos/packages/teuchos/core/src/Teuchos_BigUInt.hpp:180:9: warning: variable 'xi' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (i + ndigits < n) xi = x[i + ndigits] >> nbits;
^~~~~~~~~~~~~~~
.../Trilinos/packages/teuchos/core/src/Teuchos_BigUInt.hpp:254:10: note: in instantiation of member function 'Teuchos::BigUInt<34>::operator>>=' requested here
factor >>= 1;
^
.../Trilinos/packages/teuchos/core/src/Teuchos_PrintDouble.cpp:193:27: note: in instantiation of function template specialization 'Teuchos::operator/<34>' requested here
auto d_np1 = r_x_10 / s;
^
.../Trilinos/packages/teuchos/core/src/Teuchos_BigUInt.hpp:182:12: note: uninitialized use occurs here
x[i] = xi;
^~
.../Trilinos/packages/teuchos/core/src/Teuchos_BigUInt.hpp:180:5: note: remove the 'if' if its condition is always true
if (i + ndigits < n) xi = x[i + ndigits] >> nbits;
^~~~~~~~~~~~~~~~~~~~~
.../Trilinos/packages/teuchos/core/src/Teuchos_BigUInt.hpp:179:21: note: initialize the variable 'xi' to silence this warning
std::uint32_t xi;
^
= 0
```
@trilinos/teuchos
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2307Component "Pike" not found2018-02-28T16:58:38ZJames WillenbringComponent "Pike" not found*Created by: ecurtin2*
Hello,
I'm trying to build the demo in $TRILINOS_DIR/demos/buildAgainstTrilinos/build
I built trilinos by going into $TRILINOS_DIR and executing the following do-make.sh in that directory.
gcc/g++/gfortan ...*Created by: ecurtin2*
Hello,
I'm trying to build the demo in $TRILINOS_DIR/demos/buildAgainstTrilinos/build
I built trilinos by going into $TRILINOS_DIR and executing the following do-make.sh in that directory.
gcc/g++/gfortan versions are all 5.4.0
```
mkdir build
cd build
cmake -Bbuild .. \
-DCMAKE_C_COMPILER=/usr/bin/gcc \
-DCMAKE_CXX_COMPILER=/usr/bin/g++ \
-DCMAKE_Fortran_COMPILER=/usr/bin/gfortran \
-DTrilinos_ENABLE_ALL_PACKAGES=ON \
-DCMAKE_INSTALL_PATH=/home/evan/local \
-DCMAKE_INSTALL_PREFIX=/home/evan/local \
make -j3 install
wait
cd ..
```
When I try to run the do-cmake in $TRILINOS_DIR/demos/buildAgainstTrilinos/build
```
rm CMakeCache.txt
cmake \
-D Trilinos_PREFIX:PATH=/home/evan/local \
-D CMAKE_VERBOSE_MAKEFILE:BOOL=ON \
..
```
I get the following error:
```
CMake Warning at /home/evan/local/lib/cmake/Trilinos/TrilinosConfig.cmake:158 (MESSAGE):
Component "Pike" NOT found.
Call Stack (most recent call first):
CMakeLists.txt:11 (FIND_PACKAGE)
CMake Error at /home/evan/local/lib/cmake/Trilinos/TrilinosConfig.cmake:221 (include):
include could not find load file:
/home/evan/local/lib/cmake/Trilinos/../Pike/PikeConfig.cmake
Call Stack (most recent call first):
CMakeLists.txt:11 (FIND_PACKAGE)
Found Trilinos! Here are the details:
Trilinos_DIR = /home/evan/local/lib/cmake/Trilinos
Trilinos_VERSION = 12.13
Trilinos_PACKAGE_LIST = Pike;TrilinosCouplings; **[...Long list of packages]**
Trilinos_LIBRARIES = trilinoscouplings;stokhos_muelu; **[...Long List of packages]**
Trilinos_INCLUDE_DIRS = /home/evan/local/include
Trilinos_LIBRARY_DIRS = /home/evan/local/lib
Trilinos_TPL_LIST = DLlib;X11;Matio;Netcdf;Boost;LAPACK;BLAS;Pthread
Trilinos_TPL_INCLUDE_DIRS =
Trilinos_TPL_LIBRARIES =
Trilinos_TPL_LIBRARY_DIRS =
Trilinos_BUILD_SHARED_LIBS = FALSE
End of Trilinos details
-- Checking if MPI is enabled in Trilinos:
-- Checking if MPI is enabled in Trilinos: MPI NOT ENABLED
-- Looking for Epetra:
-- Looking for Epetra: -- found, compiling with -DMYAPP_EPETRA
-- Configuring incomplete, errors occurred!
See also "/home/evan/local/Trilinos/demos/buildAgainstTrilinos/build/CMakeFiles/CMakeOutput.log".
```https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2271Teuchos: Teuchos_config.h redundantly defines KOKKOS_ENABLE_PROFILING2018-02-22T00:46:08ZJames WillenbringTeuchos: Teuchos_config.h redundantly defines KOKKOS_ENABLE_PROFILING*Created by: mhoemmen*
`Teuchos_config.h` redundantly defines `KOKKOS_ENABLE_PROFILING`. This causes issues for users, especially when those users need to rewrite Trilinos' build system using bjam.
@trilinos/teuchos
## Possible ...*Created by: mhoemmen*
`Teuchos_config.h` redundantly defines `KOKKOS_ENABLE_PROFILING`. This causes issues for users, especially when those users need to rewrite Trilinos' build system using bjam.
@trilinos/teuchos
## Possible Solution
Teuchos already has a macro for expressing its optional dependence on KokkosCore; use that macro instead.
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2209Fix override warning in Tempus_TimeStepControlStrategy2018-02-20T21:54:38ZJames WillenbringFix override warning in Tempus_TimeStepControlStrategy*Created by: ccober6*
Getting several override warnings, e.g.,
Trilinos/packages/tempus/src/Tempus_TimeStepControlStrategyBasicVS.hpp:142:10: warning:
'setParameterList' overrides a member function but is not marked 'overrid...*Created by: ccober6*
Getting several override warnings, e.g.,
Trilinos/packages/tempus/src/Tempus_TimeStepControlStrategyBasicVS.hpp:142:10: warning:
'setParameterList' overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
void setParameterList(const Teuchos::RCP<Teuchos::ParameterList> & pList){
^
@trilinos/tempus
## Expectations
Build should be without warnings.
## Current Behavior
Get override warnings.
## Definition of Done
Build without warnings.