← Back to team overview

yade-users team mailing list archive

Re: [Question #682504]: error in running an example. showing 3D error

 

Question #682504 on Yade changed:
https://answers.launchpad.net/yade/+question/682504

    Status: Open => Answered

Chareyre proposed the following answer:
Hi, «git clone» always picks latest version.
Your compile error is probably not due to vmware.
Bruno

Le lun. 12 août. 2019 17:13, ehsan benabbas <
question682504@xxxxxxxxxxxxxxxxxxxxx> a écrit :

> Question #682504 on Yade changed:
> https://answers.launchpad.net/yade/+question/682504
>
>     Status: Needs information => Open
>
> ehsan benabbas gave more information on the question:
> I think I need to install Ubuntu Linux separately as an OS, not on a
> Virtual Machine. This is because I deleted the trunk folder and all
> files inside the myYade/build directory, cloned the trunk again, and got
> same error for make command again. This is the error:
>
> [ 49%] Building CXX object
> CMakeFiles/yade.dir/pkg/dem/PeriIsoCompressor.cpp.o
> [ 49%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Polyhedra.cpp.o
> In file included from /usr/include/eigen3/Eigen/Core:471:0,
>                  from /home/ehsan/trunk/lib/base/Math.hpp:90,
>                  from /home/ehsan/trunk/core/Omega.hpp:20,
>                  from /home/ehsan/trunk/pkg/dem/Polyhedra.hpp:13,
>                  from /home/ehsan/trunk/pkg/dem/Polyhedra.cpp:9:
> /usr/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In
> instantiation of ‘void Eigen::internal::gebp_kernel<LhsScalar, RhsScalar,
> Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>::operator()(const
> DataMapper&, const LhsScalar*, const RhsScalar*, Index, Index, Index,
> Eigen::internal::gebp_kernel<LhsScalar, RhsScalar, Index, DataMapper, mr,
> nr, ConjugateLhs, ConjugateRhs>::ResScalar, Index, Index, Index, Index)
> [with LhsScalar = double; RhsScalar = double; Index = long int; DataMapper
> = Eigen::internal::blas_data_mapper<double, long int, 0, 0>; int mr = 1;
> int nr = 4; bool ConjugateLhs = false; bool ConjugateRhs = false;
> Eigen::internal::gebp_kernel<LhsScalar, RhsScalar, Index, DataMapper, mr,
> nr, ConjugateLhs, ConjugateRhs>::ResScalar = double]’:
> /usr/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h:195:22:
>  required from ‘static void
> Eigen::internal::product_triangular_matrix_matrix<Scalar, Index, Mode,
> true, LhsStorageOrder, ConjugateLhs, RhsStorageOrder, ConjugateRhs, 0,
> Version>::run(Index, Index, Index, const Scalar*, Index, const Scalar*,
> Index, Scalar*, Index, const Scalar&,
> Eigen::internal::level3_blocking<Scalar, Scalar>&) [with Scalar = double;
> Index = long int; int Mode = 5; int LhsStorageOrder = 0; bool ConjugateLhs
> = false; int RhsStorageOrder = 0; bool ConjugateRhs = false; int Version =
> 0]’
> /usr/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h:427:12:
>  required from ‘static void Eigen::internal::triangular_product_impl<Mode,
> LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const
> Rhs&, const typename Dest::Scalar&) [with Dest =
> Eigen::Block<Eigen::Matrix<double, 3, 3>, -1, -1, false>; int Mode = 5;
> bool LhsIsTriangular = true; Lhs = const Eigen::Block<Eigen::Matrix<double,
> 3, 2, 0, 3, 2>, -1, -1, false>; Rhs = Eigen::Matrix<double, -1, -1, 0, 2,
> 3>; typename Dest::Scalar = double]’
> /usr/include/eigen3/Eigen/src/Core/ProductEvaluators.h:712:14:   required
> from ‘static void Eigen::internal::generic_product_impl<Lhs, Rhs,
> Eigen::TriangularShape, Eigen::DenseShape,
> ProductTag>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&)
> [with Dest = Eigen::Block<Eigen::Matrix<double, 3, 3>, -1, -1, false>; Lhs
> = Eigen::TriangularView<const Eigen::Block<Eigen::Matrix<double, 3, 2, 0,
> 3, 2>, -1, -1, false>, 5>; Rhs = Eigen::Matrix<double, -1, -1, 0, 2, 3>;
> int ProductTag = 3; Eigen::internal::generic_product_impl<Lhs, Rhs,
> Eigen::TriangularShape, Eigen::DenseShape, ProductTag>::Scalar = double]’
> /usr/include/eigen3/Eigen/src/Core/ProductEvaluators.h:361:27:   required
> from ‘static void Eigen::internal::generic_product_impl_base<Lhs, Rhs,
> Derived>::scaleAndAddTo(Dst&, const Lhs&, const Rhs&, const Scalar&) [with
> Dst = Eigen::Block<Eigen::Matrix<double, 3, 3>, -1, -1, false>; Lhs =
> Eigen::TriangularView<const Eigen::Block<Eigen::Matrix<double, 3, 2, 0, 3,
> 2>, -1, -1, false>, 5>; Rhs = Eigen::Matrix<double, -1, -1, 0, 2, 3>;
> Derived = Eigen::internal::generic_product_impl<Eigen::TriangularView<const
> Eigen::Block<Eigen::Matrix<double, 3, 2, 0, 3, 2>, -1, -1, false>, 5>,
> Eigen::Matrix<double, -1, -1, 0, 2, 3>, Eigen::TriangularShape,
> Eigen::DenseShape, 3>; Eigen::internal::generic_product_impl_base<Lhs, Rhs,
> Derived>::Scalar = double]’
> /usr/include/eigen3/Eigen/src/Core/ProductEvaluators.h:357:18:   required
> from ‘static void Eigen::internal::generic_product_impl_base<Lhs, Rhs,
> Derived>::subTo(Dst&, const Lhs&, const Rhs&) [with Dst =
> Eigen::Block<Eigen::Matrix<double, 3, 3>, -1, -1, false>; Lhs =
> Eigen::TriangularView<const Eigen::Block<Eigen::Matrix<double, 3, 2, 0, 3,
> 2>, -1, -1, false>, 5>; Rhs = Eigen::Matrix<double, -1, -1, 0, 2, 3>;
> Derived = Eigen::internal::generic_product_impl<Eigen::TriangularView<const
> Eigen::Block<Eigen::Matrix<double, 3, 2, 0, 3, 2>, -1, -1, false>, 5>,
> Eigen::Matrix<double, -1, -1, 0, 2, 3>, Eigen::TriangularShape,
> Eigen::DenseShape, 3>]’
> /usr/include/eigen3/Eigen/src/Core/ProductEvaluators.h:178:42:   [
> skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to
> disable ]
> /usr/include/eigen3/Eigen/src/Householder/HouseholderSequence.h:333:46:
>  required from ‘void Eigen::HouseholderSequence<VectorsType, CoeffsType,
> Side>::applyThisOnTheLeft(Dest&, Workspace&) const [with Dest =
> Eigen::Matrix<double, 3, 3>; Workspace = Eigen::Matrix<double, 1, 3>;
> VectorsType = Eigen::Matrix<double, 3, 2, 0, 3, 2>; CoeffsType =
> Eigen::Matrix<double, 2, 1>; int Side = 1]’
> /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:237:9:   required from ‘bool
> Eigen::internal::qr_preconditioner_impl<MatrixType, 2, 0,
> true>::run(Eigen::JacobiSVD<MatrixType, 2>&, const MatrixType&) [with
> MatrixType = Eigen::Matrix<double, 2, 3, 0, 2, 3>]’
> /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:684:5:   required from
> ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>&
> Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&,
> unsigned int) [with _MatrixType = Eigen::Matrix<double, 2, 3, 0, 2, 3>; int
> QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType,
> QRPreconditioner>::MatrixType = Eigen::Matrix<double, 2, 3, 0, 2, 3>]’
> /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:548:14:   required from
> ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const
> MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, 2, 3,
> 0, 2, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType,
> QRPreconditioner>::MatrixType = Eigen::Matrix<double, 2, 3, 0, 2, 3>]’
> /usr/include/eigen3/Eigen/src/Geometry/Quaternion.h:596:36:   required
> from ‘Derived& Eigen::QuaternionBase<Derived>::setFromTwoVectors(const
> Eigen::MatrixBase<OtherDerived>&, const Eigen::MatrixBase<OtherDerived>&)
> [with Derived1 = Eigen::Matrix<double, 3, 1>; Derived2 =
> Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>,
> const Eigen::Matrix<double, 3, 1>, const
> Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const
> Eigen::Matrix<double, 3, 1> > >; Derived = Eigen::Quaternion<double>]’
> /home/ehsan/trunk/pkg/dem/Polyhedra.cpp:438:78:   required from here
> /usr/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1584:135:
> warning: declaration of ‘SResPacketHalf’ shadows a previous local
> [-Wshadow=compatible-local]
>  ional<SwappedTraits::LhsProgress>=8,typename
> unpacket_traits<SResPacket>::half,SResPacket>::type SResPacketHalf;
>
>                         ^~~~~~~~~~~~~~
> /usr/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1529:62:
> note: shadowed declaration is here
>            typedef typename unpacket_traits<SResPacket>::half
> SResPacketHalf;
>
> ^~~~~~~~~~~~~~
> c++: internal compiler error: Killed (program cc1plus)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
> CMakeFiles/yade.dir/build.make:2246: recipe for target
> 'CMakeFiles/yade.dir/pkg/dem/Polyhedra.cpp.o' failed
> make[2]: *** [CMakeFiles/yade.dir/pkg/dem/Polyhedra.cpp.o] Error 4
> CMakeFiles/Makefile2:137: recipe for target 'CMakeFiles/yade.dir/all'
> failed
> make[1]: *** [CMakeFiles/yade.dir/all] Error 2
> Makefile:129: recipe for target 'all' failed
> make: *** [all] Error 2
> ehsan@ehsan:~/myYade/build$
>
>
> Just a quick question to make sure about the trunk file. If I install a
> new linux and go with the following command:
> git clone git@xxxxxxxxxx:yade-dev/trunk.git
>
> In this case, will I get the newest version you suggested? or again I
> will need to use git pull to make it updated?
>
> Thank you so much for all your answers.
> Bests,
> Ehsan
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.