Trilinos issueshttps://gitlab.osti.gov/jmwille/Trilinos/-/issues2017-02-03T16:00:49Zhttps://gitlab.osti.gov/jmwille/Trilinos/-/issues/1036Piro fails to compile2017-02-03T16:00:49ZJames WillenbringPiro fails to compile*Created by: aprokop*
@trilinos/nox @trilinos/piro
Here is the config:
```cmake
#!/bin/sh
EXTRA_ARGS=$@
ARGS=(
-D CMAKE_BUILD_TYPE=RELWITHDEBINFO
-D BUILD_SHARED_LIBS=ON
### COMPILERS AND FLAGS ###
-D ...*Created by: aprokop*
@trilinos/nox @trilinos/piro
Here is the config:
```cmake
#!/bin/sh
EXTRA_ARGS=$@
ARGS=(
-D CMAKE_BUILD_TYPE=RELWITHDEBINFO
-D BUILD_SHARED_LIBS=ON
### COMPILERS AND FLAGS ###
-D Trilinos_ENABLE_Fortran=OFF
-D CMAKE_CXX_FLAGS="-Wall -Wextra"
### TPLS ###
-D TPL_ENABLE_MPI=ON
-D TPL_ENABLE_BLAS=ON
-D TPL_ENABLE_LAPACK=ON
### ETI ###
-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION=ON
### PACKAGES CONFIGURATION ###
-D Trilinos_ENABLE_ALL_PACKAGES=OFF
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF
-D Trilinos_ASSERT_MISSING_PACKAGES=OFF
-D Trilinos_ENABLE_TESTS=OFF
-D Trilinos_ENABLE_EXAMPLES=OFF
-D Trilinos_ENABLE_Belos=ON
-D Trilinos_ENABLE_Epetra=ON
-D Trilinos_ENABLE_EpetraExt=ON
-D Trilinos_ENABLE_ML=ON
-D Trilinos_ENABLE_NOX=ON
-D Trilinos_ENABLE_Piro=ON
-D Trilinos_ENABLE_Teuchos=ON
### MISC ###
-D CMAKE_EXPORT_COMPILE_COMMANDS=OFF
-D Trilinos_ENABLE_INSTALL_CMAKE_CONFIG_FILES=OFF
-D Trilinos_DEPS_XML_OUTPUT_FILE=""
)
cmake -GNinja "${ARGS[@]}" $EXTRA_ARGS ../../
```
Here are the errors:
```
../../packages/piro/src/Piro_Epetra_LOCASolver.hpp:49:25: fatal error: LOCA_Epetra.H: No such file or directory
../../packages/piro/src/Piro_Epetra_NOXSolver.hpp:49:24: fatal error: NOX_Epetra.H: No such file or directory
../../packages/piro/src/Piro_Epetra_PerformSolve.cpp:51:42: fatal error: Thyra_EpetraModelEvaluator.hpp: No such file or directory
```https://gitlab.osti.gov/jmwille/Trilinos/-/issues/963plans for explicit template instantiation in Intrepid22017-01-05T20:17:26ZJames Willenbringplans for explicit template instantiation in Intrepid2*Created by: jhux2*
Are there plans to add ETI support in Intrepid2? This would help reduce build times in packages that depend on Intrepid2.
@trilinos/intrepid2 *Created by: jhux2*
Are there plans to add ETI support in Intrepid2? This would help reduce build times in packages that depend on Intrepid2.
@trilinos/intrepid2 https://gitlab.osti.gov/jmwille/Trilinos/-/issues/854Sacado: Internal compiler error with GCC 4.7.2 (MPI_DEBUG build)2016-11-16T22:25:27ZJames WillenbringSacado: Internal compiler error with GCC 4.7.2 (MPI_DEBUG build)*Created by: mhoemmen*
@trilinos/sacado @etphipp @bmpersc
```
.../Trilinos/packages/sacado/test/performance/fad_kokkos_hierarchical.cpp: In lambda function:
.../Trilinos/packages/sacado/test/performance/fad_kokkos_hierarchical.cpp...*Created by: mhoemmen*
@trilinos/sacado @etphipp @bmpersc
```
.../Trilinos/packages/sacado/test/performance/fad_kokkos_hierarchical.cpp: In lambda function:
.../Trilinos/packages/sacado/test/performance/fad_kokkos_hierarchical.cpp:519:9: internal compiler error: in make_decl_rtl, at varasm.c:1147
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
```
GCC 4.7.2 doesn't like lambdas with Kokkos. Lambdas are kind of essential to what you're doing, if the name means what I think it means, so I'm not sure if this will actually work with GCC 4.7.2 :(https://gitlab.osti.gov/jmwille/Trilinos/-/issues/86Consolidate TRILINOS_UNUSED_FUNCTION macro definition in Teuchos2016-03-03T17:53:03ZJames WillenbringConsolidate TRILINOS_UNUSED_FUNCTION macro definition in Teuchos*Created by: mhoemmen*
According to @bmpersc (see Issue #83), the logic for defining TRILINOS_UNUSED_FUNCTION appears twice in Tpetra and once in Teuchos. Since Tpetra depends on Teuchos, it would make sense to consolidate this logic i...*Created by: mhoemmen*
According to @bmpersc (see Issue #83), the logic for defining TRILINOS_UNUSED_FUNCTION appears twice in Tpetra and once in Teuchos. Since Tpetra depends on Teuchos, it would make sense to consolidate this logic in Teuchos. An alternate approach would be for each package to define its own ${PACKAGE}_UNUSED_FUNCTION macro. Either way, we shouldn't try to define the same thing three times. It's not causing build errors but it's error-prone.
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/144stokhos build failing on mira (trilinos-release-12-6-branch)2016-03-03T17:52:07ZJames Willenbringstokhos build failing on mira (trilinos-release-12-6-branch)*Created by: sarich*
This build is failing on mira.alcf.anl.gov, the master branch is compiling without any problems.
I'm using gcc-4.8.4
```
In file included from /gpfs/mira-fs1/projects/OSCon/sarich/petsc/arch-gcc-downloads/externa...*Created by: sarich*
This build is failing on mira.alcf.anl.gov, the master branch is compiling without any problems.
I'm using gcc-4.8.4
```
In file included from /gpfs/mira-fs1/projects/OSCon/sarich/petsc/arch-gcc-downloads/externalpackages/git.trilinos/build/packages/stokhos/src/Ifpack2_Details_Chebyshev_MP_Vector_Serial.cpp:55:1: required from here
/projects/OSCon/sarich/petsc/arch-gcc-downloads/include/Ifpack2_Details_Chebyshev_def.hpp:707:9: error: 'const class Tpetra::CrsGraph<int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial>, false>' has no member named 'getLocalDiagOffsets'
A_crsMat->getCrsGraph ()->getLocalDiagOffsets (diagOffsets_);
^
/projects/OSCon/sarich/petsc/arch-gcc-downloads/include/Ifpack2_Details_Chebyshev_def.hpp:725:11: error: 'const class Tpetra::CrsGraph<int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial>, false>' has no member named 'getLocalDiagOffsets'
A_crsMat->getCrsGraph ()->getLocalDiagOffsets (diagOffsets_);
```
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/169libstk_mesh_base in 12.6.1 includes references to undefined stk::CommBuffer2016-03-03T17:50:54ZJames Willenbringlibstk_mesh_base in 12.6.1 includes references to undefined stk::CommBuffer*Created by: bavier*
Building examples in TrilinosCouplings from the Trilinos 12.6.1 release tarball leads to the following build failures for me:
```
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference ...*Created by: bavier*
Building examples in TrilinosCouplings from the Trilinos 12.6.1 release tarball leads to the following build failures for me:
```
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::communicate()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommSparse::~CommSparse()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::all_reduce_impl(int, unsigned long const*, unsigned long*, unsigned int, int)'
../../../stk/stk_util/stk_util/use_cases/libstk_util_use_cases.so.12.6.1: undefined reference to `stk::BroadcastArg::BroadcastArg(int, int, char**)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::CommBroadcast(int, int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommSparse::CommSparse(int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBuffer::pack_overflow() const'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::all_reduce(int, void (*)(void*, void*, int*, int*), void*, void*, unsigned int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommSparse::communicate()'
../../../stk/stk_unit_tests/stk_mesh_fixtures/libstk_mesh_fixtures.so.12.6.1: undefined reference to `stk::parallel_machine_rank(int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::parallel_machine_barrier(int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::all_write_string(int, std::ostream&, std::string const&)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::send_buffer()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::allocate_buffers(int, unsigned int const*, unsigned int const*)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::~CommBroadcast()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommSparse::rank_error(char const*, int) const'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::allocate_buffers(unsigned int, bool, bool)'
../../../stk/stk_util/stk_util/use_cases/libstk_util_use_cases.so.12.6.1: undefined reference to `stk::BroadcastArg::~BroadcastArg()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::rank_error(char const*, int) const'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::communicate()'
../../../stk/stk_unit_tests/stk_mesh_fixtures/libstk_mesh_fixtures.so.12.6.1: undefined reference to `stk::parallel_machine_size(int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::~CommAll()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::recv_buffer()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::CommAll(bool)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBuffer::unpack_overflow() const'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::generate_parallel_unique_ids(unsigned long, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long, int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommSparse::allocate_buffers()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::allocate_buffer(bool)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::CommAll(int, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [packages/trilinoscouplings/examples/fenl/TrilinosCouplings_fenl_pce.exe] Error 1
```
And similarly for several other examples, though the error seems like it would cause trouble for any use of the stk_mesh_base library.
The issue appears to be that the stk_util_parallel library was disabled in the 12.6.1 release branch: 8fa32589887a1a4dd756a5317f7d669945f215dd, whose comment appears to suggest the intent was to disable the test, rather than removing the library completely?
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/103Build failure with superlu_dist2016-03-03T17:37:13ZJames WillenbringBuild failure with superlu_dist*Created by: balay*
We are seeing trilinos build failure [osx] when built with superlu_dist. It appears that packages/amesos2/src/Amesos2_Superludist_TypeMap.hpp is attempting to use both superlu_ddefs.h and superlu_zdefs.h at the same ...*Created by: balay*
We are seeing trilinos build failure [osx] when built with superlu_dist. It appears that packages/amesos2/src/Amesos2_Superludist_TypeMap.hpp is attempting to use both superlu_ddefs.h and superlu_zdefs.h at the same time - causing errors. My understanding is - only one of them should be used - but not both. cc:ing Sherry for clarification.
[builderror.txt](https://github.com/trilinos/Trilinos/files/105697/builderror.txt)
@bsmith@mcs.anl.gov
@sarich@mcs.anl.gov
@xsli@lbl.gov