Hi Bruno,

When I install deal.II with CUDA, I do turn off Trilinos completely by
typing this:

/usr/bin/cmake3 \
 -DCMAKE_INSTALL_PREFIX=/work1/chueh5851a/software/dealii \
 -DP4EST_DIR=/work1/chueh5851a/software/p4est-2.0/FAST \
 -D DEAL_II_WITH_MPI:BOOL=ON \
 -D DEAL_II_WITH_THREADS:BOOL=ON \
 -D DEAL_II_WITH_UMFPACK:BOOL=ON \
 -D DEAL_II_WITH_TRILINOS:BOOL=OFF \
 -D DEAL_II_WITH_CUDA=ON   \
 -D DEAL_II_WITH_CXX14=OFF \
 -D DEAL_II_WITH_PETSC:BOOL=OFF \
 -D DEAL_II_WITH_SLEPC:BOOL=OFF \
 `pwd`/..

But I still get a lot of errors coming from somewhere else, as shown below:


[ 65%] Building CXX object
source/meshworker/CMakeFiles/obj_meshworker_debug.dir/mesh_worker_vector_selector.cc.o
[ 65%] Building CXX object
source/numerics/CMakeFiles/obj_numerics_debug.dir/solution_transfer.cc.o
[ 65%] Building CXX object
source/numerics/CMakeFiles/obj_numerics_debug.dir/solution_transfer_inst2.cc.o
[ 65%] Building CUDA object
source/lac/CMakeFiles/obj_lac_debug.dir/cuda_precondition.cu.o
[ 65%] Building CXX object
source/numerics/CMakeFiles/obj_numerics_debug.dir/solution_transfer_inst3.cc.o
[ 65%] Building CXX object
source/numerics/CMakeFiles/obj_numerics_debug.dir/solution_transfer_inst4.cc.o
[ 65%] Building CXX object
source/fe/CMakeFiles/obj_fe_debug.dir/fe_series_fourier.cc.o
/work1/chueh5851a/CUDA/dealii/bundled/boost-1.62.0/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp(75):
warning: variable "tmp" was set but never used

/work1/chueh5851a/CUDA/dealii/bundled/boost-1.62.0/include/boost/mpl/print.hpp(64):
warning: integer conversion resulted in a change of sign

make[1]: *** [source/matrix_free/CMakeFiles/obj_matrix_free_debug.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
[ 65%] Building CXX object
source/fe/CMakeFiles/obj_fe_debug.dir/fe_series_legendre.cc.o
/work1/chueh5851a/CUDA/dealii/bundled/boost-1.62.0/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp(75):
warning: variable "tmp" was set but never used

/work1/chueh5851a/CUDA/dealii/bundled/boost-1.62.0/include/boost/mpl/print.hpp(64):
warning: integer conversion resulted in a change of sign

[ 65%] Building CUDA object
source/lac/CMakeFiles/obj_lac_debug.dir/cuda_solver_direct.cu.o
[ 65%] Building CXX object
source/numerics/CMakeFiles/obj_numerics_debug.dir/vector_tools_integrate_difference.cc.o
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_MoveConstructibleTuple() [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {float*, int*, int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:626:248:   required by
substitution of ‘template<class ... _UElements, typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), float*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple<
<template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), float*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1293:54:
 required from ‘void
dealii::CUDAWrappers::PreconditionIC<Number>::initialize(const
dealii::CUDAWrappers::SparseMatrix<Number>&, const
dealii::CUDAWrappers::PreconditionIC<Number>::AdditionalData&) [with Number
= float]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1815:16:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:483:67: error: mismatched
argument pack lengths while expanding ‘std::is_constructible<_Elements,
_UElements&&>’
       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
                                                                   ^~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:484:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_MoveConstructibleTuple() [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {float*, int*, int*, cusparseMatDescr*}]’ not a
return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {float*, int*, int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:626:362:   required by
substitution of ‘template<class ... _UElements, typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), float*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple<
<template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), float*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1293:54:
 required from ‘void
dealii::CUDAWrappers::PreconditionIC<Number>::initialize(const
dealii::CUDAWrappers::SparseMatrix<Number>&, const
dealii::CUDAWrappers::PreconditionIC<Number>::AdditionalData&) [with Number
= float]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1815:16:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:489:65: error: mismatched
argument pack lengths while expanding ‘std::is_convertible<_UElements&&,
_Elements>’
       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
                                                                 ^~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:490:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {float*, int*, int*, cusparseMatDescr*}]’ not a
return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple()
[with _SrcTuple = const std::tuple<float*, int*, int*, cusparseMatDescr*>&;
bool <anonymous> = true; _Elements = {float*, int*, int*,
cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:662:419:   required by
substitution of ‘template<class ... _UElements, class _Dummy, typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), float*, int*,
int*, cusparseMatDescr*>::_ConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), float*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<const tuple<_Elements ...>&>()),
bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1>
>::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {float*, int*,
int*, cusparseMatDescr*}; _Dummy = void; typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), float*, int*,
int*, cusparseMatDescr*>::_ConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), float*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<const tuple<_Elements ...>&>()),
bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1293:54:
 required from ‘void
dealii::CUDAWrappers::PreconditionIC<Number>::initialize(const
dealii::CUDAWrappers::SparseMatrix<Number>&, const
dealii::CUDAWrappers::PreconditionIC<Number>::AdditionalData&) [with Number
= float]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1815:16:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:495:244: error: wrong
number of template arguments (5, should be 2)
       return  __and_<__not_<is_same<tuple<_Elements...>,



                ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/type_traits:1558:8: note:
provided for ‘template<class _From, class _To> struct std::is_convertible’
     struct is_convertible
        ^~~~~~~~~~~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:502:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<float*,
int*, int*, cusparseMatDescr*>&; bool <anonymous> = true; _Elements =
{float*, int*, int*, cusparseMatDescr*}]’ not a return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple()
[with _SrcTuple = std::tuple<float*, int*, int*, cusparseMatDescr*>&&; bool
<anonymous> = true; _Elements = {float*, int*, int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:686:422:   required by
substitution of ‘template<class ... _UElements, class _Dummy, typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), float*, int*,
int*, cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), float*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<tuple<_Elements ...>&&>()),
bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1>
>::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {float*, int*, int*,
cusparseMatDescr*}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul
== sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), float*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<tuple<_Elements ...>&&>()),
bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1293:54:
 required from ‘void
dealii::CUDAWrappers::PreconditionIC<Number>::initialize(const
dealii::CUDAWrappers::SparseMatrix<Number>&, const
dealii::CUDAWrappers::PreconditionIC<Number>::AdditionalData&) [with Number
= float]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1815:16:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:495:244: error: wrong
number of template arguments (5, should be 2)
       return  __and_<__not_<is_same<tuple<_Elements...>,



                ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/type_traits:1558:8: note:
provided for ‘template<class _From, class _To> struct std::is_convertible’
     struct is_convertible
        ^~~~~~~~~~~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:502:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<float*, int*,
int*, cusparseMatDescr*>&&; bool <anonymous> = true; _Elements = {float*,
int*, int*, cusparseMatDescr*}]’ not a return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_MoveConstructibleTuple() [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {double*, int*, int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:626:248:   required by
substitution of ‘template<class ... _UElements, typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), double*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple<
<template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), double*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1293:54:
 required from ‘void
dealii::CUDAWrappers::PreconditionIC<Number>::initialize(const
dealii::CUDAWrappers::SparseMatrix<Number>&, const
dealii::CUDAWrappers::PreconditionIC<Number>::AdditionalData&) [with Number
= double]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1816:16:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:483:67: error: mismatched
argument pack lengths while expanding ‘std::is_constructible<_Elements,
_UElements&&>’
       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
                                                                   ^~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:484:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_MoveConstructibleTuple() [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {double*, int*, int*, cusparseMatDescr*}]’ not a
return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {double*, int*, int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:626:362:   required by
substitution of ‘template<class ... _UElements, typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), double*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple<
<template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), double*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1293:54:
 required from ‘void
dealii::CUDAWrappers::PreconditionIC<Number>::initialize(const
dealii::CUDAWrappers::SparseMatrix<Number>&, const
dealii::CUDAWrappers::PreconditionIC<Number>::AdditionalData&) [with Number
= double]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1816:16:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:489:65: error: mismatched
argument pack lengths while expanding ‘std::is_convertible<_UElements&&,
_Elements>’
       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
                                                                 ^~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:490:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {double*, int*, int*, cusparseMatDescr*}]’ not a
return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple()
[with _SrcTuple = const std::tuple<double*, int*, int*,
cusparseMatDescr*>&; bool <anonymous> = true; _Elements = {double*, int*,
int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:662:419:   required by
substitution of ‘template<class ... _UElements, class _Dummy, typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), double*, int*,
int*, cusparseMatDescr*>::_ConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), double*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<const tuple<_Elements ...>&>()),
bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1>
>::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {double*, int*,
int*, cusparseMatDescr*}; _Dummy = void; typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), double*, int*,
int*, cusparseMatDescr*>::_ConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), double*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<const tuple<_Elements ...>&>()),
bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1293:54:
 required from ‘void
dealii::CUDAWrappers::PreconditionIC<Number>::initialize(const
dealii::CUDAWrappers::SparseMatrix<Number>&, const
dealii::CUDAWrappers::PreconditionIC<Number>::AdditionalData&) [with Number
= double]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1816:16:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:495:244: error: wrong
number of template arguments (5, should be 2)
       return  __and_<__not_<is_same<tuple<_Elements...>,



                ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/type_traits:1558:8: note:
provided for ‘template<class _From, class _To> struct std::is_convertible’
     struct is_convertible
        ^~~~~~~~~~~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:502:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<double*,
int*, int*, cusparseMatDescr*>&; bool <anonymous> = true; _Elements =
{double*, int*, int*, cusparseMatDescr*}]’ not a return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple()
[with _SrcTuple = std::tuple<double*, int*, int*, cusparseMatDescr*>&&;
bool <anonymous> = true; _Elements = {double*, int*, int*,
cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:686:422:   required by
substitution of ‘template<class ... _UElements, class _Dummy, typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), double*, int*,
int*, cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), double*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<tuple<_Elements ...>&&>()),
bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1>
>::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {double*, int*, int*,
cusparseMatDescr*}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul
== sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), double*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<tuple<_Elements ...>&&>()),
bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1293:54:
 required from ‘void
dealii::CUDAWrappers::PreconditionIC<Number>::initialize(const
dealii::CUDAWrappers::SparseMatrix<Number>&, const
dealii::CUDAWrappers::PreconditionIC<Number>::AdditionalData&) [with Number
= double]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_precondition.cu:1816:16:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:495:244: error: wrong
number of template arguments (5, should be 2)
       return  __and_<__not_<is_same<tuple<_Elements...>,



                ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/type_traits:1558:8: note:
provided for ‘template<class _From, class _To> struct std::is_convertible’
     struct is_convertible
        ^~~~~~~~~~~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:502:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<double*, int*,
int*, cusparseMatDescr*>&&; bool <anonymous> = true; _Elements = {double*,
int*, int*, cusparseMatDescr*}]’ not a return-statement
     }
 ^
/work1/chueh5851a/CUDA/dealii/bundled/boost-1.62.0/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp(75):
warning: variable "tmp" was set but never used

/work1/chueh5851a/CUDA/dealii/bundled/boost-1.62.0/include/boost/mpl/print.hpp(64):
warning: integer conversion resulted in a change of sign

make[2]: ***
[source/lac/CMakeFiles/obj_lac_debug.dir/cuda_precondition.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 65%] Building CXX object
source/fe/CMakeFiles/obj_fe_debug.dir/fe_system.cc.o
[ 67%] Building CXX object
source/numerics/CMakeFiles/obj_numerics_debug.dir/vector_tools_interpolate.cc.o
[ 67%] Building CXX object
source/numerics/CMakeFiles/obj_numerics_debug.dir/vector_tools_point_value.cc.o
/work1/chueh5851a/CUDA/dealii/bundled/boost-1.62.0/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp(75):
warning: variable "tmp" was set but never used

/work1/chueh5851a/CUDA/dealii/bundled/boost-1.62.0/include/boost/mpl/print.hpp(64):
warning: integer conversion resulted in a change of sign

/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_MoveConstructibleTuple() [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {float*, int*, int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:626:248:   required by
substitution of ‘template<class ... _UElements, typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), float*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple<
<template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), float*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_solver_direct.cu:29:51:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:483:67: error: mismatched
argument pack lengths while expanding ‘std::is_constructible<_Elements,
_UElements&&>’
       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
                                                                   ^~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:484:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_MoveConstructibleTuple() [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {float*, int*, int*, cusparseMatDescr*}]’ not a
return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {float*, int*, int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:626:362:   required by
substitution of ‘template<class ... _UElements, typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), float*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple<
<template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), float*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_solver_direct.cu:29:51:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:489:65: error: mismatched
argument pack lengths while expanding ‘std::is_convertible<_UElements&&,
_Elements>’
       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
                                                                 ^~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:490:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements =
{std::tuple<float*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {float*, int*, int*, cusparseMatDescr*}]’ not a
return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple()
[with _SrcTuple = const std::tuple<float*, int*, int*, cusparseMatDescr*>&;
bool <anonymous> = true; _Elements = {float*, int*, int*,
cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:662:419:   required by
substitution of ‘template<class ... _UElements, class _Dummy, typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), float*, int*,
int*, cusparseMatDescr*>::_ConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), float*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<const tuple<_Args1 ...>&>()),
bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1>
>::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {float*, int*,
int*, cusparseMatDescr*}; _Dummy = void; typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), float*, int*,
int*, cusparseMatDescr*>::_ConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), float*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<const tuple<_Args1 ...>&>()),
bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_solver_direct.cu:29:51:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:495:244: error: wrong
number of template arguments (5, should be 2)
       return  __and_<__not_<is_same<tuple<_Elements...>,



                ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/type_traits:1558:8: note:
provided for ‘template<class _From, class _To> struct std::is_convertible’
     struct is_convertible
        ^~~~~~~~~~~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:502:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<float*,
int*, int*, cusparseMatDescr*>&; bool <anonymous> = true; _Elements =
{float*, int*, int*, cusparseMatDescr*}]’ not a return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple()
[with _SrcTuple = std::tuple<float*, int*, int*, cusparseMatDescr*>&&; bool
<anonymous> = true; _Elements = {float*, int*, int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:686:422:   required by
substitution of ‘template<class ... _UElements, class _Dummy, typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), float*, int*,
int*, cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), float*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<tuple<_Args1 ...>&&>()),
bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1>
>::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {float*, int*, int*,
cusparseMatDescr*}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul
== sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), float*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), float*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<tuple<_Args1 ...>&&>()),
bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_solver_direct.cu:29:51:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:495:244: error: wrong
number of template arguments (5, should be 2)
       return  __and_<__not_<is_same<tuple<_Elements...>,



                ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/type_traits:1558:8: note:
provided for ‘template<class _From, class _To> struct std::is_convertible’
     struct is_convertible
        ^~~~~~~~~~~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:502:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<float*, int*,
int*, cusparseMatDescr*>&&; bool <anonymous> = true; _Elements = {float*,
int*, int*, cusparseMatDescr*}]’ not a return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_MoveConstructibleTuple() [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {double*, int*, int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:626:248:   required by
substitution of ‘template<class ... _UElements, typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), double*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple<
<template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), double*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_solver_direct.cu:51:51:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:483:67: error: mismatched
argument pack lengths while expanding ‘std::is_constructible<_Elements,
_UElements&&>’
       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
                                                                   ^~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:484:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_MoveConstructibleTuple() [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {double*, int*, int*, cusparseMatDescr*}]’ not a
return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {double*, int*, int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:626:362:   required by
substitution of ‘template<class ... _UElements, typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), double*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple<
<template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; typename
std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), double*, int*,
int*, cusparseMatDescr*>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul
== sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>()) &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
(4ul >= 1)), bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_solver_direct.cu:51:51:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:489:65: error: mismatched
argument pack lengths while expanding ‘std::is_convertible<_UElements&&,
_Elements>’
       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
                                                                 ^~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:490:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements =
{std::tuple<double*, int*, int*, cusparseMatDescr*>}; bool <anonymous> =
true; _Elements = {double*, int*, int*, cusparseMatDescr*}]’ not a
return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple()
[with _SrcTuple = const std::tuple<double*, int*, int*,
cusparseMatDescr*>&; bool <anonymous> = true; _Elements = {double*, int*,
int*, cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:662:419:   required by
substitution of ‘template<class ... _UElements, class _Dummy, typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), double*, int*,
int*, cusparseMatDescr*>::_ConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), double*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<const tuple<_Args1 ...>&>()),
bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1>
>::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {double*, int*,
int*, cusparseMatDescr*}; _Dummy = void; typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), double*, int*,
int*, cusparseMatDescr*>::_ConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), double*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<const tuple<_Args1 ...>&>()),
bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_solver_direct.cu:51:51:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:495:244: error: wrong
number of template arguments (5, should be 2)
       return  __and_<__not_<is_same<tuple<_Elements...>,



                ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/type_traits:1558:8: note:
provided for ‘template<class _From, class _To> struct std::is_convertible’
     struct is_convertible
        ^~~~~~~~~~~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:502:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<double*,
int*, int*, cusparseMatDescr*>&; bool <anonymous> = true; _Elements =
{double*, int*, int*, cusparseMatDescr*}]’ not a return-statement
     }
 ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple: In instantiation of
‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple()
[with _SrcTuple = std::tuple<double*, int*, int*, cusparseMatDescr*>&&;
bool <anonymous> = true; _Elements = {double*, int*, int*,
cusparseMatDescr*}]’:
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:686:422:   required by
substitution of ‘template<class ... _UElements, class _Dummy, typename
std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), double*, int*,
int*, cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), double*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<tuple<_Args1 ...>&&>()),
bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1>
>::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {double*, int*, int*,
cusparseMatDescr*}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul
== sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_MoveConstructibleTuple<_UElements ...>() &&
std::_TC<(1ul == sizeof... (_UElements)), double*, int*, int*,
cusparseMatDescr*>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) &&
std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), double*, int*,
int*, cusparseMatDescr*>::_NonNestedTuple<tuple<_Args1 ...>&&>()),
bool>::type <anonymous> = <missing>]’
/work1/chueh5851a/CUDA/dealii/source/lac/cuda_solver_direct.cu:51:51:
 required from here
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:495:244: error: wrong
number of template arguments (5, should be 2)
       return  __and_<__not_<is_same<tuple<_Elements...>,



                ^
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/type_traits:1558:8: note:
provided for ‘template<class _From, class _To> struct std::is_convertible’
     struct is_convertible
        ^~~~~~~~~~~~~~
/cm/local/apps/gcc/6.3.0/include/c++/6.3.0/tuple:502:1: error: body of
constexpr function ‘static constexpr bool std::_TC<<anonymous>,
_Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<double*, int*,
int*, cusparseMatDescr*>&&; bool <anonymous> = true; _Elements = {double*,
int*, int*, cusparseMatDescr*}]’ not a return-statement
     }
 ^
make[2]: ***
[source/lac/CMakeFiles/obj_lac_debug.dir/cuda_solver_direct.cu.o] Error 1
make[1]: *** [source/lac/CMakeFiles/obj_lac_debug.dir/all] Error 2
[ 67%] Building CXX object
source/numerics/CMakeFiles/obj_numerics_debug.dir/vector_tools_project.cc.o
[ 67%] Building CXX object
source/fe/CMakeFiles/obj_fe_debug.dir/fe_enriched.cc.o
[ 67%] Building CXX object
source/fe/CMakeFiles/obj_fe_debug.dir/fe_tools.cc.o


On Wed, Nov 7, 2018 at 9:29 PM Bruno Turcksin <bruno.turck...@gmail.com>
wrote:

> Chih-Che
>
> On Wednesday, November 7, 2018 at 3:15:25 AM UTC-5, Chih-Che Chueh wrote:
>>
>> Hi all,
>>
>> I am trying installing dealII with CUDA in a GPG machine by following
>> this: https://www.dealii.org/9.0.0/external-libs/cuda.html
>>
>> But I get this error in terms of matrix_tools.cc.o. Is this because I
>> don't turn off Trilinos stuff while cmaking deal.II for successful
>> installation with CUDA?
>>
> This is a known problem when CUDA and Trilinos are both enabled at the
> same time. If you need both Trilinos and CUDA, you need to use master and
> make sure that Trilinos is compiled without Sacado support.
>
> Best,
>
> Bruno
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to