Waf: Entering directory `/home/yuhw/wc/wct-analysis/csi-kokkos/wire-cell-gen-kokkos/build' Building: [ 1/24] Compiling src/GaussianDiffusion.kokkos [ 2/24] Compiling src/GaussianDiffusion.cxx [ 3/24] Compiling src/BinnedDiffusion_transform.cxx [ 4/24] Compiling src/GaussianDiffusion_CUDA.cu [ 5/24] Compiling src/ImpactTransform.cxx [ 6/24] Compiling src/DepoTransform.cxx [ 7/24] Compiling src/simple_kokkos.kokkos [ 8/24] Compiling src/ImpactData.cxx [ 9/24] Compiling test/test_atadd.kokkos [10/24] Compiling test/test_cuda.kokkos [11/24] Compiling test/test_mem.kokkos [12/24] Compiling test/test_random.kokkos [13/24] Compiling test/test_simple_kokkos.kokkos In file included from ../../../../../sw/eigen-3.3.7/Eigen/Core:257, from /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h:13, from /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Array.h:28, from ../inc/WireCellGenKokkos/GaussianDiffusion.h:4, from ../src/GaussianDiffusion.kokkos:3: /opt/cuda-10.1/include/host_defines.h:54:2: warning: #warning "host_defines.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "host_defines.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^~~~~~~ ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1075): warning: calling a constexpr __host__ function("real") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1075): warning: calling a constexpr __host__ function("imag") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1075): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1075): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1080): warning: calling a constexpr __host__ function("real") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1080): warning: calling a constexpr __host__ function("imag") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1080): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1080): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/ReturnByValue.h(63): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "Eigen::Index Eigen::ReturnByValue::rows() const [with Derived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(557): here instantiation of "Eigen::PlainObjectBase::PlainObjectBase(const Eigen::ReturnByValue &) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>, OtherDerived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(378): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase &) [with _Scalar=std::complex, _Rows=-1, _Cols=1, _Options=0, _MaxRows=-1, _MaxCols=1, OtherDerived=Eigen::ReturnByValue>>, Eigen::FFT>>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(220): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/ReturnByValue.h(64): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "Eigen::Index Eigen::ReturnByValue::cols() const [with Derived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(557): here instantiation of "Eigen::PlainObjectBase::PlainObjectBase(const Eigen::ReturnByValue &) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>, OtherDerived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(378): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase &) [with _Scalar=std::complex, _Rows=-1, _Cols=1, _Options=0, _MaxRows=-1, _MaxCols=1, OtherDerived=Eigen::ReturnByValue>>, Eigen::FFT>>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(220): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/util/Memory.h(270): warning: calling a constexpr __host__ function("complex") from a __host__ __device__ function("construct_elements_of_array") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. detected during: instantiation of "T *Eigen::internal::construct_elements_of_array(T *, std::size_t) [with T=std::complex]" (379): here instantiation of "T *Eigen::internal::conditional_aligned_new_auto(std::size_t) [with T=std::complex, Align=true]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/DenseStorage.h(557): here instantiation of "void Eigen::DenseStorage::resize(Eigen::Index, Eigen::Index, Eigen::Index) [with T=std::complex, _Cols=1, _Options=0]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(293): here instantiation of "void Eigen::PlainObjectBase::resize(Eigen::Index, Eigen::Index) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(557): here instantiation of "Eigen::PlainObjectBase::PlainObjectBase(const Eigen::ReturnByValue &) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>, OtherDerived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(378): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase &) [with _Scalar=std::complex, _Rows=-1, _Cols=1, _Options=0, _MaxRows=-1, _MaxCols=1, OtherDerived=Eigen::ReturnByValue>>, Eigen::FFT>>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(220): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/AssignEvaluator.h(720): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "void Eigen::internal::resize_if_allowed(DstXprType &, const SrcXprType &, const Eigen::internal::assign_op &) [with DstXprType=Eigen::Transpose>, SrcXprType=Eigen::Map>, T1=float, T2=float]" (734): here instantiation of "void Eigen::internal::call_dense_assignment_loop(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose>, SrcXprType=Eigen::Map>, Functor=Eigen::internal::assign_op]" (879): here instantiation of "void Eigen::internal::Assignment::run(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose>, SrcXprType=Eigen::Map>, Functor=Eigen::internal::assign_op, Weak=void]" (836): here instantiation of "void Eigen::internal::call_assignment_no_alias(Dst &, const Src &, const Func &) [with Dst=Eigen::Matrix, Src=Eigen::Map>, Func=Eigen::internal::assign_op]" (804): here instantiation of "void Eigen::internal::call_assignment(Dst &, const Src &, const Func &, Eigen::internal::enable_if<, void *>::type) [with Dst=Eigen::Matrix, Src=Eigen::Map>, Func=Eigen::internal::assign_op]" (782): here [ 3 instantiation contexts not shown ] instantiation of "void Eigen::FFT::fwd(Eigen::MatrixBase &, const Eigen::MatrixBase &, Eigen::FFT::Index) [with T_Scalar=WireCell::Waveform::real_t, T_Impl=Eigen::default_fft_impl, InputDerived=Eigen::Map>, ComplexDerived=Eigen::Matrix, -1, 1, 0, -1, 1>]" ../../../../../sw/eigen-3.3.7/unsupported/Eigen/FFT(407): here instantiation of "void Eigen::fft_fwd_proxy::evalTo(T_DestMat &) const [with T_SrcMat=Eigen::MatrixBase>>, T_FftIfc=Eigen::FFT>, T_DestMat=Eigen::Matrix, -1, 1, 0, -1, 1>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/ReturnByValue.h(62): here instantiation of "void Eigen::ReturnByValue::evalTo(Dest &) const [with Derived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>, Dest=Eigen::Matrix, -1, 1, 0, -1, 1>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(558): here instantiation of "Eigen::PlainObjectBase::PlainObjectBase(const Eigen::ReturnByValue &) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>, OtherDerived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(378): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase &) [with _Scalar=std::complex, _Rows=-1, _Cols=1, _Options=0, _MaxRows=-1, _MaxCols=1, OtherDerived=Eigen::ReturnByValue>>, Eigen::FFT>>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(220): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/ReturnByValue.h(62): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "void Eigen::ReturnByValue::evalTo(Dest &) const [with Derived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>, Dest=Eigen::Matrix, -1, 1, 0, -1, 1>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(558): here instantiation of "Eigen::PlainObjectBase::PlainObjectBase(const Eigen::ReturnByValue &) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>, OtherDerived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(378): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase &) [with _Scalar=std::complex, _Rows=-1, _Cols=1, _Options=0, _MaxRows=-1, _MaxCols=1, OtherDerived=Eigen::ReturnByValue>>, Eigen::FFT>>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(220): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/CwiseNullaryOp.h(518): warning: calling a constexpr __host__ function("complex") from a __host__ __device__ function("setZero") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. detected during: instantiation of "Derived &Eigen::PlainObjectBase::setZero(Eigen::Index) [with Derived=Eigen::Matrix, 1, -1, 1, 1, -1>]" ../../../../../sw/eigen-3.3.7/unsupported/Eigen/FFT(321): here instantiation of "void Eigen::FFT::inv(Eigen::MatrixBase &, const Eigen::MatrixBase &, Eigen::FFT::Index) [with T_Scalar=WireCell::Waveform::real_t, T_Impl=Eigen::default_fft_impl, OutputDerived=Eigen::Matrix, ComplexDerived=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(227): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/AssignEvaluator.h(720): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "void Eigen::internal::resize_if_allowed(DstXprType &, const SrcXprType &, const Eigen::internal::assign_op &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>, 1, -1, false>>, SrcXprType=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>, T1=std::complex, T2=std::complex]" (734): here instantiation of "void Eigen::internal::call_dense_assignment_loop(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>, 1, -1, false>>, SrcXprType=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>, Functor=Eigen::internal::assign_op, std::complex>]" (879): here instantiation of "void Eigen::internal::Assignment::run(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>, 1, -1, false>>, SrcXprType=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>, Functor=Eigen::internal::assign_op, std::complex>, Weak=void]" (836): here instantiation of "void Eigen::internal::call_assignment_no_alias(Dst &, const Src &, const Func &) [with Dst=Eigen::Block, 1, -1, 1, 1, -1>, 1, -1, false>, Src=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>, Func=Eigen::internal::assign_op, std::complex>]" (804): here instantiation of "void Eigen::internal::call_assignment(Dst &, const Src &, const Func &, Eigen::internal::enable_if<, void *>::type) [with Dst=Eigen::Block, 1, -1, 1, 1, -1>, 1, -1, false>, Src=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>, Func=Eigen::internal::assign_op, std::complex>]" (782): here instantiation of "void Eigen::internal::call_assignment(Dst &, const Src &) [with Dst=Eigen::Block, 1, -1, 1, 1, -1>, 1, -1, false>, Src=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Assign.h(66): here instantiation of "Derived &Eigen::MatrixBase::operator=(const Eigen::DenseBase &) [with Derived=Eigen::Block, 1, -1, 1, 1, -1>, 1, -1, false>, OtherDerived=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>]" ../../../../../sw/eigen-3.3.7/unsupported/Eigen/FFT(324): here instantiation of "void Eigen::FFT::inv(Eigen::MatrixBase &, const Eigen::MatrixBase &, Eigen::FFT::Index) [with T_Scalar=WireCell::Waveform::real_t, T_Impl=Eigen::default_fft_impl, OutputDerived=Eigen::Matrix, ComplexDerived=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(227): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/AssignEvaluator.h(720): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "void Eigen::internal::resize_if_allowed(DstXprType &, const SrcXprType &, const Eigen::internal::assign_op &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>>, SrcXprType=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, T1=std::complex, T2=std::complex]" (734): here instantiation of "void Eigen::internal::call_dense_assignment_loop(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>>, SrcXprType=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, Functor=Eigen::internal::assign_op, std::complex>]" (879): here instantiation of "void Eigen::internal::Assignment::run(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>>, SrcXprType=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, Functor=Eigen::internal::assign_op, std::complex>, Weak=void]" (836): here instantiation of "void Eigen::internal::call_assignment_no_alias(Dst &, const Src &, const Func &) [with Dst=Eigen::Matrix, 1, -1, 1, 1, -1>, Src=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, Func=Eigen::internal::assign_op, std::complex>]" (804): here instantiation of "void Eigen::internal::call_assignment(Dst &, const Src &, const Func &, Eigen::internal::enable_if<, void *>::type) [with Dst=Eigen::Matrix, 1, -1, 1, 1, -1>, Src=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, Func=Eigen::internal::assign_op, std::complex>]" (782): here instantiation of "void Eigen::internal::call_assignment(Dst &, const Src &) [with Dst=Eigen::Matrix, 1, -1, 1, 1, -1>, Src=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(714): here instantiation of "Derived &Eigen::PlainObjectBase::_set(const Eigen::DenseBase &) [with Derived=Eigen::Matrix, 1, -1, 1, 1, -1>, OtherDerived=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(225): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> &Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase &) [with _Scalar=std::complex, _Rows=1, _Cols=-1, _Options=1, _MaxRows=1, _MaxCols=-1, OtherDerived=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" ../../../../../sw/eigen-3.3.7/unsupported/Eigen/FFT(340): here instantiation of "void Eigen::FFT::inv(Eigen::MatrixBase &, const Eigen::MatrixBase &, Eigen::FFT::Index) [with T_Scalar=WireCell::Waveform::real_t, T_Impl=Eigen::default_fft_impl, OutputDerived=Eigen::Matrix, ComplexDerived=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(227): here In file included from ../../../../../sw/eigen-3.3.7/Eigen/Core:257, from /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h:13, from /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Array.h:28, from ../inc/WireCellGenKokkos/GaussianDiffusion.h:4, from ../src/GaussianDiffusion.kokkos:3: /opt/cuda-10.1/include/host_defines.h:54:2: warning: #warning "host_defines.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "host_defines.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^~~~~~~ In file included from ../../../../../sw/eigen-3.3.7/Eigen/Core:257, from /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h:13, from /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Array.h:28, from ../inc/WireCellGenKokkos/GaussianDiffusion.h:4, from ../src/GaussianDiffusion_CUDA.cu:1: /opt/cuda-10.1/include/host_defines.h:54:2: warning: #warning "host_defines.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "host_defines.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^~~~~~~ ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1075): warning: calling a constexpr __host__ function("real") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1075): warning: calling a constexpr __host__ function("imag") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1075): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1075): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1080): warning: calling a constexpr __host__ function("real") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1080): warning: calling a constexpr __host__ function("imag") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1080): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/MathFunctions.h(1080): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. ../../../../../sw/eigen-3.3.7/Eigen/src/Core/arch/CUDA/Half.h(302): warning: calling a __host__ function from a __host__ __device__ function is not allowed ../../../../../sw/eigen-3.3.7/Eigen/src/Core/arch/CUDA/Half.h(305): warning: calling a __host__ function from a __host__ __device__ function is not allowed ../../../../../sw/eigen-3.3.7/Eigen/src/Core/ReturnByValue.h(63): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "Eigen::Index Eigen::ReturnByValue::rows() const [with Derived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(557): here instantiation of "Eigen::PlainObjectBase::PlainObjectBase(const Eigen::ReturnByValue &) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>, OtherDerived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(378): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase &) [with _Scalar=std::complex, _Rows=-1, _Cols=1, _Options=0, _MaxRows=-1, _MaxCols=1, OtherDerived=Eigen::ReturnByValue>>, Eigen::FFT>>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(220): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/ReturnByValue.h(64): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "Eigen::Index Eigen::ReturnByValue::cols() const [with Derived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(557): here instantiation of "Eigen::PlainObjectBase::PlainObjectBase(const Eigen::ReturnByValue &) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>, OtherDerived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(378): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase &) [with _Scalar=std::complex, _Rows=-1, _Cols=1, _Options=0, _MaxRows=-1, _MaxCols=1, OtherDerived=Eigen::ReturnByValue>>, Eigen::FFT>>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(220): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/util/Memory.h(270): warning: calling a constexpr __host__ function("complex") from a __host__ __device__ function("construct_elements_of_array") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. detected during: instantiation of "T *Eigen::internal::construct_elements_of_array(T *, std::size_t) [with T=std::complex]" (379): here instantiation of "T *Eigen::internal::conditional_aligned_new_auto(std::size_t) [with T=std::complex, Align=true]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/DenseStorage.h(557): here instantiation of "void Eigen::DenseStorage::resize(Eigen::Index, Eigen::Index, Eigen::Index) [with T=std::complex, _Cols=1, _Options=0]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(293): here instantiation of "void Eigen::PlainObjectBase::resize(Eigen::Index, Eigen::Index) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(557): here instantiation of "Eigen::PlainObjectBase::PlainObjectBase(const Eigen::ReturnByValue &) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>, OtherDerived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(378): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase &) [with _Scalar=std::complex, _Rows=-1, _Cols=1, _Options=0, _MaxRows=-1, _MaxCols=1, OtherDerived=Eigen::ReturnByValue>>, Eigen::FFT>>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(220): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/AssignEvaluator.h(720): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "void Eigen::internal::resize_if_allowed(DstXprType &, const SrcXprType &, const Eigen::internal::assign_op &) [with DstXprType=Eigen::Transpose>, SrcXprType=Eigen::Map>, T1=float, T2=float]" (734): here instantiation of "void Eigen::internal::call_dense_assignment_loop(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose>, SrcXprType=Eigen::Map>, Functor=Eigen::internal::assign_op]" (879): here instantiation of "void Eigen::internal::Assignment::run(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose>, SrcXprType=Eigen::Map>, Functor=Eigen::internal::assign_op, Weak=void]" (836): here instantiation of "void Eigen::internal::call_assignment_no_alias(Dst &, const Src &, const Func &) [with Dst=Eigen::Matrix, Src=Eigen::Map>, Func=Eigen::internal::assign_op]" (804): here instantiation of "void Eigen::internal::call_assignment(Dst &, const Src &, const Func &, Eigen::internal::enable_if<, void *>::type) [with Dst=Eigen::Matrix, Src=Eigen::Map>, Func=Eigen::internal::assign_op]" (782): here [ 3 instantiation contexts not shown ] instantiation of "void Eigen::FFT::fwd(Eigen::MatrixBase &, const Eigen::MatrixBase &, Eigen::FFT::Index) [with T_Scalar=WireCell::Waveform::real_t, T_Impl=Eigen::default_fft_impl, InputDerived=Eigen::Map>, ComplexDerived=Eigen::Matrix, -1, 1, 0, -1, 1>]" ../../../../../sw/eigen-3.3.7/unsupported/Eigen/FFT(407): here instantiation of "void Eigen::fft_fwd_proxy::evalTo(T_DestMat &) const [with T_SrcMat=Eigen::MatrixBase>>, T_FftIfc=Eigen::FFT>, T_DestMat=Eigen::Matrix, -1, 1, 0, -1, 1>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/ReturnByValue.h(62): here instantiation of "void Eigen::ReturnByValue::evalTo(Dest &) const [with Derived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>, Dest=Eigen::Matrix, -1, 1, 0, -1, 1>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(558): here instantiation of "Eigen::PlainObjectBase::PlainObjectBase(const Eigen::ReturnByValue &) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>, OtherDerived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(378): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase &) [with _Scalar=std::complex, _Rows=-1, _Cols=1, _Options=0, _MaxRows=-1, _MaxCols=1, OtherDerived=Eigen::ReturnByValue>>, Eigen::FFT>>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(220): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/ReturnByValue.h(62): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "void Eigen::ReturnByValue::evalTo(Dest &) const [with Derived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>, Dest=Eigen::Matrix, -1, 1, 0, -1, 1>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(558): here instantiation of "Eigen::PlainObjectBase::PlainObjectBase(const Eigen::ReturnByValue &) [with Derived=Eigen::Matrix, -1, 1, 0, -1, 1>, OtherDerived=Eigen::fft_fwd_proxy>>, Eigen::FFT>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(378): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase &) [with _Scalar=std::complex, _Rows=-1, _Cols=1, _Options=0, _MaxRows=-1, _MaxCols=1, OtherDerived=Eigen::ReturnByValue>>, Eigen::FFT>>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(220): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/CwiseNullaryOp.h(518): warning: calling a constexpr __host__ function("complex") from a __host__ __device__ function("setZero") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. detected during: instantiation of "Derived &Eigen::PlainObjectBase::setZero(Eigen::Index) [with Derived=Eigen::Matrix, 1, -1, 1, 1, -1>]" ../../../../../sw/eigen-3.3.7/unsupported/Eigen/FFT(321): here instantiation of "void Eigen::FFT::inv(Eigen::MatrixBase &, const Eigen::MatrixBase &, Eigen::FFT::Index) [with T_Scalar=WireCell::Waveform::real_t, T_Impl=Eigen::default_fft_impl, OutputDerived=Eigen::Matrix, ComplexDerived=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(227): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/AssignEvaluator.h(720): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "void Eigen::internal::resize_if_allowed(DstXprType &, const SrcXprType &, const Eigen::internal::assign_op &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>, 1, -1, false>>, SrcXprType=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>, T1=std::complex, T2=std::complex]" (734): here instantiation of "void Eigen::internal::call_dense_assignment_loop(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>, 1, -1, false>>, SrcXprType=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>, Functor=Eigen::internal::assign_op, std::complex>]" (879): here instantiation of "void Eigen::internal::Assignment::run(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>, 1, -1, false>>, SrcXprType=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>, Functor=Eigen::internal::assign_op, std::complex>, Weak=void]" (836): here instantiation of "void Eigen::internal::call_assignment_no_alias(Dst &, const Src &, const Func &) [with Dst=Eigen::Block, 1, -1, 1, 1, -1>, 1, -1, false>, Src=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>, Func=Eigen::internal::assign_op, std::complex>]" (804): here instantiation of "void Eigen::internal::call_assignment(Dst &, const Src &, const Func &, Eigen::internal::enable_if<, void *>::type) [with Dst=Eigen::Block, 1, -1, 1, 1, -1>, 1, -1, false>, Src=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>, Func=Eigen::internal::assign_op, std::complex>]" (782): here instantiation of "void Eigen::internal::call_assignment(Dst &, const Src &) [with Dst=Eigen::Block, 1, -1, 1, 1, -1>, 1, -1, false>, Src=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Assign.h(66): here instantiation of "Derived &Eigen::MatrixBase::operator=(const Eigen::DenseBase &) [with Derived=Eigen::Block, 1, -1, 1, 1, -1>, 1, -1, false>, OtherDerived=Eigen::Block, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, -1, 1, false>]" ../../../../../sw/eigen-3.3.7/unsupported/Eigen/FFT(324): here instantiation of "void Eigen::FFT::inv(Eigen::MatrixBase &, const Eigen::MatrixBase &, Eigen::FFT::Index) [with T_Scalar=WireCell::Waveform::real_t, T_Impl=Eigen::default_fft_impl, OutputDerived=Eigen::Matrix, ComplexDerived=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(227): here ../../../../../sw/eigen-3.3.7/Eigen/src/Core/AssignEvaluator.h(720): warning: calling a __host__ function from a __host__ __device__ function is not allowed detected during: instantiation of "void Eigen::internal::resize_if_allowed(DstXprType &, const SrcXprType &, const Eigen::internal::assign_op &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>>, SrcXprType=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, T1=std::complex, T2=std::complex]" (734): here instantiation of "void Eigen::internal::call_dense_assignment_loop(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>>, SrcXprType=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, Functor=Eigen::internal::assign_op, std::complex>]" (879): here instantiation of "void Eigen::internal::Assignment::run(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Transpose, 1, -1, 1, 1, -1>>, SrcXprType=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, Functor=Eigen::internal::assign_op, std::complex>, Weak=void]" (836): here instantiation of "void Eigen::internal::call_assignment_no_alias(Dst &, const Src &, const Func &) [with Dst=Eigen::Matrix, 1, -1, 1, 1, -1>, Src=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, Func=Eigen::internal::assign_op, std::complex>]" (804): here instantiation of "void Eigen::internal::call_assignment(Dst &, const Src &, const Func &, Eigen::internal::enable_if<, void *>::type) [with Dst=Eigen::Matrix, 1, -1, 1, 1, -1>, Src=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>, Func=Eigen::internal::assign_op, std::complex>]" (782): here instantiation of "void Eigen::internal::call_assignment(Dst &, const Src &) [with Dst=Eigen::Matrix, 1, -1, 1, 1, -1>, Src=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/PlainObjectBase.h(714): here instantiation of "Derived &Eigen::PlainObjectBase::_set(const Eigen::DenseBase &) [with Derived=Eigen::Matrix, 1, -1, 1, 1, -1>, OtherDerived=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" ../../../../../sw/eigen-3.3.7/Eigen/src/Core/Matrix.h(225): here instantiation of "Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> &Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase &) [with _Scalar=std::complex, _Rows=1, _Cols=-1, _Options=1, _MaxRows=1, _MaxCols=-1, OtherDerived=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" ../../../../../sw/eigen-3.3.7/unsupported/Eigen/FFT(340): here instantiation of "void Eigen::FFT::inv(Eigen::MatrixBase &, const Eigen::MatrixBase &, Eigen::FFT::Index) [with T_Scalar=WireCell::Waveform::real_t, T_Impl=Eigen::default_fft_impl, OutputDerived=Eigen::Matrix, ComplexDerived=Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>]" /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h(227): here In file included from ../../../../../sw/eigen-3.3.7/Eigen/Core:257, from /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Waveform.h:13, from /products/wirecell/v0_14_0/Linux64bit+3.10-2.17-e19-prof/include/WireCellUtil/Array.h:28, from ../inc/WireCellGenKokkos/GaussianDiffusion.h:4, from ../src/GaussianDiffusion_CUDA.cu:1: /opt/cuda-10.1/include/host_defines.h:54:2: warning: #warning "host_defines.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "host_defines.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^~~~~~~ [14/24] Linking build/libWireCellGenKokkos.so [15/24] Linking build/test_atadd [16/24] Linking build/test_cuda [17/24] Linking build/test_mem [18/24] Linking build/test_random [19/24] Linking build/test_simple_kokkos [20/24] Processing build/test_atadd [21/24] Processing build/test_simple_kokkos [22/24] Processing build/test_mem [23/24] Processing build/test_cuda [24/24] Processing build/test_random Waf: Leaving directory `/home/yuhw/wc/wct-analysis/csi-kokkos/wire-cell-gen-kokkos/build' execution summary tests that pass 5/5 /home/yuhw/wc/wct-analysis/csi-kokkos/wire-cell-gen-kokkos/build/test_random /home/yuhw/wc/wct-analysis/csi-kokkos/wire-cell-gen-kokkos/build/test_cuda /home/yuhw/wc/wct-analysis/csi-kokkos/wire-cell-gen-kokkos/build/test_atadd /home/yuhw/wc/wct-analysis/csi-kokkos/wire-cell-gen-kokkos/build/test_mem /home/yuhw/wc/wct-analysis/csi-kokkos/wire-cell-gen-kokkos/build/test_simple_kokkos tests that fail 0/5 'build' finished successfully (19.643s)