Trilinos issueshttps://gitlab.osti.gov/jmwille/Trilinos/-/issues2019-06-08T15:27:26Zhttps://gitlab.osti.gov/jmwille/Trilinos/-/issues/5078Kokkos, MueLu: build errors in Sierra-Trilinos integration2019-06-08T15:27:26ZJames WillenbringKokkos, MueLu: build errors in Sierra-Trilinos integration*Created by: ajpowelsnl*
## Bug Report
@trilinos/\<PackageName\>
### Description
Please see the enclosed logs for the errors.
[bake_050219_errors.log.zip](https://github.com/trilinos/Trilinos/files/3140294/bake_050219_errors.l...*Created by: ajpowelsnl*
## Bug Report
@trilinos/\<PackageName\>
### Description
Please see the enclosed logs for the errors.
[bake_050219_errors.log.zip](https://github.com/trilinos/Trilinos/files/3140294/bake_050219_errors.log.zip)
### Steps to Reproduce
Please see previous tickets related to Sierra-Trilinos integration. In this case, the command was:
bake --verbose -j 1 --ninja trilinos-integration=on 2>&1 | tee my_log.txt
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/5117Tpetra: CrsGraph & CrsMatrix still use deprecated enum value DynamicProfile2019-06-08T15:27:25ZJames WillenbringTpetra: CrsGraph & CrsMatrix still use deprecated enum value DynamicProfile*Created by: mhoemmen*
## Bug Report
@trilinos/tpetra
### Description
When I disable deprecated code in Tpetra, I get the following build errors:
```
In file included from .../Trilinos/packages/tpetra/core/src/Tpetra_CrsGraph_...*Created by: mhoemmen*
## Bug Report
@trilinos/tpetra
### Description
When I disable deprecated code in Tpetra, I get the following build errors:
```
In file included from .../Trilinos/packages/tpetra/core/src/Tpetra_CrsGraph_SerialWrapperNode.cpp:52:
.../Trilinos/packages/tpetra/core/src/Tpetra_CrsGraph_decl.hpp:2582:59: error: use of undeclared identifier
'DynamicProfile'; did you mean 'StaticProfile'?
return rcp (new graph_type (map, maxNumEntriesPerRow, DynamicProfile, params));
^~~~~~~~~~~~~~
StaticProfile
.../Trilinos/packages/tpetra/core/src/Tpetra_ConfigDefs.hpp:131:5: note: 'StaticProfile' declared here
StaticProfile
^
In file included from .../Trilinos/packages/tpetra/core/src/Tpetra_CrsGraph_SerialWrapperNode.cpp:54:
In file included from .../Trilinos/packages/tpetra/core/src/Tpetra_CrsGraph_def.hpp:66:
In file included from .../Trilinos/packages/tpetra/core/src/Tpetra_Import_Util2.hpp:64:
.../Trilinos/packages/tpetra/core/src/Tpetra_CrsMatrix_decl.hpp:5039:43: error: use of undeclared identifier
'DynamicProfile'; did you mean 'StaticProfile'?
DynamicProfile, params));
^~~~~~~~~~~~~~
StaticProfile
```
When I fix those and enable tests, I get the following build errors:
```
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_insertGlobalIndicesFiltered.cpp:137:16: error: no member
named 'DynamicProfile' in namespace 'Tpetra'; did you mean 'StaticProfile'?
{Tpetra::DynamicProfile, Tpetra::StaticProfile};
~~~~~~~~^~~~~~~~~~~~~~
StaticProfile
.../Trilinos/packages/tpetra/core/src/Tpetra_ConfigDefs.hpp:131:5: note: 'StaticProfile' declared here
StaticProfile
^
...
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_UnitTests1.cpp:51:17: error: no member named
'DynamicProfile' in namespace 'Tpetra'; did you mean 'StaticProfile'?
using Tpetra::DynamicProfile;
~~~~~~~~^~~~~~~~~~~~~~
StaticProfile
.../Trilinos/packages/tpetra/core/src/Tpetra_ConfigDefs.hpp:131:5: note: 'StaticProfile' declared here
StaticProfile
^
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_UnitTests1.cpp:143:25: error: use of undeclared identifier
'DynamicProfile'; did you mean 'StaticProfile'?
GRAPH graph(map,1,DynamicProfile);
^~~~~~~~~~~~~~
StaticProfile
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_UnitTests1.cpp:53:17: note: 'StaticProfile' declared here
using Tpetra::StaticProfile;
^
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_UnitTests1.cpp:459:29: error: use of undeclared identifier
'DynamicProfile'; did you mean 'StaticProfile'?
GRAPH graph(map,map,0,DynamicProfile);
^~~~~~~~~~~~~~
StaticProfile
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_UnitTests1.cpp:53:17: note: 'StaticProfile' declared here
using Tpetra::StaticProfile;
^
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_UnitTests1.cpp:474:29: error: use of undeclared identifier
'DynamicProfile'; did you mean 'StaticProfile'?
GRAPH graph(map,map,0,DynamicProfile);
^~~~~~~~~~~~~~
StaticProfile
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_UnitTests1.cpp:53:17: note: 'StaticProfile' declared here
using Tpetra::StaticProfile;
^
```
When I fix _those_ build errors, I get the following:
```
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_UnitTests_Swap.cpp:415:15: error: no member named
'DynamicProfile' in namespace 'Tpetra'; did you mean 'StaticProfile'?
using Tpetra::DynamicProfile;
~~~~~~~~^~~~~~~~~~~~~~
StaticProfile
```
When I fix that, I get the following:
```
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_Issue601.cpp:100:52: error: no member named
'DynamicProfile' in namespace 'Tpetra'; did you mean 'StaticProfile'?
Tpetra::ProfileType profileTypes[] = { Tpetra::DynamicProfile, Tpetra::StaticProfile };
~~~~~~~~^~~~~~~~~~~~~~
StaticProfile
.../Trilinos/packages/tpetra/core/src/Tpetra_ConfigDefs.hpp:131:5: note: 'StaticProfile' declared here
StaticProfile
^
.../Trilinos/packages/tpetra/core/test/CrsGraph/CrsGraph_Issue601.cpp:107:39: error: no member named
'DynamicProfile' in namespace 'Tpetra'; did you mean 'StaticProfile'?
<< ((profileType == Tpetra::DynamicProfile) ? "Dynamic" : "Static")
~~~~~~~~^~~~~~~~~~~~~~
StaticProfile
```
I get a few more after this in other tests in TpetraCore.
### Steps to Reproduce
1. SHA1: 2b9c4fe7efa01ce25554fb5e03af821fcf071734https://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/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
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/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/261using the custom ninja build rebuilds fortran files every time2018-03-01T20:18:01ZJames Willenbringusing the custom ninja build rebuilds fortran files every time*Created by: bathmatt*
@bartlettroscoe
Everytime configure runs all the fortran files are rebuilt using the custom ninja. I edit the cmakefiles.txt in panzer and it recompiles all the fortran files, 1300 or so of them.
*Created by: bathmatt*
@bartlettroscoe
Everytime configure runs all the fortran files are rebuilt using the custom ninja. I edit the cmakefiles.txt in panzer and it recompiles all the fortran files, 1300 or so of them.
Get Trilinos building with CMake + Ninja + Fortranhttps://gitlab.osti.gov/jmwille/Trilinos/-/issues/351Teuchos: Improve build time by stripping many includes from Teuchos_ConfigDef...2018-07-20T18:40:48ZJames WillenbringTeuchos: Improve build time by stripping many includes from Teuchos_ConfigDefs.hpp*Created by: mhoemmen*
@trilinos/teuchos @bartlettroscoe @nmhamster
Lines 80-105 of Teuchos_ConfigDefs.hpp include a lot of standard library header files. Just about every Teuchos header file includes Teuchos_ConfigDefs.hpp, and many...*Created by: mhoemmen*
@trilinos/teuchos @bartlettroscoe @nmhamster
Lines 80-105 of Teuchos_ConfigDefs.hpp include a lot of standard library header files. Just about every Teuchos header file includes Teuchos_ConfigDefs.hpp, and many Trilinos packages include a Teuchos header file. Thus, everybody includes all those headers. That increases build time.
We really need to remove those includes. I tried doing something like this in Tpetra_ConfigDefs.hpp once, and it broke a bunch of stuff downstream. In theory, it's their fault that they relied on unnecessary upstream includes. In practice, if we break their build, it interrupts their work and makes them grumpy. Thus, it's important to test EVERY PACKAGE that depends on Teuchos. We really should also test external software that depends on Teuchos or its downstream packages. Examples include Dakota (https://dakota.sandia.gov) and Nalu (https://github.com/spdomin/Nalu). Nevertheless, we need to brace ourselves for some disruption and complaints.
Reduce build times for Trilinoshttps://gitlab.osti.gov/jmwille/Trilinos/-/issues/485OpenMP Detection Assumes GNU-Style Preprocessor Directive for Fortran (Incomp...2017-07-13T16:51:19ZJames WillenbringOpenMP Detection Assumes GNU-Style Preprocessor Directive for Fortran (Incompatible with IBM XLF)*Created by: nmhamster*
Trilinos OpenMP detection of flags for Fortran compiler does not work correctly with IBM XLF compiler on POWER8 platform. The detection assumes that the `-D` flag works for passing preprocessor defines through to...*Created by: nmhamster*
Trilinos OpenMP detection of flags for Fortran compiler does not work correctly with IBM XLF compiler on POWER8 platform. The detection assumes that the `-D` flag works for passing preprocessor defines through to the compiler. This is not the case for the IBM `xlf`and `xlf90` compilers where `-WF,-D` needs to be used if we expect the C preprocessor to be called. The correct check should be for `-qsmp=omp` to be found although its not clear this is correctly tested for (possible I have missed it in the error output).
```
/home/projects/pwr8-rhel72/ibm/xl/xlf/15.1.3/bin/xlf -O3 -g -qsmp=omp -qsimd=auto -L/home/projects/pwr8-rhel72/ibm/xl/xlf/15.1.3/lib -L/home/projects/pwr8-rhel72/ibm/xl/xlC/13.1.3/lib -lopen-pal -lxl -lxlopt -lxlf90 -lxlfmath -lm -libmc++ -lstdc++ -L/home/projects/pwr8-rhel72/openmpi/1.10.2/xl/13.1.3/cuda/7.5.7/lib -lmpi -O3 -g -qsmp=omp -qsimd=auto -L/home/projects/pwr8-rhel72/ibm/xl/xlf/15.1.3/lib -L/home/projects/pwr8-rhel72/ibm/xl/xlC/13.1.3/lib -lxlf90 -DOpenMP_FLAG_DETECTED -mp CMakeFiles/cmTC_48a9b.dir/src.F.o -o cmTC_48a9b -Wl,-export-dynamic
```
Yields (incorrect behavior) error of:
```
ld: warning: cannot find entry symbol nMP_FLAG_DETECTED; defaulting to 0000000010000860
```
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/611Thyra::DetachedVectorView warnings in gcc 6.22017-05-29T13:29:53ZJames WillenbringThyra::DetachedVectorView warnings in gcc 6.2*Created by: rppawlo*
@trilinos/thyra
The Thyra::DetachedVectorView is generating warnings with gcc 6.2 compiler due to exceptions being called in the destructor:
[ 98%] Building CXX object tempus/test/TestModels/CMakeFiles/tempus_te...*Created by: rppawlo*
@trilinos/thyra
The Thyra::DetachedVectorView is generating warnings with gcc 6.2 compiler due to exceptions being called in the destructor:
[ 98%] Building CXX object tempus/test/TestModels/CMakeFiles/tempus_test_models.dir/CDR_Model.cpp.o
In file included from /Users/rppawlo/Trilinos/packages/teuchos/core/src/Teuchos_Assert.hpp:46:0,
from /Users/rppawlo/Trilinos/packages/teuchos/core/src/Teuchos_Array.hpp:50,
from /Users/rppawlo/Trilinos/packages/rtop/src/interfaces/RTOpPack_Types.hpp:49,
from /Users/rppawlo/Trilinos/packages/thyra/core/src/interfaces/operator_vector/fundamental/Thyra_OperatorVectorTypes.hpp:46,
from /Users/rppawlo/Trilinos/packages/thyra/core/src/interfaces/operator_vector/fundamental/Thyra_VectorBase.hpp:46,
from /Users/rppawlo/Trilinos/packages/thyra/core/src/support/nonlinear/model_evaluator/client_support/Thyra_ModelEvaluatorDefaultBase.hpp:45,
from /Users/rppawlo/Trilinos/packages/thyra/core/src/support/nonlinear/model_evaluator/client_support/Thyra_StateFuncModelEvaluatorBase.hpp:45,
from /Users/rppawlo/Trilinos/tempus/test/TestModels/CDR_Model_decl.hpp:4,
from /Users/rppawlo/BUILD/tempus/test/TestModels/CDR_Model.hpp:1,
from /Users/rppawlo/Trilinos/tempus/test/TestModels/CDR_Model.cpp:4:
/Users/rppawlo/Trilinos/packages/thyra/core/src/support/operator_vector/client_support/Thyra_DetachedVectorView.hpp: In instantiation of 'Thyra::DetachedVectorView<Scalar>::~DetachedVectorView() [with Scalar = double]':
/Users/rppawlo/Trilinos/tempus/test/TestModels/CDR_Model_impl.hpp:184:43: required from 'void Tempus_Test::CDR_Model<Scalar>::set_x0(const Teuchos::ArrayView<const T>&) [with Scalar = double]'
/Users/rppawlo/Trilinos/tempus/test/TestModels/CDR_Model.cpp:8:3: required from here
/Users/rppawlo/Trilinos/packages/teuchos/core/src/Teuchos_TestForException.hpp:183:28: warning: throw will always call terminate() [-Wterminate]
throw Exception(omsgstr); \
^
/Users/rppawlo/Trilinos/packages/teuchos/core/src/Teuchos_TestForException.hpp:325:3: note: in expansion of macro TEUCHOS_TEST_FOR_EXCEPTION'
TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, std::logic_error, msg)
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rppawlo/Trilinos/packages/thyra/core/src/support/operator_vector/client_support/Thyra_DetachedVectorView.hpp:345:9: note: in expansion of macro 'TEUCHOS_TEST_FOR_EXCEPT_MSG'
TEUCHOS_TEST_FOR_EXCEPT_MSG(true, "I don't think non-unit stride has ever been tested!");
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rppawlo/Trilinos/packages/teuchos/core/src/Teuchos_TestForException.hpp:183:28: note: in C++11 destructors default to noexcept
throw Exception(omsgstr); \
^
/Users/rppawlo/Trilinos/packages/teuchos/core/src/Teuchos_TestForException.hpp:325:3: note: in expansion of macro TEUCHOS_TEST_FOR_EXCEPTION'
TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, std::logic_error, msg)
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rppawlo/Trilinos/packages/thyra/core/src/support/operator_vector/client_support/Thyra_DetachedVectorView.hpp:345:9: note: in expansion of macro 'TEUCHOS_TEST_FOR_EXCEPT_MSG'
TEUCHOS_TEST_FOR_EXCEPT_MSG(true, "I don't think non-unit stride has ever been tested!");
^~~~~~~~~~~~~~~~~~~~~~~~~~~
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/955PyTrilinos: move out SWIG detection to root cmake/2018-06-26T20:36:00ZJames WillenbringPyTrilinos: move out SWIG detection to root cmake/*Created by: aprokop*
ForTrilinos will use SWIG and thus this code could be shared by both.*Created by: aprokop*
ForTrilinos will use SWIG and thus this code could be shared by both.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/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/1104ctest -j and kokkos and hwloc2017-03-21T01:55:23ZJames Willenbringctest -j and kokkos and hwloc*Created by: bathmatt*
@nmhamster @rppawlo
Is there any procedure on how to test in parallel on the various systems
https://github.com/kokkos/kokkos/issues/630
points out an issue with openmp and thread binding.
I'm looking for...*Created by: bathmatt*
@nmhamster @rppawlo
Is there any procedure on how to test in parallel on the various systems
https://github.com/kokkos/kokkos/issues/630
points out an issue with openmp and thread binding.
I'm looking for a recipe on what do I configure with, and how do I test for the different platforms. Particularly for openmpi/RHEL, ellis, ride, shiller (cpu and gpu).
What are people using? Are you just reverting to -j1?
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1133Warnings in Trilinos CUDA build2017-05-26T00:11:02ZJames WillenbringWarnings in Trilinos CUDA build*Created by: bathmatt*
Right now we have 21K unique warnings when we build trilinos with cuda. I've attached a script to show this on shiller when one tries to build panzer. Because of this there is a lot of info lost in these warning...*Created by: bathmatt*
Right now we have 21K unique warnings when we build trilinos with cuda. I've attached a script to show this on shiller when one tries to build panzer. Because of this there is a lot of info lost in these warnings and it would be good to clean them up. I've attached the zip file with all the warnings listed. The worst is stk with boost errors,
If package owners can look at these and help reduce where we can. I'm following @mwglass suggestion to reduce the stk ones by including boost as a system lib. I know @rppawlo is looking at nox and @bartlettroscoe is looking at thyra.
[warn.zip](https://github.com/trilinos/Trilinos/files/841560/warn.zip)
@jwillenbring here is a question, do we want to assign issues to each of these packages to clean them up? Is this a priority?
1 5 117 shards.warn
1 7 144 ifpack2.warn
2 10 257 zoltan2.warn
2 10 257 zoltan.warn
2 10 299 kokkos-kernels.warn
2 14 277 triutils.warn
2 20 362 common.warn
3 15 421 tpetra.warn
3 21 466 aztecoo.warn
4 20 491 piro.warn
4 32 671 kokkos.warn
5 33 601 ml.warn
7 44 906 sacado.warn
8 156 3319 rol.warn
8 44 1276 stratimikos.warn
9 45 978 fei.warn
14 78 1953 belos.warn
14 86 2020 rythmos.warn
16 152 2539 teuchos.warn
17 109 2366 pamgen.warn
22 118 2682 nox.warn
27 137 3496 xpetra.warn
28 232 4968 epetraext.warn
32 501 9306 DrekarResearch.warn
33 257 5658 ifpack.warn
43 427 8170 teko.warn
45 335 7209 epetra.warn
49 257 8162 thyra.warn
70 447 9110 seacas.warn
108 1623 25106 panzer.warn
160 2375 39783 DrekarBase.warn
[config.txt](https://github.com/trilinos/Trilinos/files/841543/config.txt)
**Reproducability Instructions for single packages**
See reproducability instructions [below](https://github.com/trilinos/Trilinos/issues/1133#issuecomment-288105176).https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1524g++ -Wconversion warnings2017-08-02T14:04:38ZJames Willenbringg++ -Wconversion warnings*Created by: bradbell*
Compiling a simple Sacado example using the -Wconversion flag with g++ yields many warnings.
Example 1:
include/Teuchos_ScalarTraits.hpp:180:49: warning: conversion to ‘char’ from ‘int’ may alter its value [-...*Created by: bradbell*
Compiling a simple Sacado example using the -Wconversion flag with g++ yields many warnings.
Example 1:
include/Teuchos_ScalarTraits.hpp:180:49: warning: conversion to ‘char’ from ‘int’ may alter its value [-Wconversion]
static inline char random() { return std::rand(); } // RAB: This version should be used for an unsigned char, not char
~~~~~~~~~^~
Example 2:
include/Teuchos_as.hpp:1318:27: warning: conversion to ‘double’ alters ‘long int’ constant value [-Wfloat-conversion]
t < minVal || t > maxVal,
^
Kludge: Adding the following at the beginning of files that include triinos headers seems to work:
\# if COMPILER_IS_GNUCXX
\# pragma GCC diagnostic ignored "-Wfloat-conversion"
\# pragma GCC diagnostic ignored "-Wconversion"
\# endif
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1605MueLu Library Truncation with Intel 17.0 Series on KNL with Debugging2018-05-02T17:52:30ZJames WillenbringMueLu Library Truncation with Intel 17.0 Series on KNL with Debugging*Created by: nmhamster*
@trilinos/muelu - guys I am getting the library truncation error again:
```
[100%] Building CXX object packages/muelu/src/CMakeFiles/muelu.dir/Graph/MueLu_LinkedList.cpp.o
[100%] Building CXX object packages...*Created by: nmhamster*
@trilinos/muelu - guys I am getting the library truncation error again:
```
[100%] Building CXX object packages/muelu/src/CMakeFiles/muelu.dir/Graph/MueLu_LinkedList.cpp.o
[100%] Building CXX object packages/muelu/src/CMakeFiles/muelu.dir/Utils/ExplicitInstantiation/MueLu_FacadeClassBase.cpp.o
In file included from /home/sdhammo/git/trilinos-github-repo/packages/muelu/src/MueCentral/MueLu_Level.cpp(50):
/home/sdhammo/git/trilinos-github-repo/packages/muelu/src/MueCentral/MueLu_FactoryManagerBase.hpp(83): warning #858: type qualifier on return type is meaningless
const virtual bool hasFactory(const std::string& varName) const = 0;
^
[100%] Linking CXX executable Belos_Tpetra_LinearSolverFactory.exe
[100%] Built target Belos_Tpetra_LinearSolverFactory
[100%] Linking CXX static library libmuelu.a
/home/projects/x86-64-knl/binutils/2.26.0/bin/ar: libmuelu.a: File truncated
```
This is using Intel 17.0.098 compiler developer pack on our KNL test beds. If you recall, turning on debugging with the '-g' flag and asking for both OpenMP and Serial backends causes this to break. Unfortunately, I need both backends because they are both explicitly used by the application. This error occurs because the library objects exceed 2GB. I think we had this error before but you began to break up the libraries to reduce the size and so it went away for some time.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1652MueLu: Kokkos_Refactor option should check for upstream dependencies2017-08-31T15:45:30ZJames WillenbringMueLu: Kokkos_Refactor option should check for upstream dependencies*Created by: jhux2*
@trilinos/muelu
The MueLu cmake option `MueLu_ENABLE_Kokkos_Refactor` should include logic that checks that certain upstream dependencies and other cmake options are enabled.
- [ ] `-D MueLu_ENABLE_Experimenta...*Created by: jhux2*
@trilinos/muelu
The MueLu cmake option `MueLu_ENABLE_Kokkos_Refactor` should include logic that checks that certain upstream dependencies and other cmake options are enabled.
- [ ] `-D MueLu_ENABLE_Experimental:BOOL=ON`
- [ ] `-D MueLu_ENABLE_Kokkos_Refactor:BOOL=ON`
- [ ] `-D Xpetra_ENABLE_Experimental:BOOL=ON`
- [ ] `-D Xpetra_ENABLE_Kokkos_Refactor:BOOL=ON`
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1800CMake warning : Unparsed arguments2017-10-09T16:50:33ZJames WillenbringCMake warning : Unparsed arguments*Created by: mhoemmen*
@trilinos/amesos2
I just started getting the following warning when configuring Amesos2. It's a CUDA build, but that doesn't appear to matter here.
```
Processing enabled package: Amesos2 (Libs, Tests, Exam...*Created by: mhoemmen*
@trilinos/amesos2
I just started getting the following warning when configuring Amesos2. It's a CUDA build, but that doesn't appear to matter here.
```
Processing enabled package: Amesos2 (Libs, Tests, Examples)
CMake Warning at cmake/tribits/core/package_arch/TribitsGeneralMacros.cmake:283 (MESSAGE):
Arguments are being passed in but not used. UNPARSED_ARGUMENTS =
HEADERS;.../Trilinos/CHECKIN-CUDA-8.0/MPI_DEBUG/packages/amesos2/src/KLU2/Source/Amesos2_config.h;klu2_analyze_given.hpp;klu2_factor.hpp;klu2_refactor.hpp;klu2_analyze.hpp;klu2_free_numeric.hpp;klu2_scale.hpp;klu2_defaults.hpp;klu2_free_symbolic.hpp;klu2_solve.hpp;klu2_diagnostics.hpp;klu2.hpp;klu2_sort.hpp;klu2_dump.hpp;klu2_kernel.hpp;klu2_tsolve.hpp;klu2_extract.hpp;klu2_memory.hpp
Call Stack (most recent call first):
cmake/tribits/core/package_arch/TribitsAddExecutableAndTest.cmake:165 (TRIBITS_CHECK_FOR_UNPARSED_ARGUMENTS)
packages/amesos2/src/KLU2/Source/examples/CMakeLists.txt:1 (TRIBITS_ADD_EXECUTABLE_AND_TEST)
```https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1718Undefined LAPACK symbols on OS X 10.12 Sierra2018-07-25T08:02:34ZJames WillenbringUndefined LAPACK symbols on OS X 10.12 Sierra*Created by: plindsa*
I'm a new user trying to build Albany on a MacBook Pro running OS X Sierra. When building Albany (and Trilinos with tests enabled, oddly enough), I get the following error:
Undefined symbols for architecture x86...*Created by: plindsa*
I'm a new user trying to build Albany on a MacBook Pro running OS X Sierra. When building Albany (and Trilinos with tests enabled, oddly enough), I get the following error:
Undefined symbols for architecture x86_64:
"dggsvd", referenced from:
Epetra_LAPACK::GGSVD(char, char, char, int, int, int, int*, int*, double*, int, double*, int, double*, double*, double*, int, double*, int, double*, int, double*, int*, int*) const in libepetra.a(Epetra_LAPACK.cpp.o)
"sggsvd", referenced from:
Epetra_LAPACK::GGSVD(char, char, char, int, int, int, int*, int*, float*, int, float*, int, float*, float*, float*, int, float*, int, float*, int, float*, int*, int*) const in libepetra.a(Epetra_LAPACK.cpp.o)
I’ve tried a few things based on solutions other people having similar problems. The closest one I found was another user trying to build Albany on a mac (https://trilinos.org/pipermail/trilinos-users/2016-March/005397.html). Evidently, the work-around there was to use
-D BUILD_SHARED_LIBS:BOOL=OFF
but I tried that myself and it didn’t work for me. I also tried using g++ and clang++ vs. gcc when compiling, which I did using export CXX, but that didn't help either. Finally, I tried pointing to my Lapack install directory using
-D LAPACK_LIBRARY_DIRS:PATH="${LAPACK_ROOT}"
but that also was no good. Any help or advice on how to proceed would be appreciated.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1888Document best practices for linking apps against Trilinos with CUDA2017-10-25T21:12:28ZJames WillenbringDocument best practices for linking apps against Trilinos with CUDA*Created by: mhoemmen*
@trilinos/framework @trilinos/tpetra
It looks like applications are not linking against Trilinos with CUDA in the way that Trilinos itself builds and links with CUDA. See discussion here: https://github.com/g...*Created by: mhoemmen*
@trilinos/framework @trilinos/tpetra
It looks like applications are not linking against Trilinos with CUDA in the way that Trilinos itself builds and links with CUDA. See discussion here: https://github.com/gahansen/Albany/issues/195
This suggests that Trilinos needs to document best practices for linking applications against Trilinos with CUDA. It could be that applications have multiple good options, in which case Trilinos should document the strengths and weaknesses of each.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1900ML: Scary-looking warnings2017-10-25T19:43:00ZJames WillenbringML: Scary-looking warnings*Created by: mhoemmen*
@trilinos/ml Scary-looking warnings:
```
.../Trilinos/packages/ml/src/Operator/ml_op_utils.c:745:21: warning: incompatible pointer types passing 'idx_t **'
(aka 'long **') to parameter of type 'int **' [-...*Created by: mhoemmen*
@trilinos/ml Scary-looking warnings:
```
.../Trilinos/packages/ml/src/Operator/ml_op_utils.c:745:21: warning: incompatible pointer types passing 'idx_t **'
(aka 'long **') to parameter of type 'int **' [-Wincompatible-pointer-types]
ML_gsum_vec_int(&vtxdist,&tpwts,nprocs,matrix->comm);
^~~~~~~~
.../Trilinos/packages/ml/src/Utils/ml_utils.h:197:32: note: passing argument to parameter 'vals' here
void ML_gsum_vec_int(int *vals[], int *vals2[], int, ML_Comm *comm);
^
.../Trilinos/packages/ml/src/Operator/ml_op_utils.c:745:30: warning: incompatible pointer types passing 'idx_t **'
(aka 'long **') to parameter of type 'int **' [-Wincompatible-pointer-types]
ML_gsum_vec_int(&vtxdist,&tpwts,nprocs,matrix->comm);
^~~~~~
.../Trilinos/packages/ml/src/Utils/ml_utils.h:197:45: note: passing argument to parameter 'vals2' here
void ML_gsum_vec_int(int *vals[], int *vals2[], int, ML_Comm *comm);
^
.../Trilinos/packages/ml/src/Operator/ml_op_utils.c:2098:68: warning: implicit conversion from 'double' to 'int' changes
value from 1.0E+11 to 2147483647 [-Wliteral-conversion]
minStencil = ML_gmin_int( (proc_active ? mat->min_nz_per_row : 1e11), comm);
~~~~~~~~~~~ ^~~~
```https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1977Tpetra: Build warning in test2017-11-09T18:23:16ZJames WillenbringTpetra: Build warning in test*Created by: mhoemmen*
There is a build warning in a Tpetra test: `.../Trilinos/packages/tpetra/core/test/HashTable/computeOffsetsFromCounts.cpp(106): warning: function "<unnamed>::ExecSpaceName<Kokkos::Serial>::name" was declared but n...*Created by: mhoemmen*
There is a build warning in a Tpetra test: `.../Trilinos/packages/tpetra/core/test/HashTable/computeOffsetsFromCounts.cpp(106): warning: function "<unnamed>::ExecSpaceName<Kokkos::Serial>::name" was declared but never referenced`. Whether or not it appears depends on which execution spaces Tpetra uses.
@trilinos/tpetra
## Possible Solution
Tie the instantiations of the function in question, to the correct set of enabled execution spaces.
## Steps to Reproduce
I generally see this in a CUDA build.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1985Update c standard for Trillinos from c99 to c11.2017-11-13T16:21:59ZJames WillenbringUpdate c standard for Trillinos from c99 to c11.*Created by: prwolfe*
<!--- Provide a general summary of the issue in the Title above. -->
A number of trillinos files do not compile cleanly with c99 and since we are using c++11 I think it would be best to simply advance the c standa...*Created by: prwolfe*
<!--- Provide a general summary of the issue in the Title above. -->
A number of trillinos files do not compile cleanly with c99 and since we are using c++11 I think it would be best to simply advance the c standard as well. This was previously addressed in #1810 and #1974
<!---
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
<!---
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.
-->
## Expectations
<!---
Tell us what you think should happen, how you think things should work, what
you would like to see in the documentation, etc.
-->
All Trilinos codes should build without warnings and links should be expected to complete or fail based on the language specification given.
## Current Behavior
<!---
Tell us how the current behavior fails to meet your expectations in some way.
-->
Builds contain functions that are not available in c99. That creates a warning for an implicit function declaration, and then the link resolves the symbol from the (currently common) standard library. There is nothing guaranteeing that the symbol will continue to be available.
## Motivation and Context
<!---
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.
-->
Sierra builds are done with warnings-as-errors=on, so all these warnings cause build failures.
## Definition of Done
- [ ] Decide on a common standard for the c language between all the SART codes.
- [ ] Enforce that standard across all codes.
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1994ROL: Patch including <fstream> where needed2017-11-30T19:40:30ZJames WillenbringROL: Patch including <fstream> where needed*Created by: mhoemmen*
Some ROL files implicitly depend on `Teuchos_ConfigDefs.hpp` to include `<fstream>`. It wastes build time to include headers that most files don't need. The attached patch includes `<fstream>` where needed in RO...*Created by: mhoemmen*
Some ROL files implicitly depend on `Teuchos_ConfigDefs.hpp` to include `<fstream>`. It wastes build time to include headers that most files don't need. The attached patch includes `<fstream>` where needed in ROL. "Where needed" is based on enabling TeuchosCore and letting Trilinos' check-in test script enable all downstream packages, including ROL.
Here is the patch:
```
diff --git a/packages/rol/src/sol/sampler/ROL_SampleGenerator.hpp b/packages/rol/src/sol/sampler/ROL_SampleGenerator.hpp
index 7bbcb6b..35f09d1 100644
--- a/packages/rol/src/sol/sampler/ROL_SampleGenerator.hpp
+++ b/packages/rol/src/sol/sampler/ROL_SampleGenerator.hpp
@@ -47,10 +47,11 @@
#include "Teuchos_RefCountPtr.hpp"
#include "ROL_BatchManager.hpp"
#include "ROL_Vector.hpp"
+#include <fstream>
namespace ROL {
-template<class Real>
+template<class Real>
class SampleGenerator {
private:
int begin_;
@@ -72,13 +73,13 @@ public:
virtual ~SampleGenerator() {}
SampleGenerator(const Teuchos::RCP<BatchManager<Real> > &bman)
: begin_(0), bman_(bman) {}
- SampleGenerator(const SampleGenerator<Real> &sampler)
+ SampleGenerator(const SampleGenerator<Real> &sampler)
: begin_(sampler.begin_), bman_(sampler.bman_),
points_(sampler.points_), weights_(sampler.weights_) {}
virtual void update(const Vector<Real> &x) {
begin_ = 0;
- }
+ }
virtual int start(void) {
return begin_;
@@ -104,7 +105,7 @@ public:
virtual std::vector<Real> getMyPoint(const int i) const {
return points_[i];
- }
+ }
virtual Real getMyWeight(const int i) const {
return weights_[i];
```
@trilinos/rol
## Motivation and Context
Including too many header files increases build time and makes code fragile to upstream changes.
## Definition of Done
[ ] Apply the included patch to ROL.
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1995Anasazi,Belos,Stratimikos,Teuchos: Remove use of HAVE_COMPLEX macro2017-11-16T21:32:46ZJames WillenbringAnasazi,Belos,Stratimikos,Teuchos: Remove use of HAVE_COMPLEX macro*Created by: mhoemmen*
Anasazi, Belos, and Stratimikos all use the `HAVE_COMPLEX` macro. This is defined (unconditionally!) in `Teuchos_ConfigDefs.hpp`, where a comment marks it as a backwards compatibility measure. This macro pollute...*Created by: mhoemmen*
Anasazi, Belos, and Stratimikos all use the `HAVE_COMPLEX` macro. This is defined (unconditionally!) in `Teuchos_ConfigDefs.hpp`, where a comment marks it as a backwards compatibility measure. This macro pollutes the global namespace; let's get rid of it.
@trilinos/anasazi @trilinos/belos @trilinos/stratimikos @trilinos/teuchos
## Motivation and Context
It's bad to pollute the global namespace with macros, especially if those macros have general, non-namespaced names that could easily collide with other projects' macros. Furthermore, the macro is unconditionally defined, so it is not meaningful.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/1999shylu build failure: gtest/gtest.h: No such file or directory2018-09-21T22:35:28ZJames Willenbringshylu build failure: gtest/gtest.h: No such file or directory*Created by: nschloe*
Since recently, I'm getting build failures like
```
/path/to/packages/shylu/shylu_node/tacho/unit-test/Tacho_TestSerial_double.cpp:1:25:
fatal error: gtest/gtest.h: No such file or directory
#include <gtest/g...*Created by: nschloe*
Since recently, I'm getting build failures like
```
/path/to/packages/shylu/shylu_node/tacho/unit-test/Tacho_TestSerial_double.cpp:1:25:
fatal error: gtest/gtest.h: No such file or directory
#include <gtest/gtest.h>
^
```
on master ([full details](https://launchpadlibrarian.net/345861590/buildlog_ubuntu-zesty-amd64.trilinos_12.13~git201711150649-efee3717-1zesty1_BUILDING.txt.gz)). Installing `libgtest-dev` probably fixes this, but I guess this sort of compile error wants to be intercepted by CMake; see [`FindGTest`](https://cmake.org/cmake/help/v3.0/module/FindGTest.html).https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2068Dashboard ride CUDA build fails in config; can't find BLAS2017-12-09T20:57:02ZJames WillenbringDashboard ride CUDA build fails in config; can't find BLAS*Created by: mhoemmen*
The Dashboard CUDA build for ride does not pass the configure process, because it fails to find the BLAS:
https://testing.sandia.gov/cdash/viewConfigure.php?buildid=3264127
@trilinos/framework
## Expecta...*Created by: mhoemmen*
The Dashboard CUDA build for ride does not pass the configure process, because it fails to find the BLAS:
https://testing.sandia.gov/cdash/viewConfigure.php?buildid=3264127
@trilinos/framework
## Expectations
Working ride Dashboard build.
## Current Behavior
The ride build doesn't get through the configure process, because it can't find the BLAS.
## Motivation and Context
Applications use Trilinos on ride with CUDA, and need to see a working Dashboard build.
## Possible Solution
Talk to @micahahoward et al. to see how they build on ride. Match their CMake configuration.
## Steps to Reproduce
1. Gaze upon the Dashboard
2. Behold, the ride build reports an error at configure time
## Related Issues
* Related to #1753, #1699, #1675, #1574, #1216
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2075ShyLU Basker build failure with new CMake changes2017-12-13T13:37:36ZJames WillenbringShyLU Basker build failure with new CMake changes*Created by: ndellingwood*
<!--- Provide a general summary of the issue in the Title above. -->
While testing the recent CMake changes discussed in issue #1400 Trilinos fails to build with ShyLU Basker enabled with the following error:...*Created by: ndellingwood*
<!--- Provide a general summary of the issue in the Title above. -->
While testing the recent CMake changes discussed in issue #1400 Trilinos fails to build with ShyLU Basker enabled with the following error:
```
/Users/ndellin/Research/trilinos-dev/Trilinos/packages/amesos2/src/Amesos2_Basker_FunctionMap.hpp:64:41: fatal error: shylubasker_trilinos_decl.hpp: No such file or directory
compilation terminated.
```
The file above is not being found from the directory `Trilinos/packages/shylu/shylu_node/basker/src`
<!---
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/kokkos @trilinos/shylu @bartlettroscoe @crtrott @ndellingwood
<!---
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.
-->
## Expectations
<!---
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.
-->
With the new CMake changes Trilinos fails to build with ShyLU Basker enabled.
## Motivation and Context
<!---
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.
-->
Trilinos builds with ShyLU Basker enabled on the develop branch without the CMake changes. Xyce uses this package and would be affected by this issue.
## Definition of Done
<!---
Tell us what needs to happen. If necessary, give us a task lisk along the
lines of:
- [ ] First do this.
- [ ] Then do that.
- [ ] Also this other thing.
-->
## Possible Solution
<!---
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
<!---
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.
-->
1. Clone Kokkos and checkout the develop branch
2. Clone Trilinos and checkout the kokkos-promotion branch
3. Create symbolic link to kokkos in the Trilinos directory; add corresponding line to configure line/file: `-DKokkos_SOURCE_DIR_OVERRIDE:STRING=kokkos`
4. Create a build directory and configure Trilinos - my configure script is attached (change the TPL directories if using system installs or SEMS modules)
5. Build Trilinos - make -j
6. Observe the error towards the end of compilation ~95%
Configure script:
```
#!/bin/bash
export SRCDIR=/Users/ndellin/Research/trilinos-dev/Trilinos
TPL_PATH=/Users/ndellin/Research/TPL
BLAS_PATH=${TPL_PATH}/BLAS-3.6.0
LAPACK_PATH=${TPL_PATH}/lapack-3.6.1
SCOTCH_PATH=${TPL_PATH}/scotch_6.0.3
export INSTALL_LOCATION=${PWD}/install
rm -rf CMakeCache.txt CMakeFiles
cmake \
\
-D CMAKE_INSTALL_PREFIX:PATH="${INSTALL_LOCATION}" \
-D CMAKE_CXX_FLAGS:STRING="-DSHYLU_NODEBASKER -g" \
-D CMAKE_MAKE_PROGRAM="make" \
-D CMAKE_BUILD_TYPE:STRING=RELEASE \
-D CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
-D BUILD_SHARED_LIBS:BOOL=OFF \
-D Trilinos_VERBOSE_CONFIGURE:BOOL=OFF \
\
-D TPL_ENABLE_MPI:BOOL=ON \
-D CMAKE_CXX_COMPILER:FILEPATH="`which mpicxx`" \
-D CMAKE_C_COMPILER:FILEPATH="`which mpicc`" \
-D CMAKE_Fortran_COMPILER:FILEPATH="`which mpifort`" \
\
-D TPL_ENABLE_ParMETIS:BOOL=OFF \
-D TPL_ENABLE_Scotch:BOOL=ON \
-D Scotch_INCLUDE_DIRS:PATH="${SCOTCH_PATH}/include" \
-D Scotch_LIBRARY_DIRS:PATH="${SCOTCH_PATH}/lib" \
-D Scotch_LIBRARY_NAMES:STRING="scotch;scotcherr" \
-D TPL_ENABLE_BLAS:STRING=ON \
-D BLAS_LIBRARY_DIRS:FILEPATH=${BLAS_PATH} \
-D TPL_BLAS_LIBRARIES="-lblas" \
-D TPL_ENABLE_LAPACK:STRING=ON \
-D LAPACK_LIBRARY_DIRS:FILEPATH=${LAPACK_PATH} \
-D TPL_LAPACK_LIBRARIES="-llapack" \
\
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF \
-D Trilinos_ENABLE_COMPLEX_DOUBLE:BOOL=ON \
-D Trilinos_ENABLE_DEBUG:BOOL=OFF \
-D Trilinos_ENABLE_EXAMPLES:BOOL=OFF \
-D Trilinos_ENABLE_TESTS:BOOL=OFF \
\
-D Trilinos_ENABLE_Amesos:BOOL=ON \
-D Amesos_ENABLE_KLU:BOOL=ON \
\
-D Trilinos_ENABLE_CHECKED_STL:BOOL=OFF \
-D Trilinos_ENABLE_OpenMP:BOOL=ON \
-D Trilinos_ENABLE_Kokkos:BOOL=ON \
-D Kokkos_SOURCE_DIR_OVERRIDE:STRING=kokkos \
-D Kokkos_ENABLE_OpenMP:BOOL=ON \
-D Kokkos_ENABLE_EXAMPLES:BOOL=OFF \
-D Kokkos_ENABLE_TESTS:BOOL=OFF \
-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \
-D Trilinos_ENABLE_Epetra:BOOL=ON \
-D Epetra_ENABLE_EXAMPLES:BOOL=OFF \
-D Epetra_ENABLE_TESTS:BOOL=OFF \
-D Trilinos_ENABLE_EpetraExt:BOOL=ON \
-D EpetraExt_ENABLE_EXAMPLES:BOOL=OFF \
-D EpetraExt_ENABLE_TESTS:BOOL=OFF \
-D Trilinos_ENABLE_Tpetra:BOOL=ON \
-D Tpetra_ENABLE_EXAMPLES:BOOL=OFF \
-D Tpetra_ENABLE_TESTS:BOOL=OFF \
-D Trilinos_ENABLE_TeuchosRemainder:BOOL=ON \
-D Trilinos_ENABLE_ShyLU_NodeBasker:BOOL=ON \
-D ShyLU_NodeBasker_ENABLE_TESTS:BOOL=ON \
-D ShyLU_NodeBasker_ENABLE_EXAMPLES:BOOL=ON \
-D Trilinos_ENABLE_Amesos2:BOOL=ON \
-D Amesos2_ENABLE_TESTS:BOOL=ON \
-D Amesos2_ENABLE_EXAMPLES:BOOL=ON \
-D Amesos2_ENABLE_TIMERS:BOOL=ON \
-D Amesos2_ENABLE_KLU2:BOOL=ON \
-D Amesos2_ENABLE_Basker:BOOL=ON \
${SRCDIR}
```
## Your Environment
<!---
Include relevant details about your environment such that we can replicate this
issue.
-->
Tested on laptop with cmake/3.6.2, gcc/5.4.0
TPLs required: BLAS, LAPACK, Scotch 6.0 (available as SEMS module sems-scotch/6.0.3/nopthread_64bit_parallel)
- **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
<!---
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?
-->
Compile line preceding the error:
`cd /Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/amesos2/src && /opt/local/bin/mpicxx -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest -I/Users/ndellin/Research/trilinos-dev/Trilinos -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/amesos2/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/amesos2/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/amesos2/src/KLU2/Include -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/amesos2/src/KLU2/Source -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/common/auxiliarySoftware/SuiteSparse/src/AMD/Include -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/common/auxiliarySoftware/SuiteSparse/src/COLAMD/Include -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/common/auxiliarySoftware/SuiteSparse/src/BTF/Include -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/common/auxiliarySoftware/SuiteSparse/src/UFconfig -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/epetraext/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/epetraext/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/epetraext/src/transform -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/epetraext/src/inout -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/epetraext/src/coloring -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/epetraext/src/model_evaluator -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/epetraext/src/block -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/epetraext/src/restrict -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/epetra/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/epetra/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/teuchos/kokkoscomm/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/teuchos/kokkoscomm/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/teuchos/kokkoscompat/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/teuchos/kokkoscompat/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/teuchos/parameterlist/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/teuchos/parser/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/teuchos/core/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/teuchos/core/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/kokkos/core/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/kokkos/core/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/teuchos/comm/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/teuchos/remainder/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/teuchos/remainder/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/teuchos/numerics/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/common/auxiliarySoftware/SuiteSparse/src/CAMD/Include -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/common/auxiliarySoftware/SuiteSparse/src/CCOLAMD/Include -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/common/auxiliarySoftware/SuiteSparse/src/KLU/Include -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/tpetra/core/ext -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/tpetra/core/ext -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/tpetra/core/inout -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/tpetra/core/inout -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/tpetra/core/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/tpetra/core/src/kokkos_refactor -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/tpetra/core/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/tpetra/tsqr/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/tpetra/tsqr/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/tpetra/classic/LinAlg -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/tpetra/classic/NodeAPI -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/tpetra/classic/NodeAPI -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/tpetra/classic/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/tpetra/classic/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/packages/kokkos-kernels/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/impl -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/impl/tpls -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/blas -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/blas/impl -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/sparse -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/sparse/impl -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/graph -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/graph/impl -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/batched -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/batched/impl -I/Users/ndellin/Research/trilinos-dev/Trilinos/packages/kokkos-kernels/src/common -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/kokkos/algorithms/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/kokkos/algorithms/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/Build/ShyLUBasker/CMakeTest/kokkos/containers/src -I/Users/ndellin/Research/trilinos-dev/Trilinos/kokkos/containers/src -pedantic -Wall -Wno-long-long -Wwrite-strings -DSHYLU_NODEBASKER -DBASKER_TIMER -g -std=c++11 -fopenmp -O3 -DNDEBUG -o CMakeFiles/amesos2.dir/Amesos2_Factory.cpp.o -c /Users/ndellin/Research/trilinos-dev/Trilinos/packages/amesos2/src/Amesos2_Factory.cpp`
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2005Make failed at [ 99%] Built target Stokhos_TpetraCrsMatrixMPVectorUnitTest_Se...2017-11-27T00:50:26ZJames WillenbringMake failed at [ 99%] Built target Stokhos_TpetraCrsMatrixMPVectorUnitTest_Serial*Created by: lkkevin*
Hi,
I am trying to build Trilinos 12.12.1 for Peridigm on CentOS 7.4. The "make -j 2" failed at 99%] Built target Stokhos_TpetraCrsMatrixMPVectorUnitTest_Serial. I have been working on this issue for a couple da...*Created by: lkkevin*
Hi,
I am trying to build Trilinos 12.12.1 for Peridigm on CentOS 7.4. The "make -j 2" failed at 99%] Built target Stokhos_TpetraCrsMatrixMPVectorUnitTest_Serial. I have been working on this issue for a couple day but could not figure out. Please help. Thanks.
#------ These are the prerequisites that i installed on my VM: -----#
boost_1_65_1 , cmake-3.10.0-rc5, hdf5-1.10.1, matio-1.5.11, netcdf-c-4.5.0, openmpi-3.0.0, blas 3.8.0, lapack 3.8.0.
#------ This is the CMakeError.log ------#
Determining if the pthread_create exist failed with the following output:
Change Dir: /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_6fe30/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_6fe30.dir/build.make CMakeFiles/cmTC_6fe30.dir/build
gmake[1]: Entering directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6fe30.dir/CheckSymbolExists.c.o
/opt/mpich/bin/mpicc -O3 -DNDEBUG -o CMakeFiles/cmTC_6fe30.dir/CheckSymbolExists.c.o -c /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_6fe30
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6fe30.dir/link.txt --verbose=1
/opt/mpich/bin/mpicc -O3 -DNDEBUG -rdynamic CMakeFiles/cmTC_6fe30.dir/CheckSymbolExists.c.o -o cmTC_6fe30
/usr/bin/ld: CMakeFiles/cmTC_6fe30.dir/CheckSymbolExists.c.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_6fe30] Error 1
gmake[1]: Leaving directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_6fe30/fast] Error 2
File /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_59d00/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_59d00.dir/build.make CMakeFiles/cmTC_59d00.dir/build
gmake[1]: Entering directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_59d00.dir/CheckFunctionExists.c.o
/opt/mpich/bin/mpicc -DCHECK_FUNCTION_EXISTS=pthread_create -O3 -DNDEBUG -o CMakeFiles/cmTC_59d00.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_59d00
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_59d00.dir/link.txt --verbose=1
/opt/mpich/bin/mpicc -DCHECK_FUNCTION_EXISTS=pthread_create -O3 -DNDEBUG -rdynamic CMakeFiles/cmTC_59d00.dir/CheckFunctionExists.c.o -o cmTC_59d00 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_59d00] Error 1
gmake[1]: Leaving directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_59d00/fast] Error 2
Performing C++ SOURCE FILE Test HAVE_TEUCHOS_LAPACKLARND failed with the following output:
Change Dir: /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_d5eb7/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_d5eb7.dir/build.make CMakeFiles/cmTC_d5eb7.dir/build
gmake[1]: Entering directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d5eb7.dir/src.cxx.o
/opt/mpich/bin/mpicxx -O2 -std=c++11 -pedantic -ftrapv -Wall -Wno-long-long -std=c++11 -DHAVE_TEUCHOS_LAPACKLARND -O3 -DNDEBUG -o CMakeFiles/cmTC_d5eb7.dir/src.cxx.o -c /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp/src.cxx
/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp/src.cxx:12:38: warning: narrowing conversion of ‘0.0’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
int seed[4] = { 0.0, 0.0, 0.0, 1.0 };
^
/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp/src.cxx:12:38: warning: narrowing conversion of ‘0.0’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp/src.cxx:12:38: warning: narrowing conversion of ‘0.0’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp/src.cxx:12:38: warning: narrowing conversion of ‘1.0e+0’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
Linking CXX executable cmTC_d5eb7
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d5eb7.dir/link.txt --verbose=1
/opt/mpich/bin/mpicxx -O2 -std=c++11 -pedantic -ftrapv -Wall -Wno-long-long -std=c++11 -DHAVE_TEUCHOS_LAPACKLARND -O3 -DNDEBUG -rdynamic CMakeFiles/cmTC_d5eb7.dir/src.cxx.o -o cmTC_d5eb7 -Wl,-rpath,/opt/lib/LAPACK /opt/lib/LAPACK/liblapack.so
CMakeFiles/cmTC_d5eb7.dir/src.cxx.o: In function `main':
src.cxx:(.text.startup+0x22): undefined reference to `dlarnd_'
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_d5eb7] Error 1
gmake[1]: Leaving directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_d5eb7/fast] Error 2
Return value: 1
Source file was:
#define F77_BLAS_MANGLE(name,NAME) name ## _
#define DLARND_F77 F77_BLAS_MANGLE(dlarnd,DLARND)
extern "C" { double DLARND_F77(const int* idist, int* seed); }
int main()
{
const int idist = 1;
int seed[4] = { 0.0, 0.0, 0.0, 1.0 };
double val = DLARND_F77(&idist, seed);
return (val < 0.0 ? 1 : 0);
}
Performing C++ SOURCE FILE Test HAVE_CXX_PRAGMA_WEAK failed with the following output:
Change Dir: /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_32f82/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_32f82.dir/build.make CMakeFiles/cmTC_32f82.dir/build
gmake[1]: Entering directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_32f82.dir/src.cxx.o
/opt/mpich/bin/mpicxx -O2 -std=c++11 -pedantic -ftrapv -Wall -Wno-long-long -std=c++11 -DHAVE_CXX_PRAGMA_WEAK -O3 -DNDEBUG -o CMakeFiles/cmTC_32f82.dir/src.cxx.o -c /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_32f82
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_32f82.dir/link.txt --verbose=1
/opt/mpich/bin/mpicxx -O2 -std=c++11 -pedantic -ftrapv -Wall -Wno-long-long -std=c++11 -DHAVE_CXX_PRAGMA_WEAK -O3 -DNDEBUG -rdynamic CMakeFiles/cmTC_32f82.dir/src.cxx.o -o cmTC_32f82
CMakeFiles/cmTC_32f82.dir/src.cxx.o: In function `main':
src.cxx:(.text.startup+0x1c): undefined reference to `A::theFunction()'
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_32f82] Error 1
gmake[1]: Leaving directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_32f82/fast] Error 2
Source file was:
#include <iostream>
namespace A {
// theFunction never gets defined, because we
// don't link with a library that defines it.
// That's OK, because it's weak linkage.
#pragma weak theFunction
extern void theFunction ();
}
int main() {
std::cout << "Hi! I am main." << std::endl;
if (A::theFunction != NULL) {
// Should never be called, since we don't link
// with a library that defines A::theFunction.
A::theFunction ();
}
return 0;
}
Determining if the function dggsvd3 exists failed with the following output:
Change Dir: /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_a3af9/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_a3af9.dir/build.make CMakeFiles/cmTC_a3af9.dir/build
gmake[1]: Entering directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a3af9.dir/CheckFunctionExists.c.o
/opt/mpich/bin/mpicc -DCHECK_FUNCTION_EXISTS=dggsvd3 -O3 -DNDEBUG -o CMakeFiles/cmTC_a3af9.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_a3af9
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a3af9.dir/link.txt --verbose=1
/opt/mpich/bin/mpicc -DCHECK_FUNCTION_EXISTS=dggsvd3 -O3 -DNDEBUG -rdynamic CMakeFiles/cmTC_a3af9.dir/CheckFunctionExists.c.o -o cmTC_a3af9 -L/opt/lib/BLAS -Wl,-rpath,/opt/lib/LAPACK:/opt/lib/BLAS /opt/lib/LAPACK/liblapack.so -lblas
CMakeFiles/cmTC_a3af9.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `dggsvd3'
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_a3af9] Error 1
gmake[1]: Leaving directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_a3af9/fast] Error 2
Determining if the function DGGSVD3 exists failed with the following output:
Change Dir: /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_1a133/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_1a133.dir/build.make CMakeFiles/cmTC_1a133.dir/build
gmake[1]: Entering directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1a133.dir/CheckFunctionExists.c.o
/opt/mpich/bin/mpicc -DCHECK_FUNCTION_EXISTS=DGGSVD3 -O3 -DNDEBUG -o CMakeFiles/cmTC_1a133.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_1a133
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1a133.dir/link.txt --verbose=1
/opt/mpich/bin/mpicc -DCHECK_FUNCTION_EXISTS=DGGSVD3 -O3 -DNDEBUG -rdynamic CMakeFiles/cmTC_1a133.dir/CheckFunctionExists.c.o -o cmTC_1a133 -L/opt/lib/BLAS -Wl,-rpath,/opt/lib/LAPACK:/opt/lib/BLAS /opt/lib/LAPACK/liblapack.so -lblas
CMakeFiles/cmTC_1a133.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `DGGSVD3'
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_1a133] Error 1
gmake[1]: Leaving directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_1a133/fast] Error 2
Determining if the function DGGSVD3_ exists failed with the following output:
Change Dir: /root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_6f85a/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_6f85a.dir/build.make CMakeFiles/cmTC_6f85a.dir/build
gmake[1]: Entering directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6f85a.dir/CheckFunctionExists.c.o
/opt/mpich/bin/mpicc -DCHECK_FUNCTION_EXISTS=DGGSVD3_ -O3 -DNDEBUG -o CMakeFiles/cmTC_6f85a.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_6f85a
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6f85a.dir/link.txt --verbose=1
/opt/mpich/bin/mpicc -DCHECK_FUNCTION_EXISTS=DGGSVD3_ -O3 -DNDEBUG -rdynamic CMakeFiles/cmTC_6f85a.dir/CheckFunctionExists.c.o -o cmTC_6f85a -L/opt/lib/BLAS -Wl,-rpath,/opt/lib/LAPACK:/opt/lib/BLAS /opt/lib/LAPACK/liblapack.so -lblas
CMakeFiles/cmTC_6f85a.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `DGGSVD3_'
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_6f85a] Error 1
gmake[1]: Leaving directory `/root/Downloads/trilinos-12.12.1-Source/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_6f85a/fast] Error 2
#----- and this is when the"make -j2" kicked out -----#
.......
[ 99%] Linking CXX executable Stokhos_KokkosCrsMatrixMPVectorUnitTest_Serial.exe
[ 99%] Built target Stokhos_KokkosCrsMatrixMPVectorUnitTest_Serial
Scanning dependencies of target Stokhos_KokkosViewMPVectorUnitTest_Serial
[ 99%] Building CXX object packages/stokhos/test/UnitTest/CMakeFiles/Stokhos_KokkosViewMPVectorUnitTest_Serial.dir/Stokhos_KokkosViewMPVectorUnitTest_Serial.cpp.o
In file included from /root/Downloads/trilinos-12.12.1-Source/packages/muelu/adapters/tpetra/MueLu_CreateTpetraPreconditioner.hpp:10:0,
from /root/Downloads/trilinos-12.12.1-Source/packages/stokhos/test/UnitTest/Stokhos_TpetraCrsMatrixMPVectorUnitTest.hpp:77,
from /root/Downloads/trilinos-12.12.1-Source/packages/stokhos/test/UnitTest/Stokhos_TpetraCrsMatrixMPVectorUnitTest_Serial.cpp:46:
/root/Downloads/trilinos-12.12.1-Source/packages/xpetra/src/CrsMatrix/Xpetra_TpetraBlockCrsMatrix.hpp: In instantiation of ‘void Xpetra::TpetraBlockCrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>::getLocalDiagOffsets(Teuchos::ArrayRCP<long unsigned int>&) const [with Scalar = Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::Serial> >; LocalOrdinal = int; GlobalOrdinal = int; Node = Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial>]’:
/root/Downloads/trilinos-12.12.1-Source/packages/stokhos/test/UnitTest/Stokhos_TpetraCrsMatrixMPVectorUnitTest_Serial.cpp:71:1: required from here
/root/Downloads/trilinos-12.12.1-Source/packages/xpetra/src/CrsMatrix/Xpetra_TpetraBlockCrsMatrix.hpp:343:7: warning: ‘void Tpetra::Experimental::BlockCrsMatrix<S, LO, GO, N>::getLocalDiagOffsets(Teuchos::ArrayRCP<long unsigned int>&) const [with Scalar = Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::Serial> >; LO = int; GO = int; Node = Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial>]’ is deprecated (declared at /root/Downloads/trilinos-12.12.1-Source/packages/tpetra/core/src/Tpetra_Experimental_BlockCrsMatrix_def.hpp:1062) [-Wdeprecated-declarations]
mtx_->getLocalDiagOffsets(offsets);
^
[ 99%] Linking CXX executable Stokhos_KokkosViewMPVectorUnitTest_Serial.exe
[ 99%] Built target Stokhos_KokkosViewMPVectorUnitTest_Serial
Scanning dependencies of target Stokhos_SacadoMPVectorCommTests
[ 99%] Building CXX object packages/stokhos/test/UnitTest/CMakeFiles/Stokhos_SacadoMPVectorCommTests.dir/Stokhos_SacadoMPVectorCommTests.cpp.o
[ 99%] Linking CXX executable Stokhos_SacadoMPVectorCommTests.exe
[ 99%] Built target Stokhos_SacadoMPVectorCommTests
Scanning dependencies of target Stokhos_SDMUtilsUnitTest
[ 99%] Building CXX object packages/stokhos/test/UnitTest/CMakeFiles/Stokhos_SDMUtilsUnitTest.dir/Stokhos_SDMUtilsUnitTest.cpp.o
[ 99%] Linking CXX executable Stokhos_SDMUtilsUnitTest.exe
CMakeFiles/Stokhos_SDMUtilsUnitTest.dir/Stokhos_SDMUtilsUnitTest.cpp.o: In function `void Stokhos::CPQR_Householder<int, double>(Teuchos::SerialDenseMatrix<int, double> const&, Teuchos::SerialDenseMatrix<int, double>&, Teuchos::SerialDenseMatrix<int, double>&, Teuchos::Array<int>&)':
Stokhos_SDMUtilsUnitTest.cpp:(.text._ZN7Stokhos16CPQR_HouseholderIidEEvRKN7Teuchos17SerialDenseMatrixIT_T0_EERS5_S8_RNS1_5ArrayIS3_EE[_ZN7Stokhos16CPQR_HouseholderIidEEvRKN7Teuchos17SerialDenseMatrixIT_T0_EERS5_S8_RNS1_5ArrayIS3_EE]+0x16c): undefined reference to `dgeqpf_'
collect2: error: ld returned 1 exit status
make[2]: *** [packages/stokhos/test/UnitTest/Stokhos_SDMUtilsUnitTest.exe] Error 1
make[1]: *** [packages/stokhos/test/UnitTest/CMakeFiles/Stokhos_SDMUtilsUnitTest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /root/Downloads/trilinos-12.12.1-Source/build/packages/muelu/src/MueLu_VariableDofLaplacianFactory.hpp:2:0,
from /root/Downloads/trilinos-12.12.1-Source/packages/muelu/src/Interface/MueLu_FactoryFactory_decl.hpp:146,
from /root/Downloads/trilinos-12.12.1-Source/build/packages/muelu/src/Interface/MueLu_FactoryFactory.hpp:1,
from /root/Downloads/trilinos-12.12.1-Source/packages/muelu/src/Interface/MueLu_ParameterListInterpreter_def.hpp:73,
from /root/Downloads/trilinos-12.12.1-Source/build/packages/muelu/src/Interface/MueLu_ParameterListInterpreter.hpp:2,
from /root/Downloads/trilinos-12.12.1-Source/packages/muelu/adapters/tpetra/MueLu_CreateTpetraPreconditioner.hpp:22,
from /root/Downloads/trilinos-12.12.1-Source/packages/stokhos/test/UnitTest/Stokhos_TpetraCrsMatrixMPVectorUnitTest.hpp:77,
from /root/Downloads/trilinos-12.12.1-Source/packages/stokhos/test/UnitTest/Stokhos_TpetraCrsMatrixMPVectorUnitTest_Serial.cpp:46:
/root/Downloads/trilinos-12.12.1-Source/packages/muelu/src/Interface/../Graph/MueLu_VariableDofLaplacianFactory_def.hpp: In member function ‘void MueLu::VariableDofLaplacianFactory<Scalar, LocalOrdinal, GlobalOrdinal, Node>::Build(MueLu::VariableDofLaplacianFactory<Scalar, LocalOrdinal, GlobalOrdinal, Node>::Level&) const [with Scalar = Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::Serial> >; LocalOrdinal = int; GlobalOrdinal = int; Node = Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial>; MueLu::VariableDofLaplacianFactory<Scalar, LocalOrdinal, GlobalOrdinal, Node>::Level = MueLu::Level]’:
/root/Downloads/trilinos-12.12.1-Source/packages/muelu/src/Interface/../Graph/MueLu_VariableDofLaplacianFactory_def.hpp:256:16: warning: ‘blockRow’ may be used uninitialized in this function [-Wmaybe-uninitialized]
amalgRowPtr[blockRow+1] = newNzs;
^
[ 99%] Linking CXX executable Stokhos_TpetraCrsMatrixMPVectorUnitTest_Serial.exe
[ 99%] Built target Stokhos_TpetraCrsMatrixMPVectorUnitTest_Serial
make: *** [all] Error 2
You have mail in /var/spool/mail/root
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2046Error linking ThyraEpetraAdapters_TestThyraDebugHang.exe2018-12-20T18:56:42ZJames WillenbringError linking ThyraEpetraAdapters_TestThyraDebugHang.exe*Created by: ndaman*
<!--- Provide a general summary of the issue in the Title above. -->
<!---
Note that anything between these delimiters is a comment that will not appear
in the issue description once created. Click on the Prev...*Created by: ndaman*
<!--- Provide a general summary of the issue in the Title above. -->
<!---
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.
-->
@mhoemmen
<!---
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.
-->
## Expectations
<!---
Tell us what you think should happen, how you think things should work, what
you would like to see in the documentation, etc.
-->
I am trying to build Trilinos with the options listed [here](https://peridigm.sandia.gov/content/trilinos) on a Fedora Linux VM (gcc 7.2.1).
## Current Behavior
<!---
Tell us how the current behavior fails to meet your expectations in some way.
-->
While linking ThyraEpetraAdapters_TestThyraDebugHang.exe I get the following error:
```
[ 86%] Linking CXX executable ThyraEpetraAdapters_TestThyraDebugHang.exe
CMakeFiles/ThyraEpetraAdapters_TestThyraDebugHang.dir/TestThyraDebugHang.cpp.o: In function `ThyraEpetraMultiVector_HangingInParallelDebug_UnitTest::runUnitTestImpl(Teuchos::basic_FancyOStream<char, std::char_traits<char> >&, bool&) const':
TestThyraDebugHang.cpp:(.text+0xad3): undefined reference to `Thyra::DefaultSpmdVectorSpace<double>::initialize(Teuchos::RCP<Teuchos::Comm<long> const> const&, long, long, bool)'
collect2: error: ld returned 1 exit status
```
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2103Building with fortran fails on FreeBSD2017-12-30T05:49:12ZJames WillenbringBuilding with fortran fails on FreeBSD*Created by: yurivict*
```Trilinos_ENABLE_Fortran:BOOL=ON``` triggers this error:
```
-- Warning, cannot automatically determine Fortran mangling.
CMake Error at /usr/local/share/cmake/Modules/FortranCInterface.cmake:383 (message):...*Created by: yurivict*
```Trilinos_ENABLE_Fortran:BOOL=ON``` triggers this error:
```
-- Warning, cannot automatically determine Fortran mangling.
CMake Error at /usr/local/share/cmake/Modules/FortranCInterface.cmake:383 (message):
The Fortran compiler:
/usr/local/bin/gfortran6
and the CXX compiler:
/usr/bin/c++
failed to compile a simple test project using both languages. The output
was:
Change Dir: /usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX
Run Build Command:"/usr/local/bin/gmake" "VerifyFortranC"
gmake[2]: Entering directory '/usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX'
/usr/local/bin/cmake -H/usr/local/share/cmake/Modules/FortranCInterface/Verify -B/usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/bin/gmake -f CMakeFiles/Makefile2 VerifyFortranC
gmake[3]: Entering directory '/usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX'
/usr/local/bin/cmake -H/usr/local/share/cmake/Modules/FortranCInterface/Verify -B/usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/bin/cmake -E cmake_progress_start /usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles 6
/usr/local/bin/gmake -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all
gmake[4]: Entering directory '/usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX'
/usr/local/bin/gmake -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend
gmake[5]: Entering directory '/usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX'
cd /usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/local/share/cmake/Modules/FortranCInterface/Verify /usr/local/share/cmake/Modules/FortranCInterface/Verify /usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX /usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX /usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortran.dir/DependInfo.cmake
Scanning dependencies of target VerifyFortran
gmake[5]: Leaving directory '/usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX'
/usr/local/bin/gmake -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/requires
gmake[5]: Entering directory '/usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX'
gmake[5]: Nothing to be done for 'CMakeFiles/VerifyFortran.dir/requires'.
gmake[5]: Leaving directory '/usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX'
/usr/local/bin/gmake -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build
gmake[5]: Entering directory '/usr/ports/science/Trilinos/work/.build/CMakeFiles/FortranCInterface/VerifyCXX'
[100%] Linking CXX executable VerifyFortranC
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1
/usr/bin/c++ -O2 -pipe -fno-omit-frame-pointer -fstack-protector -fno-strict-aliasing -fno-omit-frame-pointer -O2 -pipe -fno-omit-frame-pointer -fstack-protector -fno-strict-aliasing -fno-omit-frame-pointer CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o -o VerifyFortranC -L/usr/local/bin -L/usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd11.1/6.4.0 libVerifyFortran.a -lgfortran -lssp_nonshared -lquadmath
/usr/bin/ld: cannot find -lgfortran
```
libgfortran.so is in ```/usr/local/lib/gcc6```.
Adding ```-DFortran_LIBRARY_DIRS:STRING=${LOCALBASE}/lib/gcc6``` doesn't help.
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2169Tpetra: ImportExport and MatrixMatrix unit tests fail with GCC 7.2.02018-01-24T17:53:11ZJames WillenbringTpetra: ImportExport and MatrixMatrix unit tests fail with GCC 7.2.0*Created by: jhux2*
The following unit tests fail with GCC 7.2.0 and OpenMPI 1.10.2:
```
74 - TpetraCore_ImportExport2_UnitTests_MPI_4 (Failed)
102 - TpetraCore_MatrixMatrix_UnitTests_MPI_4 (Failed)
```
I believe this is clo...*Created by: jhux2*
The following unit tests fail with GCC 7.2.0 and OpenMPI 1.10.2:
```
74 - TpetraCore_ImportExport2_UnitTests_MPI_4 (Failed)
102 - TpetraCore_MatrixMatrix_UnitTests_MPI_4 (Failed)
```
I believe this is closely related to issue #2130.
<details>
<summary>
<b>Details for test 74</b> (Click to expand)
</summary>
```
test 74
Start 74: TpetraCore_ImportExport2_UnitTests_MPI_4
74: Test command: /sierra/sntools/SDK/mpi/openmpi/1.10.2-gcc-7.2.0-RHEL6/bin/mpiexec "-np" "4" "/scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe" "--globally-reduce-test-result" "--output-show-proc-rank" "--output-to-root-rank-only=-1"
74: Test timeout computed to be: 1500
74: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name cee-compute011 and rank 1!
74: p=1 |
74: p=1 | ***
74: p=1 | *** Unit test suite ...
74: p=1 | ***
74: p=1 |
74: p=1 |
74: p=1 | Sorting tests by group name then by the order they were added ... (time = 1.12e-05)
74: p=1 |
74: p=1 | Running unit tests ...
74: p=1 |
74: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name cee-compute011 and rank 2!
74: p=2 |
74: p=2 | ***
74: p=2 | *** Unit test suite ...
74: p=2 | ***
74: p=2 |
74: p=2 |
74: p=2 | Sorting tests by group name then by the order they were added ... (time = 1.31e-05)
74: p=2 |
74: p=2 | Running unit tests ...
74: p=2 |
74: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name cee-compute011 and rank 3!
74: p=3 |
74: p=3 | ***
74: p=3 | *** Unit test suite ...
74: p=3 | ***
74: p=3 |
74: p=3 |
74: p=3 | Sorting tests by group name then by the order they were added ... (time = 1.1e-05)
74: p=3 |
74: p=3 | Running unit tests ...
74: p=3 |
74: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name cee-compute011 and rank 0!
74: p=0 |
74: p=0 | ***
74: p=0 | *** Unit test suite ...
74: p=0 | ***
74: p=0 |
74: p=0 |
74: p=0 | Sorting tests by group name then by the order they were added ... (time = 1.1e-05)
74: p=0 |
74: p=0 | Running unit tests ...
74: p=0 |
74: p=1 | 0. CrsGraphImportExport_int_int_doImport_UnitTest ... [Passed] (0.00281 sec)
74: p=1 | 1. CrsGraphImportExport_int_long_doImport_UnitTest ... [Passed] (0.00127 sec)
74: p=2 | 0. CrsGraphImportExport_int_int_doImport_UnitTest ... [Passed] (0.00283 sec)
74: p=2 | 1. CrsGraphImportExport_int_long_doImport_UnitTest ... [Passed] (0.00127 sec)
74: p=0 | 0. CrsGraphImportExport_int_int_doImport_UnitTest ... [Passed] (0.00276 sec)
74: p=0 | 1. CrsGraphImportExport_int_long_doImport_UnitTest ... [Passed] (0.00127 sec)
74: p=3 | 0. CrsGraphImportExport_int_int_doImport_UnitTest ... [Passed] (0.00283 sec)
74: p=3 | 1. CrsGraphImportExport_int_long_doImport_UnitTest ... [Passed] (0.00127 sec)
74: p=3 | 2. CrsMatrixImportExport_int_int_double_doImport_UnitTest ... [Passed] (0.00262 sec)
74: p=0 | 2. CrsMatrixImportExport_int_int_double_doImport_UnitTest ... [Passed] (0.00262 sec)
74: p=2 | 2. CrsMatrixImportExport_int_int_double_doImport_UnitTest ... [Passed] (0.00262 sec)
74: p=1 | 2. CrsMatrixImportExport_int_int_double_doImport_UnitTest ... [Passed] (0.00262 sec)
74: p=1 | 3. CrsMatrixImportExport_int_long_double_doImport_UnitTest ... [Passed] (0.00234 sec)
74: p=3 | 3. CrsMatrixImportExport_int_long_double_doImport_UnitTest ... [Passed] (0.00234 sec)
74: p=0 | 3. CrsMatrixImportExport_int_long_double_doImport_UnitTest ... [Passed] (0.00234 sec)
74: p=2 | 3. CrsMatrixImportExport_int_long_double_doImport_UnitTest ... [Passed] (0.00234 sec)
74: p=2 | 4. FusedImportExport_int_int_double_doImport_UnitTest ... [Passed] (0.0144 sec)
74: p=1 | 4. FusedImportExport_int_int_double_doImport_UnitTest ... [Passed] (0.0144 sec)
74: p=3 | 4. FusedImportExport_int_int_double_doImport_UnitTest ... [Passed] (0.0144 sec)
74: p=0 | 4. FusedImportExport_int_int_double_doImport_UnitTest ... [Passed] (0.0144 sec)
74: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744056747779880 ) FAILED NULL
74: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744056529686560 ) FAILED NULL
74: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 1099511636168 ) FAILED NULL
74: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744056529686568 ) FAILED NULL
74: Proc 0: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 1099511636168 ) FAILED NULL
74: Traceback functionality not available
74:
74: Proc 2: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744056747779880 ) FAILED NULL
74: Traceback functionality not available
74:
74: Proc 1: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744056529686568 ) FAILED NULL
74: Traceback functionality not available
74:
74: Proc 3: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744056529686560 ) FAILED NULL
74: Traceback functionality not available
74:
74: p=2 | 5. FusedImportExport_int_int_double_MueLuStyle_UnitTest ...
74: p=2 |
74: p=2 | p=2: *** Caught standard std::exception of type 'std::logic_error' :
74: p=2 |
74: p=2 | /scratch/jhu/nalu/trilinos/Trilinos/packages/tpetra/core/test/ImportExport2/ImportExport2_UnitTests.cpp:2265:
74: p=2 |
74: p=2 | Throw number = 2
74: p=2 |
74: p=2 | Throw test that evaluated to true: true
74: p=2 |
74: p=2 | Test failed!
74: p=2 | NOTE: Unit test failed on all processes!
74: p=2 | [FAILED] (0.00534 sec) FusedImportExport_int_int_double_MueLuStyle_UnitTest
74: p=1 | 5. FusedImportExport_int_int_double_MueLuStyle_UnitTest ...
74: p=1 |
74: p=1 | p=1: *** Caught standard std::exception of type 'std::logic_error' :
74: p=1 |
74: p=1 | /scratch/jhu/nalu/trilinos/Trilinos/packages/tpetra/core/test/ImportExport2/ImportExport2_UnitTests.cpp:2265:
74: p=1 |
74: p=1 | Throw number = 2
74: p=1 |
74: p=1 | Throw test that evaluated to true: true
74: p=1 |
74: p=1 | Test failed!
74: p=1 | NOTE: Unit test failed on all processes!
74: p=1 | [FAILED] (0.00534 sec) FusedImportExport_int_int_double_MueLuStyle_UnitTest
74: p=1 | Location: /scratch/jhu/nalu/trilinos/Trilinos/packages/tpetra/core/test/ImportExport2/ImportExport2_UnitTests.cpp:2186
74: p=1 |
74: p=0 | 5. FusedImportExport_int_int_double_MueLuStyle_UnitTest ...
74: p=0 |
74: p=0 | p=0: *** Caught standard std::exception of type 'std::logic_error' :
74: p=0 |
74: p=0 | /scratch/jhu/nalu/trilinos/Trilinos/packages/tpetra/core/test/ImportExport2/ImportExport2_UnitTests.cpp:2265:
74: p=0 |
74: p=0 | Throw number = 2
74: p=0 |
74: p=0 | Throw test that evaluated to true: true
74: p=0 |
74: p=0 | Test failed!
74: p=0 | NOTE: Unit test failed on all processes!
74: p=0 | [FAILED] (0.00533 sec) FusedImportExport_int_int_double_MueLuStyle_UnitTest
74: p=0 | Location: /scratch/jhu/nalu/trilinos/Trilinos/packages/tpetra/core/test/ImportExport2/ImportExport2_UnitTests.cpp:2186
74: p=0 |
74: p=3 | 5. FusedImportExport_int_int_double_MueLuStyle_UnitTest ...
74: p=3 |
74: p=3 | p=3: *** Caught standard std::exception of type 'std::logic_error' :
74: p=3 |
74: p=3 | /scratch/jhu/nalu/trilinos/Trilinos/packages/tpetra/core/test/ImportExport2/ImportExport2_UnitTests.cpp:2265:
74: p=3 |
74: p=3 | Throw number = 2
74: p=3 |
74: p=3 | Throw test that evaluated to true: true
74: p=3 |
74: p=3 | Test failed!
74: p=3 | NOTE: Unit test failed on all processes!
74: p=3 | [FAILED] (0.00534 sec) FusedImportExport_int_int_double_MueLuStyle_UnitTest
74: p=3 | Location: /scratch/jhu/nalu/trilinos/Trilinos/packages/tpetra/core/test/ImportExport2/ImportExport2_UnitTests.cpp:2186
74: p=3 |
74: p=2 | Location: /scratch/jhu/nalu/trilinos/Trilinos/packages/tpetra/core/test/ImportExport2/ImportExport2_UnitTests.cpp:2186
74: p=2 |
74: p=2 | 6. FusedImportExport_int_long_double_doImport_UnitTest ... [Passed] (0.0135 sec)
74: p=3 | 6. FusedImportExport_int_long_double_doImport_UnitTest ... [Passed] (0.0135 sec)
74: p=1 | 6. FusedImportExport_int_long_double_doImport_UnitTest ... [Passed] (0.0135 sec)
74: p=0 | 6. FusedImportExport_int_long_double_doImport_UnitTest ... [Passed] (0.0135 sec)
74: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 559959315230688 ) FAILED NULL
74: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744056529691544 ) FAILED NULL
74: [cee-compute011:78517] *** Process received signal ***
74: [cee-compute011:78517] Signal: Segmentation fault (11)
74: [cee-compute011:78517] Signal code: Address not mapped (1)
74: [cee-compute011:78517] Failing at address: 0x7facffffffff
74: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 556317182662440 ) FAILED NULL
74: [cee-compute011:78517] [ 0] /lib64/libpthread.so.0[0x3806e0f7e0]
74: [cee-compute011:78517] [ 1] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe[0x8359d9]
74: [cee-compute011:78517] [ 2] /sierra/sntools/SDK/compilers/gcc/7.2.0-RHEL6/lib64/libgomp.so.1(GOMP_parallel+0x3f)[0x7fac2d312a8f]
74: [cee-compute011:78517] [ 3] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe(_ZN6Tpetra9MMdetails14KernelWrappersIdilN6Kokkos6Compat23KokkosDeviceWrapperNodeINS2_6OpenMPENS2_9HostSpaceEEENS2_4ViewIPiJNS2_10LayoutLeftENS2_6DeviceIS5_S6_EEEEEE33mult_A_B_newmatrix_kernel_wrapperERNS_15CrsMatrixStructIdilS7_EESH_RKSD_SJ_SJ_SJ_RNS_9CrsMatrixIdilS7_Lb0EEEN7Teuchos3RCPIKNS_6ImportIilS7_EEEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNSO_INSN_13ParameterListEEE+0x21fb)[0x96e80b]
74: [cee-compute011:78517] [ 4] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe(_ZN6Tpetra9MMdetails18mult_A_B_newmatrixIdilN6Kokkos6Compat23KokkosDeviceWrapperNodeINS2_6OpenMPENS2_9HostSpaceEEEEEvRNS_15CrsMatrixStructIT_T0_T1_T2_EESE_RNS_9CrsMatrixIS9_SA_SB_SC_XsrSC_7classicEEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN7Teuchos3RCPINSQ_13ParameterListEEE+0x11e2)[0x970482]
74: [cee-compute011:78517] [ 5] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe(_ZN6Tpetra12MatrixMatrix8MultiplyIdilN6Kokkos6Compat23KokkosDeviceWrapperNodeINS2_6OpenMPENS2_9HostSpaceEEEEEvRKNS_9CrsMatrixIT_T0_T1_T2_XsrSC_7classicEEEbSF_bRSD_bRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN7Teuchos3RCPINSP_13ParameterListEEE+0xc7e)[0xa0c60e]
74: [cee-compute011:78517] [ 6] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe[0x7c39ed]
74: [cee-compute011:78517] [ 7] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe(_ZNK7Teuchos12UnitTestBase11runUnitTestERNS_18basic_FancyOStreamIcSt11char_traitsIcEEE+0x22)[0x16b1812]
74: [cee-compute011:78517] [ 8] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe(_ZN7Teuchos18UnitTestRepository15runUnitTestImplERKNS_12UnitTestBaseERNS_18basic_FancyOStreamIcSt11char_traitsIcEEE+0x19)[0x16b3579]
74: [cee-compute011:78517] [ 9] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe(_ZN7Teuchos18UnitTestRepository12runUnitTestsERNS_18basic_FancyOStreamIcSt11char_traitsIcEEE+0x1690)[0x16b7550]
74: [cee-compute011:78517] [10] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe(_ZN7Teuchos18UnitTestRepository20runUnitTestsFromMainEiPPc+0xd0)[0x16b8500]
74: [cee-compute011:78517] [11] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe(main+0x31)[0x813671]
74: [cee-compute011:78517] [12] /lib64/libc.so.6(__libc_start_main+0xfd)[0x380661ed1d]
74: [cee-compute011:78517] [13] /scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/ImportExport2/TpetraCore_ImportExport2_UnitTests.exe[0x7b1e45]
74: [cee-compute011:78517] *** End of error message ***
74: --------------------------------------------------------------------------
74: mpiexec noticed that process rank 2 with PID 78517 on node cee-compute011 exited on signal 11 (Segmentation fault).
74: --------------------------------------------------------------------------
1/1 Test #74: TpetraCore_ImportExport2_UnitTests_MPI_4 ...***Failed Required regular expression not found.Regex=[End Result: TEST PASSED
] 0.51 sec
0% tests passed, 1 tests failed out of 1
Label Time Summary:
Tpetra = 0.51 sec (1 test)
Total Test time (real) = 0.54 sec
The following tests FAILED:
74 - TpetraCore_ImportExport2_UnitTests_MPI_4 (Failed)
Errors while running CTest
```
</details>
<details>
<summary>
<b>Details for test 102</b> (Click to expand)
</summary>
```
test 102
Start 102: TpetraCore_MatrixMatrix_UnitTests_MPI_4
102: Test command: /sierra/sntools/SDK/mpi/openmpi/1.10.2-gcc-7.2.0-RHEL6/bin/mpiexec "-np" "4" "/scratch/jhu/nalu/trilinos/build-gcc-7.2.0-openmpi-1.10.2/packages/tpetra/core/test/MatrixMatrix/TpetraCore_MatrixMatrix_UnitTests.exe" "--matnames-file="matrixsystems.xml"" "--v"
102: Test timeout computed to be: 1500
102: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name cee-compute011 and rank 0!
102:
102: ***
102: *** Unit test suite ...
102: ***
102:
102:
102: Sorting tests by group name then by the order they were added ... (time = 1.19e-05)
102:
102: Running unit tests ...
102:
102: 0. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosOpenMPWrapperNode_operations_test_UnitTest ... Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name cee-compute011 and rank 1!
102: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name cee-compute011 and rank 2!
102: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name cee-compute011 and rank 3!
102: Tpetra sparse matrix-matrix multiply: operations_test
102: Get parameters from XML file
102: Running multiply test (manual FC) for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 1.15688e-16
102: cNorm: 18.1866
102: compNorm: 2.10396e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->synthetic1
102: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744022169944536 ) FAILED NULL
102: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744022400279224 ) FAILED NULL
102: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744056529682880 ) FAILED NULL
102: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744056529682784 ) FAILED NULL
102:
102: results.epsilon = 1.15688e-16 < epsilon = 1e-10 : passed
102:
102: p=0: *** Caught standard std::exception of type 'std::runtime_error' :
102:
102: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744022169944536 ) FAILED NULL
102: Traceback functionality not available
102:
102: [FAILED] (0.0152 sec) Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosOpenMPWrapperNode_operations_test_UnitTest
102: Location: /scratch/jhu/nalu/trilinos/Trilinos/packages/tpetra/core/test/MatrixMatrix/MatrixMatrix_UnitTests.cpp:766
102:
102: 1. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosOpenMPWrapperNode_range_row_test_UnitTest ... Tpetra sparse matrix-matrix multiply: range row test
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create row, range, and domain Maps of B
102: Create identityMatrix
102: getIdentityMatrix
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create bMatrix
102: Fill bMatrix
102: Call fillComplete on bMatrix
102: Regular I*P
102: Results:
102: Epsilon: 0
102: cNorm: 12
102: compNorm: 0
102: Create identity2
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create and fill bTrans
102: {7, 6}
102: Compute identity * transpose(bTrans)
102: Call fillComplete on bTrans
102: Create and fill bTransTest
102: Call fillComplete on bTransTest
102: Regular I*P^T
102: Call fillComplete on bTransDiff
102: B
102: We made it through range_row_test on all processes!
102: Tpetra sparse matrix-matrix multiply: Test A^T * I, where A's row Map and range Map differ
102: Create identity matrix
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: [Passed] (0.00154 sec)
102: 2. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosOpenMPWrapperNode_ATI_range_row_test_UnitTest ... Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create Maps for matrix aMat
102: Create matrix aMat
102: Fill matrix aMat
102: Call fillComplete on matrix aMat
102: Create RowMatrixTransposer with aMat
102: Use RowMatrixTransposer to create transpose of aMat
102: Regular I*P
102: Results:
102: Epsilon: 0
102: cNorm: 12
102: compNorm: 0
102: We made it through ATI_range_row_test on all processes!
102: [Passed] (0.00083 sec)
102: 3. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosOpenMPWrapperNode_threaded_add_sorted_UnitTest ... [Passed] (0.00784 sec)
102: 4. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosOpenMPWrapperNode_threaded_add_unsorted_UnitTest ... [Passed] (0.00743 sec)
102: 5. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosSerialWrapperNode_operations_test_UnitTest ... Tpetra sparse matrix-matrix multiply: operations_test
102: Get parameters from XML file
102: Running multiply test (manual FC) for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 1.15688e-16
102: cNorm: 18.1866
102: compNorm: 2.10396e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 1.15527e-16
102: cNorm: 18.1866
102: compNorm: 2.10103e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 1.03743e-18
102: cNorm: 18.1866
102: compNorm: 1.88673e-17
102: Running jacobi test for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 1.27468e-17
102: cNorm: 21.4889
102: compNorm: 2.73914e-16
102: Running jacobi reuse test for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 7.94407e-17
102: cNorm: 2.08484
102: compNorm: 1.65621e-16
102: Running multiply test (manual FC) for ANONYMOUS->RectangleA*P
102: Results:
102: Epsilon: 1.55556e-16
102: cNorm: 27.6951
102: compNorm: 4.30814e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->RectangleA*P
102: Results:
102: Epsilon: 1.5387e-16
102: cNorm: 27.6951
102: compNorm: 4.26146e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->RectangleA*P
102: Results:
102: Epsilon: 1.74446e-18
102: cNorm: 27.6951
102: compNorm: 4.83129e-17
102: Running jacobi test for ANONYMOUS->RectangleA*P
102: Results:
102: Epsilon: 2.49179e-17
102: cNorm: 28.5616
102: compNorm: 7.11696e-16
102: Running jacobi reuse test for ANONYMOUS->RectangleA*P
102: Results:
102: Epsilon: 1.04869e-16
102: cNorm: 4.02065
102: compNorm: 4.2164e-16
102: Running multiply test (manual FC) for ANONYMOUS->RectangleR*A
102: Results:
102: Epsilon: 1.66494e-16
102: cNorm: 29.6744
102: compNorm: 4.94061e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->RectangleR*A
102: Results:
102: Epsilon: 1.67274e-16
102: cNorm: 29.6744
102: compNorm: 4.96377e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->RectangleR*A
102: Results:
102: Epsilon: 1.77957e-18
102: cNorm: 29.6744
102: compNorm: 5.28079e-17
102: Running multiply test (manual FC) for ANONYMOUS->RectangleQ*P
102: Results:
102: Epsilon: 0
102: cNorm: 12.7806
102: compNorm: 0
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->RectangleQ*P
102: Results:
102: Epsilon: 0
102: cNorm: 12.7806
102: compNorm: 0
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->RectangleQ*P
102: Results:
102: Epsilon: 1.26272e-18
102: cNorm: 12.7806
102: compNorm: 1.61382e-17
102: Running jacobi test for ANONYMOUS->RectangleQ*P
102: Results:
102: Epsilon: 2.27408e-18
102: cNorm: 17.328
102: compNorm: 3.94053e-17
102: Running jacobi reuse test for ANONYMOUS->RectangleQ*P
102: Results:
102: Epsilon: 1.71168e-17
102: cNorm: 2.42657
102: compNorm: 4.15351e-17
102: Running multiply test (manual FC) for ANONYMOUS->RectangleQ*R
102: Results:
102: Epsilon: 0
102: cNorm: 12.8619
102: compNorm: 0
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->RectangleQ*R
102: Results:
102: Epsilon: 0
102: cNorm: 12.8619
102: compNorm: 0
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->RectangleQ*R
102: Results:
102: Epsilon: 1.22781e-18
102: cNorm: 12.8619
102: compNorm: 1.5792e-17
102: Running jacobi test for ANONYMOUS->RectangleQ*R
102: Results:
102: Epsilon: 3.55685e-18
102: cNorm: 17.4494
102: compNorm: 6.20649e-17
102: Running jacobi reuse test for ANONYMOUS->RectangleQ*R
102: Results:
102: Epsilon: 1.36018e-17
102: cNorm: 1.83896
102: compNorm: 2.50133e-17
102: Running multiply test (manual FC) for ANONYMOUS->RectangleR*P
102: Results:
102: Epsilon: 1.59313e-16
102: cNorm: 20.9737
102: compNorm: 3.34139e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->RectangleR*P
102: Results:
102: Epsilon: 1.58895e-16
102: cNorm: 20.9737
102: compNorm: 3.33261e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->RectangleR*P
102: Results:
102: Epsilon: 2.60361e-18
102: cNorm: 20.9737
102: compNorm: 5.46074e-17
102: Running multiply test (manual FC) for ANONYMOUS->syntheticT
102: Results:
102: Epsilon: 9.38608e-17
102: cNorm: 3.50226
102: compNorm: 3.28725e-16
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->syntheticT
102: Results:
102: Epsilon: 9.38608e-17
102: cNorm: 3.50226
102: compNorm: 3.28725e-16
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->syntheticT
102: Results:
102: Epsilon: 1.36743e-18
102: cNorm: 3.50226
102: compNorm: 4.78907e-18
102: Running multiply test (manual FC) for ANONYMOUS->syntheticBT
102: Results:
102: Epsilon: 1.12927e-16
102: cNorm: 18.6307
102: compNorm: 2.10391e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->syntheticBT
102: Results:
102: Epsilon: 1.12927e-16
102: cNorm: 18.6307
102: compNorm: 2.10391e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->syntheticBT
102: Results:
102: Epsilon: 1.17138e-18
102: cNorm: 18.6307
102: compNorm: 2.18237e-17
102: Running multiply test (manual FC) for ANONYMOUS->smallBT
102: Results:
102: Epsilon: 7.70404e-17
102: cNorm: 1.52851
102: compNorm: 1.17757e-16
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->smallBT
102: Results:
102: Epsilon: 7.70404e-17
102: cNorm: 1.52851
102: compNorm: 1.17757e-16
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->smallBT
102: Results:
102: Epsilon: 2.60524e-18
102: cNorm: 1.52851
102: compNorm: 3.98214e-18
102: Running multiply test (manual FC) for ANONYMOUS->cdt_system
102: Results:
102: Epsilon: 1.86729e-05
102: cNorm: 2.38736e-17
102: compNorm: 4.4579e-22
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->cdt_system
102: Results:
102: Epsilon: 1.86729e-05
102: cNorm: 2.38736e-17
102: compNorm: 4.4579e-22
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->cdt_system
102: Results:
102: Epsilon: 2.46191e-22
102: cNorm: 2.38736e-17
102: compNorm: 5.87747e-39
102: Running multiply test (manual FC) for ANONYMOUS->syntheticAT
102: Results:
102: Epsilon: 1.11865e-16
102: cNorm: 18.0412
102: compNorm: 2.01817e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->syntheticAT
102: Results:
102: Epsilon: 1.12034e-16
102: cNorm: 18.0412
102: compNorm: 2.02122e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->syntheticAT
102: Results:
102: Epsilon: 1.08549e-18
102: cNorm: 18.0412
102: compNorm: 1.95835e-17
102: Running multiply test (manual FC) for ANONYMOUS->smallAT
102: Results:
102: Epsilon: 1.08316e-16
102: cNorm: 1.08905
102: compNorm: 1.17961e-16
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->smallAT
102: Results:
102: Epsilon: 1.08316e-16
102: cNorm: 1.08905
102: compNorm: 1.17961e-16
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->smallAT
102: Results:
102: Epsilon: 5.74344e-18
102: cNorm: 1.08905
102: compNorm: 6.25487e-18
102: Running multiply test (manual FC) for ANONYMOUS->syntheticRect
102: Results:
102: Epsilon: 9.92982e-17
102: cNorm: 12.2465
102: compNorm: 1.21605e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->syntheticRect
102: Results:
102: Epsilon: 9.92982e-17
102: cNorm: 12.2465
102: compNorm: 1.21605e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->syntheticRect
102: Results:
102: Epsilon: 1.11297e-18
102: cNorm: 12.2465
102: compNorm: 1.36299e-17
102: Running 3-argument add test (nonnull C on input) for ANONYMOUS->synthetic add
102: Regular Add Test Results:
102: Correct Norm: 18.8787
102: Computed norm: 18.8787
102: Epsilon: 0
102: Running 3-argument add test (null C on input) for ANONYMOUS->synthetic add
102: Computing Frobenius norm of the expected result C
102: Calling 3-arg add
102: gblSuccess = 1 == 1 : passed
102: Null Add Test Results:
102: Correct Norm: 18.8787
102: Computed norm: 18.8787
102: Epsilon: 0
102: Running 2-argument add test for ANONYMOUS->synthetic add
102: Add Into Test Results:
102: Correct Norm: 18.8787
102: Computed norm: 18.8787
102: Epsilon: 0
102: Running 3-argument add test (nonnull C on input) for ANONYMOUS->small add
102: Regular Add Test Results:
102: Correct Norm: 2.26099
102: Computed norm: 2.26099
102: Epsilon: 0
102: Running 3-argument add test (null C on input) for ANONYMOUS->small add
102: Computing Frobenius norm of the expected result C
102: Calling 3-arg add
102: gblSuccess = 1 == 1 : passed
102: Null Add Test Results:
102: Correct Norm: 2.26099
102: Computed norm: 2.26099
102: Epsilon: 0
102: Running 2-argument add test for ANONYMOUS->small add
102: Add Into Test Results:
102: Correct Norm: 2.26099
102: Computed norm: 2.26099
102: Epsilon: 0
102: Running 3-argument add test (nonnull C on input) for ANONYMOUS->Rectangular Matricies with B Transposed
102: Regular Add Test Results:
102: Correct Norm: 18.0418
102: Computed norm: 18.0418
102: Epsilon: 0
102: Running 3-argument add test (null C on input) for ANONYMOUS->Rectangular Matricies with B Transposed
102: Computing Frobenius norm of the expected result C
102: Calling 3-arg add
102: gblSuccess = 1 == 1 : passed
102: Null Add Test Results:
102: Correct Norm: 18.0418
102: Computed norm: 18.0418
102: Epsilon: 0
102: Running multiply test (manual FC) for ANONYMOUS->Rectangular A transpose times I
102: Results:
102: Epsilon: 0
102: cNorm: 12.9652
102: compNorm: 0
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->Rectangular A transpose times I
102: Results:
102: Epsilon: 0
102: cNorm: 12.9652
102: compNorm: 0
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->Rectangular A transpose times I
102: Results:
102: Epsilon: 0
102: cNorm: 12.9652
102: compNorm: 0
102: Running multiply test (manual FC) for ANONYMOUS->Small Rectangular A transpose time I
102: Results:
102: Epsilon: 0
102: cNorm: 1.24805
102: compNorm: 0
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->Small Rectangular A transpose time I
102: Results:
102: Epsilon: 0
102: cNorm: 1.24805
102: compNorm: 0
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->Small Rectangular A transpose time I
102: Results:
102: Epsilon: 0
102: cNorm: 1.24805
102: compNorm: 0
102: Running multiply test (auto FC) for ANONYMOUS->RAP
102: Results:
102: Epsilon: 1.18101e-16
102: cNorm: 15.6077
102: compNorm: 1.84329e-15
102: Running multiply test (auto FC) for ANONYMOUS->RAP with explicit transpose
102: Results:
102: Epsilon: 1.18101e-16
102: cNorm: 15.6077
102: compNorm: 1.84329e-15
102: Running multiply test (auto FC) for ANONYMOUS->RAP with implicit transpose
102: Results:
102: Epsilon: 1.18101e-16
102: cNorm: 15.6077
102: compNorm: 1.84329e-15
102: We made it through operations_test on all processes!
102: Tpetra sparse matrix-matrix multiply: range row test
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create row, range, and domain Maps of B
102: [Passed] (0.42 sec)
102: 6. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosSerialWrapperNode_range_row_test_UnitTest ... Create identityMatrix
102: getIdentityMatrix
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create bMatrix
102: Fill bMatrix
102: Call fillComplete on bMatrix
102: Regular I*P
102: Results:
102: Epsilon: 0
102: cNorm: 12
102: compNorm: 0
102: Create identity2
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create and fill bTrans
102: {7, 6}
102: Compute identity * transpose(bTrans)
102: Call fillComplete on bTrans
102: Create and fill bTransTest
102: Call fillComplete on bTransTest
102: Regular I*P^T
102: Call fillComplete on bTransDiff
102: B
102: We made it through range_row_test on all processes!
102: [Passed] (0.00102 sec)
102: 7. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosSerialWrapperNode_ATI_range_row_test_UnitTest ... Tpetra sparse matrix-matrix multiply: Test A^T * I, where A's row Map and range Map differ
102: Create identity matrix
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create Maps for matrix aMat
102: Create matrix aMat
102: Fill matrix aMat
102: Call fillComplete on matrix aMat
102: Create RowMatrixTransposer with aMat
102: Use RowMatrixTransposer to create transpose of aMat
102: Regular I*P
102: [Passed] (0.000682 sec)
102: Results:
102: Epsilon: 0
102: cNorm: 12
102: compNorm: 0
102: We made it through ATI_range_row_test on all processes!
102: 8. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosSerialWrapperNode_threaded_add_sorted_UnitTest ... [Passed] (0.00725 sec)
102: 9. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosSerialWrapperNode_threaded_add_unsorted_UnitTest ... [Passed] (0.00717 sec)
102: 10. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosOpenMPWrapperNode_operations_test_UnitTest ... Tpetra sparse matrix-matrix multiply: operations_test
102: Get parameters from XML file
102: Running multiply test (manual FC) for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 1.15688e-16
102: cNorm: 18.1866
102: compNorm: 2.10396e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->synthetic1
102: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 560506385470368 ) FAILED NULL
102: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744022279028824 ) FAILED NULL
102: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744056529682784 ) FAILED NULL
102: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744022169946728 ) FAILED NULL
102: Tpetra sparse matrix-matrix multiply: range row test
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102:
102: results.epsilon = 1.15688e-16 < epsilon = 1e-10 : passed
102:
102: p=0: *** Caught standard std::exception of type 'std::runtime_error' :
102:
102: Kokkos::HostSpace::allocate[ STD_MALLOC ]( 18446744022279028824 ) FAILED NULL
102: Traceback functionality not available
102:
102: [FAILED] (0.0128 sec) Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosOpenMPWrapperNode_operations_test_UnitTest
102: Location: /scratch/jhu/nalu/trilinos/Trilinos/packages/tpetra/core/test/MatrixMatrix/MatrixMatrix_UnitTests.cpp:766
102:
102: 11. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosOpenMPWrapperNode_range_row_test_UnitTest ... Done!
102: Create row, range, and domain Maps of B
102: Create identityMatrix
102: getIdentityMatrix
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create bMatrix
102: Fill bMatrix
102: Call fillComplete on bMatrix
102: Regular I*P
102: Results:
102: Epsilon: 0
102: cNorm: 12
102: compNorm: 0
102: Create identity2
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create and fill bTrans
102: {7, 6}
102: Compute identity * transpose(bTrans)
102: Call fillComplete on bTrans
102: Create and fill bTransTest
102: Call fillComplete on bTransTest
102: Regular I*P^T
102: Call fillComplete on bTransDiff
102: B
102: We made it through range_row_test on all processes!
102: Tpetra sparse matrix-matrix multiply: Test A^T * I, where A's row Map and range Map differ
102: Create identity matrix
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create Maps for matrix aMat
102: [Passed] (0.00149 sec)
102: 12. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosOpenMPWrapperNode_ATI_range_row_test_UnitTest ... Create matrix aMat
102: Fill matrix aMat
102: Call fillComplete on matrix aMat
102: Create RowMatrixTransposer with aMat
102: Use RowMatrixTransposer to create transpose of aMat
102: Regular I*P
102: Results:
102: Epsilon: 0
102: cNorm: 12
102: compNorm: 0
102: We made it through ATI_range_row_test on all processes!
102: [Passed] (0.00084 sec)
102: 13. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosOpenMPWrapperNode_threaded_add_sorted_UnitTest ... [Passed] (0.00735 sec)
102: Tpetra sparse matrix-matrix multiply: operations_test
102: Get parameters from XML file
102: 14. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosOpenMPWrapperNode_threaded_add_unsorted_UnitTest ... [Passed] (0.00727 sec)
102: 15. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosSerialWrapperNode_operations_test_UnitTest ... Running multiply test (manual FC) for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 1.15688e-16
102: cNorm: 18.1866
102: compNorm: 2.10396e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 1.15527e-16
102: cNorm: 18.1866
102: compNorm: 2.10103e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 1.03743e-18
102: cNorm: 18.1866
102: compNorm: 1.88673e-17
102: Running jacobi test for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 1.27468e-17
102: cNorm: 21.4889
102: compNorm: 2.73914e-16
102: Running jacobi reuse test for ANONYMOUS->synthetic1
102: Results:
102: Epsilon: 7.94407e-17
102: cNorm: 2.08484
102: compNorm: 1.65621e-16
102: Running multiply test (manual FC) for ANONYMOUS->RectangleA*P
102: Results:
102: Epsilon: 1.55556e-16
102: cNorm: 27.6951
102: compNorm: 4.30814e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->RectangleA*P
102: Results:
102: Epsilon: 1.5387e-16
102: cNorm: 27.6951
102: compNorm: 4.26146e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->RectangleA*P
102: Results:
102: Epsilon: 1.74446e-18
102: cNorm: 27.6951
102: compNorm: 4.83129e-17
102: Running jacobi test for ANONYMOUS->RectangleA*P
102: Results:
102: Epsilon: 2.49179e-17
102: cNorm: 28.5616
102: compNorm: 7.11696e-16
102: Running jacobi reuse test for ANONYMOUS->RectangleA*P
102: Results:
102: Epsilon: 1.04869e-16
102: cNorm: 4.02065
102: compNorm: 4.2164e-16
102: Running multiply test (manual FC) for ANONYMOUS->RectangleR*A
102: Results:
102: Epsilon: 1.66494e-16
102: cNorm: 29.6744
102: compNorm: 4.94061e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->RectangleR*A
102: Results:
102: Epsilon: 1.67274e-16
102: cNorm: 29.6744
102: compNorm: 4.96377e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->RectangleR*A
102: Results:
102: Epsilon: 1.77957e-18
102: cNorm: 29.6744
102: compNorm: 5.28079e-17
102: Running multiply test (manual FC) for ANONYMOUS->RectangleQ*P
102: Results:
102: Epsilon: 0
102: cNorm: 12.7806
102: compNorm: 0
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->RectangleQ*P
102: Results:
102: Epsilon: 0
102: cNorm: 12.7806
102: compNorm: 0
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->RectangleQ*P
102: Results:
102: Epsilon: 1.26272e-18
102: cNorm: 12.7806
102: compNorm: 1.61382e-17
102: Running jacobi test for ANONYMOUS->RectangleQ*P
102: Results:
102: Epsilon: 2.27408e-18
102: cNorm: 17.328
102: compNorm: 3.94053e-17
102: Running jacobi reuse test for ANONYMOUS->RectangleQ*P
102: Results:
102: Epsilon: 1.71168e-17
102: cNorm: 2.42657
102: compNorm: 4.15351e-17
102: Running multiply test (manual FC) for ANONYMOUS->RectangleQ*R
102: Results:
102: Epsilon: 0
102: cNorm: 12.8619
102: compNorm: 0
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->RectangleQ*R
102: Results:
102: Epsilon: 0
102: cNorm: 12.8619
102: compNorm: 0
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->RectangleQ*R
102: Results:
102: Epsilon: 1.22781e-18
102: cNorm: 12.8619
102: compNorm: 1.5792e-17
102: Running jacobi test for ANONYMOUS->RectangleQ*R
102: Results:
102: Epsilon: 3.55685e-18
102: cNorm: 17.4494
102: compNorm: 6.20649e-17
102: Running jacobi reuse test for ANONYMOUS->RectangleQ*R
102: Results:
102: Epsilon: 1.36018e-17
102: cNorm: 1.83896
102: compNorm: 2.50133e-17
102: Running multiply test (manual FC) for ANONYMOUS->RectangleR*P
102: Results:
102: Epsilon: 1.59313e-16
102: cNorm: 20.9737
102: compNorm: 3.34139e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->RectangleR*P
102: Results:
102: Epsilon: 1.58895e-16
102: cNorm: 20.9737
102: compNorm: 3.33261e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->RectangleR*P
102: Results:
102: Epsilon: 2.60361e-18
102: cNorm: 20.9737
102: compNorm: 5.46074e-17
102: Running multiply test (manual FC) for ANONYMOUS->syntheticT
102: Results:
102: Epsilon: 9.38608e-17
102: cNorm: 3.50226
102: compNorm: 3.28725e-16
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->syntheticT
102: Results:
102: Epsilon: 9.38608e-17
102: cNorm: 3.50226
102: compNorm: 3.28725e-16
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->syntheticT
102: Results:
102: Epsilon: 1.36743e-18
102: cNorm: 3.50226
102: compNorm: 4.78907e-18
102: Running multiply test (manual FC) for ANONYMOUS->syntheticBT
102: Results:
102: Epsilon: 1.12927e-16
102: cNorm: 18.6307
102: compNorm: 2.10391e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->syntheticBT
102: Results:
102: Epsilon: 1.12927e-16
102: cNorm: 18.6307
102: compNorm: 2.10391e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->syntheticBT
102: Results:
102: Epsilon: 1.17138e-18
102: cNorm: 18.6307
102: compNorm: 2.18237e-17
102: Running multiply test (manual FC) for ANONYMOUS->smallBT
102: Results:
102: Epsilon: 7.70404e-17
102: cNorm: 1.52851
102: compNorm: 1.17757e-16
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->smallBT
102: Results:
102: Epsilon: 7.70404e-17
102: cNorm: 1.52851
102: compNorm: 1.17757e-16
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->smallBT
102: Results:
102: Epsilon: 2.60524e-18
102: cNorm: 1.52851
102: compNorm: 3.98214e-18
102: Running multiply test (manual FC) for ANONYMOUS->cdt_system
102: Results:
102: Epsilon: 1.86729e-05
102: cNorm: 2.38736e-17
102: compNorm: 4.4579e-22
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->cdt_system
102: Results:
102: Epsilon: 1.86729e-05
102: cNorm: 2.38736e-17
102: compNorm: 4.4579e-22
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->cdt_system
102: Results:
102: Epsilon: 2.46191e-22
102: cNorm: 2.38736e-17
102: compNorm: 5.87747e-39
102: Running multiply test (manual FC) for ANONYMOUS->syntheticAT
102: Results:
102: Epsilon: 1.11865e-16
102: cNorm: 18.0412
102: compNorm: 2.01817e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->syntheticAT
102: Results:
102: Epsilon: 1.12034e-16
102: cNorm: 18.0412
102: compNorm: 2.02122e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->syntheticAT
102: Results:
102: Epsilon: 1.08549e-18
102: cNorm: 18.0412
102: compNorm: 1.95835e-17
102: Running multiply test (manual FC) for ANONYMOUS->smallAT
102: Results:
102: Epsilon: 1.08316e-16
102: cNorm: 1.08905
102: compNorm: 1.17961e-16
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->smallAT
102: Results:
102: Epsilon: 1.08316e-16
102: cNorm: 1.08905
102: compNorm: 1.17961e-16
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->smallAT
102: Results:
102: Epsilon: 5.74344e-18
102: cNorm: 1.08905
102: compNorm: 6.25487e-18
102: Running multiply test (manual FC) for ANONYMOUS->syntheticRect
102: Results:
102: Epsilon: 9.92982e-17
102: cNorm: 12.2465
102: compNorm: 1.21605e-15
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->syntheticRect
102: Results:
102: Epsilon: 9.92982e-17
102: cNorm: 12.2465
102: compNorm: 1.21605e-15
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->syntheticRect
102: Results:
102: Epsilon: 1.11297e-18
102: cNorm: 12.2465
102: compNorm: 1.36299e-17
102: Running 3-argument add test (nonnull C on input) for ANONYMOUS->synthetic add
102: Regular Add Test Results:
102: Correct Norm: 18.8787
102: Computed norm: 18.8787
102: Epsilon: 0
102: Running 3-argument add test (null C on input) for ANONYMOUS->synthetic add
102: Computing Frobenius norm of the expected result C
102: Calling 3-arg add
102: gblSuccess = 1 == 1 : passed
102: Null Add Test Results:
102: Correct Norm: 18.8787
102: Computed norm: 18.8787
102: Epsilon: 0
102: Running 2-argument add test for ANONYMOUS->synthetic add
102: Add Into Test Results:
102: Correct Norm: 18.8787
102: Computed norm: 18.8787
102: Epsilon: 0
102: Running 3-argument add test (nonnull C on input) for ANONYMOUS->small add
102: Regular Add Test Results:
102: Correct Norm: 2.26099
102: Computed norm: 2.26099
102: Epsilon: 0
102: Running 3-argument add test (null C on input) for ANONYMOUS->small add
102: Computing Frobenius norm of the expected result C
102: Calling 3-arg add
102: gblSuccess = 1 == 1 : passed
102: Null Add Test Results:
102: Correct Norm: 2.26099
102: Computed norm: 2.26099
102: Epsilon: 0
102: Running 2-argument add test for ANONYMOUS->small add
102: Add Into Test Results:
102: Correct Norm: 2.26099
102: Computed norm: 2.26099
102: Epsilon: 0
102: Running 3-argument add test (nonnull C on input) for ANONYMOUS->Rectangular Matricies with B Transposed
102: Regular Add Test Results:
102: Correct Norm: 18.0418
102: Computed norm: 18.0418
102: Epsilon: 0
102: Running 3-argument add test (null C on input) for ANONYMOUS->Rectangular Matricies with B Transposed
102: Computing Frobenius norm of the expected result C
102: Calling 3-arg add
102: gblSuccess = 1 == 1 : passed
102: Null Add Test Results:
102: Correct Norm: 18.0418
102: Computed norm: 18.0418
102: Epsilon: 0
102: Running multiply test (manual FC) for ANONYMOUS->Rectangular A transpose times I
102: Results:
102: Epsilon: 0
102: cNorm: 12.9652
102: compNorm: 0
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->Rectangular A transpose times I
102: Results:
102: Epsilon: 0
102: cNorm: 12.9652
102: compNorm: 0
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->Rectangular A transpose times I
102: Results:
102: Epsilon: 0
102: cNorm: 12.9652
102: compNorm: 0
102: Running multiply test (manual FC) for ANONYMOUS->Small Rectangular A transpose time I
102: Results:
102: Epsilon: 0
102: cNorm: 1.24805
102: compNorm: 0
102: isImportValid: 1
102: Running multiply test (auto FC) for ANONYMOUS->Small Rectangular A transpose time I
102: Results:
102: Epsilon: 0
102: cNorm: 1.24805
102: compNorm: 0
102: isImportValid: 1
102: Running multiply reuse test for ANONYMOUS->Small Rectangular A transpose time I
102: Results:
102: Epsilon: 0
102: cNorm: 1.24805
102: compNorm: 0
102: Running multiply test (auto FC) for ANONYMOUS->RAP
102: Results:
102: Epsilon: 1.18101e-16
102: cNorm: 15.6077
102: compNorm: 1.84329e-15
102: Running multiply test (auto FC) for ANONYMOUS->RAP with explicit transpose
102: Results:
102: Epsilon: 1.18101e-16
102: cNorm: 15.6077
102: compNorm: 1.84329e-15
102: Running multiply test (auto FC) for ANONYMOUS->RAP with implicit transpose
102: Results:
102: Epsilon: 1.18101e-16
102: cNorm: 15.6077
102: compNorm: 1.84329e-15
102: We made it through operations_test on all processes!
102: [Passed] (0.427 sec)
102: 16. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosSerialWrapperNode_range_row_test_UnitTest ... Tpetra sparse matrix-matrix multiply: range row test
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create row, range, and domain Maps of B
102: Create identityMatrix
102: getIdentityMatrix
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create bMatrix
102: Fill bMatrix
102: Call fillComplete on bMatrix
102: Regular I*P
102: Results:
102: Epsilon: 0
102: cNorm: 12
102: compNorm: 0
102: Create identity2
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: Call fillComplete
102: Done!
102: Create and fill bTrans
102: {7, 6}
102: Compute identity * transpose(bTrans)
102: Call fillComplete on bTrans
102: Create and fill bTransTest
102: Call fillComplete on bTransTest
102: Regular I*P^T
102: Call fillComplete on bTransDiff
102: B
102: We made it through range_row_test on all processes!
102: Tpetra sparse matrix-matrix multiply: Test A^T * I, where A's row Map and range Map differ
102: Create identity matrix
102: getIdentityMatrix
102: Create row Map
102: Create CrsMatrix
102: Fill CrsMatrix
102: [Passed] (0.00105 sec)
102: 17. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosSerialWrapperNode_ATI_range_row_test_UnitTest ... Call fillComplete
102: Done!
102: Create Maps for matrix aMat
102: Create matrix aMat
102: Fill matrix aMat
102: Call fillComplete on matrix aMat
102: Create RowMatrixTransposer with aMat
102: Use RowMatrixTransposer to create transpose of aMat
102: Regular I*P
102: Results:
102: Epsilon: 0
102: cNorm: 12
102: compNorm: 0
102: We made it through ATI_range_row_test on all processes!
102: [Passed] (0.000667 sec)
102: 18. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosSerialWrapperNode_threaded_add_sorted_UnitTest ... [Passed] (0.00739 sec)
102: 19. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosSerialWrapperNode_threaded_add_unsorted_UnitTest ... [Passed] (0.00732 sec)
102:
102: The following tests FAILED:
102: 0. Tpetra_MatMat_double_int_int_Kokkos_Compat_KokkosOpenMPWrapperNode_operations_test_UnitTest ...
102: 10. Tpetra_MatMat_double_int_long_Kokkos_Compat_KokkosOpenMPWrapperNode_operations_test_UnitTest ...
102:
102: Total Time: 0.942 sec
102:
102: Summary: total = 20, run = 20, passed = 18, failed = 2
102:
102: End Result: TEST FAILED
102: -------------------------------------------------------
102: Primary job terminated normally, but 1 process returned
102: a non-zero exit code.. Per user-direction, the job has been aborted.
102: -------------------------------------------------------
102: --------------------------------------------------------------------------
102: mpiexec detected that one or more processes exited with non-zero status, thus causing
102: the job to be terminated. The first process to do so was:
102:
102: Process name: [[65241,1],2]
102: Exit code: 1
102: --------------------------------------------------------------------------
1/1 Test #102: TpetraCore_MatrixMatrix_UnitTests_MPI_4 ...***Failed 1.41 sec
0% tests passed, 1 tests failed out of 1
Label Time Summary:
Tpetra = 1.41 sec (1 test)
Total Test time (real) = 1.43 sec
The following tests FAILED:
102 - TpetraCore_MatrixMatrix_UnitTests_MPI_4 (Failed)
Errors while running CTest
```
</details>
<details>
<summary>
<b>configure script</b> (Click to expand)
</summary>
```bash
#!/bin/bash
# load jhu's modules from ~jhu/privatemodules
module load use.own
module load gcc-7.2.0 openmpi-1.10.2-gcc-7.2.0
TPL_ROOT=/ascldap/users/jhu/software/tpls/install/gcc-7.2.0_openmpi-1.10.2
TRILINOS_HOME=/scratch/jhu/nalu/trilinos/Trilinos
CMAKE_OPTIONS=(
-DBUILD_SHARED_LIBS:BOOL=OFF
-DCMAKE_INSTALL_PREFIX:PATH="/scratch/jhu/nalu/trilinos/install/relwithdebinfo-gcc-7.2.0_openmpi-1.10.2"
-DCMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO
-DTrilinos_ENABLE_OpenMP:BOOL=ON
-DKokkos_ENABLE_OpenMP:BOOL=ON
-DTpetra_INST_OPENMP:BOOL=ON
-DTpetra_INST_SERIAL:BOOL=ON
-DTrilinos_ENABLE_CXX11:BOOL=ON
-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON
-DTpetra_INST_DOUBLE:BOOL=ON
-DTpetra_INST_INT_LONG:BOOL=ON
-DTpetra_INST_COMPLEX_DOUBLE:BOOL=OFF
-DTrilinos_ENABLE_TESTS:BOOL=OFF
-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF
-DTrilinos_ASSERT_MISSING_PACKAGES:BOOL=OFF
-DTrilinos_ALLOW_NO_PACKAGES:BOOL=OFF
-DTrilinos_ENABLE_Epetra:BOOL=OFF
-DTrilinos_ENABLE_Tpetra:BOOL=ON
-DTpetra_ENABLE_TESTS:BOOL=ON
-DXpetra_ENABLE_Kokkos_Refactor:BOOL=ON
-DMueLu_ENABLE_Kokkos_Refactor:BOOL=ON
-DMueLu_ENABLE_Tutorial:BOOL=OFF
-DTrilinos_ENABLE_ShyLUHTS:BOOL=ON
-DTrilinos_ENABLE_KokkosKernels:BOOL=ON
-DTrilinos_ENABLE_ML:BOOL=OFF
-DTrilinos_ENABLE_MueLu:BOOL=ON
-DTrilinos_ENABLE_EpetraExt:BOOL=OFF
-DTrilinos_ENABLE_AztecOO:BOOL=OFF
-DTrilinos_ENABLE_Belos:BOOL=ON
-DTrilinos_ENABLE_Ifpack2:BOOL=ON
-DTrilinos_ENABLE_Amesos2:BOOL=ON
-DTrilinos_ENABLE_Zoltan2:BOOL=ON
-DTrilinos_ENABLE_Ifpack:BOOL=OFF
-DTrilinos_ENABLE_Amesos:BOOL=OFF
-DTrilinos_ENABLE_Zoltan:BOOL=ON
-DTrilinos_ENABLE_STKMesh:BOOL=ON
-DTrilinos_ENABLE_STKSimd:BOOL=ON
-DTrilinos_ENABLE_STKIO:BOOL=ON
-DTrilinos_ENABLE_STKTransfer:BOOL=ON
-DTrilinos_ENABLE_STKSearch:BOOL=ON
-DTrilinos_ENABLE_STKUtil:BOOL=ON
-DTrilinos_ENABLE_STKTopology:BOOL=ON
-DTrilinos_ENABLE_STKUnit_tests:BOOL=ON
-DTrilinos_ENABLE_STKUnit_test_utils:BOOL=ON
-DTrilinos_ENABLE_Gtest:BOOL=ON
-DTrilinos_ENABLE_STKClassic:BOOL=OFF
-DTrilinos_ENABLE_SEACASExodus:BOOL=ON
-DTrilinos_ENABLE_SEACASEpu:BOOL=ON
-DTrilinos_ENABLE_SEACASExodiff:BOOL=ON
-DTrilinos_ENABLE_SEACASNemspread:BOOL=ON
-DTrilinos_ENABLE_SEACASNemslice:BOOL=ON
-DTPL_ENABLE_MPI:BOOL=ON
-DTPL_ENABLE_Boost:BOOL=ON
-DBoost_INCLUDE_DIRS:PATH=${TPL_ROOT}/include
-DBoost_LIBRARY_DIRS:PATH=${TPL_ROOT}/lib
-DBoostLib_INCLUDE_DIRS:PATH=${TPL_ROOT}/include
-DBoostLib_LIBRARY_DIRS:PATH=${TPL_ROOT}/lib
-DTPL_ENABLE_SuperLU:BOOL=ON
-DSuperLU_LIBRARY_DIRS:PATH="${TPL_ROOT}/lib"
-DSuperLU_INCLUDE_DIRS:PATH="${TPL_ROOT}/include"
-DTPL_ENABLE_Netcdf:BOOL=ON
-DTPL_Netcdf_Enables_Netcdf4:BOOL=ON
-DTPL_Netcdf_PARALLEL:BOOL=ON
-DTPL_ENABLE_Pnetcdf:BOOL=ON
-DPnetcdf_LIBRARY_DIRS=${TPL_ROOT}/lib
-DPnetcdf_INCLUDE_DIRS=${TPL_ROOT}/include
-DNetcdf_LIBRARY_DIRS=${TPL_ROOT}/lib
-DNetcdf_INCLUDE_DIRS=${TPL_ROOT}/include
-DTPL_ENABLE_HDF5:BOOL=ON
-DHDF5_INCLUDE_DIRS:PATH=${TPL_ROOT}/include
-DHDF5_LIBRARY_DIRS:PATH=${TPL_ROOT}/lib
-DHDF5_NO_SYSTEM_PATHS:BOOL=ON
-DTPL_ENABLE_Zlib:BOOL=ON
-DTPL_ENABLE_CGNS:BOOL=OFF
)
```
</details>
@trilinos/tpetra https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2221Pamgen,kokkos-kernels: NVCC build error with -D CMAKE_CXX_USE_RESPONSE_FILE_F...2019-03-05T22:14:10ZJames WillenbringPamgen,kokkos-kernels: NVCC build error with -D CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS=ON*Created by: mhoemmen*
kokkos-kernels requires `-D CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS=ON` for CUDA builds, even with complex arithmetic disabled.
https://github.com/trilinos/Trilinos/issues/2115#issuecomment-357750048
However...*Created by: mhoemmen*
kokkos-kernels requires `-D CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS=ON` for CUDA builds, even with complex arithmetic disabled.
https://github.com/trilinos/Trilinos/issues/2115#issuecomment-357750048
However, Pamgen does not build, given those settings.
@trilinos/kokkos-kernels @trilinos/pamgen @trilinos/framework
CC: @rrdrake @prwolfe
## Expectations
1. Whatever flags kokkos-kernels needs to build on CUDA, they need not to block building other essential packages.
2. kokkos-kernels needs to document its CMake requirements.
3. kokkos-kernels needs to fail at configure time, with an informative message, if the CMake variables that it needs are not set.
## Current Behavior
```
$ make
[ 0%] Linking CXX shared library libpamgen.so
nvcc fatal : No input files specified; use option --help for more information
make[2]: *** [packages/pamgen/src/libpamgen.so.12.13] Error 1
make[1]: *** [packages/pamgen/src/CMakeFiles/pamgen.dir/all] Error 2
make: *** [all] Error 2
```
## Motivation and Context
Many downstream tests, including Belos and Ifpack2, depend on Pamgen. This blocks adequate Trilinos testing on CUDA.
## Steps to Reproduce
```
$ module list
Currently Loaded Modulefiles:
1) sems-env 3) sems-cmake/3.3.2 5) kokkos-cuda/8.0.44
2) kokkos-env 4) sems-gcc/5.3.0 6) kokkos-openmpi/2.0.1/cuda
```
CMake configuration:
```
-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON
-D BUILD_SHARED_LIBS:BOOL=ON
-D Trilinos_ENABLE_OpenMP:BOOL=ON
-D Kokkos_ENABLE_OpenMP:BOOL=ON
-D Tpetra_INST_OPENMP:BOOL=ON
-D Trilinos_SHOW_DEPRECATED_WARNINGS:BOOL=ON
-D Trilinos_ENABLE_Fortran:BOOL=OFF
-D TPL_ENABLE_CUDA:BOOL=ON
-D KOKKOS_ARCH="SNB;Kepler35"
-D Kokkos_ENABLE_Cuda:BOOL=ON
-D Kokkos_ENABLE_Cuda_UVM:BOOL=ON
-D Tpetra_INST_CUDA:BOOL=ON
-D Kokkos_ENABLE_Cuda_Lambda:BOOL=ON
-D CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS:BOOL=ON
-D CMAKE_CXX_FLAGS:STRING="-Wall"
-D Trilinos_CXX11_FLAGS:STRING="-std=c++11 --expt-extended-lambda"
-D TPL_ENABLE_MKL:BOOL=OFF
-D TPL_ENABLE_Matio:BOOL=OFF
-D TPL_ENABLE_SuperLU:BOOL=OFF
-D TPL_ENABLE_Zlib:BOOL=OFF
-D TPL_ENABLE_Netcdf:BOOL=OFF
-D TPL_ENABLE_HDF5:BOOL=OFF
-D TPL_ENABLE_ParMETIS:BOOL=OFF
-D TPL_ENABLE_Boost:BOOL=OFF
-D TPL_ENABLE_BoostLib:BOOL=OFF
-D TPL_ENABLE_yaml-cpp:BOOL=OFF
-D TPL_ENABLE_MPI:BOOL=ON
```
## Your Environment
- develop branch, commit 400765e21e17dfb995e0f4a2759ce9c5f961b685 (likely not related)
## Related Issues
* Blocks #2115 https://gitlab.osti.gov/jmwille/Trilinos/-/issues/2490PyTrilinos: Syntax error during compile2018-04-02T14:50:29ZJames WillenbringPyTrilinos: Syntax error during compile*Created by: emprice*
<!---
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 ...*Created by: emprice*
<!---
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.
-->
<!---
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.
-->
## Current Behavior
I configured Trilinos as follows:
```
PATH=/home/eprice/software/swig/bin:/home/eprice/software/gcc/bin:/home/eprice/software/binutils/bin:$PATH CC=/home/eprice/software/gcc/bin/gcc CXX=/home/eprice/software/gcc/bin/g++ HDF5_ROOT=/home/eprice/software/hdf5 /home/eprice/software/cmake/bin/cmake -DTPL_ENABLE_MPI=ON -DMPI_BASE_DIR=/home/eprice/software/mpich -DTrilinos_ENABLE_ALL_PACKAGES=ON -DTPL_ENABLE_Matio=OFF -DCMAKE_INSTALL_PREFIX=/home/eprice/software/trilinos -DBUILD_SHARED_LIBS=ON -DPYTHON_EXECUTABLE=/home/eprice/virtpy2/bin/python -DBLAS_LIBRARY_DIRS=/home/eprice/software/lapack/lib -DLAPACK_LIBRARY_DIRS=/home/eprice/software/lapack/lib -DBoost_INCLUDE_DIRS=/home/eprice/software/boost/include -DNetCDF_INCLUDE_DIRS=/home/eprice/software/netcdf/include -DNetCDF_LIBRARIES=/home/eprice/software/netcdf/lib/libnetcdf.so -DNetCDF_NEEDS_HDF5=ON -DNetCDF_PARALLEL=OFF -DBoostLib_LIBRARY_DIRS=/home/eprice/software/boost/lib ..
```
I get the following unexpected error during `make`:
```
[ 97%] Swig source /home/eprice/src/Trilinos-trilinos-release-12-12-1/packages/PyTrilinos/src/Domi.i
/home/eprice/src/Trilinos-trilinos-release-12-12-1/build/packages/PyTrilinos/doc/Doxygen/Tpetra_dox.i:14798: Error: Syntax error in input(1).
make[2]: *** [packages/PyTrilinos/src/DomiPYTHON_wrap.cpp] Error 1
make[1]: *** [packages/PyTrilinos/src/CMakeFiles/PyTrilinos_Domi.dir/all] Error 2
make: *** [all] Error 2
```
## Motivation and Context
I am compiling Trilinos as part of a larger software package, FEniCS. I can't move forward until the issue is resolved.
## Your Environment
<!---
Include relevant details about your environment such that we can replicate this
issue.
-->
I downloaded Trilinos directly from the Releases page: Trilinos-trilinos-release-12-12-1
Operating system: CentOS 6.9 x86_64
Compiler versions: gcc 6.3.0, using MPICH 3.2.1
## 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?
-->
I don't have root privileges on this machine (which is why my configure is so complicated -- I have local installs of a lot of my software). So any debugging/reconfiguring needs to be done in such a way that only my local installations are affected.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3071Problem with DTK build2018-07-09T15:03:09ZJames WillenbringProblem with DTK build*Created by: keitat*
ECP-xSDK team has been working on type 2 package build and additional packages (DTK, etc.) for the fall release. We have observed a build error when DTK (by ORNL) is enabled.
(gcc 7.1.0)
This is the current bui...*Created by: keitat*
ECP-xSDK team has been working on type 2 package build and additional packages (DTK, etc.) for the fall release. We have observed a build error when DTK (by ORNL) is enabled.
(gcc 7.1.0)
This is the current build setting in Spack (xsdk/pacakges.py).
` depends_on('trilinos@develop+hypre+superlu-dist+metis+hdf5~mumps+boost~suite-sparse+tpetra+nox+ifpack2+zoltan2+amesos2+dtk~exodus',`
But get:
```
1 error found in build log:
135 -- Setting Trilinos_ENABLE_STKSearchUtil=OFF because STKSearchUtil has a required library dependence on disabled package STKMesh
136 -- Setting Trilinos_ENABLE_STKTools=OFF because STKTools has a required library dependence on disabled package STKMesh
137 -- Setting Trilinos_ENABLE_PanzerAdaptersSTK=OFF because PanzerAdaptersSTK has a required library dependence on disabled package STKMesh
138 -- Setting Trilinos_ENABLE_STKUnit_test_utils=OFF because STKUnit_test_utils has a required library dependence on disabled package STKIO
139 -- Setting STKSearch_ENABLE_TESTS=OFF because STKSearch has a required test/example dependence on disabled package STKUnit_test_utils
140 -- Setting STKSearch_ENABLE_EXAMPLES=OFF because STKSearch has a required test/example dependence on disabled package STKUnit_test_utils
>> 141 CMake Error at cmake/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake:1098 (MESSAGE):
142 ***
143 *** ERROR: Setting Trilinos_ENABLE_DataTransferKit=OFF which was 'ON' because DataTransferKit has a required library dependence on disabled package D
ataTransferKitDiscretization!
144 ***
145
146 Call Stack (most recent call first):
147 cmake/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake:1181 (TRIBITS_PRIVATE_PRINT_DISABLE)
```
I think some packages are missing in order to integrate DTK. Please let me know if you need more information.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3118Kokkos CMake error (fixed in kokkos:develop)2018-07-16T15:37:16ZJames WillenbringKokkos CMake error (fixed in kokkos:develop)*Created by: mhoemmen*
@trilinos/kokkos @trilinos/framework
## Current Behavior
At least one Trilinos build on the Dashboard shows the following CMake error:
```
CMake Error at packages/kokkos/cmake/kokkos_functions.cmake:50 (s...*Created by: mhoemmen*
@trilinos/kokkos @trilinos/framework
## Current Behavior
At least one Trilinos build on the Dashboard shows the following CMake error:
```
CMake Error at packages/kokkos/cmake/kokkos_functions.cmake:50 (string):
Syntax error in cmake code at
/home/jenkins/slave/workspace/Trilinos_apollo_gcc_4.9.3_cuda_8.0.44/MPI_RELEASE_DEV_DownStream_ETI_SERIAL-ON_OPENMP-OFF_PTHREAD-OFF_CUDA-ON_COMPLEX-OFF/Trilinos/packages/kokkos/cmake/kokkos_functions.cmake:50
when parsing string
[0-9]+\.[0-9]+\.[0-9]+$
Invalid escape sequence \.
Call Stack (most recent call first):
cmake/ProjectCompilerPostConfig.cmake:34 (set_kokkos_cxx_compiler)
/home/jenkins/slave/workspace/Trilinos_apollo_gcc_4.9.3_cuda_8.0.44/Trilinos/cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:1847 (INCLUDE)
/home/jenkins/slave/workspace/Trilinos_apollo_gcc_4.9.3_cuda_8.0.44/Trilinos/cmake/tribits/core/package_arch/TribitsProjectImpl.cmake:188 (TRIBITS_SETUP_ENV)
/home/jenkins/slave/workspace/Trilinos_apollo_gcc_4.9.3_cuda_8.0.44/Trilinos/cmake/tribits/core/package_arch/TribitsProject.cmake:93 (TRIBITS_PROJECT_IMPL)
CMakeLists.txt:90 (TRIBITS_PROJECT)
```
This is https://github.com/kokkos/kokkos/issues/1661 , which has been fixed in kokkos:develop by Kokkos PR https://github.com/kokkos/kokkos/pull/1662 .
## Possible Solution
Wait until the next Kokkos promotion into Trilinos.
## Related Issues
* Related to https://github.com/kokkos/kokkos/issues/1661https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3117Piro: No-MPI ("SERIAL") build fails due to use of `MPI_Comm`2018-07-16T15:05:40ZJames WillenbringPiro: No-MPI ("SERIAL") build fails due to use of `MPI_Comm`*Created by: mhoemmen*
@trilinos/piro
Trilinos' no-MPI ("SERIAL") build [fails with the following build error](https://testing-vm.sandia.gov/cdash/viewBuildError.php?buildid=3725007):
```
/scratch/trilinos/workspace/trilinos-folde...*Created by: mhoemmen*
@trilinos/piro
Trilinos' no-MPI ("SERIAL") build [fails with the following build error](https://testing-vm.sandia.gov/cdash/viewBuildError.php?buildid=3725007):
```
/scratch/trilinos/workspace/trilinos-folder/Trilinos_generic_nightly@2/SERIAL_Release_gcc_4.9.3__DEV/Trilinos/packages/piro/test/MockModelEval_A_Tpetra.hpp:86:32: error: ‘MPI_Comm’ does not name a type
MockModelEval_A_Tpetra(const MPI_Comm appComm);
```
It's not legal to use `MPI_*` types if MPI is not enabled.
## Possible Solution
1. Protect use of `MPI_*` types with the appropriate macro, or
2. use a wrapper like `Teuchos::Comm`.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3137MueLu: Static library is HUGE; splitting by GlobalOrdinal etc. won't help2019-05-03T22:19:12ZJames WillenbringMueLu: Static library is HUGE; splitting by GlobalOrdinal etc. won't help*Created by: mhoemmen*
@trilinos/muelu @micahahoward @tcfisher
SPARC wasn't actually able to build MueLu before on Intel 17, static debug, because the library was too huge for the linker. PR #3100 fixes this for ATDM Dashboard buil...*Created by: mhoemmen*
@trilinos/muelu @micahahoward @tcfisher
SPARC wasn't actually able to build MueLu before on Intel 17, static debug, because the library was too huge for the linker. PR #3100 fixes this for ATDM Dashboard builds by using a new BinUtils module, and thus a new linker. I fixed this for SPARC by setting `Tpetra_INST_INT_INT=OFF` and `Amesos2_ENABLE_Epetra=OFF`.
While I'm able to build Trilinos now, `libmuelu.a` is still 3.8G. This is with only one Scalar type (`double`), one GlobalOrdinal type (`long long`), and one Node type (`OpenMP`) enabled. That suggests that splitting MueLu's library by GlobalOrdinal and/or Node won't actually help shrink the library. Instead, if we want to split it, we'll need to split it by topic.
## Expectations
Libraries shouldn't be so huge that they require 64-bit linkers.
## Current Behavior
`libmuelu.a` is 3.8G when I have only one Scalar, GlobalOrdinal, and Node type combination enabled.
## Possible Solution
Split `libmuelu` by topic, e.g., smoothers, aggregation, etc.
## Steps to Reproduce
Intel 17 static debug build, ATDM libraries.
## Related Issues
* Follows #3069
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3159Tpetra: Improve build time & encapsulation by stripping many includes from Te...2018-07-20T18:40:57ZJames WillenbringTpetra: Improve build time & encapsulation by stripping many includes from Teuchos_ConfigDefs.hpp*Created by: mhoemmen*
`Tpetra_ConfigDefs.hpp` includes a lot of header files that really only belong to implementations or tests. If we strip those out, we can save some build time and improve encapsulation. We do need to be careful ...*Created by: mhoemmen*
`Tpetra_ConfigDefs.hpp` includes a lot of header files that really only belong to implementations or tests. If we strip those out, we can save some build time and improve encapsulation. We do need to be careful with this and test downstream; those includes have been in there a long time, and I've seen cases where I've broken applications like Albany just by removing an include from `Teuchos_ConfigDefs.hpp`.
@trilinos/tpetra
## Related Issues
* Related to #351 https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3178Pull request testing should set -Werror2019-05-02T22:07:04ZJames WillenbringPull request testing should set -Werror*Created by: mhoemmen*
@vbrunini asks whether pull request testing could set `-Werror`, so as to avoid issues like #3177.
@trilinos/framework @khpierson
## Expectations
Trilinos -- at least the library, not necessarily tests a...*Created by: mhoemmen*
@vbrunini asks whether pull request testing could set `-Werror`, so as to avoid issues like #3177.
@trilinos/framework @khpierson
## Expectations
Trilinos -- at least the library, not necessarily tests and examples -- should build warning-free.
## Current Behavior
See #3177. There is an issue that it's impossible to fix warnings in some packages.
## Motivation and Context
Sierra builds with warnings as errors, so they want Trilinos to build warning-free.
## Possible Solution
Exclude legacy packages like ML. Fix warnings. Add `-Werror` to at least one PR build.
## Related Issues
* Related to #3177 Improve productivity, stability, and quality of Trilinoshttps://gitlab.osti.gov/jmwille/Trilinos/-/issues/3360Trilinos PR testing needs a build with KOKKOS_ENABLE_DEPRECATED_CODE=OFF2018-08-27T17:35:56ZJames WillenbringTrilinos PR testing needs a build with KOKKOS_ENABLE_DEPRECATED_CODE=OFF*Created by: mhoemmen*
@trilinos/framework
Trilinos developers keep adding use of deprecated Kokkos functions back into Trilinos. See e.g., #3358. They do so because no PR test builds disable deprecated Kokkos functions, and becau...*Created by: mhoemmen*
@trilinos/framework
Trilinos developers keep adding use of deprecated Kokkos functions back into Trilinos. See e.g., #3358. They do so because no PR test builds disable deprecated Kokkos functions, and because Trilinos enables deprecated Kokkos functions by default. If we disable deprecated Kokkos functions in at least one PR test build, Trilinos developers will learn not to rely on those functions.
## Motivation and Context
See Sierra Ticket 19694.
## Possible Solution
In at least one PR test build, set KOKKOS_ENABLE_DEPRECATED_CODE=OFF.
## Related Issues
* Related to #3358 https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3456PyTrilinos: Conflicting types in Teuchos_BLAS_wrapper.hpp2018-10-25T16:48:26ZJames WillenbringPyTrilinos: Conflicting types in Teuchos_BLAS_wrapper.hpp*Created by: wfspotz*
@trilinos/pytrilinos
@trilinos/teuchos
@trilinos/kokkos-kernels
## Expectations
I expect to build PyTrilinos without compilation errors
## Current Behavior
I have a wrapper file that `#include`s the he...*Created by: wfspotz*
@trilinos/pytrilinos
@trilinos/teuchos
@trilinos/kokkos-kernels
## Expectations
I expect to build PyTrilinos without compilation errors
## Current Behavior
I have a wrapper file that `#include`s the header `MLAPI_MultiVector.h` which gives the compilation error
/Development/Trilinos/packages/teuchos/numerics/src/Teuchos_BLAS_wrappers.hpp:173:13: error: conflicting types for 'daxpy_'
void PREFIX DAXPY_F77(const int* n, const double* alpha, const double x[], const int* incx, double y[], const int* incy);
^
/Development/Trilinos/packages/teuchos/numerics/src/Teuchos_BLAS_wrappers.hpp:78:21: note: expanded from macro 'DAXPY_F77'
#define DAXPY_F77 F77_BLAS_MANGLE(daxpy,DAXPY)
^
/Development/Trilinos/MPI/packages/teuchos/core/src/Teuchos_config.h:10:37: note: expanded from macro 'F77_BLAS_MANGLE'
#define F77_BLAS_MANGLE(name,NAME) name ## _
^
<scratch space>:23:1: note: expanded from here
daxpy_
^
/Development/Trilinos/packages/kokkos-kernels/src/impl/tpls/KokkosBlas1_axpby_tpl_spec_decl.hpp:49:17: note: previous declaration is here
extern "C" void daxpy_( const int* N, const double* alpha,
## Definition of Done
I can get the PyTrilinos package to build and all of the PyTrilinos tests to pass.
## Possible Solution
I'm not sure why this conflicting type declaration is occurring, but it is clearly related to macro expansion. Based on `git blame` of `Teuchos_BLAS_wrapper.h` I'm hoping either @jwillenbring or @hkthorn might have some idea what the problem could be. PyTrilinos can present some unique configuration issues.
## Steps to Reproduce
If it gets to this, I can help someone set up their environment to build PyTrilinos.
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3574Ifpack2 + Kokkos + complex float : compilation error2019-03-08T14:28:23ZJames WillenbringIfpack2 + Kokkos + complex float : compilation error*Created by: davydden*
## Expectations
Trilinos `trilinos-release-12-14-branch` builds with ETI and complex and float types
## Current Behavior
```
8051 In file included from /Users/davydden/spack/var/spack/stage/trilinos-12...*Created by: davydden*
## Expectations
Trilinos `trilinos-release-12-14-branch` builds with ETI and complex and float types
## Current Behavior
```
8051 In file included from /Users/davydden/spack/var/spack/stage/trilinos-12.14-hpmbucm6pphwdcf3p6hhqcac2cm5qts6/Trilinos/spack-build/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_Serial.cpp:50:
8052 In file included from /Users/davydden/spack/var/spack/stage/trilinos-12.14-hpmbucm6pphwdcf3p6hhqcac2cm5qts6/Trilinos/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_def.hpp:52:
>> 8053 /Users/davydden/spack/var/spack/stage/trilinos-12.14-hpmbucm6pphwdcf3p6hhqcac2cm5qts6/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_Util.hpp:195:7: error: static_assert failed "KokkosKernels:: Invalid SIMD<> type."
8054 static_assert( std::is_same<T,bool>::value ||
8055 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8056 /Users/davydden/spack/var/spack/stage/trilinos-12.14-hpmbucm6pphwdcf3p6hhqcac2cm5qts6/Trilinos/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_impl.hpp:1568:28: note: in instantiation of template class 'KokkosBatched::Experimental::SIMD<Kokkos::complex<floa
t> >' requested here
8057 B.assign_data( &vector_values(i0+1,0,0) );
8058 ^
8059 /Users/davydden/spack/var/spack/stage/trilinos-12.14-hpmbucm6pphwdcf3p6hhqcac2cm5qts6/Trilinos/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_impl.hpp:1651:9: note: in instantiation of member function 'Ifpack2::BlockTriDiContainerDetails::ExtractAndFactori
zeTridiags<Tpetra::Classes::RowMatrix<std::__1::complex<float>, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::factorize' requested here
```
## Steps to Reproduce
configure and build with:
```
-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON
-DTpetra_INST_DOUBLE:BOOL=ON
-DTpetra_INST_INT_LONG:BOOL=ON
-DTpetra_INST_COMPLEX_DOUBLE=ON
-DTpetra_INST_COMPLEX_FLOAT=ON
-DTpetra_INST_FLOAT=ON
-DTpetra_INST_SERIAL=ON
-DTeuchos_ENABLE_COMPLEX=ON
-DTeuchos_ENABLE_FLOAT=ON
```
## Your Environment
macOS Mojave
Apple Clang 10.0.0
gfortran 8.2.0
## Additional Information
full config/build logs:
[logs.zip](https://github.com/trilinos/Trilinos/files/2454254/logs.zip)
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3596Amesos2: Build warnings with all Scalar types enabled, Node=Serial only2018-10-10T22:31:59ZJames WillenbringAmesos2: Build warnings with all Scalar types enabled, Node=Serial only*Created by: mhoemmen*
@trilinos/amesos2
When I enable all four supported Scalar types, I get build warnings that look like this:
```
.../Trilinos/packages/xpetra/src/MultiVector/Xpetra_EpetraMultiVector.cpp:123:16: warning: expli...*Created by: mhoemmen*
@trilinos/amesos2
When I enable all four supported Scalar types, I get build warnings that look like this:
```
.../Trilinos/packages/xpetra/src/MultiVector/Xpetra_EpetraMultiVector.cpp:123:16: warning: explicit instantiation of 'EpetraMultiVectorT<int,
Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >' that occurs after an explicit specialization has no effect [-Winstantiation-after-specialization]
template class EpetraMultiVectorT<int, Kokkos::Compat::KokkosSerialWrapperNode >;
^
.../Trilinos/packages/xpetra/src/MultiVector/Xpetra_EpetraMultiVector.hpp:340:9: note: previous template specialization is here
class EpetraMultiVectorT<int, EpetraNode>
^
.../Trilinos/packages/xpetra/src/MultiVector/Xpetra_EpetraMultiVector.cpp:167:16: warning: explicit instantiation of 'EpetraMultiVectorT<long long,
Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >' that occurs after an explicit specialization has no effect [-Winstantiation-after-specialization]
template class EpetraMultiVectorT<long long, Kokkos::Compat::KokkosSerialWrapperNode >;
^
.../Trilinos/packages/xpetra/src/MultiVector/Xpetra_EpetraMultiVector.hpp:754:9: note: previous template specialization is here
class EpetraMultiVectorT<long long, EpetraNode>
^
2 warnings generated.
```https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3666Teuchos: strange warning under CUDA2018-10-19T17:24:24ZJames WillenbringTeuchos: strange warning under CUDA*Created by: jhux2*
Here is the warning:
```
246/442] Building CXX object packages/tpetra/core/src.../tpetra.dir/Tpetra_CrsMatrix_DOUBLE_INT_INT_CUDA.cpp.o
/home/jhu/software/trilinos/Trilinos/packages/teuchos/numerics/src/Teuchos_Se...*Created by: jhux2*
Here is the warning:
```
246/442] Building CXX object packages/tpetra/core/src.../tpetra.dir/Tpetra_CrsMatrix_DOUBLE_INT_INT_CUDA.cpp.o
/home/jhu/software/trilinos/Trilinos/packages/teuchos/numerics/src/Teuchos_SerialDenseMatrix.hpp: In instantiation of ‘Teuchos::SerialDenseMatrix<OrdinalType, ScalarType>& Teuchos::SerialDenseMatrix<OrdinalType, ScalarType>::operator=(const Teuchos::SerialDenseMatrix<OrdinalType, ScalarType>&) [with OrdinalType = int; ScalarType = double]’:
/home/jhu/software/trilinos/Trilinos/packages/teuchos/numerics/src/Teuchos_SerialDenseSolver.hpp:690:11: required from ‘int Teuchos::SerialDenseSolver<OrdinalType, ScalarType>::solve() [with OrdinalType = int; ScalarType = double]’
/home/jhu/software/trilinos/Trilinos/packages/muelu/src/Transfers/BlackBox/MueLu_BlackBoxPFactory_def.hpp:1637:1: required from ‘void MueLu::BlackBoxPFactory<Scalar, LocalOrdinal, GlobalOrdinal, Node>::ComputeLocalEntries(const Teuchos::RCP<const Xpetra::Matrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> >&, Teuchos::Array<T>, Teuchos::Array<T>, LocalOrdinal, Teuchos::Array<T>, Teuchos::Array<T>, LocalOrdinal, Teuchos::Array<T>, Teuchos::Array<GlobalOrdinal>, Teuchos::Array<GlobalOrdinal>, Teuchos::Array<T>, Teuchos::Array<bool>, Teuchos::Array<int>, std::__cxx11::string, std::__cxx11::string, Teuchos::Array<T>, LocalOrdinal, Teuchos::Array<GlobalOrdinal>, Teuchos::SerialDenseMatrix<LocalOrdinal, Scalar>&, Teuchos::SerialDenseMatrix<LocalOrdinal, Scalar>&, Teuchos::SerialDenseMatrix<LocalOrdinal, Scalar>&, Teuchos::Array<T>&, Teuchos::Array<T>&) const [with Scalar = double; LocalOrdinal = int; GlobalOrdinal = int; Node = Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/jhu/software/trilinos/Trilinos/packages/muelu/src/Utils/MueLu_ETI_4arg.hpp:42:23: required from here
/home/jhu/software/trilinos/Trilinos/packages/teuchos/numerics/src/Teuchos_SerialDenseMatrix.hpp:659:14: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla]
values_ = new ScalarType[newsize];
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
```
but as you can see, there are no parentheses.
@trilinos/teuchos https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3743Xpetra: compile issues in Xpetra_TpetraCrsGraph.hpp2018-10-29T16:41:33ZJames WillenbringXpetra: compile issues in Xpetra_TpetraCrsGraph.hpp*Created by: jhux2*
Reported by M. Howard, and also seen [here](https://testing.sandia.gov/cdash/viewBuildError.php?buildid=4099368). Possibly related to #3689.
```
[ 23%] Building CXX object packages/xpetra/sup/CMakeFiles/xpetra-...*Created by: jhux2*
Reported by M. Howard, and also seen [here](https://testing.sandia.gov/cdash/viewBuildError.php?buildid=4099368). Possibly related to #3689.
```
[ 23%] Building CXX object packages/xpetra/sup/CMakeFiles/xpetra-sup.dir/Matrix/Xpetra_MatrixFactory.cpp.o
In file included from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_TpetraCrsMatrix.hpp(63),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_CrsMatrixFactory.hpp(54),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_Matrix.hpp(60),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_MatrixFactory.hpp(54),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_MatrixFactory.cpp(50):
/home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsGraph/Xpetra_TpetraCrsGraph.hpp(694): error: name followed by "::" must be a class or namespace name
TEUCHOS_TEST_FOR_EXCEPTION(true, Exception::RuntimeError,
^
In file included from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_TpetraCrsMatrix.hpp(63),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_CrsMatrixFactory.hpp(54),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_Matrix.hpp(60),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_MatrixFactory.hpp(54),
from /home/mhoward/codes/sparc/Trilinos/packages/xpetra/sup/Matrix/Xpetra_MatrixFactory.cpp(50):
/home/mhoward/codes/sparc/Trilinos/packages/xpetra/src/CrsGraph/Xpetra_TpetraCrsGraph.hpp(696): error: no suitable constructor exists to convert from "Teuchos::ENull" to "Kokkos::StaticCrsGraph<int, Kokkos::LayoutLeft, Kokkos::OpenMP, Kokkos::HostSpace::size_type={size_t={unsigned long}}, void>"
TEUCHOS_UNREACHABLE_RETURN(null);
```https://gitlab.osti.gov/jmwille/Trilinos/-/issues/3946MueLu: Scalar=float build errors2018-12-07T20:41:46ZJames WillenbringMueLu: Scalar=float build errors*Created by: mhoemmen*
@trilinos/muelu
Reported by @davydden in [this comment](https://github.com/trilinos/Trilinos/issues/3572#issuecomment-442327278). Here are the reported build errors:
```
8158 In file included from /U...*Created by: mhoemmen*
@trilinos/muelu
Reported by @davydden in [this comment](https://github.com/trilinos/Trilinos/issues/3572#issuecomment-442327278). Here are the reported build errors:
```
8158 In file included from /Users/davydden/spack/var/spack/stage/trilinos-develop-p6xmhguuqtomai5fy4a36qmnn4wpqzfq/Trilinos/spack-build/packages/muelu/src/Utils/ExplicitInstantiation/MueLu_Zoltan2Interface.cpp:55:
>> 8159 /Users/davydden/spack/var/spack/stage/trilinos-develop-p6xmhguuqtomai5fy4a36qmnn4wpqzfq/Trilinos/packages/muelu/src/Rebalancing/MueLu_Zoltan2Interface_def.hpp:197:24: error: no matching constructor for initialization of 'InputAdapterType' (aka 'XpetraMultiVe
ctorAdapter<MultiVector<float, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >')
8160 InputAdapterType adapter(coords, weights, strides);
8161 ^ ~~~~~~~~~~~~~~~~~~~~~~~~
8162 /Users/davydden/spack/var/spack/stage/trilinos-develop-p6xmhguuqtomai5fy4a36qmnn4wpqzfq/Trilinos/packages/muelu/src/Utils/MueLu_ETI_4arg.hpp:32:45: note: in instantiation of member function 'MueLu::Zoltan2Interface<float, int, int, Kokkos::Compat::KokkosDevi
ceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >::Build' requested here
8163 TPETRA_INSTANTIATE_SLGN_NO_ORDINAL_SCALAR(MUELU_ETI_GROUP)
8164 ^
8165 /Users/davydden/spack/var/spack/stage/trilinos-develop-p6xmhguuqtomai5fy4a36qmnn4wpqzfq/Trilinos/packages/zoltan2/src/input/Zoltan2_XpetraMultiVectorAdapter.hpp:119:3: note: candidate constructor not viable: no known conversion from 'std::vector<const double
*>' to 'std::vector<const scalar_t *> &' (aka 'vector<const float *> &') for 2nd argument
```
It's possible that this could block Sierra promotion, since they enable Scalar=float.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4035Xpetra: Build warnings with GCC 7.2 and CUDA (ATDM build)2018-12-16T21:53:36ZJames WillenbringXpetra: Build warnings with GCC 7.2 and CUDA (ATDM build)*Created by: mhoemmen*
@trilinos/xpetra
```
.../Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_TpetraCrsMatrix.hpp(955): warning: missing return statement at end of non-void function "Xpetra::TpetraCrsMatrix<Scalar, int, int, Xpetra:...*Created by: mhoemmen*
@trilinos/xpetra
```
.../Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_TpetraCrsMatrix.hpp(955): warning: missing return statement at end of non-void function "Xpetra::TpetraCrsMatrix<Scalar, int, int, Xpetra::EpetraNode>::getLocalMatrix [with Scalar=double]"
detected during:
instantiation of "Xpetra::TpetraCrsMatrix<Scalar, int, int, Xpetra::EpetraNode>::local_matrix_type Xpetra::TpetraCrsMatrix<Scalar, int, int, Xpetra::EpetraNode>::getLocalMatrix() const [with Scalar=double]"
(613): here
instantiation of "Xpetra::TpetraCrsMatrix<Scalar, int, int, Xpetra::EpetraNode>::TpetraCrsMatrix(const Teuchos::RCP<const Xpetra::Map<int, int, Xpetra::EpetraNode>> &, size_t, Xpetra::ProfileType, const Teuchos::RCP<Teuchos::ParameterList> &) [with Scalar=double]"
.../Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_CrsMatrixFactory.hpp(288): here
```https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4036Ifpack2: Build warning in test, suggesting incorrectness or unexpected behavior2018-12-12T00:36:08ZJames WillenbringIfpack2: Build warning in test, suggesting incorrectness or unexpected behavior*Created by: mhoemmen*
@trilinos/ifpack2
I get the following build warning with GCC 7.2 and CUDA (ATDM build):
```
.../Trilinos/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainerUtil.hpp: In lambda function:
/sc...*Created by: mhoemmen*
@trilinos/ifpack2
I get the following build warning with GCC 7.2 and CUDA (ATDM build):
```
.../Trilinos/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainerUtil.hpp: In lambda function:
/scratch/mhoemme/sparc/Trilinos/packages/ifpack2/test/unit_tests/Ifpack2_UnitTestBlockTriDiContainerUtil.hpp:249:34: warning: comparison of constant ‘1’ with boolean expression is always false [-Wbool-compare]
input.tolerance = norm_based > 1 ? tol : 0;
~~~~~~~~~~~^~~
```
It looks like this is an operator precedence issue.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4038Xpetra/Epetra: link error in panzer test for intel debug static2019-04-26T16:35:24ZJames WillenbringXpetra/Epetra: link error in panzer test for intel debug static*Created by: bathmatt*
<!---
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: ".
-->
When I try to link p...*Created by: bathmatt*
<!---
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: ".
-->
When I try to link packages/panzer/adapters-stk/test/solver/PanzerAdaptersSTK_solver.exe I get a missing tpetra symbol for intel debug static, but intel opt static works.. No idea why. This is with a RHEL7 machine using all sems and Ross' new build scripts.
<!---
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.
-->
Here is the error message I see, no idea why the xpetra epetra map is looking for something tpetra??
```
packages/xpetra/src/libxpetra.a(Xpetra_EpetraMap.cpp.o): In function `Tpetra::Details::LocalMap<int, long, Kokkos::Device<Kokkos::OpenMP, Kokkos::HostSpace> >::LocalMap()':
```
Here is my link line
```
: && /projects/sems/install/rhel7-x86_64/sems/compiler/intel/17.0.1/openmpi/1.10.1/bin/mpicxx --std=c++11 -g -fopenmp -g packages/panzer/adapters-stk/test/solver/CMakeFiles/PanzerAdaptersSTK_solver.dir/solver.cpp.o packages/panzer/adapters-stk/test/solver/CMakeFiles/PanzerAdaptersSTK_solver.dir/__/__/__/__/phalanx/test/Utilities/Phalanx_UnitTestMain.cpp.o -o packages/panzer/adapters-stk/test/solver/PanzerAdaptersSTK_solver.exe packages/panzer/adapters-stk/src/libpanzer-stk.a packages/muelu/adapters/libmuelu-adapters.a packages/muelu/src/Interface/libmuelu-interface.a packages/muelu/src/libmuelu.a packages/teko/src/libteko.a packages/ifpack2/adapters/libifpack2-adapters.a packages/ifpack2/src/libifpack2.a packages/seacas/libraries/ioss/src/main/libio_info_lib.a packages/seacas/libraries/ioss/src/init/libIonit.a packages/seacas/libraries/ioss/src/transform/libIotr.a packages/seacas/libraries/ioss/src/heartbeat/libIohb.a packages/seacas/libraries/ioss/src/gen_struc/libIogs.a packages/seacas/libraries/ioss/src/generated/libIogn.a packages/seacas/libraries/ioss/src/visualization/libIovs.a packages/seacas/libraries/ioss/src/pamgen/libIopg.a packages/seacas/libraries/ioss/src/exo_fac/libIoexo_fac.a packages/seacas/libraries/ioss/src/exo_fpp/libIofx.a packages/seacas/libraries/ioss/src/exodus/libIoex.a packages/seacas/libraries/ioss/src/libIoss.a packages/seacas/libraries/exodus/libexodus.a packages/panzer/disc-fe/src/libpanzer-disc-fe.a packages/panzer/dof-mgr/src/libpanzer-dof-mgr.a packages/phalanx/src/libphalanx.a packages/panzer/core/src/libpanzer-core.a packages/piro/src/libpiro.a packages/muelu/adapters/libmuelu-adapters.a packages/muelu/src/Interface/libmuelu-interface.a packages/muelu/src/libmuelu.a packages/intrepid2/src/libintrepid2.a packages/sacado/src/libsacado.a packages/tempus/src/libtempus.a packages/rythmos/src/librythmos.a packages/nox/src-loca/src-thyra/liblocathyra.a packages/nox/src-loca/src-epetra/liblocaepetra.a packages/nox/src-loca/src-lapack/liblocalapack.a packages/nox/src-loca/src/libloca.a packages/nox/src-epetra/libnoxepetra.a packages/nox/src-lapack/libnoxlapack.a packages/nox/src/libnox.a packages/teko/src/libteko.a packages/ifpack2/adapters/libifpack2-adapters.a packages/ifpack2/src/libifpack2.a packages/zoltan2/src/libzoltan2.a packages/anasazi/tpetra/src/libanasazitpetra.a packages/anasazi/epetra/util/ModeLaplace/libModeLaplace.a packages/anasazi/epetra/src/libanasaziepetra.a packages/anasazi/src/libanasazi.a packages/stk/stk_io/stk_io/util/libstk_io_util.a packages/stk/stk_io/stk_io/libstk_io.a packages/seacas/libraries/ioss/src/main/libio_info_lib.a packages/seacas/libraries/ioss/src/init/libIonit.a packages/seacas/libraries/ioss/src/transform/libIotr.a packages/seacas/libraries/ioss/src/heartbeat/libIohb.a packages/seacas/libraries/ioss/src/gen_struc/libIogs.a packages/seacas/libraries/ioss/src/generated/libIogn.a packages/seacas/libraries/ioss/src/visualization/libIovs.a packages/seacas/libraries/ioss/src/pamgen/libIopg.a packages/seacas/libraries/ioss/src/exo_fac/libIoexo_fac.a packages/seacas/libraries/ioss/src/exo_fpp/libIofx.a packages/seacas/libraries/ioss/src/exodus/libIoex.a packages/seacas/libraries/ioss/src/libIoss.a packages/pamgen/src/libpamgen_extras.a packages/pamgen/src/libpamgen.a packages/stk/stk_mesh/stk_mesh/base/libstk_mesh_base.a packages/shards/src/libshards.a packages/stk/stk_topology/stk_topology/libstk_topology.a packages/stk/stk_util/stk_util/use_cases/libstk_util_use_cases.a packages/stk/stk_util/stk_util/registry/libstk_util_registry.a packages/stk/stk_util/stk_util/diag/libstk_util_diag.a packages/stk/stk_util/stk_util/environment/libstk_util_env.a packages/stk/stk_util/stk_util/parallel/libstk_util_parallel.a packages/stk/stk_util/stk_util/util/libstk_util_util.a /projects/sems/install/rhel7-x86_64/sems/tpl/boost/1.59.0/intel/17.0.1/base/lib/libboost_program_options.so /projects/sems/install/rhel7-x86_64/sems/tpl/boost/1.59.0/intel/17.0.1/base/lib/libboost_system.so packages/seacas/libraries/aprepro_lib/libaprepro_lib.a packages/seacas/libraries/exodus/libexodus.a -L/projects/sems/install/rhel7-x86_64/sems/tpl/hdf5/1.8.12/intel/17.0.1/openmpi/1.10.1/parallel/lib -L/projects/sems/install/rhel7-x86_64/sems/tpl/boost/1.59.0/intel/17.0.1/base/lib -L/projects/sems/install/rhel7-x86_64/sems/tpl/netcdf/4.4.1/intel/17.0.1/openmpi/1.10.1/exo_parallel/lib -L/lib -lboost_program_options -lboost_system -lnetcdf -lpnetcdf -lhdf5 -lcurl -lhdf5_hl -lz packages/stratimikos/src/libstratimikos.a packages/stratimikos/adapters/belos/src/libstratimikosbelos.a packages/stratimikos/adapters/amesos2/src/libstratimikosamesos2.a packages/stratimikos/adapters/aztecoo/src/libstratimikosaztecoo.a packages/stratimikos/adapters/amesos/src/libstratimikosamesos.a packages/stratimikos/adapters/ml/src/libstratimikosml.a packages/stratimikos/adapters/ifpack/src/libstratimikosifpack.a packages/amesos2/src/libamesos2.a packages/ml/src/libml.a packages/galeri/src-xpetra/libgaleri-xpetra.a packages/galeri/src-epetra/libgaleri-epetra.a packages/ifpack/src/libifpack.a packages/amesos/src/libamesos.a packages/common/auxiliarySoftware/SuiteSparse/src/libtrilinosss.a packages/belos/xpetra/src/libbelosxpetra.a packages/belos/tpetra/src/libbelostpetra.a packages/belos/epetra/src/libbelosepetra.a packages/belos/src/libbelos.a packages/xpetra/sup/libxpetra-sup.a packages/xpetra/src/libxpetra.a packages/thyra/adapters/tpetra/src/libthyratpetra.a packages/thyra/adapters/epetraext/src/libthyraepetraext.a packages/epetraext/src/libepetraext.a packages/thyra/adapters/epetra/src/libthyraepetra.a packages/thyra/core/src/libthyracore.a packages/rtop/src/librtop.a packages/tpetra/core/ext/libtpetraext.a packages/tpetra/core/inout/libtpetrainout.a packages/tpetra/core/src/libtpetra.a packages/kokkos-kernels/src/libkokkoskernels.a packages/kokkos/algorithms/src/libkokkosalgorithms.a packages/kokkos/containers/src/libkokkoscontainers.a packages/tpetra/classic/LinAlg/libtpetraclassiclinalg.a packages/tpetra/classic/NodeAPI/libtpetraclassicnodeapi.a packages/tpetra/classic/src/libtpetraclassic.a packages/aztecoo/src/libaztecoo.a packages/triutils/src/libtriutils.a packages/epetra/src/libepetra.a packages/teuchos/kokkoscomm/src/libteuchoskokkoscomm.a packages/teuchos/kokkoscompat/src/libteuchoskokkoscompat.a packages/teuchos/remainder/src/libteuchosremainder.a packages/teuchos/numerics/src/libteuchosnumerics.a packages/teuchos/comm/src/libteuchoscomm.a packages/teuchos/parameterlist/src/libteuchosparameterlist.a packages/teuchos/parser/src/libteuchosparser.a -mkl packages/teuchos/core/src/libteuchoscore.a packages/kokkos/core/src/libkokkoscore.a -ldl packages/zoltan/src/libzoltan.a -lm && :
```
<!---
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/<teamName>
<!---
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.
-->
## Expectations
<!---
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.
-->
## Motivation and Context
<!---
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.
-->
## Definition of Done
<!---
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.
-->
## Possible Solution
<!---
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
<!---
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.
-->
- **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
<!---
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?
-->
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4088Moocho: Build errors (INT_MIN missing)2018-12-19T16:51:32ZJames WillenbringMoocho: Build errors (INT_MIN missing)*Created by: mhoemmen*
See e.g., https://testing.sandia.gov/cdash/viewBuildError.php?buildid=4324923 . Not sure how to fix them, since Moocho does not live in the main Trilinos repository any more.
@trilinos/framework @jwillenbring ...*Created by: mhoemmen*
See e.g., https://testing.sandia.gov/cdash/viewBuildError.php?buildid=4324923 . Not sure how to fix them, since Moocho does not live in the main Trilinos repository any more.
@trilinos/framework @jwillenbring
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4129undefined reference to `dggsvd3'2019-01-03T16:32:24ZJames Willenbringundefined reference to `dggsvd3'*Created by: bl0od*
<!---
Assignees: If you know anyone who should likely tackle this issue, select them
from the Assignees drop-down on the right.
-->
@bartlettroscoe
@etphipp
@mhoemmen
I tried to build trilinos but I go...*Created by: bl0od*
<!---
Assignees: If you know anyone who should likely tackle this issue, select them
from the Assignees drop-down on the right.
-->
@bartlettroscoe
@etphipp
@mhoemmen
I tried to build trilinos but I got some errors. This is my CMakeError.log:
Performing C++ SOURCE FILE Test HAVE_TEUCHOS_LAPACKLARND failed with the following output:
Change Dir: /share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp
Run Build Command:"/opt/rh/devtoolset-7/root/usr/bin/gmake" "cmTC_6bb30/fast"
/opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_6bb30.dir/build.make CMakeFiles/cmTC_6bb30.dir/build
gmake[1]: Entering directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_6bb30.dir/src.cxx.o
/opt/openmpi/bin/mpicxx -pedantic -Wall -Wno-long-long -Wwrite-strings -Wshadow -Woverloaded-virtual -O2 -std=c++11 -ansi -pedantic -ftrapv -Wall -Wno-long-long -std=c++11 -DHAVE_TEUCHOS_LAPACKLARND -O3 -DNDEBUG -o CMakeFiles/cmTC_6bb30.dir/src.cxx.o -c /share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp/src.cxx
/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()':
/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp/src.cxx:12:38: error: narrowing conversion of '0.0' from 'double' to 'int' inside { } [-Wnarrowing]
int seed[4] = { 0.0, 0.0, 0.0, 1.0 };
^
/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp/src.cxx:12:38: error: narrowing conversion of '0.0' from 'double' to 'int' inside { } [-Wnarrowing]
/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp/src.cxx:12:38: error: narrowing conversion of '0.0' from 'double' to 'int' inside { } [-Wnarrowing]
/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp/src.cxx:12:38: error: narrowing conversion of '1.0e+0' from 'double' to 'int' inside { } [-Wnarrowing]
gmake[1]: *** [CMakeFiles/cmTC_6bb30.dir/build.make:66: CMakeFiles/cmTC_6bb30.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_6bb30/fast] Error 2
Return value: 1
Source file was:
#define F77_BLAS_MANGLE(name,NAME) name ## _
#define DLARND_F77 F77_BLAS_MANGLE(dlarnd,DLARND)
extern "C" { double DLARND_F77(const int* idist, int* seed); }
int main()
{
const int idist = 1;
int seed[4] = { 0.0, 0.0, 0.0, 1.0 };
double val = DLARND_F77(&idist, seed);
return (val < 0.0 ? 1 : 0);
}
Performing C++ SOURCE FILE Test HAVE_CXX_PRAGMA_WEAK failed with the following output:
Change Dir: /share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp
Run Build Command:"/opt/rh/devtoolset-7/root/usr/bin/gmake" "cmTC_6718f/fast"
/opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_6718f.dir/build.make CMakeFiles/cmTC_6718f.dir/build
gmake[1]: Entering directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_6718f.dir/src.cxx.o
/opt/openmpi/bin/mpicxx -pedantic -Wall -Wno-long-long -Wwrite-strings -Wshadow -Woverloaded-virtual -O2 -std=c++11 -ansi -pedantic -ftrapv -Wall -Wno-long-long -std=c++11 -DHAVE_CXX_PRAGMA_WEAK -O3 -DNDEBUG -o CMakeFiles/cmTC_6718f.dir/src.cxx.o -c /share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp/src.cxx
/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()':
/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp/src.cxx:14:22: warning: the address of 'void A::theFunction()' will never be NULL [-Waddress]
if (A::theFunction != NULL) {
^
Linking CXX executable cmTC_6718f
/share/apps/cmake-3.13.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6718f.dir/link.txt --verbose=1
/opt/openmpi/bin/mpicxx -pedantic -Wall -Wno-long-long -Wwrite-strings -Wshadow -Woverloaded-virtual -O2 -std=c++11 -ansi -pedantic -ftrapv -Wall -Wno-long-long -std=c++11 -DHAVE_CXX_PRAGMA_WEAK -O3 -DNDEBUG CMakeFiles/cmTC_6718f.dir/src.cxx.o -o cmTC_6718f
CMakeFiles/cmTC_6718f.dir/src.cxx.o: In function `main':
src.cxx:(.text.startup+0x23): undefined reference to `A::theFunction()'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_6718f.dir/build.make:87: cmTC_6718f] Error 1
gmake[1]: Leaving directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_6718f/fast] Error 2
Source file was:
#include <iostream>
namespace A {
// theFunction never gets defined, because we
// don't link with a library that defines it.
// That's OK, because it's weak linkage.
#pragma weak theFunction
extern void theFunction ();
}
int main() {
std::cout << "Hi! I am main." << std::endl;
if (A::theFunction != NULL) {
// Should never be called, since we don't link
// with a library that defines A::theFunction.
A::theFunction ();
}
return 0;
}
Determining if the function dggsvd3 exists failed with the following output:
Change Dir: /share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp
Run Build Command:"/opt/rh/devtoolset-7/root/usr/bin/gmake" "cmTC_659c6/fast"
/opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_659c6.dir/build.make CMakeFiles/cmTC_659c6.dir/build
gmake[1]: Entering directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_659c6.dir/CheckFunctionExists.c.o
/opt/openmpi/bin/mpicc -pedantic -Wall -Wno-long-long -std=c99 -DCHECK_FUNCTION_EXISTS=dggsvd3 -O3 -DNDEBUG -o CMakeFiles/cmTC_659c6.dir/CheckFunctionExists.c.o -c /share/apps/cmake-3.13.1/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_659c6
/share/apps/cmake-3.13.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_659c6.dir/link.txt --verbose=1
/opt/openmpi/bin/mpicc -pedantic -Wall -Wno-long-long -std=c99 -DCHECK_FUNCTION_EXISTS=dggsvd3 -O3 -DNDEBUG CMakeFiles/cmTC_659c6.dir/CheckFunctionExists.c.o -o cmTC_659c6 /usr/lib64/liblapack.so /usr/lib64/libblas.so
CMakeFiles/cmTC_659c6.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `dggsvd3'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_659c6.dir/build.make:89: cmTC_659c6] Error 1
gmake[1]: Leaving directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_659c6/fast] Error 2
Determining if the function dggsvd3_ exists failed with the following output:
Change Dir: /share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp
Run Build Command:"/opt/rh/devtoolset-7/root/usr/bin/gmake" "cmTC_56db8/fast"
/opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_56db8.dir/build.make CMakeFiles/cmTC_56db8.dir/build
gmake[1]: Entering directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_56db8.dir/CheckFunctionExists.c.o
/opt/openmpi/bin/mpicc -pedantic -Wall -Wno-long-long -std=c99 -DCHECK_FUNCTION_EXISTS=dggsvd3_ -O3 -DNDEBUG -o CMakeFiles/cmTC_56db8.dir/CheckFunctionExists.c.o -c /share/apps/cmake-3.13.1/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_56db8
/share/apps/cmake-3.13.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_56db8.dir/link.txt --verbose=1
/opt/openmpi/bin/mpicc -pedantic -Wall -Wno-long-long -std=c99 -DCHECK_FUNCTION_EXISTS=dggsvd3_ -O3 -DNDEBUG CMakeFiles/cmTC_56db8.dir/CheckFunctionExists.c.o -o cmTC_56db8 /usr/lib64/liblapack.so /usr/lib64/libblas.so
CMakeFiles/cmTC_56db8.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `dggsvd3_'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_56db8.dir/build.make:89: cmTC_56db8] Error 1
gmake[1]: Leaving directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_56db8/fast] Error 2
Determining if the function DGGSVD3 exists failed with the following output:
Change Dir: /share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp
Run Build Command:"/opt/rh/devtoolset-7/root/usr/bin/gmake" "cmTC_0bdb6/fast"
/opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_0bdb6.dir/build.make CMakeFiles/cmTC_0bdb6.dir/build
gmake[1]: Entering directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0bdb6.dir/CheckFunctionExists.c.o
/opt/openmpi/bin/mpicc -pedantic -Wall -Wno-long-long -std=c99 -DCHECK_FUNCTION_EXISTS=DGGSVD3 -O3 -DNDEBUG -o CMakeFiles/cmTC_0bdb6.dir/CheckFunctionExists.c.o -c /share/apps/cmake-3.13.1/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_0bdb6
/share/apps/cmake-3.13.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0bdb6.dir/link.txt --verbose=1
/opt/openmpi/bin/mpicc -pedantic -Wall -Wno-long-long -std=c99 -DCHECK_FUNCTION_EXISTS=DGGSVD3 -O3 -DNDEBUG CMakeFiles/cmTC_0bdb6.dir/CheckFunctionExists.c.o -o cmTC_0bdb6 /usr/lib64/liblapack.so /usr/lib64/libblas.so
CMakeFiles/cmTC_0bdb6.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `DGGSVD3'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_0bdb6.dir/build.make:89: cmTC_0bdb6] Error 1
gmake[1]: Leaving directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_0bdb6/fast] Error 2
Determining if the function DGGSVD3_ exists failed with the following output:
Change Dir: /share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp
Run Build Command:"/opt/rh/devtoolset-7/root/usr/bin/gmake" "cmTC_1b9b2/fast"
/opt/rh/devtoolset-7/root/usr/bin/gmake -f CMakeFiles/cmTC_1b9b2.dir/build.make CMakeFiles/cmTC_1b9b2.dir/build
gmake[1]: Entering directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1b9b2.dir/CheckFunctionExists.c.o
/opt/openmpi/bin/mpicc -pedantic -Wall -Wno-long-long -std=c99 -DCHECK_FUNCTION_EXISTS=DGGSVD3_ -O3 -DNDEBUG -o CMakeFiles/cmTC_1b9b2.dir/CheckFunctionExists.c.o -c /share/apps/cmake-3.13.1/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_1b9b2
/share/apps/cmake-3.13.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1b9b2.dir/link.txt --verbose=1
/opt/openmpi/bin/mpicc -pedantic -Wall -Wno-long-long -std=c99 -DCHECK_FUNCTION_EXISTS=DGGSVD3_ -O3 -DNDEBUG CMakeFiles/cmTC_1b9b2.dir/CheckFunctionExists.c.o -o cmTC_1b9b2 /usr/lib64/liblapack.so /usr/lib64/libblas.so
CMakeFiles/cmTC_1b9b2.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `DGGSVD3_'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_1b9b2.dir/build.make:89: cmTC_1b9b2] Error 1
gmake[1]: Leaving directory '/share/apps/Trilinos-master/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_1b9b2/fast] Error 2
## My Environment
<!---
Include relevant details about your environment such that we can replicate this
issue.
-->
- **Relevant configure flags or configure script:**
cmake \
-D CMAKE_INSTALL_PREFIX:PATH=$APPS_PATH/trilinos \
-D MPI_BASE_DIR:PATH=/opt/openmpi \
-D CMAKE_C_COMPILER=/opt/openmpi/bin/mpicc \
-D CMAKE_CXX_COMPILER=/opt/openmpi/bin/mpicxx \
-D CMAKE_Fortran_COMPILER=/opt/openmpi/bin/mpif77 \
-D CMAKE_CXX_FLAGS:STRING="-O2 -std=c++11 -ansi -pedantic -ftrapv -Wall -Wno-long-long" \
-D CMAKE_BUILD_TYPE:STRING=RELEASE \
-D BUILD_SHARED_LIBS=ON \
-D Trilinos_WARNINGS_AS_ERRORS_FLAGS:STRING="" \
-D Trilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
-D Trilinos_ENABLE_Teuchos:BOOL=ON \
-D Trilinos_ENABLE_Shards:BOOL=ON \
-D Trilinos_ENABLE_Sacado:BOOL=ON \
-D Trilinos_ENABLE_Epetra:BOOL=ON \
-D Trilinos_ENABLE_EpetraExt:BOOL=ON \
-D Trilinos_ENABLE_Ifpack:BOOL=ON \
-D Trilinos_ENABLE_AztecOO:BOOL=ON \
-D Trilinos_ENABLE_Amesos:BOOL=ON \
-D Trilinos_ENABLE_Anasazi:BOOL=ON \
-D Trilinos_ENABLE_Belos:BOOL=ON \
-D Trilinos_ENABLE_ML:BOOL=ON \
-D Trilinos_ENABLE_Phalanx:BOOL=ON \
-D Trilinos_ENABLE_Intrepid:BOOL=ON \
-D Trilinos_ENABLE_NOX:BOOL=ON \
-D Trilinos_ENABLE_Stratimikos:BOOL=ON \
-D Trilinos_ENABLE_Thyra:BOOL=ON \
-D Trilinos_ENABLE_Rythmos:BOOL=ON \
-D Trilinos_ENABLE_MOOCHO:BOOL=ON \
-D Trilinos_ENABLE_TriKota:BOOL=OFF \
-D Trilinos_ENABLE_Stokhos:BOOL=ON \
-D Trilinos_ENABLE_Zoltan:BOOL=ON \
-D Trilinos_ENABLE_Piro:BOOL=ON \
-D Trilinos_ENABLE_Teko:BOOL=ON \
-D Trilinos_ENABLE_SEACASIoss:BOOL=ON \
-D Trilinos_ENABLE_SEACAS:BOOL=ON \
-D Trilinos_ENABLE_SEACASBlot:BOOL=ON \
-D Trilinos_ENABLE_Pamgen:BOOL=ON \
-D Trilinos_ENABLE_EXAMPLES:BOOL=OFF \
-D Trilinos_ENABLE_TESTS:BOOL=OFF \
-D TPL_ENABLE_MATLAB:BOOL=OFF \
-D TPL_ENABLE_Matio:BOOL=OFF \
-D TPL_ENABLE_QT:BOOL=OFF \
-D TPL_ENABLE_HDF5:BOOL=ON \
-D HDF5_INCLUDE_DIRS:PATH=$APPS_PATH/hdf5-1.10.3/include \
-D HDF5_LIBRARY_DIRS:PATH=$APPS_PATH/hdf5-1.10.3/lib \
-D TPL_ENABLE_Netcdf:BOOL=ON \
-D Netcdf_INCLUDE_DIRS:PATH=$APPS_PATH/netcdf/include \
-D Netcdf_LIBRARY_DIRS:PATH=$APPS_PATH/netcdf/lib \
-D TPL_ENABLE_MPI:BOOL=ON \
-D MPI_EXEC_DEFAULT_NUMPROCS=10 \
-D TPL_ENABLE_BLAS:BOOL=ON \
-D TPL_BLAS_LIBRARIES:STRING=/usr/lib64/libblas.so \
-D TPL_ENABLE_LAPACK:BOOL=ON \
..
- **Operating system and version:**
CentOS release 6.9
- **Compiler and TPL versions:**
gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
g++ (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
GNU Fortran (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
cmake version 3.13.20181130-g654fd
liblapack version: 3.2.1
libblas version: 3.2.1
## Additional Information
I can not change the OS because it is a server that runs many jobs. Please help me fix this error without changing the OS.
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4206cmake: RegularExpression::compile(): Error in compile.2019-01-16T22:12:05ZJames Willenbringcmake: RegularExpression::compile(): Error in compile.*Created by: hakonhagland*
I am trying to build trilinos on Ubuntu 18.10 (CMake version 3.12.1, GCC version 8.2.0)
```
git clone https://github.com/trilinos/Trilinos.git
cd Trilinos
mkdir build
cd build
sudo apt-get install libnet...*Created by: hakonhagland*
I am trying to build trilinos on Ubuntu 18.10 (CMake version 3.12.1, GCC version 8.2.0)
```
git clone https://github.com/trilinos/Trilinos.git
cd Trilinos
mkdir build
cd build
sudo apt-get install libnetcdf-dev libmatio-dev doxygen
pyenv local 2.7.15
cmake \
-DTPL_ENABLE_MPI=ON \
-DMPI_BASE_DIR=/usr/lib/x86_64-linux-gnu/openmpi \
-DTrilinos_ENABLE_ALL_PACKAGES=ON \
-DCMAKE_INSTALL_PREFIX=/opt/trilinos \
-D Trilinos_ENABLE_PyTrilinos:BOOL=ON \
-D BUILD_SHARED_LIBS:BOOL=ON \
.. # <path to Trilinos source>
```
This fails with
```
[...]
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error at cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:2760 (STRING):
STRING sub-command REGEX, mode MATCH failed to compile regex
"/home/hakon/Trilinos/packages/rol".
Call Stack (most recent call first):
cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:2803 (TRIBITS_EXCLUDE_FILES)
packages/rol/CMakeLists.txt:114 (TRIBITS_EXCLUDE_AUTOTOOLS_FILES)
[...]
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error at packages/PyTrilinos/cmake/UseSWIG.cmake:196 (IF):
if given arguments:
"/home/hakon/Trilinos/build/packages/PyTrilinos/src" "MATCHES" "^/home/hakon/Trilinos/packages/PyTrilinos/src"
Regular expression
"^/home/hakon/Trilinos/packages/PyTrilinos/src"
cannot compile
Call Stack (most recent call first):
packages/PyTrilinos/cmake/UseSWIG.cmake:302 (SWIG_ADD_SOURCE_TO_MODULE)
packages/PyTrilinos/src/CMakeLists.txt:330 (SWIG_ADD_MODULE)
-- Configuring incomplete, errors occurred!
```
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4270TriKota: Build errors with Dakota 6.8 and newer2019-01-26T00:22:06ZJames WillenbringTriKota: Build errors with Dakota 6.8 and newer*Created by: briadam*
<!---
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 an...*Created by: briadam*
<!---
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/trikota
<!---
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.
-->
## Expectations
<!---
Tell us what you think should happen, how you think things should work, what
you would like to see in the documentation, etc.
-->
Trilinos should work when TriKota is enabled with Dakota 6.8 and newer.
## Current Behavior
Build fails due to Dakota not being able to find ROL headers. (Dakota now has an optional dependence on ROL)
## Motivation and Context
Trying to verify that recent changes in Dakota will not break TriKota users of Dakota.
## Definition of Done
<!---
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.
-->
Enabling TriKota should build and test with Dakota 6.8 or newer.
## Possible Solution
<!---
Not obligatory, but suggest a fix for the bug or documentation, or suggest
ideas on how to implement the addition or change.
-->
Ideally, want to allow TriKota/Dakota to use Trilinos ROL, however, this results in a circular dependency because ROL has an optional dependence on TriKota. For now, recommend workaround where Dakota's ROL is disabled when building under TriKota.
## Steps to Reproduce
<!---
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.
-->
Clone Trilinos, checkout devel, place Dakota in trilinos/packages/TriKota/Dakota. Configure Trilinos with TriKota enabled, get build error at make time.
## Your Environment
<!---
Include relevant details about your environment such that we can replicate this
issue.
-->
- **Relevant repo SHA1s:** Trilinos master at 4f15e6fb356295d8ba1e022e94d8b0bad732e082
- **Relevant configure flags or configure script:**
```
cmake \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=../install \
-DBUILD_SHARED_LIBS:BOOL=TRUE \
-DTrilinos_ENABLE_TESTS:BOOL=ON \
-DTrilinos_ENABLE_Teuchos:BOOL=ON \
-DTrilinos_ENABLE_ROL:BOOL=ON \
-DTrilinos_ENABLE_TriKota:BOOL=ON \
-DTrilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
-DTrilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES:BOOL=OFF \
-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
-DTrilinos_ENABLE_COMPLEX_DOUBLE:BOOL=ON \
../source
```
- **Operating system and version:** RHEL 7.6
- **Compiler and TPL versions:** Default RHEL7 toolchain (gcc-4.8.5) and TPLs
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4540Is it possible to enable Scalar=float in Tpetra but not downstream (e.g., in ...2019-03-04T22:41:56ZJames WillenbringIs it possible to enable Scalar=float in Tpetra but not downstream (e.g., in MueLu)?*Created by: mhoemmen*
@trilinos/tpetra @trilinos/muelu
I'm asking on behalf of @vbrunini .
*Created by: mhoemmen*
@trilinos/tpetra @trilinos/muelu
I'm asking on behalf of @vbrunini .
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4545Belos: Split out run-time SolverFactory registration of Tpetra specialization...2019-03-05T18:11:02ZJames WillenbringBelos: Split out run-time SolverFactory registration of Tpetra specializations of generic Belos solvers, into separate C++ files*Created by: mhoemmen*
@trilinos/belos
## Expectations
`Belos::SolverFactory` needs to build as fast as possible.
## Current Behavior
Instantiation of run-time registration functions for Tpetra specializations of generic Be...*Created by: mhoemmen*
@trilinos/belos
## Expectations
`Belos::SolverFactory` needs to build as fast as possible.
## Current Behavior
Instantiation of run-time registration functions for Tpetra specializations of generic Belos solvers currently happen all in one file. This increases build time and size. Separate out those instantiations into separate C++ files, one file per Belos solver.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4553SEACAS Building issues, holding up Trilinos2019-03-07T21:39:34ZJames WillenbringSEACAS Building issues, holding up Trilinos*Created by: Tdub1229*
[ 22%] Building C object packages/seacas/scripts/CMakeFiles/getopt.seacas.dir/getopt.seacas.c.o
Undefined symbols for architecture x86_64:
"_H5get_libversion", referenced from:
_ex_print_config in libex...*Created by: Tdub1229*
[ 22%] Building C object packages/seacas/scripts/CMakeFiles/getopt.seacas.dir/getopt.seacas.c.o
Undefined symbols for architecture x86_64:
"_H5get_libversion", referenced from:
_ex_print_config in libexodus.a(ex_utils.c.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [packages/seacas/applications/exo_format/exo_format] Error 1
make[1]: *** [packages/seacas/applications/exo_format/CMakeFiles/exo_format.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 22%] Linking C executable getopt.seacas
[ 22%] Built target getopt.seacas
make: *** [all] Error 2
-->
I recently updated my Mac and operating systems (10.14) however, this has caused some difficulty trying to reinstall trilinos Packages. I get this error, and I am not sure if there are any solutions or if there is a way in which I can bypass this.
I can post my cmake and installation logs if needed.
Thanks
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4599MueLu build failures in new ATDM Trilinos sems-rhel7+cuda+complex builds2019-04-10T17:41:55ZJames WillenbringMueLu build failures in new ATDM Trilinos sems-rhel7+cuda+complex builds*Created by: bartlettroscoe*
CC: @trilinos/muelu, @srajama1 (Trilinos Linear Solvers Product Lead), @bartlettroscoe, @fryeguy52
## Next Action Status
<status-and-or-first-action>
## Description
As shown in [this query](https...*Created by: bartlettroscoe*
CC: @trilinos/muelu, @srajama1 (Trilinos Linear Solvers Product Lead), @bartlettroscoe, @fryeguy52
## Next Action Status
<status-and-or-first-action>
## Description
As shown in [this query](https://testing.sandia.gov/cdash-dev-view/index.php?project=Trilinos&date=2019-03-11&filtercount=2&showfilters=1&filtercombine=and&field1=subprojects&compare1=93&value1=MueLu&field2=buildname&compare2=65&value2=Trilinos-atdm-sems-rhel7-cuda-9.2-Volta70-complex-), MueLu has build errors in library code in the new cuda+complex builds:
* `Trilinos-atdm-sems-rhel7-cuda-9.2-Volta70-complex-shared-release-debug`
* `Trilinos-atdm-sems-rhel7-cuda-9.2-Volta70-complex-static-release-debug`
using the 'sems-rhel7' env.
The build errors shown [here](https://testing.sandia.gov/cdash-dev-view/viewBuildError.php?buildid=4695056) and [here](https://testing.sandia.gov/cdash-dev-view/viewBuildError.php?buildid=4695082) show errors building the source files **`ExplicitInstantiation/MueLu_TentativePFactory_kokkos.cpp`** showing errors like:
* `Trilinos-atdm-sems-rhel7-cuda-9.2-Volta70-complex-shared-release-debug/SRC_AND_BUILD/Trilinos/packages/kokkos/core/src/Kokkos_View.hpp(816): error: calling a constexpr __host__ function("std::real<double> ") from a __device__ function("Kokkos::Impl::ParallelFor< ::, ::Kokkos::RangePolicy<int, ::Kokkos::Cuda > , ::Kokkos::Cuda> ::operator () const") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.`
and **`ExplicitInstantiation/MueLu_TentativePFactory_kokkos.cpp`** showing errors like:
* `Trilinos-atdm-sems-rhel7-cuda-9.2-Volta70-complex-shared-release-debug/SRC_AND_BUILD/Trilinos/packages/kokkos/core/src/Kokkos_View.hpp(971): error: calling a constexpr __host__ function("std::complex<double> ::complex") from a __device__ function("Kokkos::Impl::ParallelFor< ::, ::Kokkos::RangePolicy<int, ::Kokkos::Cuda > , ::Kokkos::Cuda> ::operator () const") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.`
## Current Status on CDash
The current status of these builds over the last 7 days can be see in [this query](https://testing.sandia.gov/cdash/index.php?project=Trilinos&date=2019-03-11&filtercount=3&showfilters=1&filtercombine=and&field1=subprojects&compare1=93&value1=MueLu&field2=buildname&compare2=65&value2=Trilinos-atdm-sems-rhel7-cuda-9.2-Volta70-complex-&field3=buildstarttime&compare3=83&value3=7%20days%20ago).
## Steps to Reproduce
These builds are from the CEE LAN machine 'ascicgpu14' and someone with access to the CEE LAN should be able to log onto 'ascicgpu15' and reproduce these failures in as described in:
* https://github.com/trilinos/Trilinos/blob/develop/cmake/std/atdm/README.md
More specifically, the commands given for the system `sems-rhel7' are provided at:
* https://github.com/trilinos/Trilinos/blob/develop/cmake/std/atdm/README.md#sems-rhel7-environment
The exact commands to reproduce this issue should be:
```
$ cd <some_build_dir>/
$ source $TRILINOS_DIR/cmake/std/atdm/load-env.sh \
sems-rhel7-cuda-9.2-Volta70-complex-shared-release-debug
$ cmake \
-GNinja \
-DTrilinos_CONFIGURE_OPTIONS_FILE:STRING=cmake/std/atdm/ATDMDevEnv.cmake \
-DTrilinos_ENABLE_TESTS=ON -DTrilinos_ENABLE_MueLu=ON \
$TRILINOS_DIR
$ ninja -j16
```
Since some developers do not have access to the SRN CEE LAN, it is likely that these build errors can also be produce on other machines that have a CUDA build. For example, one can likely reproduce these build errors on the SON machine 'white' as described at:
* https://github.com/trilinos/Trilinos/blob/develop/cmake/std/atdm/README.md#ridewhite
using the commands:
```
$ cd <some_build_dir>/
$ source $TRILINOS_DIR/cmake/std/atdm/load-env.sh cuda-9.2-complex-release-debug
$ cmake \
-GNinja \
-DTrilinos_CONFIGURE_OPTIONS_FILE:STRING=cmake/std/atdm/ATDMDevEnv.cmake \
-DTrilinos_ENABLE_TESTS=ON -DTrilinos_ENABLE_MueLu=ON \
$TRILINOS_DIR
$ ninja -j16
```
Initial cleanup of new ATDM builds of Trilinoshttps://gitlab.osti.gov/jmwille/Trilinos/-/issues/4692Belos: Fixed-point test fails to build when GO=int is OFF2019-03-21T17:57:17ZJames WillenbringBelos: Fixed-point test fails to build when GO=int is OFF*Created by: mhoemmen*
@trilinos/belos
`Trilinos/packages/belos/tpetra/test/FixedPoint/test_fp_hb.cpp` fails to build when `GO=int` is disabled. I have a fix in progress.
## Possible Solution
I'm working on fixing the test so...*Created by: mhoemmen*
@trilinos/belos
`Trilinos/packages/belos/tpetra/test/FixedPoint/test_fp_hb.cpp` fails to build when `GO=int` is disabled. I have a fix in progress.
## Possible Solution
I'm working on fixing the test so it doesn't assume `GO=int`.
## Related Issues
* Blocks https://github.com/trilinos/Trilinos/issues/2548
* Related to https://github.com/trilinos/Trilinos/issues/74
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4696MueLu: errors during library creation in PR testing2019-04-03T15:35:29ZJames WillenbringMueLu: errors during library creation in PR testing*Created by: jhux2*
I've seen or heard about a number of recent failures during PR testing that occur during the creation of the MueLu library. One example is [here](https://testing.sandia.gov/cdash/viewBuildError.php?buildid=4765920)....*Created by: jhux2*
I've seen or heard about a number of recent failures during PR testing that occur during the creation of the MueLu library. One example is [here](https://testing.sandia.gov/cdash/viewBuildError.php?buildid=4765920).
```
Error while building C++ shared library " packages/muelu/src/libmuelu.so.12.13" in target muelu
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
```
I'd like to understand more about what's going on.
@jwillenbring @prwolfe https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4742Trilinos build failures using Sierra build process2019-03-29T18:57:19ZJames WillenbringTrilinos build failures using Sierra build process*Created by: ajpowelsnl*
<!---
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: ".
-->
Hello,
Sierra-r...*Created by: ajpowelsnl*
<!---
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: ".
-->
Hello,
Sierra-related Trilinos builds are failing on some engineering workstations (ews), and we have not been able to discern the cause. We have performed bake distributed builds with both gcc and intel compilers. I can provide complete logs. Errors are of this type:
make[2]: Leaving directory `/sierra/dev/ajpowel/code_032619/objs/tpls/Trilinos/20c07de8996d4f55'
[ 94%] Built target muelu
make[1]: Leaving directory `/sierra/dev/ajpowel/code_032619/objs/tpls/Trilinos/20c07de8996d4f55'
make: *** [all] Error 2
WARNING: Trilinos build failed!
Rebuilding Makefile (Option change(s): ['--installdir=/sierra/dev/ajpowel/code_032619/objs/tpls/trilinos_tpls/20c07de8996d4f55', '/tpl/trilinos//install-trilinos-tpls']->['--bin-dir=/sierra/dev/ajpowel/code_032619/bin'])
Building bjam...
Using dependency graph: /sierra/dev/ajpowel/code_032619/bakefiles/bakefile_e3b0c44298fc1c14_20c07de8996d4f55_deps
Using Trilinos out of: /sierra/dev/ajpowel/code_032619/objs/tpls/trilinos_tpls/20c07de8996d4f55
INFO: Changing version for trilinos from dev to external
INFO: Changing version for trilinos-kokkoscore from dev to external
INFO: Changing version for trilinos-kokkoscontainers from dev to external
INFO: Changing version for trilinos-kokkosalgorithms from dev to external
INFO: Changing version for trilinos-tpetraclassic from dev to external
INFO: Changing version for trilinos-tpetracore from dev to external
INFO: Changing version for trilinos-kokkoskernels from dev to external
INFO: Changing version for trilinos-tpetratsqr from dev to external
error: Unable to find file or target named
error: '/sierra/dev/ajpowel/code_032619/objs/tpls/trilinos_tpls/20c07de8996d4f55/lib/libkokkoscore.a'
error: referred from project at
error: '/sierra/dev/ajpowel/code_032619/TPLs_src/Nbtools/Trilinos/external/KokkosCore'
Bjam failed!
Many thanks!
Best,
AJP
<!---
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/<teamName>
<!---
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.
-->
## Expectations
<!---
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.
-->
## Motivation and Context
<!---
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.
-->
## Definition of Done
<!---
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.
-->
## Possible Solution
<!---
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
<!---
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.
-->
- **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
<!---
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?
-->
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4810spack: Does a spack Trilinos variant exist for enabling CUDA support?2019-04-05T12:52:18ZJames Willenbringspack: Does a spack Trilinos variant exist for enabling CUDA support?*Created by: cwsmith*
I'd like to install Kokkos with the CUDA backend, via Trilinos, with spack. We use CMake for our projects that depend on Kokkos, hence the install via Trilinos.
Is there a branch of spack with a variant that en...*Created by: cwsmith*
I'd like to install Kokkos with the CUDA backend, via Trilinos, with spack. We use CMake for our projects that depend on Kokkos, hence the install via Trilinos.
Is there a branch of spack with a variant that enables CUDA in Trilinos/Kokkos?
Thank-you,
Cameronhttps://gitlab.osti.gov/jmwille/Trilinos/-/issues/4858ifpack2: build error with scalar=FLOAT and COMPLEX_DOUBLE enabled2019-04-11T16:10:32ZJames Willenbringifpack2: build error with scalar=FLOAT and COMPLEX_DOUBLE enabled*Created by: ajpowel*
@trilinos/ifpack2
## Current Behavior
```
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_Vector_SIMD_Arith.hpp:619:5: note: template argument deducti...*Created by: ajpowel*
@trilinos/ifpack2
## Current Behavior
```
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_Vector_SIMD_Arith.hpp:619:5: note: template argument deduction/substitution failed:
In file included from /scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_Gemm_Serial_Internal.hpp:12:0,
from /scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_Gemm_Serial_Impl.hpp:8,
from /scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_def.hpp:57,
from /scratch/ajpowel/code_032119/packages/ifpack2/src/Ifpack2_BlockTriDiContainer.hpp:2,
from /scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_ContainerFactory_def.hpp:51,
from /scratch/ajpowel/code_032119/packages/ifpack2/src/Ifpack2_ContainerFactory.hpp:2,
from /scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_BlockRelaxation_decl.hpp:52,
from /scratch/ajpowel/code_032119/packages/ifpack2/src/Ifpack2_BlockRelaxation.hpp:1,
from /scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_Details_OneLevelFactory_def.hpp:54,
from /scratch/ajpowel/code_032119/packages/ifpack2/src/Ifpack2_Details_OneLevelFactory.hpp:2,
from /scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_Details_Factory_def.hpp:46,
from /scratch/ajpowel/code_032119/packages/ifpack2/src/Ifpack2_Details_Factory.hpp:2,
from /scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_Factory_decl.hpp:48,
from /scratch/ajpowel/code_032119/packages/ifpack2/src/Ifpack2_Factory.hpp:1,
from /scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_Details_LinearSolverFactory_def.hpp:54,
from /scratch/ajpowel/code_032119/packages/ifpack2/src/Ifpack2_Details_LinearSolverFactory.hpp:2,
from /scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_Details_registerLinearSolverFactory.cpp:45:
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_InnerGemmFixC_Serial_Impl.hpp:1101:67: note: mismatched types 'Kokkos::complex<RealType1>' and 'double'
C[0*_cs0+0*_cs1] += alpha * c_00; C[0*_cs0+1*_cs1] += alpha * c_01;
~~~~~~^~~~~~
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_InnerGemmFixC_Serial_Impl.hpp: In instantiation of 'int KokkosBatched::Experimental::InnerGemmFixC<mb, nb>::serial_invoke(ScalarType, const ValueType*, const ValueType*, int, ValueType*) [with ScalarType = double; ValueType = KokkosBatched::Experimental::Vector<KokkosBatched::Experimental::SIMD<float>, 16>; int mb = 1; int nb = 1]':
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_InnerGemmFixC_Serial_Impl.hpp:1285:80: required from 'int KokkosBatched::Experimental::InnerGemmFixC<mb, nb>::serial_invoke(ScalarType, const ValueType*, const ValueType*, int, int, int, ValueType*) [with ScalarType = double; ValueType = KokkosBatched::Experimental::Vector<KokkosBatched::Experimental::SIMD<float>, 16>; int mb = 2; int nb = 2]'
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_InnerGemmFixC_Serial_Impl.hpp:1259:71: required from 'int KokkosBatched::Experimental::InnerGemmFixC<mb, nb>::serial_invoke(ScalarType, const ValueType*, const ValueType*, int, int, int, ValueType*) [with ScalarType = double; ValueType = KokkosBatched::Experimental::Vector<KokkosBatched::Experimental::SIMD<float>, 16>; int mb = 3; int nb = 3]'
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_InnerGemmFixC_Serial_Impl.hpp:1230:71: required from 'int KokkosBatched::Experimental::InnerGemmFixC<mb, nb>::serial_invoke(ScalarType, const ValueType*, const ValueType*, int, int, int, ValueType*) [with ScalarType = double; ValueType = KokkosBatched::Experimental::Vector<KokkosBatched::Experimental::SIMD<float>, 16>; int mb = 4; int nb = 4]'
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_Gemm_Team_Internal.hpp:139:13: required from 'KokkosBatched::Experimental::TeamGemmInternal<ArgAlgo>::invoke(const MemberType&, int, int, int, ScalarType, const ValueType*, int, int, const ValueType*, int, int, ScalarType, ValueType*, int, int) [with MemberType = MemberType; ScalarType = ScalarType; ValueType = ValueType; ArgAlgo = KokkosBatched::Experimental::Algo::Level3::Blocked]::<lambda(int, int, int, const ValueType*, const ValueType*, ValueType*)>::<lambda(const int&)> [with MemberType = Kokkos::Impl::HostThreadTeamMember<Kokkos::Serial>; ScalarType = double; ValueType = KokkosBatched::Experimental::Vector<KokkosBatched::Experimental::SIMD<float>, 16>]'
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_Gemm_Team_Internal.hpp:144:44: required from 'struct KokkosBatched::Experimental::TeamGemmInternal<ArgAlgo>::invoke(const MemberType&, int, int, int, ScalarType, const ValueType*, int, int, const ValueType*, int, int, ScalarType, ValueType*, int, int) [with MemberType = MemberType; ScalarType = ScalarType; ValueType = ValueType; ArgAlgo = KokkosBatched::Experimental::Algo::Level3::Blocked]::<lambda(int, int, int, const ValueType*, const ValueType*, ValueType*)> [with MemberType = Kokkos::Impl::HostThreadTeamMember<Kokkos::Serial>; ScalarType = double; ValueType = KokkosBatched::Experimental::Vector<KokkosBatched::Experimental::SIMD<float>, 16>]::<lambda(const int&)>'
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_Gemm_Team_Internal.hpp:130:11: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos/core/src/Kokkos_Parallel.hpp:191:4: required from 'void Kokkos::parallel_for(const ExecPolicy&, const FunctorType&, const string&, typename Kokkos::Impl::enable_if<Kokkos::is_execution_policy<ExecPolicy>::value>::type*) [with ExecPolicy = Kokkos::TeamPolicy<Kokkos::Serial, Ifpack2::BlockTriDiContainerDetails::ExtractAndFactorizeTridiags<Tpetra::RowMatrix<float, int, long long int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> > >::ExtractAndFactorizeTag>; FunctorType = Ifpack2::BlockTriDiContainerDetails::ExtractAndFactorizeTridiags<Tpetra::RowMatrix<float, int, long long int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> > >; std::__cxx11::string = std::__cxx11::basic_string<char>; typename Kokkos::Impl::enable_if<Kokkos::is_execution_policy<ExecPolicy>::value>::type = void]'
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos/core/src/Kokkos_Parallel.hpp:244:25: required from 'void Kokkos::parallel_for(const string&, const ExecPolicy&, const FunctorType&) [with ExecPolicy = Kokkos::TeamPolicy<Kokkos::Serial, Ifpack2::BlockTriDiContainerDetails::ExtractAndFactorizeTridiags<Tpetra::RowMatrix<float, int, long long int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> > >::ExtractAndFactorizeTag>; FunctorType = Ifpack2::BlockTriDiContainerDetails::ExtractAndFactorizeTridiags<Tpetra::RowMatrix<float, int, long long int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> > >; std::__cxx11::string = std::__cxx11::basic_string<char>]'
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_impl.hpp:1826:29: required from 'void Ifpack2::BlockTriDiContainerDetails::ExtractAndFactorizeTridiags<MatrixType>::run() [with MatrixType = Tpetra::RowMatrix<float, int, long long int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> >]'
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_impl.hpp:1849:7: required from 'void Ifpack2::BlockTriDiContainerDetails::performNumericPhase(const Teuchos::RCP<const typename Ifpack2::BlockTriDiContainerDetails::ImplType<MatrixType>::tpetra_block_crs_matrix_type>&, const Ifpack2::BlockTriDiContainerDetails::PartInterface<MatrixType>&, Ifpack2::BlockTriDiContainerDetails::BlockTridiags<MatrixType>&, typename Ifpack2::BlockTriDiContainerDetails::ImplType<MatrixType>::magnitude_type) [with MatrixType = Tpetra::RowMatrix<float, int, long long int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> >; typename Ifpack2::BlockTriDiContainerDetails::ImplType<MatrixType>::tpetra_block_crs_matrix_type = Tpetra::Experimental::BlockCrsMatrix<float, int, long long int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> >; typename Ifpack2::BlockTriDiContainerDetails::ImplType<MatrixType>::magnitude_type = float]'
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_def.hpp:235:9: required from 'void Ifpack2::BlockTriDiContainer<MatrixType, Ifpack2::BlockTriDiContainerDetails::ImplSimdTag>::compute() [with MatrixType = Tpetra::RowMatrix<float, int, long long int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> >]'
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/ifpack2/src/Ifpack2_Details_registerLinearSolverFactory.cpp:76:1: required from here
/scratch/ajpowel/code_032119/TPLs_src/Trilinos/packages/kokkos-kernels/src/batched/KokkosBatched_InnerGemmFixC_Serial_Impl.hpp:1139:33: error: no match for 'operator*' (operand types are 'const double' and 'KokkosBatched::Experimental::Vector<KokkosBatched::Experimental::SIMD<float>, 16>')
C[0*_cs0+0*_cs1] += alpha * c_00;
~~~~~~^~~~~~
```
## Steps to Reproduce
0) Comment out line 986 of $PROJECT/packages/tpetra/CMakeLists.txt (suppressing fail message to prevent possible Thyra build failure)
1) Configure Trilinos packages:
```
cmake -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_Fortran_COMPILER=mpifort -DTrilinos_ENABLE_Tpetra=ON -DTrilinos_ENABLE_COMPLEX_DOUBLE=ON -DTrilinos_ENABLE_FLOAT=ON -DTrilinos_ENABLE_Teuchos=ON -DTrilinos_ENABLE_Teko=ON /scratch/ajpowel/code_032119/TPLs_src/Trilinos
```
2) Attempt to build ifpack2:
```
cd $PROJECT/packages/ifpack2
make -j 64
```
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4927Compiling issue of MueLu with Trilinos 12.14.12019-04-25T02:54:52ZJames WillenbringCompiling issue of MueLu with Trilinos 12.14.1*Created by: YingzhouLi*
I am compiling Trilinos 12.14.1 on Ubuntu 18.04 with g++ 7.3 and matlab R2018a.
cmake \
-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \
-D Trilinos_ENABLE_Amesos:BOOL=ON \
-D Trilinos_E...*Created by: YingzhouLi*
I am compiling Trilinos 12.14.1 on Ubuntu 18.04 with g++ 7.3 and matlab R2018a.
cmake \
-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \
-D Trilinos_ENABLE_Amesos:BOOL=ON \
-D Trilinos_ENABLE_Amesos2:BOOL=ON \
-D Amesos2_ENABLE_KLU2:BOOL=ON \
-D Trilinos_ENABLE_AztecOO:BOOL=ON \
-D Trilinos_ENABLE_Epetra:BOOL=ON \
-D Trilinos_ENABLE_EpetraExt:BOOL=ON \
-D Trilinos_ENABLE_Fortran:BOOL=OFF \
-D Trilinos_ENABLE_Ifpack:BOOL=ON \
-D Trilinos_ENABLE_Ifpack2:BOOL=ON \
-D Trilinos_ENABLE_MueLu:BOOL=ON \
-D MueLu_ENABLE_TESTS:STRING=ON \
-D MueLu_ENABLE_EXAMPLES:STRING=OFF \
-D Trilinos_ENABLE_Teuchos:BOOL=ON \
-D Trilinos_ENABLE_Tpetra:BOOL=ON \
-D Trilinos_ENABLE_Intrepid2:BOOL=ON \
-D Trilinos_ENABLE_COMPLEX_DOUBLE=ON \
-D Teuchos_ENABLE_COMPLEX=ON \
-D TPL_ENABLE_MPI:BOOL=OFF \
-D TPL_ENABLE_MATLAB:BOOL=ON \
-D MATLAB_ROOT:STRING="/usr/local/MATLAB/R2018a/" \
-D MATLAB_ARCH:STRING="glnxa64" \
-D BUILD_SHARED_LIBS:BOOL=ON \
-D CMAKE_CXX_FLAGS="-fPIC -g -DMEX_DOUBLE_HANDLE" \
-D Trilinos_EXTRA_LINK_FLAGS="-lrt -lm -lgfortran" \
..
CMakeFiles/MueLu_UnitTests.dir/ParameterList/FactoryFactory.cpp.o: In function `MueLu::MatlabSmoother<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >::Setup(MueLu::Level&)':
/home/yingzhou/Documents/Trilinos-trilinos-release-12-14-1/packages/muelu/test/unit_tests/../../src/../matlab/src/MueLu_MatlabSmoother_def.hpp:97: undefined reference to `MueLu::MuemexData<Teuchos::RCP<Xpetra::Matrix<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > >::MuemexData(Teuchos::RCP<Xpetra::Matrix<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >&)'
CMakeFiles/MueLu_UnitTests.dir/ParameterList/FactoryFactory.cpp.o: In function `MueLu::MatlabSmoother<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >::Setup(MueLu::Level&)':
/home/yingzhou/Documents/Trilinos-trilinos-release-12-14-1/packages/muelu/test/unit_tests/../../src/../matlab/src/MueLu_MatlabSmoother_def.hpp:97: undefined reference to `MueLu::MuemexData<Teuchos::RCP<Xpetra::Matrix<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > >::MuemexData(Teuchos::RCP<Xpetra::Matrix<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >&)'
CMakeFiles/MueLu_UnitTests.dir/ParameterList/FactoryFactory.cpp.o: In function `MueLu::MatlabSmoother<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >::Apply(Xpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >&, Xpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > const&, bool) const':
/home/yingzhou/Documents/Trilinos-trilinos-release-12-14-1/packages/muelu/test/unit_tests/../../src/../matlab/src/MueLu_MatlabSmoother_def.hpp:116: undefined reference to `MueLu::MuemexData<Teuchos::RCP<Xpetra::Matrix<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > >::MuemexData(Teuchos::RCP<Xpetra::Matrix<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >&)'
/home/yingzhou/Documents/Trilinos-trilinos-release-12-14-1/packages/muelu/test/unit_tests/../../src/../matlab/src/MueLu_MatlabSmoother_def.hpp:121: undefined reference to `MueLu::MuemexData<Teuchos::RCP<Xpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > >::MuemexData(Teuchos::RCP<Xpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >&)'
/home/yingzhou/Documents/Trilinos-trilinos-release-12-14-1/packages/muelu/test/unit_tests/../../src/../matlab/src/MueLu_MatlabSmoother_def.hpp:122: undefined reference to `MueLu::MuemexData<Teuchos::RCP<Xpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > >::MuemexData(Teuchos::RCP<Xpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >&)'
/home/yingzhou/Documents/Trilinos-trilinos-release-12-14-1/packages/muelu/test/unit_tests/../../src/../matlab/src/MueLu_MatlabSmoother_def.hpp:130: undefined reference to `MueLu::MuemexData<Teuchos::RCP<Xpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > >::getData()'
CMakeFiles/MueLu_UnitTests.dir/ParameterList/FactoryFactory.cpp.o: In function `MueLu::MatlabSmoother<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >::Apply(Xpetra::MultiVector<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >&, Xpetra::MultiVector<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > const&, bool) const':
/home/yingzhou/Documents/Trilinos-trilinos-release-12-14-1/packages/muelu/test/unit_tests/../../src/../matlab/src/MueLu_MatlabSmoother_def.hpp:116: undefined reference to `MueLu::MuemexData<Teuchos::RCP<Xpetra::Matrix<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > >::MuemexData(Teuchos::RCP<Xpetra::Matrix<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >&)'
/home/yingzhou/Documents/Trilinos-trilinos-release-12-14-1/packages/muelu/test/unit_tests/../../src/../matlab/src/MueLu_MatlabSmoother_def.hpp:121: undefined reference to `MueLu::MuemexData<Teuchos::RCP<Xpetra::MultiVector<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > >::MuemexData(Teuchos::RCP<Xpetra::MultiVector<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >&)'
/home/yingzhou/Documents/Trilinos-trilinos-release-12-14-1/packages/muelu/test/unit_tests/../../src/../matlab/src/MueLu_MatlabSmoother_def.hpp:122: undefined reference to `MueLu::MuemexData<Teuchos::RCP<Xpetra::MultiVector<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > >::MuemexData(Teuchos::RCP<Xpetra::MultiVector<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >&)'
/home/yingzhou/Documents/Trilinos-trilinos-release-12-14-1/packages/muelu/test/unit_tests/../../src/../matlab/src/MueLu_MatlabSmoother_def.hpp:130: undefined reference to `MueLu::MuemexData<Teuchos::RCP<Xpetra::MultiVector<std::complex<double>, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > >::getData()'
collect2: error: ld returned 1 exit status
packages/muelu/test/unit_tests/CMakeFiles/MueLu_UnitTests.dir/build.make:1421: recipe for target 'packages/muelu/test/unit_tests/MueLu_UnitTests.exe' failed
make[2]: *** [packages/muelu/test/unit_tests/MueLu_UnitTests.exe] Error 1
CMakeFiles/Makefile2:11396: recipe for target 'packages/muelu/test/unit_tests/CMakeFiles/MueLu_UnitTests.dir/all' failed
make[1]: *** [packages/muelu/test/unit_tests/CMakeFiles/MueLu_UnitTests.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4833Amesos2: Build error when compiling with SuperLU 5.2.12019-04-23T16:27:51ZJames WillenbringAmesos2: Build error when compiling with SuperLU 5.2.1*Created by: Filipe-Cumaru*
<!---
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 t...*Created by: Filipe-Cumaru*
<!---
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/Amesos
@trilinos/Amesos2
<!---
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.
-->
## Expectations
<!---
Tell us what you think should happen, how you think things should work, what
you would like to see in the documentation, etc.
-->
Amesos2 works with SuperLU and SuperLU-dist 5.
## Current Behavior
<!---
Tell us how the current behavior fails to meet your expectations in some way.
-->
I've got some compilation errors when trying to build Amesos2 with SuperLU support. Some of those are shown above. I've put the full list of errors in the attached file to avoid flooding this report.
[amesos_compilation_errors.txt](https://github.com/trilinos/Trilinos/files/3055731/amesos_compilation_errors.txt)
```
/home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superludist_FunctionMap.hpp:378:37: error: invalid conversion from ‘SLUD::int_t {aka int}’ to ‘SLUD::D::LUstruct_t*’ [-fpermissive]
SLUD::D::LUstructInit(m, n, lu);
^
In file included from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superludist_TypeMap.hpp:87:0,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superludist_FunctionMap.hpp:63,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superludist_decl.hpp:58,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superludist.hpp:47,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Factory.hpp:108,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Details_LinearSolverFactory_def.hpp:52,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Details_LinearSolverFactory.hpp:49,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Details_registerLinearSolverFactory.cpp:45:
/usr/include/superlu-dist/superlu_ddefs.h:262:13: note: declared here
extern void LUstructInit(const int_t, LUstruct_t *);
^~~~~~~~~~~~
In file included from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superlu_decl.hpp:58:0,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superlu.hpp:47,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Factory.hpp:124,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Details_LinearSolverFactory_def.hpp:52,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Details_LinearSolverFactory.hpp:49,
from /home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Details_registerLinearSolverFactory.cpp:45:
/home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superlu_FunctionMap.hpp: At global scope:
/home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superlu_FunctionMap.hpp:108:19: error: variable or field ‘sgssvx’ declared void
sgssvx(SLU::superlu_options_t *, SLU::SuperMatrix *, int *, int *, int *,
^~~~~~~~~~~~~~~~~
/home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superlu_FunctionMap.hpp:108:19: error: ‘superlu_options_t’ is not a member of ‘SLU’
/home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superlu_FunctionMap.hpp:108:38: error: expected primary-expression before ‘,’ token
sgssvx(SLU::superlu_options_t *, SLU::SuperMatrix *, int *, int *, int *,
^
/home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superlu_FunctionMap.hpp:115:19: error: ‘mem_usage_t’ is not a member of ‘SLU’
SLU::mem_usage_t *, SLU::SuperLUStat_t *, int *);
^~~~~~~~~~~
/home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superlu_FunctionMap.hpp:115:32: error: expected primary-expression before ‘,’ token
SLU::mem_usage_t *, SLU::SuperLUStat_t *, int *);
^
/home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superlu_FunctionMap.hpp:115:39: error: ‘SuperLUStat_t’ is not a member of ‘SLU’
SLU::mem_usage_t *, SLU::SuperLUStat_t *, int *);
^~~~~~~~~~~~~
/home/facsa/Downloads/Trilinos-master/packages/amesos2/src/Amesos2_Superlu_FunctionMap.hpp:459:15: error: ‘sgssvx’ is not a member of ‘SLU::S’
SLU::S::sgssvx(options, A, perm_c, perm_r, etree, equed, R, C, L, U, work,
^~~~~~
```
## Steps to Reproduce
<!---
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.
-->
I've configured Trilinos using cmake with the following options:
```
cmake \
-D CMAKE_INSTALL_PREFIX:PATH=/home/facsa/Trilinos-SuperLU \
\
-D MPI_BASE_DIR:PATH=/usr \
\
-D CMAKE_BUILD_TYPE:STRING=DEBUG \
-D CMAKE_Fortran_COMPILER:FILEPATH=/usr/bin/mpif90 \
-D CMAKE_CXX_FLAGS:STRING="-std=c++11 -O3" \
-D BUILD_SHARED_LIBS:BOOL=ON \
-D Trilinos_WARNINGS_AS_ERRORS_FLAGS:STRING="" \
-D PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 \
\
-D Trilinos_ENABLE_CXX11=ON \
-D Trilinos_CXX11_FLAGS="-std=c++11" \
-D Trilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF \
-D Trilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES:BOOL=OFF \
-D Trilinos_ENABLE_Teuchos:BOOL=ON \
-D Trilinos_ENABLE_Epetra:BOOL=ON \
-D Trilinos_ENABLE_EpetraExt:BOOL=ON \
-D Trilinos_ENABLE_AztecOO:BOOL=ON \
-D Trilinos_ENABLE_Amesos2:BOOL=ON \
-D Trilinos_ENABLE_ML:BOOL=ON \
-D Trilinos_ENABLE_PyTrilinos:BOOL=OFF \
\
-D Trilinos_ENABLE_EXAMPLES:BOOL=OFF \
-D Trilinos_ENABLE_TESTS:BOOL=OFF \
\
-D TPL_ENABLE_MATLAB:BOOL=OFF \
-D TPL_ENABLE_Matio:BOOL=OFF \
-D TPL_ENABLE_MPI:BOOL=ON \
-D TPL_ENABLE_BLAS:BOOL=ON \
-D TPL_ENABLE_LAPACK:BOOL=ON \
-D TPL_ENABLE_QT:BOOL=OFF \
-D TPL_ENABLE_X11:BOOL=OFF \
-D TPL_ENABLE_SuperLU:BOOL=ON \
-D TPL_SuperLU_LIBRARIES:PATH=/usr/lib/x86_64-linux-gnu \
-D TPL_SuperLU_INCLUDE_DIRS:PATH=/usr/include/superlu \
-D TPL_ENABLE_SuperLUDist:BOOL=ON \
-D TPL_SuperLUDist_INCLUDE_DIRS:PATH=/usr/include/superlu-dist \
-D TPL_SuperLUDist_LIBRARIES:PATH=/usr/lib/x86_64-linux-gnu \
-D TPL_ENABLE_ParMETIS:BOOL=ON \
\
-D CMAKE_VERBOSE_MAKEFILE:BOOL=OFF \
-D Trilinos_VERBOSE_CONFIGURE:BOOL=OFF \
..
```
and then tried to build with ```make```. I've tried to build master branch and the [latest release](https://github.com/trilinos/Trilinos/releases/tag/trilinos-release-12-14-1). Both failed with the same errors.
## Your Environment
<!---
Include relevant details about your environment such that we can replicate this
issue.
-->
I'm trying to build Trilinos on Ubuntu 18.04 (Bionic Beaver). The SuperLU libraries were installed using ```apt-get install libsuperlu-dev libsuperlu-dist-dev```.