Created
January 3, 2021 17:07
-
-
Save SteveBronder/d93bb8749a308d99160085295c85d35c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./runTests.py ./test/unit/math/mix/fun/toss_me_test.cpp | |
------------------------------------------------------------ | |
make -j1 ./test/unit/math/mix/fun/toss_me_test | |
g++ -ftemplate-backtrace-limit=0 -std=c++1y -pthread -D_REENTRANT -Wno-sign-compare -Wno-ignored-attributes -I lib/tbb_2019_U8/include -O0 -I . -I lib/eigen_3.3.9 -I lib/boost_1.72.0 -I lib/sundials_5.5.0/include -I lib/benchmark_1.5.1/googletest/googletest/include -I lib/benchmark_1.5.1/googletest/googletest -DBOOST_DISABLE_ASSERTS -DGTEST_HAS_PTHREAD=0 -c -MT test/unit/math/mix/fun/toss_me_test.o -MM -E -MG -MP -MF test/unit/math/mix/fun/toss_me_test.d test/unit/math/mix/fun/toss_me_test.cpp | |
g++ -ftemplate-backtrace-limit=0 -std=c++1y -pthread -D_REENTRANT -Wno-sign-compare -Wno-ignored-attributes -I lib/tbb_2019_U8/include -O0 -I . -I lib/eigen_3.3.9 -I lib/boost_1.72.0 -I lib/sundials_5.5.0/include -I lib/benchmark_1.5.1/googletest/googletest/include -I lib/benchmark_1.5.1/googletest/googletest -I lib/benchmark_1.5.1/googletest/googletest/include -I lib/benchmark_1.5.1/googletest/googletest -DBOOST_DISABLE_ASSERTS -DGTEST_HAS_PTHREAD=0 -DGTEST_HAS_PTHREAD=0 -c -o test/unit/math/mix/fun/toss_me_test.o test/unit/math/mix/fun/toss_me_test.cpp | |
In file included from lib/eigen_3.3.9/Eigen/Core:500, | |
from lib/eigen_3.3.9/Eigen/Dense:1, | |
from ./stan/math/prim/fun/Eigen.hpp:76, | |
from ./stan/math/prim/meta/append_return_type.hpp:4, | |
from ./stan/math/prim/meta.hpp:175, | |
from ./stan/math/fwd/core/fvar.hpp:4, | |
from ./stan/math/fwd/core.hpp:4, | |
from ./stan/math/mix/meta.hpp:6, | |
from ./stan/math/mix.hpp:4, | |
from ./test/unit/math/test_ad.hpp:4, | |
from test/unit/math/mix/fun/toss_me_test.cpp:1: | |
lib/eigen_3.3.9/Eigen/src/Core/products/GeneralMatrixMatrix.h: In instantiation of ‘void Eigen::internal::gemm_functor<Scalar, Index, Gemm, Lhs, Rhs, Dest, BlockingType>::operator()(Index, Index, Index, Index, Eigen::internal::GemmParallelInfo<Index>*) const [with Scalar = double; Index = long int; Gemm = Eigen::internal::general_matrix_matrix_product<long int, double, 0, false, double, 0, false, 0, 1>; Lhs = Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >; Rhs = Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >; Dest = Eigen::Matrix<double, -1, -1>; BlockingType = Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false>]’: | |
lib/eigen_3.3.9/Eigen/src/Core/products/Parallelizer.h:98:7: required from ‘void Eigen::internal::parallelize_gemm(const Functor&, Index, Index, Index, bool) [with bool Condition = true; Functor = Eigen::internal::gemm_functor<double, long int, Eigen::internal::general_matrix_matrix_product<long int, double, 0, false, double, 0, false, 0, 1>, Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, Eigen::Matrix<double, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >; Index = long int]’ | |
lib/eigen_3.3.9/Eigen/src/Core/products/GeneralMatrixMatrix.h:487:9: required from ‘static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >; Rhs = Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >; Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::Scalar = double]’ | |
lib/eigen_3.3.9/Eigen/src/Core/products/GeneralMatrixMatrix.h:437:20: required from ‘static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >; Rhs = Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >]’ | |
lib/eigen_3.3.9/Eigen/src/Core/ProductEvaluators.h:148:43: required from ‘static void Eigen::internal::Assignment<DstXprType, Eigen::Product<Lhs, Rhs, Options>, Eigen::internal::assign_op<Scalar, Scalar>, Eigen::internal::Dense2Dense, typename Eigen::internal::enable_if<((Options == DefaultProduct) || (Options == AliasFreeProduct))>::type>::run(DstXprType&, const SrcXprType&, const Eigen::internal::assign_op<Scalar, Scalar>&) [with DstXprType = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >; Rhs = Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >; int Options = 0; Scalar = double; Eigen::internal::Assignment<DstXprType, Eigen::Product<Lhs, Rhs, Options>, Eigen::internal::assign_op<Scalar, Scalar>, Eigen::internal::Dense2Dense, typename Eigen::internal::enable_if<((Options == DefaultProduct) || (Options == AliasFreeProduct))>::type>::SrcXprType = Eigen::Product<Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, 0>]’ | |
lib/eigen_3.3.9/Eigen/src/Core/AssignEvaluator.h:836:49: required from ‘void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Matrix<double, -1, -1>; Src = Eigen::Product<Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, 0>; Func = Eigen::internal::assign_op<double, double>]’ | |
lib/eigen_3.3.9/Eigen/src/Core/PlainObjectBase.h:732:41: required from ‘Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]’ | |
lib/eigen_3.3.9/Eigen/src/Core/PlainObjectBase.h:537:7: required from ‘Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]’ | |
lib/eigen_3.3.9/Eigen/src/Core/Matrix.h:377:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ | |
test/unit/math/mix/fun/toss_me_test.cpp:8:53: required from here | |
lib/eigen_3.3.9/Eigen/src/Core/products/GeneralMatrixMatrix.h:229:15: error: passing ‘const Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >’ as ‘this’ argument discards qualifiers [-fpermissive] | |
&m_lhs.coeffRef(row,0), m_lhs.outerStride(), | |
In file included from lib/eigen_3.3.9/Eigen/Core:439, | |
from lib/eigen_3.3.9/Eigen/Dense:1, | |
from ./stan/math/prim/fun/Eigen.hpp:76, | |
from ./stan/math/prim/meta/append_return_type.hpp:4, | |
from ./stan/math/prim/meta.hpp:175, | |
from ./stan/math/fwd/core/fvar.hpp:4, | |
from ./stan/math/fwd/core.hpp:4, | |
from ./stan/math/mix/meta.hpp:6, | |
from ./stan/math/mix.hpp:4, | |
from ./test/unit/math/test_ad.hpp:4, | |
from test/unit/math/mix/fun/toss_me_test.cpp:1: | |
lib/eigen_3.3.9/Eigen/src/Core/DenseCoeffsBase.h:340:33: note: in call to ‘Eigen::DenseCoeffsBase<Derived, 1>::Scalar& Eigen::DenseCoeffsBase<Derived, 1>::coeffRef(Eigen::Index, Eigen::Index) [with Derived = Eigen::CwiseUnaryView<Eigen::internal::val_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >; Eigen::DenseCoeffsBase<Derived, 1>::Scalar = double; Eigen::Index = long int]’ | |
EIGEN_STRONG_INLINE Scalar& coeffRef(Index row, Index col) | |
^~~~~~~~ | |
In file included from lib/eigen_3.3.9/Eigen/Core:500, | |
from lib/eigen_3.3.9/Eigen/Dense:1, | |
from ./stan/math/prim/fun/Eigen.hpp:76, | |
from ./stan/math/prim/meta/append_return_type.hpp:4, | |
from ./stan/math/prim/meta.hpp:175, | |
from ./stan/math/fwd/core/fvar.hpp:4, | |
from ./stan/math/fwd/core.hpp:4, | |
from ./stan/math/mix/meta.hpp:6, | |
from ./stan/math/mix.hpp:4, | |
from ./test/unit/math/test_ad.hpp:4, | |
from test/unit/math/mix/fun/toss_me_test.cpp:1: | |
lib/eigen_3.3.9/Eigen/src/Core/products/GeneralMatrixMatrix.h:230:15: error: passing ‘const Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >’ as ‘this’ argument discards qualifiers [-fpermissive] | |
&m_rhs.coeffRef(0,col), m_rhs.outerStride(), | |
In file included from lib/eigen_3.3.9/Eigen/Core:439, | |
from lib/eigen_3.3.9/Eigen/Dense:1, | |
from ./stan/math/prim/fun/Eigen.hpp:76, | |
from ./stan/math/prim/meta/append_return_type.hpp:4, | |
from ./stan/math/prim/meta.hpp:175, | |
from ./stan/math/fwd/core/fvar.hpp:4, | |
from ./stan/math/fwd/core.hpp:4, | |
from ./stan/math/mix/meta.hpp:6, | |
from ./stan/math/mix.hpp:4, | |
from ./test/unit/math/test_ad.hpp:4, | |
from test/unit/math/mix/fun/toss_me_test.cpp:1: | |
lib/eigen_3.3.9/Eigen/src/Core/DenseCoeffsBase.h:340:33: note: in call to ‘Eigen::DenseCoeffsBase<Derived, 1>::Scalar& Eigen::DenseCoeffsBase<Derived, 1>::coeffRef(Eigen::Index, Eigen::Index) [with Derived = Eigen::CwiseUnaryView<Eigen::internal::adj_ref_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1> >; Eigen::DenseCoeffsBase<Derived, 1>::Scalar = double; Eigen::Index = long int]’ | |
EIGEN_STRONG_INLINE Scalar& coeffRef(Index row, Index col) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment