Trilinos issueshttps://gitlab.osti.gov/jmwille/Trilinos/-/issues2019-06-08T15:27:25Zhttps://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/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/5029TrilinosCouplings: Build error (missing header file)2019-06-08T15:27:25ZJames WillenbringTrilinosCouplings: Build error (missing header file)*Created by: mhoemmen*
## Bug Report
@trilinos/trilinoscouplings
### Description
```
.../Trilinos/packages/trilinoscouplings/examples/fenl/fenl_ensemble.hpp:156:18: error: ‘PseudoBlockCGSolMgr’ in namespace ‘Belos’ does not name ...*Created by: mhoemmen*
## Bug Report
@trilinos/trilinoscouplings
### Description
```
.../Trilinos/packages/trilinoscouplings/examples/fenl/fenl_ensemble.hpp:156:18: error: ‘PseudoBlockCGSolMgr’ in namespace ‘Belos’ does not name a template type
const Belos::PseudoBlockCGSolMgr<Sc, V, O>* cg_solver =
^
.../Trilinos/packages/trilinoscouplings/examples/fenl/fenl_ensemble.hpp:158:9: error: ‘cg_solver’ was not declared in this scope
if (cg_solver != 0)
^
```https://gitlab.osti.gov/jmwille/Trilinos/-/issues/5038Tpetra: Spurious unused function warnings (iallreduceIntRaw, makeValidVerbose...2019-06-08T15:27:25ZJames WillenbringTpetra: Spurious unused function warnings (iallreduceIntRaw, makeValidVerboseStream)*Created by: mhoemmen*
## Bug Report
@trilinos/tpetra @ajpowelsnl
### Description
```
.../include/Tpetra_CrsMatrix_def.hpp:89:3: error: 'std::shared_ptr<Tpetra::Details::CommRequest> Tpetra::{anonymous}::iallreduceIntRaw(const ...*Created by: mhoemmen*
## Bug Report
@trilinos/tpetra @ajpowelsnl
### Description
```
.../include/Tpetra_CrsMatrix_def.hpp:89:3: error: 'std::shared_ptr<Tpetra::Details::CommRequest> Tpetra::{anonymous}::iallreduceIntRaw(const int&, int&, Teuchos::EReductionType, const Teuchos::Comm<int>&)' defined but not used [-Werror=unused-function]
iallreduceIntRaw (const int& localValue,
^~~~~~~~~~~~~~~~
```
This is spurious. See discussion [here](https://github.com/trilinos/Trilinos/issues/3178#issuecomment-482171111
). However, it appears to block Sierra/Trilinos promotion, so I'll fix it.
There's another spurious unused function warning involving `makeValidVerboseStream` in `Ifpack2_ImportExportData_def.hpp`.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/5011Xpetra broke Albany and SPARC nightly builds2019-06-08T15:27:25ZJames WillenbringXpetra broke Albany and SPARC nightly builds*Created by: ikalash*
Looks like we have a compilation error in our nightlies when compiling against a new develop Trilinos:
```
from /.../trilinos-install-serial-intel-release/include/Piro_SolverFactory.hpp(97),
...*Created by: ikalash*
Looks like we have a compilation error in our nightlies when compiling against a new develop Trilinos:
```
from /.../trilinos-install-serial-intel-release/include/Piro_SolverFactory.hpp(97),
from /.../Albany/src/Albany_SolverFactory.cpp(24):
/.../trilinos-install-serial-intel-release/include/Xpetra_CrsMatrixFactory.hpp(54): catastrophic error: cannot open source file "Xpetra_TpetraCrsMatrix.hpp"
#include "Xpetra_TpetraCrsMatrix.hpp"
^
```
http://cdash.sandia.gov/CDash-2-3-0/viewBuildError.php?buildid=84042
@trilinos/xpetra 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```.
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4973Trilinos seacas build issue on mayer with ARM compiler2020-07-22T01:04:26ZJames WillenbringTrilinos seacas build issue on mayer with ARM compiler*Created by: ikalash*
I'm encountering a build error when trying to build Trilinos develop on mayer with the ARM compiler (module load devpack-arm/20190201). Here is the error:
```
[ 41%] Building CXX object packages/seacas/libraries...*Created by: ikalash*
I'm encountering a build error when trying to build Trilinos develop on mayer with the ARM compiler (module load devpack-arm/20190201). Here is the error:
```
[ 41%] Building CXX object packages/seacas/libraries/ioss/src/CMakeFiles/Ioss.dir/Ioss_Node.C.o
[ 41%] Linking CXX executable nem_slice
Scanning dependencies of target mapvar
[ 41%] Building Fortran object packages/seacas/applications/mapvar/CMakeFiles/mapvar.dir/getbnd.f.o
[ 41%] Building Fortran object packages/seacas/applications/mapvar/CMakeFiles/mapvar.dir/mapvar.f.o
F90-S-0029-Illegal hexadecimal constant: Seehttps://github.com/gsjaardema/seacas/packages (/mscratch/albany/mayer/nightlyCDashTrilinos/repos/Trilinos/packages/seacas/applications/mapvar/mapvar.f: 417)
F90-S-0034-Syntax error at or near non-decimal constant 0 (/mscratch/albany/mayer/nightlyCDashTrilinos/repos/Trilinos/packages/seacas/applications/mapvar/mapvar.f: 417)
F90-S-0029-Illegal hexadecimal constant: Seehttps://github.com/gsjaardema/seacas/packages (/mscratch/albany/mayer/nightlyCDashTrilinos/repos/Trilinos/packages/seacas/applications/mapvar/mapvar.f: 428)
F90-S-0034-Syntax error at or near non-decimal constant 0 (/mscratch/albany/mayer/nightlyCDashTrilinos/repos/Trilinos/packages/seacas/applications/mapvar/mapvar.f: 428)
0 inform, 0 warnings, 4 severes, 0 fatal for mapvar
[ 41%] Building Fortran object packages/seacas/applications/mapvar/CMakeFiles/mapvar.dir/mklstv.f.o
[ 41%] Built target nem_slice
[ 41%] Building Fortran object packages/seacas/applications/mapvar/CMakeFiles/mapvar.dir/mkrnk.f.o
[ 41%] Building Fortran object packages/seacas/applications/mapvar/CMakeFiles/mapvar.dir/rank.f.o
[ 41%] Building Fortran object packages/seacas/applications/mapvar/CMakeFiles/mapvar.dir/srchge.f.o
[ 41%] Building Fortran object packages/seacas/applications/mapvar/CMakeFiles/mapvar.dir/srchgt.f.o
Scanning dependencies of target mapvar-kd
[ 41%] Building Fortran object packages/seacas/applications/mapvar-kd/CMakeFiles/mapvar-kd.dir/mapvar-kd.f.o
F90-S-0029-Illegal hexadecimal constant: Seehttps://github.com/gsjaardema/seacas/packages (/mscratch/albany/mayer/nightlyCDashTrilinos/repos/Trilinos/packages/seacas/applications/mapvar-kd/mapvar-kd.f: 285)
F90-S-0034-Syntax error at or near non-decimal constant 0 (/mscratch/albany/mayer/nightlyCDashTrilinos/repos/Trilinos/packages/seacas/applications/mapvar-kd/mapvar-kd.f: 285)
```
According to my colleague @jewatkins, the build worked just fine on April 9. Our configure script is attached.
[do-cmake-trilinos-arm-serial.txt](https://github.com/trilinos/Trilinos/files/3099602/do-cmake-trilinos-arm-serial.txt)
@trilinos/seacas
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/4962Tpetra broke Albany nightly build on waterman2020-07-22T01:04:27ZJames WillenbringTpetra broke Albany nightly build on waterman*Created by: ikalash*
Looks like Trilinos failed to compile in the Albany nightly build on waterman due to Tpetra. Here is the error:
```
76%] Building CXX object packages/tpetra/core/src/CMakeFiles/tpetra.dir/Tpetra_EpetraRowMat...*Created by: ikalash*
Looks like Trilinos failed to compile in the Albany nightly build on waterman due to Tpetra. Here is the error:
```
76%] Building CXX object packages/tpetra/core/src/CMakeFiles/tpetra.dir/Tpetra_EpetraRowMatrix.cpp.o
/.../repos/Trilinos/packages/tpetra/core/src/Tpetra_Details_normImpl.cpp(67): error: function "Tpetra::Details::normImpl(MagnitudeType *, const Kokkos::View &, Tpetra::Details::EWhichNorm, const Teuchos::ArrayView &, __nv_bool, __nv_bool, const Teuchos::Comm *) [with ValueType=int, ArrayLayout=Kokkos::LayoutLeft, DeviceType=Kokkos::Device, MagnitudeType=int]" explicitly instantiated more than once
```
http://cdash.sandia.gov/CDash-2-3-0/viewBuildError.php?buildid=83824
@trilinos/tpetra https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4930Albany compilation error due to MueLu2020-07-22T01:04:27ZJames WillenbringAlbany compilation error due to MueLu*Created by: ikalash*
It looks like MueLu broke some of our Albany builds last night. Here is the error, which occurs when building Albany against an install of Trilinos:
```
[ 99%] Built target PartitionTest [ 99%] Built target u...*Created by: ikalash*
It looks like MueLu broke some of our Albany builds last night. Here is the error, which occurs when building Albany against an install of Trilinos:
```
[ 99%] Built target PartitionTest [ 99%] Built target utSurfaceElement /.../test/TrilinosInstall/lib/libmuelu.a(MueLu_AggregationExportFactory.cpp.o): In function `MueLu::AggregationExportFactory >::Build(MueLu::Level&, MueLu::Level&) const': MueLu_AggregationExportFactory.cpp:(.text._ZNK5MueLu24AggregationExportFactoryIdixN6Kokkos6Compat23KokkosDeviceWrapperNodeINS1_6SerialENS1_9HostSpaceEEEE5BuildERNS_5LevelES9_[_ZNK5MueLu24AggregationExportFactoryIdixN6Kokkos6Compat23KokkosDeviceWrapperNodeINS1_6SerialENS1_9HostSpaceEEEE5BuildERNS_5LevelES9_]+0xaa8): undefined reference to `MueLu::AmalgamationInfo >::UnamalgamateAggregates(MueLu::Aggregates > const&, Teuchos::ArrayRCP&, Teuchos::ArrayRCP&) const' /.../test/TrilinosInstall/lib/libmuelu.a(MueLu_AggregationExportFactory.cpp.o): In function `MueLu::AggregationExportFactory >::Build(MueLu::Level&, MueLu::Level&) const':
``
http://cdash.sandia.gov/CDash-2-3-0/viewBuildError.php?buildid=83739 (SRN)
https://my.cdash.org/viewBuildError.php?buildid=1637579 (SON)
Could someone please look at / resolve the problem?
@trilinos/muelu
https://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/4857Tpetra: configure error using COMPLEX_DOUBLE and FLOAT types2020-07-22T01:04:27ZJames WillenbringTpetra: configure error using COMPLEX_DOUBLE and FLOAT types*Created by: ajpowel*
<!---
Replace <teamName> below with the appropriate Trilinos package/team name.
-->
@trilinos/Tpetra
## Expectations
We do not want to turn on Trilinos_ENABLE_COMPLEX_FLOAT if we are also using Tri...*Created by: ajpowel*
<!---
Replace <teamName> below with the appropriate Trilinos package/team name.
-->
@trilinos/Tpetra
## Expectations
We do not want to turn on Trilinos_ENABLE_COMPLEX_FLOAT if we are also using Trilinos_ENABLE_FLOAT and Trilinos_ENABLE_COMPLEX_DOUBLE. Is the current behavior (below) correct?
<!---
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
Processing enabled package: Tpetra (Classic, TSQR, Core)
-- Tpetra: Enabling deprecated code
-- Determine whether Tpetra will assume that MPI is CUDA aware:
-- - Tpetra_ENABLE_CUDA is OFF, so Tpetra will assume that MPI is not CUDA aware.
-- Tpetra execution space availability (ON means available):
-- - Serial: ON
-- - Threads: OFF
-- - OpenMP: OFF
-- - Cuda: OFF
CMake Error at packages/tpetra/CMakeLists.txt:986 (MESSAGE):
Tpetra: Tpetra_INST_COMPLEX_FLOAT is OFF (meaning that you want to disable
explicit instantiation and/or tests of Tpetra with Scalar =
std::complex<float>), but Teuchos_ENABLE_COMPLEX is ON and
Teuchos_ENABLE_FLOAT is ON. This will cause downstream link errors, likely
in Thyra or Stratimikos. See GitHub Issue 4080 for details. Best
practice: Do NOT set Tpetra_INST_COMPLEX_FLOAT, Teuchos_ENABLE_COMPLEX, or
Teuchos_ENABLE_FLOAT explicitly. Instead, set
Trilinos_ENABLE_COMPLEX_FLOAT explicitly. That will set defaults for
Teuchos and Tpetra correctly.
-- Configuring incomplete, errors occurred!
See also "/scratch/ajpowel/code_032119/fix_trilly/CMakeFiles/CMakeOutput.log".
See also "/scratch/ajpowel/code_032119/fix_trilly/CMakeFiles/CMakeError.log".
<!---
Tell us how the current behavior fails to meet your expectations in some way.
-->
## Motivation and Context
Sierra-Trilinos integration
<!---
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.
-->
## Steps to Reproduce
cmake -DTrilinos_ENABLE_Tpetra=ON -DTrilinos_ENABLE_COMPLEX_DOUBLE=ON -DTrilinos_ENABLE_FLOAT=ON -DTrilinos_ENABLE_Teuchos=ON $PATH_TO_MY_SOURCE_CODE
<!---
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.
-->https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4878Xpetra: In CUDA build, warning about missing return statement at end of non-v...2020-07-22T01:04:27ZJames WillenbringXpetra: In CUDA build, warning about missing return statement at end of non-void function*Created by: mhoemmen*
@trilinos/muelu @trilinos/xpetra
```
.../Trilinos/packages/xpetra/sup/Matrix/Xpetra_MatrixFactory.hpp(161): warning: missing return statement at end of non-void function "Xpetra::MatrixFactory2<double, int, int...*Created by: mhoemmen*
@trilinos/muelu @trilinos/xpetra
```
.../Trilinos/packages/xpetra/sup/Matrix/Xpetra_MatrixFactory.hpp(161): warning: missing return statement at end of non-void function "Xpetra::MatrixFactory2<double, int, int, Node>::BuildCopy [with Node=Xpetra::EpetraNode]"
detected during:
instantiation of "Teuchos::RCP<Xpetra::Matrix<double, int, int, Node>> Xpetra::MatrixFactory2<double, int, int, Node>::BuildCopy(Teuchos::RCP<const Xpetra::Matrix<double, int, int, Node>>) [with Node=Xpetra::EpetraNode]"
.../Trilinos/packages/muelu/src/Transfers/Energy-Minimization/Solvers/MueLu_CGSolver_def.hpp(75): here
instantiation of "void MueLu::CGSolver<Scalar, LocalOrdinal, GlobalOrdinal, Node>::Iterate(const MueLu::CGSolver<Scalar, LocalOrdinal, GlobalOrdinal, Node>::Matrix &, const MueLu::CGSolver<Scalar, LocalOrdinal, GlobalOrdinal, Node>::Constraint &, const MueLu::CGSolver<Scalar, LocalOrdinal, GlobalOrdinal, Node>::Matrix &, Teuchos::RCP<MueLu::CGSolver<Scalar, LocalOrdinal, GlobalOrdinal, Node>::Matrix> &) const [with Scalar=double, LocalOrdinal=int, GlobalOrdinal=int, Node=Kokkos_Compat_KokkosSerialWrapperNode]"
.../Trilinos/packages/muelu/src/Utils/MueLu_ETI_4arg.hpp(32): here
```
https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4827Tpetra::Details::copyConvert doesn't build for conversions between Kokkos::co...2019-04-16T14:01:50ZJames WillenbringTpetra::Details::copyConvert doesn't build for conversions between Kokkos::complex<float> and double*Created by: mhoemmen*
@trilinos/tpetra
This breaks `Tpetra::deep_copy` between `MultiVector<std::complex<float>, ...>` and `MultiVector<double, ...>`.*Created by: mhoemmen*
@trilinos/tpetra
This breaks `Tpetra::deep_copy` between `MultiVector<std::complex<float>, ...>` and `MultiVector<double, ...>`.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/4813Zoltan2: example passes extra arguments to Kokkos::View constructor2019-04-06T09:36:26ZJames WillenbringZoltan2: example passes extra arguments to Kokkos::View constructor*Created by: mhoemmen*
@trilinos/zoltan2 @kddevin
`Trilinos/packages/zoltan2/example/block/kokkosBlock.cpp`, line 147, creates a 1-D `Kokkos::View`, but passes it two run-time dimensions. The second dimension is zero, which is why ...*Created by: mhoemmen*
@trilinos/zoltan2 @kddevin
`Trilinos/packages/zoltan2/example/block/kokkosBlock.cpp`, line 147, creates a 1-D `Kokkos::View`, but passes it two run-time dimensions. The second dimension is zero, which is why it still builds, but it throws if you disable deprecated Kokkos code.
I am working on a fix.https://gitlab.osti.gov/jmwille/Trilinos/-/issues/4814Tpetra: Hide all currently deprecated code with TPETRA_ENABLE_DEPRECATED_CODE...2019-04-06T09:36:26ZJames WillenbringTpetra: Hide all currently deprecated code with TPETRA_ENABLE_DEPRECATED_CODE macro*Created by: mhoemmen*
@trilinos/tpetra
- [x] For anything in Tpetra marked with `TPETRA_DEPRECATED`, wrap it in `#ifdef TPETRA_ENABLE_DEPRECATED_CODE ... #endif`.
- [x] Make sure that all downstream code builds with `TPETRA_EN...*Created by: mhoemmen*
@trilinos/tpetra
- [x] For anything in Tpetra marked with `TPETRA_DEPRECATED`, wrap it in `#ifdef TPETRA_ENABLE_DEPRECATED_CODE ... #endif`.
- [x] Make sure that all downstream code builds with `TPETRA_ENABLE_DEPRECATED_CODE` not defined (it is currently defined by default; set the CMake option `Tpetra_ENABLE_DEPRECATED_CODE` (case significant) to `OFF`, in order to build with the macro not defined).
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/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/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