virtual memory exhausted: on using "make"

Asked by eli

Hi, all
   I have trouble installing YADE. At first, I followed the steps normally. However, the error occured on when I used "make" .

 ( The source is "yade-trunk-0.90.3.tar.gz", ( Platform:ubuntun 12.04))

how to do with it, thank you very much!

lxg@ubuntu:~$ cd ~/yade
lxg@ubuntu:~/yade$ mkdir ./build
lxg@ubuntu:~/yade$ cd ./build
lxg@ubuntu:~/yade/build$ cmake .
-- Found Qt4: /usr/bin/qmake (found version "4.8.3")
-- Version is set to 0.90.3
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- python
-- thread
-- date_time
-- filesystem
-- iostreams
-- regex
-- serialization
-- Boost_VERSION: 104900
-- Boost_LIB_VERSION: 1_49
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so
-- Found Eigen3
-- Found VTK
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GTS
-- Found Qt4: /usr/bin/qmake (found version "4.8.3")
-- Found QGLViewer: /usr/lib/i386-linux-gnu/libqglviewer-qt4.so
-- Found GUI-LIBS
-- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so /usr/lib/i386-linux-gnu/libgmpxx.so
-- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so /usr/lib/i386-linux-gnu/libgmpxx.so
-- Found CGAL
-- Found GL2PS
Yade will be installed to default path /usr/local, if you want to override it use -DINSTALL_PREFIX option.
-- Suffix is set to -0.90.3
-- LIBRARY_OUTPUT_PATH is set to lib
-- runtimePREFIX is set to /usr/local
-- ===========================================================
-- Yade configured with following features: Eigen3 VTK OpenMP GTS GUI CGAL GL2PS
-- Disabled features:
-- Optimized build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lxg/yade/build

lxg@ubuntu:~/yade/build$ make -j 4

...
[ 19%] Built target _gts
[ 19%] Built target _packObb
[ 19%] Built target support
[ 19%] [ 19%] [ 19%] [ 19%] Building CXX object CMakeFiles/core.dir/core/InteractionContainer.cpp.o
Building CXX object CMakeFiles/core.dir/core/Clump.cpp.o
Building CXX object CMakeFiles/core.dir/core/Interaction.cpp.o
Building CXX object CMakeFiles/core.dir/core/TimeStepper.cpp.o
virtual memory exhausted: 无法分配内存
make[2]: *** [CMakeFiles/core.dir/core/Clump.cpp.o] 错误 1
make[2]: *** 正在等待未完成的任务....
virtual memory exhaustedvirtual memory exhausted: : 无法分配内存
无法分配内存
virtual memory exhausted: 无法分配内存
make[2]: *** [CMakeFiles/core.dir/core/Interaction.cpp.o] 错误 1
make[2]: *** [CMakeFiles/core.dir/core/InteractionContainer.cpp.o] 错误 1
make[2]: *** [CMakeFiles/core.dir/core/TimeStepper.cpp.o] 错误 1
make[1]: *** [CMakeFiles/core.dir/all] 错误 2
make: *** [all] 错误 2

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
eli
Solved:
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,

Yade compilation has relatively high memory requirements. First of all, try
to use
make -j 1
to decrease number of concurrent compilations and therefore memory usage.
If this does not help, let us know :-)
cheers
Jan

2012/12/25 eli <email address hidden>

> New question #217584 on Yade:
> https://answers.launchpad.net/yade/+question/217584
>
> Hi, all
> I have trouble installing YADE. At first, I followed the steps
> normally. However, the error occured on when I used "make" .
>
> ( The source is "yade-trunk-0.90.3.tar.gz", ( Platform:ubuntun 12.04))
>
> how to do with it, thank you very much!
>
> lxg@ubuntu:~$ cd ~/yade
> lxg@ubuntu:~/yade$ mkdir ./build
> lxg@ubuntu:~/yade$ cd ./build
> lxg@ubuntu:~/yade/build$ cmake .
> -- Found Qt4: /usr/bin/qmake (found version "4.8.3")
> -- Version is set to 0.90.3
> -- GTS using gts-config /usr/bin/gts-config
> -- Using GTS from /usr
> -- Boost version: 1.49.0
> -- Found the following Boost libraries:
> -- python
> -- thread
> -- date_time
> -- filesystem
> -- iostreams
> -- regex
> -- serialization
> -- Boost_VERSION: 104900
> -- Boost_LIB_VERSION: 1_49
> -- Boost_INCLUDE_DIRS: /usr/include
> -- Boost_LIBRARIES: /usr/lib/
> libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so
> -- Found Eigen3
> -- Found VTK
> -- Found OpenMP
> -- GTS using gts-config /usr/bin/gts-config
> -- Using GTS from /usr
> -- Found GTS
> -- Found Qt4: /usr/bin/qmake (found version "4.8.3")
> -- Found QGLViewer: /usr/lib/i386-linux-gnu/libqglviewer-qt4.so
> -- Found GUI-LIBS
> -- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so
> /usr/lib/i386-linux-gnu/libgmpxx.so
> -- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so
> /usr/lib/i386-linux-gnu/libgmpxx.so
> -- Found CGAL
> -- Found GL2PS
> Yade will be installed to default path /usr/local, if you want to override
> it use -DINSTALL_PREFIX option.
> -- Suffix is set to -0.90.3
> -- LIBRARY_OUTPUT_PATH is set to lib
> -- runtimePREFIX is set to /usr/local
> -- ===========================================================
> -- Yade configured with following features: Eigen3 VTK OpenMP GTS GUI CGAL
> GL2PS
> -- Disabled features:
> -- Optimized build
> -- ===========================================================
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/lxg/yade/build
>
> lxg@ubuntu:~/yade/build$ make -j 4
>
> ...
> [ 19%] Built target _gts
> [ 19%] Built target _packObb
> [ 19%] Built target support
> [ 19%] [ 19%] [ 19%] [ 19%] Building CXX object
> CMakeFiles/core.dir/core/InteractionContainer.cpp.o
> Building CXX object CMakeFiles/core.dir/core/Clump.cpp.o
> Building CXX object CMakeFiles/core.dir/core/Interaction.cpp.o
> Building CXX object CMakeFiles/core.dir/core/TimeStepper.cpp.o
> virtual memory exhausted: 无法分配内存
> make[2]: *** [CMakeFiles/core.dir/core/Clump.cpp.o] 错误 1
> make[2]: *** 正在等待未完成的任务....
> virtual memory exhaustedvirtual memory exhausted: : 无法分配内存
> 无法分配内存
> virtual memory exhausted: 无法分配内存
> make[2]: *** [CMakeFiles/core.dir/core/Interaction.cpp.o] 错误 1
> make[2]: *** [CMakeFiles/core.dir/core/InteractionContainer.cpp.o] 错误 1
> make[2]: *** [CMakeFiles/core.dir/core/TimeStepper.cpp.o] 错误 1
> make[1]: *** [CMakeFiles/core.dir/all] 错误 2
> make: *** [all] 错误 2
>
>
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
eli (slience-li) said :
#2

Hi,

This has solved my problem,but there are some other questons.

[ 41%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CohesiveFrictionalContactLaw.cpp.o
[ 42%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/L3Geom.cpp.o
In file included from /usr/include/eigen3/Eigen/Geometry:42:0,
                 from /home/lxg/yade/build/yade/lib/base/Math.hpp:24,
                 from /home/lxg/yade/build/yade/core/IGeom.hpp:11,
                 from /home/lxg/yade/build/yade/pkg/dem/L3Geom.hpp:3,
                 from /home/lxg/yade/pkg/dem/L3Geom.cpp:2:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h: In instantiation of ‘struct Eigen::internal::transform_traits<Eigen::Transform<double, 3, 2> >’:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:415:3: required from ‘class Eigen::Transform<double, 3, 2>’
/home/lxg/yade/pkg/dem/L3Geom.cpp:350:53: required from here
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:38:3: 警告: 在‘enum Eigen::Transform<double, 3, 2>::<anonymous>’和‘enum Eigen::TransformTraits’间比较 [-Wenum-compare]
[ 42%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemCNSEngine.cpp.o
[ 43%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Ip2_FrictMat_FrictMat_CapillaryPhys.cpp.o
[ 43%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Shop.cpp.o
[ 44%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CohesiveFrictionalPM.cpp.o
[ 44%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/DomainLimiter.cpp.o
In file included from /usr/include/eigen3/Eigen/Geometry:42:0,
                 from /home/lxg/yade/build/yade/lib/base/Math.hpp:24,
                 from /home/lxg/yade/build/yade/lib/serialization/Serializable.hpp:37,
                 from /home/lxg/yade/build/yade/core/Engine.hpp:13,
                 from /home/lxg/yade/build/yade/core/GlobalEngine.hpp:11,
                 from /home/lxg/yade/build/yade/pkg/common/PeriodicEngines.hpp:5,
                 from /home/lxg/yade/build/yade/pkg/dem/DomainLimiter.hpp:2,
                 from /home/lxg/yade/pkg/dem/DomainLimiter.cpp:1:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h: In instantiation of ‘struct Eigen::internal::transform_traits<Eigen::Transform<double, 3, 2> >’:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:415:3: required from ‘class Eigen::Transform<double, 3, 2>’
/home/lxg/yade/pkg/dem/DomainLimiter.cpp:254:58: required from here
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:38:3: 警告: 在‘enum Eigen::Transform<double, 3, 2>::<anonymous>’和‘enum Eigen::TransformTraits’间比较 [-Wenum-compare]

[ 52%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemCTDEngine.cpp.o
[ 53%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/ThreeDTriaxialEngine.cpp.o
[ 53%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/SpherePack.cpp.o
In file included from /usr/include/eigen3/Eigen/Core:266:0,
                 from /home/lxg/yade/build/yade/lib/base/Math.hpp:23,
                 from /home/lxg/yade/build/yade/pkg/dem/SpherePack.hpp:20,
                 from /home/lxg/yade/pkg/dem/SpherePack.cpp:3:
/usr/include/eigen3/Eigen/src/Core/MathFunctions.h: 在成员函数‘long int SpherePack::particleSD_2d(Vector2r, Vector2r, Real, bool, std::string, int, const std::vector<double>&, const std::vector<double>&, bool, int)’中:
/usr/include/eigen3/Eigen/src/Core/MathFunctions.h:305:14: 警告: 此函数中的‘dr.Eigen::DenseStorage<double, 3, 3, 1, 0>::m_data.Eigen::internal::plain_array<double, 3, 0, 0>::array[2u]’在使用前可能未初始化 [-Wuninitialized]
/home/lxg/yade/pkg/dem/SpherePack.cpp:412:16: 附注: ‘dr.Eigen::DenseStorage<double, 3, 3, 1, 0>::m_data.Eigen::internal::plain_array<double, 3, 0, 0>::array[2u]’在此声明

[ 58%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemCNLEngine.cpp.o
[ 59%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/VTKRecorder.cpp.o
In file included from /usr/include/c++/4.7/backward/strstream:52:0,
                 from /usr/local/include/vtk-5.10/vtkIOStream.h:108,
                 from /usr/local/include/vtk-5.10/vtkSystemIncludes.h:40,
                 from /usr/local/include/vtk-5.10/vtkIndent.h:24,
                 from /usr/local/include/vtk-5.10/vtkObjectBase.h:43,
                 from /usr/local/include/vtk-5.10/vtkObject.h:41,
                 from /usr/local/include/vtk-5.10/vtkCell.h:40,
                 from /usr/local/include/vtk-5.10/vtkQuad.h:25,
                 from /home/lxg/yade/pkg/dem/VTKRecorder.hpp:3,
                 from /home/lxg/yade/pkg/dem/VTKRecorder.cpp:3:
/usr/include/c++/4.7/backward/backward_warning.h:33:2: 警告: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp: 在成员函数‘virtual void VTKRecorder::action()’中:
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:32: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:49: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:66: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:83: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:100: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:117: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:134: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:151: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:168: 警告: left operand of comma operator has no effect [-Wunused-value]

[ 78%] Building CXX object CMakeFiles/plugins.dir/pkg/common/ForceResetter.cpp.o
[ 78%] Building CXX object CMakeFiles/plugins.dir/pkg/common/ElastMat.cpp.o
[ 79%] Building CXX object CMakeFiles/plugins.dir/pkg/common/InsertionSortCollider.cpp.o
[ 80%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Cylinder.cpp.o
c++: 编译器内部错误: 已杀死(程序 cc1plus)
请提交一份完整的错误报告,
如有可能请附上经预处理后的源文件。
具体步骤请参见 <file:///usr/share/doc/gcc-4.7/README.Bugs>。
make[2]: *** [CMakeFiles/plugins.dir/pkg/common/Cylinder.cpp.o] 错误 4
make[1]: *** [CMakeFiles/plugins.dir/all] 错误 2
make: *** [all] 错误 2

Revision history for this message
Anton Gladky (gladky-anton) said :
#3

Hi,

what stops you from using a prepackaged version of yade on ubuntu?

https://www.yade-dem.org/doc/installation.html#packages

It takes just 2 minutes to get a working latest yade version.

Cheers,

Anton

Revision history for this message
eli (slience-li) said :
#4

Hi,

I don't use a preackaged version of yade because I would like to do secondry development.

Moreover, I will publish my development results.

Cheers

eli

Revision history for this message
Anton Gladky (gladky-anton) said :
#5

Ok, could you, please, use the english locale to show an error, because there are rectangles instead of symbols?

Thanks.

Anton

Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#6

Hi Eli,

The source code yade-trunk-0.90.3.tar.gz is a dead end in terms of code development.
If you plan to develop the code, it is better to work with the revision control system (git) and download the "trunk" version from github (see the installation page). That way, you can not only publish your code but also update your source to integrate others changes, then we can all interact efficiently.

It will probably not solve your compilation problem (well... lets see). For this problem, as mentionned by Anton, we need english messages as most of us don't read chinese.

Bruno

Revision history for this message
eli (slience-li) said :
#7

Hi,

Thank you for your help.

This time it has compiled all on using "make" in the same way. Then I installed with the
command "sudo make install". The whole process as follows:

lxg@ubuntu:~$ mkdir ~/yade/build
lxg@ubuntu:~$ cd ~/yade/build
lxg@ubuntu:~/yade/build$ cmake ../
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonLibs: /usr/lib/python3.2/config/libpython3.2.so (found version "2.7.3")
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.8.3")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Version is set to 0.90.3
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/i386-linux-gnu/libGL.so
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- Found CGAL: /usr/include/CGAL, /usr/lib/libCGAL.so
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- python
-- thread
-- date_time
-- filesystem
-- iostreams
-- regex
-- serialization
-- Boost_VERSION: 104900
-- Boost_LIB_VERSION: 1_49
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found Eigen3
-- Found VTK
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib/i386-linux-gnu/glib-2.0/include
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found.
-- Found GTS
-- Found Qt4: /usr/bin/qmake (found version "4.8.3")
-- Found GLUT: /usr/lib/i386-linux-gnu/libglut.so
-- Found QGLViewer: /usr/lib/i386-linux-gnu/libqglviewer-qt4.so
-- Found GUI-LIBS
-- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so /usr/lib/i386-linux-gnu/libgmpxx.so
-- Found GMP: /usr/include
-- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so /usr/lib/i386-linux-gnu/libgmpxx.so
-- Found CGAL
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- GL2PS NOT found
Yade will be installed to default path /usr/local, if you want to override it use -DINSTALL_PREFIX option.
-- Suffix is set to -0.90.3
-- LIBRARY_OUTPUT_PATH is set to lib
-- runtimePREFIX is set to /usr/local
-- ===========================================================
-- Yade configured with following features: Eigen3 VTK OpenMP GTS GUI CGAL
-- Disabled features: GL2PS
-- Optimized build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lxg/yade/build

...
...

[ 28%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CohesiveStateRPMRecorder.cpp.o
[ 29%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Ip2_2xNormalInelasticMat_NormalInelasticityPhys.cpp.o
[ 30%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Ip2_CohFrictMat_CohFrictMat_CohFrictPhys.cpp.o
[ 30%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/L3Geom.cpp.o
In file included from /usr/include/eigen3/Eigen/Geometry:42:0,
                 from /home/lxg/yade/build/yade/lib/base/Math.hpp:24,
                 from /home/lxg/yade/build/yade/core/IGeom.hpp:11,
                 from /home/lxg/yade/build/yade/pkg/dem/L3Geom.hpp:3,
                 from /home/lxg/yade/pkg/dem/L3Geom.cpp:2:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h: In instantiation of ‘struct Eigen::internal::transform_traits<Eigen::Transform<double, 3, 2> >’:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:415:3: required from ‘class Eigen::Transform<double, 3, 2>’
/home/lxg/yade/pkg/dem/L3Geom.cpp:350:53: required from here
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:38:3: warning: comparison between ‘enum Eigen::Transform<double, 3, 2>::<anonymous>’ and ‘enum Eigen::TransformTraits’ [-Wenum-compare]
[ 31%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/ForceTorqueRecorder.cpp.o
[ 31%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Tetra.cpp.o
[ 32%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/ParticleSizeDistrbutionRPMRecorder.cpp.o
[ 32%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/SimpleShear.cpp.o
[ 33%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/FlowEngine.cpp.o
[ 34%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/TriaxialTest.cpp.o
[ 34%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/NormalInelasticityPhys.cpp.o
[ 35%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/TesselationWrapper.cpp.o
[ 35%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/SampleCapillaryPressureEngine.cpp.o
[ 36%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Ig2_Facet_Sphere_ScGeom.cpp.o
[ 36%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/NormalInelasticityLaw.cpp.o
[ 37%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Dem3DofGeom_WallSphere.cpp.o
[ 38%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/PeriIsoCompressor.cpp.o
[ 38%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/NewtonIntegrator.cpp.o
[ 39%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/WirePM.cpp.o
[ 39%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/FacetTopologyAnalyzer.cpp.o
[ 40%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/FlatGridCollider.cpp.o
[ 40%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemCTDEngine.cpp.o
[ 41%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Disp2DPropLoadEngine.cpp.o
[ 42%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CapillaryTriaxialTest.cpp.o
[ 42%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CohFrictPhys.cpp.o
[ 43%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/DomainLimiter.cpp.o
In file included from /usr/include/eigen3/Eigen/Geometry:42:0,
                 from /home/lxg/yade/build/yade/lib/base/Math.hpp:24,
                 from /home/lxg/yade/build/yade/lib/serialization/Serializable.hpp:37,
                 from /home/lxg/yade/build/yade/core/Engine.hpp:13,
                 from /home/lxg/yade/build/yade/core/GlobalEngine.hpp:11,
                 from /home/lxg/yade/build/yade/pkg/common/PeriodicEngines.hpp:5,
                 from /home/lxg/yade/build/yade/pkg/dem/DomainLimiter.hpp:2,
                 from /home/lxg/yade/pkg/dem/DomainLimiter.cpp:1:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h: In instantiation of ‘struct Eigen::internal::transform_traits<Eigen::Transform<double, 3, 2> >’:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:415:3: required from ‘class Eigen::Transform<double, 3, 2>’
/home/lxg/yade/pkg/dem/DomainLimiter.cpp:254:58: required from here
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:38:3: warning: comparison between ‘enum Eigen::Transform<double, 3, 2>::<anonymous>’ and ‘enum Eigen::TransformTraits’ [-Wenum-compare]
[ 43%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/DemXDofGeom.cpp.o
[ 44%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/ConcretePM.cpp.o
[ 44%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/STLImporter.cpp.o
[ 45%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity.cpp.o
[ 46%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemSimpleShearBox.cpp.o
[ 46%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Ig2_Sphere_Sphere_ScGeom.cpp.o
[ 47%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/TriaxialStateRecorder.cpp.o
[ 47%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CapillaryStressRecorder.cpp.o
[ 48%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CohesiveTriaxialTest.cpp.o
[ 49%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/TriaxialCompressionEngine.cpp.o
[ 49%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/TriaxialStressController.cpp.o
[ 50%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemCNLEngine.cpp.o
[ 50%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/ScGeom.cpp.o
[ 51%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemCNDEngine.cpp.o
[ 51%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CapillaryPhys.cpp.o
[ 52%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CohesiveFrictionalPM.cpp.o
[ 53%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/UniaxialStrainer.cpp.o
[ 53%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/GlobalStiffnessTimeStepper.cpp.o
[ 54%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Shop.cpp.o
[ 54%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/VTKRecorder.cpp.o
In file included from /usr/include/c++/4.7/backward/strstream:52:0,
                 from /usr/local/include/vtk-5.10/vtkIOStream.h:108,
                 from /usr/local/include/vtk-5.10/vtkSystemIncludes.h:40,
                 from /usr/local/include/vtk-5.10/vtkIndent.h:24,
                 from /usr/local/include/vtk-5.10/vtkObjectBase.h:43,
                 from /usr/local/include/vtk-5.10/vtkObject.h:41,
                 from /usr/local/include/vtk-5.10/vtkCell.h:40,
                 from /usr/local/include/vtk-5.10/vtkQuad.h:25,
                 from /home/lxg/yade/pkg/dem/VTKRecorder.hpp:3,
                 from /home/lxg/yade/pkg/dem/VTKRecorder.cpp:3:
/usr/include/c++/4.7/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp: In member function ‘virtual void VTKRecorder::action()’:
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:32: warning: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:49: warning: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:66: warning: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:83: warning: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:100: warning: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:117: warning: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:134: warning: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:151: warning: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:168: warning: left operand of comma operator has no effect [-Wunused-value]
[ 55%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Ip2_FrictMat_FrictMat_CapillaryPhys.cpp.o
[ 55%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/SpherePack.cpp.o
In file included from /usr/include/eigen3/Eigen/Core:266:0,
                 from /home/lxg/yade/build/yade/lib/base/Math.hpp:23,
                 from /home/lxg/yade/build/yade/pkg/dem/SpherePack.hpp:20,
                 from /home/lxg/yade/pkg/dem/SpherePack.cpp:3:
/usr/include/eigen3/Eigen/src/Core/MathFunctions.h: In member function ‘long int SpherePack::particleSD_2d(Vector2r, Vector2r, Real, bool, std::string, int, const std::vector<double>&, const std::vector<double>&, bool, int)’:
/usr/include/eigen3/Eigen/src/Core/MathFunctions.h:305:14: warning: ‘dr.Eigen::DenseStorage<double, 3, 3, 1, 0>::m_data.Eigen::internal::plain_array<double, 3, 0, 0>::array[2u]’ may be used uninitialized in this function [-Wuninitialized]
/home/lxg/yade/pkg/dem/SpherePack.cpp:412:16: note: ‘dr.Eigen::DenseStorage<double, 3, 3, 1, 0>::m_data.Eigen::internal::plain_array<double, 3, 0, 0>::array[2u]’ was declared here
[ 56%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Dem3DofGeom_FacetSphere.cpp.o
[ 57%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CohFrictMat.cpp.o
[ 57%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemCNSEngine.cpp.o
[ 58%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/HertzMindlin.cpp.o
[ 58%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CohesiveFrictionalContactLaw.cpp.o
[ 59%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/ElasticContactLaw.cpp.o
[ 59%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/FrictPhys.cpp.o
[ 60%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.cpp.o
[ 61%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/RockPM.cpp.o
[ 61%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Dem3DofGeom_SphereSphere.cpp.o
[ 62%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/NormalInelasticMat.cpp.o
[ 62%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/SpheresFactory.cpp.o
[ 63%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/SnapshotEngine.cpp.o
[ 63%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/ThreeDTriaxialEngine.cpp.o
[ 64%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/UnbalancedForceCallbacks.cpp.o
[ 65%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/MicroMacroAnalyser.cpp.o
[ 65%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/ViscoelasticPM.cpp.o
[ 66%] Building CXX object CMakeFiles/plugins.dir/pkg/common/StepDisplacer.cpp.o
[ 66%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Bo1_Sphere_Aabb.cpp.o
[ 67%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Box.cpp.o
[ 67%] Building CXX object CMakeFiles/plugins.dir/pkg/common/TorqueEngine.cpp.o
[ 68%] Building CXX object CMakeFiles/plugins.dir/pkg/common/InsertionSortCollider.cpp.o
[ 69%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Gl1_Facet.cpp.o
[ 69%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Bo1_Box_Aabb.cpp.o
[ 70%] Building CXX object CMakeFiles/plugins.dir/pkg/common/ZECollider.cpp.o
[ 70%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Gl1_Sphere.cpp.o
[ 71%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Bo1_Facet_Aabb.cpp.o
[ 71%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Cylinder.cpp.o
[ 72%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Dispatching.cpp.o
[ 73%] Building CXX object CMakeFiles/plugins.dir/pkg/common/GLDrawFunctors.cpp.o
[ 73%] Building CXX object CMakeFiles/plugins.dir/pkg/common/BoundaryController.cpp.o
[ 74%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Facet.cpp.o
[ 74%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Gl1_Box.cpp.o
[ 75%] Building CXX object CMakeFiles/plugins.dir/pkg/common/ForceEngine.cpp.o
[ 76%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Sphere.cpp.o
[ 76%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Wall.cpp.o
[ 77%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Recorder.cpp.o
[ 77%] Building CXX object CMakeFiles/plugins.dir/pkg/common/ParallelEngine.cpp.o
[ 78%] Building CXX object CMakeFiles/plugins.dir/pkg/common/ForceResetter.cpp.o
[ 78%] Building CXX object CMakeFiles/plugins.dir/pkg/common/KinematicEngines.cpp.o
[ 79%] Building CXX object CMakeFiles/plugins.dir/pkg/common/PyRunner.cpp.o
[ 80%] Building CXX object CMakeFiles/plugins.dir/pkg/common/PeriodicEngines.cpp.o
[ 80%] Building CXX object CMakeFiles/plugins.dir/pkg/common/ElastMat.cpp.o
[ 81%] Building CXX object CMakeFiles/plugins.dir/pkg/common/SpatialQuickSortCollider.cpp.o
[ 81%] Building CXX object CMakeFiles/plugins.dir/pkg/common/PersistentTriangulationCollider.cpp.o
[ 82%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Collider.cpp.o
[ 82%] Building CXX object CMakeFiles/plugins.dir/pkg/common/CylScGeom6D.cpp.o
[ 83%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Gl1_NormPhys.cpp.o
In file included from /usr/include/eigen3/Eigen/Geometry:42:0,
                 from /home/lxg/yade/build/yade/lib/base/Math.hpp:24,
                 from /home/lxg/yade/build/yade/lib/serialization/Serializable.hpp:37,
                 from /home/lxg/yade/build/yade/core/Shape.hpp:11,
                 from /home/lxg/yade/build/yade/core/Body.hpp:14,
                 from /home/lxg/yade/build/yade/core/Scene.hpp:13,
                 from /home/lxg/yade/pkg/common/Gl1_NormPhys.cpp:3:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h: In instantiation of ‘struct Eigen::internal::transform_traits<Eigen::Transform<double, 3, 2> >’:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:415:3: required from ‘class Eigen::Transform<double, 3, 2>’
/home/lxg/yade/pkg/common/Gl1_NormPhys.cpp:93:35: required from here
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:38:3: warning: comparison between ‘enum Eigen::Transform<double, 3, 2>::<anonymous>’ and ‘enum Eigen::TransformTraits’ [-Wenum-compare]
[ 84%] Building CXX object CMakeFiles/plugins.dir/pkg/common/NormShearPhys.cpp.o
[ 84%] Building CXX object CMakeFiles/plugins.dir/pkg/common/MatchMaker.cpp.o
[ 85%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Grid.cpp.o
[ 85%] Building CXX object CMakeFiles/plugins.dir/pkg/common/GravityEngines.cpp.o
[ 86%] Building CXX object CMakeFiles/plugins.dir/pkg/common/OpenGLRenderer.cpp.o
[ 86%] Building CXX object CMakeFiles/plugins.dir/pkg/common/InteractionLoop.cpp.o
[ 87%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Aabb.cpp.o
[ 88%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Gl1_Aabb.cpp.o
[ 88%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Callbacks.cpp.o
[ 89%] Building CXX object CMakeFiles/plugins.dir/pkg/common/ResetRandomPosition.cpp.o
[ 89%] Building CXX object CMakeFiles/plugins.dir/pkg/common/FieldApplier.cpp.o
Linking CXX shared library lib/libplugins.so
[ 89%] Built target plugins
Scanning dependencies of target boot
[ 90%] Building CXX object CMakeFiles/boot.dir/core/main/pyboot.cpp.o
Linking CXX shared library lib/boot.so
[ 90%] Built target boot
Scanning dependencies of target WeightedAverage2d
[ 90%] Building CXX object py/CMakeFiles/WeightedAverage2d.dir/WeightedAverage2d.cpp.o
Linking CXX shared library lib/WeightedAverage2d.so
[ 90%] Built target WeightedAverage2d
Scanning dependencies of target _customConverters
[ 91%] Building CXX object py/CMakeFiles/_customConverters.dir/wrapper/customConverters.cpp.o
Linking CXX shared library lib/_customConverters.so
[ 91%] Built target _customConverters
Scanning dependencies of target _eudoxos
[ 91%] Building CXX object py/CMakeFiles/_eudoxos.dir/_eudoxos.cpp.o
In file included from /usr/include/c++/4.7/backward/strstream:52:0,
                 from /usr/local/include/vtk-5.10/vtkIOStream.h:108,
                 from /usr/local/include/vtk-5.10/vtkSystemIncludes.h:40,
                 from /usr/local/include/vtk-5.10/vtkIndent.h:24,
                 from /usr/local/include/vtk-5.10/vtkObjectBase.h:43,
                 from /usr/local/include/vtk-5.10/vtkObject.h:41,
                 from /usr/local/include/vtk-5.10/vtkLocator.h:53,
                 from /usr/local/include/vtk-5.10/vtkAbstractPointLocator.h:27,
                 from /usr/local/include/vtk-5.10/vtkIncrementalPointLocator.h:42,
                 from /usr/local/include/vtk-5.10/vtkPointLocator.h:39,
                 from /home/lxg/yade/py/_eudoxos.cpp:13:
/usr/include/c++/4.7/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
Linking CXX shared library lib/_eudoxos.so
[ 91%] Built target _eudoxos
Scanning dependencies of target _gts
[ 92%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/object.c.o
[ 92%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/pygts.c.o
[ 93%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/segment.c.o
[ 94%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/edge.c.o
[ 94%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/face.c.o
[ 95%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/vertex.c.o
[ 95%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/triangle.c.o
[ 96%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/cleanup.c.o
[ 96%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/point.c.o
[ 97%] Building C object py/CMakeFiles/_gts.dir/3rd-party/pygts-0.3.1/surface.c.o
Linking C shared library lib/_gts.so
[ 97%] Built target _gts
Scanning dependencies of target _packObb
[ 98%] Building CXX object py/CMakeFiles/_packObb.dir/pack/_packObb.cpp.o
Linking CXX shared library lib/_packObb.so
[ 98%] Built target _packObb
Scanning dependencies of target _packPredicates
[ 98%] Building CXX object py/CMakeFiles/_packPredicates.dir/pack/_packPredicates.cpp.o
Linking CXX shared library lib/_packPredicates.so
[ 98%] Built target _packPredicates
Scanning dependencies of target _packSpheres
[ 99%] Building CXX object py/CMakeFiles/_packSpheres.dir/pack/_packSpheres.cpp.o
Linking CXX shared library lib/_packSpheres.so
[ 99%] Built target _packSpheres
Scanning dependencies of target _utils
[ 99%] Building CXX object py/CMakeFiles/_utils.dir/_utils.cpp.o
Linking CXX shared library lib/_utils.so
[ 99%] Built target _utils
Scanning dependencies of target wrapper
[100%] Building CXX object py/CMakeFiles/wrapper.dir/wrapper/yadeWrapper.cpp.o
Linking CXX shared library lib/wrapper.so
[100%] Built target wrapper
lxg@ubuntu:~/yade/build$ sudo make install
[sudo] password for lxg:
[ 9%] Built target support
[ 22%] Built target core
[ 23%] Built target miniEigen
[ 27%] Built target _GLViewer
[ 89%] Built target plugins
[ 90%] Built target boot
[ 90%] Built target WeightedAverage2d
[ 91%] Built target _customConverters
[ 91%] Built target _eudoxos
[ 97%] Built target _gts
[ 98%] Built target _packObb
[ 98%] Built target _packPredicates
[ 99%] Built target _packSpheres
[ 99%] Built target _utils
[100%] Built target wrapper
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/bin/yade-0.90.3-batch
-- Installing: /usr/local/bin/yade-0.90.3
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/config.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/__init__.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/checks/checkTestTriax.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/checks/checkTestNormalInelasticity.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/checks/checkWeight.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/checks/checkGravity.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/checks/checkTestDummy.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/checks/checkList.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/checks/data/checkTestTriax.spheres
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/checks/data/WallStressesCheckTest
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/boot.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/yade/boot.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/libcore.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/libcore.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/libplugins.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/libplugins.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/libsupport.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/libsupport.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/py/miniEigen.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/miniEigen.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/qt/_GLViewer.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/yade/qt/_GLViewer.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/qt/SerializableEditor.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/qt/Inspector.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/qt/__init__.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/qt/img_rc.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/qt/ui_controller.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/WeightedAverage2d.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/yade/WeightedAverage2d.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10"
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/_eudoxos.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/yade/_eudoxos.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/_utils.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/yade/_utils.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/_packPredicates.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/yade/_packPredicates.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/_packSpheres.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/yade/_packSpheres.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/_packObb.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/yade/_packObb.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10"
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/wrapper.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/yade/wrapper.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/_customConverters.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/yade/_customConverters.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10:/usr/lib/python3.2/config"
-- Installing: /usr/local/lib/yade-0.90.3/py/gts/__init__.py
-- Installing: /usr/local/lib/yade-0.90.3/py/gts/pygts.py
-- Installing: /usr/local/lib/yade-0.90.3/py/gts/_gts.so
-- Set runtime path of "/usr/local/lib/yade-0.90.3/py/gts/_gts.so" to "/usr/local/lib/yade-0.90.3:/usr/local/lib/yade-0.90.3/py:/usr/local/lib/yade-0.90.3/py/yade/:/usr/local/lib/yade-0.90.3/py/yade/qt:/usr/local/lib/yade-0.90.3/py/gts:/usr/local/lib/vtk-5.10"
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/runtime.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/system.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/export.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/remote.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/utils.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/linterpolation.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/post2d.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/eudoxos.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/bodiesHandling.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/plot.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/params.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/ymport.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/geom.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/_extraDocs.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/timing.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/manpage.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/pack.py
-- Installing: /usr/local/lib/yade-0.90.3/py/mtTkinter.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/pbc.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/cohesive-chain.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/core.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/clump.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/engines.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/wrapper.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/__init__.py
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/checks/performance/performance.db
-- Installing: /usr/local/lib/yade-0.90.3/py/yade/tests/checks/performance/checkPerf.py

lxg@ubuntu:~/yade/build$ sudo make doc
[sudo] password for lxg:
Scanning dependencies of target doc
Welcome to Yade 0.90.3
Traceback (most recent call last):
  File "/usr/local/bin/yade-0.90.3", line 85, in <module>
    import yade
  File "/usr/local/lib/yade-0.90.3/py/yade/__init__.py", line 67, in <module>
    import system
  File "/usr/local/lib/yade-0.90.3/py/yade/system.py", line 10, in <module>
    from yade import runtime
  File "/usr/local/lib/yade-0.90.3/py/yade/runtime.py", line 8, in <module>
    import IPython
  File "/usr/lib/python2.7/dist-packages/IPython/__init__.py", line 46, in <module>
    from .frontend.terminal.embed import embed
  File "/usr/lib/python2.7/dist-packages/IPython/frontend/terminal/embed.py", line 38, in <module>
    from IPython.core.magic import Magics, magics_class, line_magic
  File "/usr/lib/python2.7/dist-packages/IPython/core/magic.py", line 26, in <module>
    from IPython.core import oinspect
  File "/usr/lib/python2.7/dist-packages/IPython/core/oinspect.py", line 33, in <module>
    from IPython.core import page
  File "/usr/lib/python2.7/dist-packages/IPython/core/page.py", line 34, in <module>
    from io import UnsupportedOperation
  File "/usr/lib/python2.7/io.py", line 51, in <module>
    import _io
TypeError: type '_io._IOBase' participates in gc and is a base type but has inappropriate tp_free slot
Segmentation fault (core dumped)
make[3]: *** [doc] Error 139
make[2]: *** [CMakeFiles/doc.dir/all] Error 2
make[1]: *** [CMakeFiles/doc.dir/rule] Error 2
make: *** [doc] Error 2

Are there any errors? And what do I need to do?

eli

Revision history for this message
Anton Gladky (gladky-anton) said :
#8

"sudo make install" is a reliable way to break your system.
Install to a custom-defined directory (use INSTALL_PREFIX variable)
without root-permissions.

Cheers,

Anton

Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#9

I don't see any error in your last compile logs (doc build excepted), what
are you expecting?

Bruno

p.s. Anton, "sudo install" is maybe not recommended but it used to work,
does it really break something now?

Revision history for this message
Anton Gladky (gladky-anton) said :
#10

2013/1/2 Chareyre <email address hidden>:
> p.s. Anton, "sudo install" is maybe not recommended but it used to work,
> does it really break something now?

Well it depends... If it is installed in /usr/local it should not be a problem.
But it is better to avoid "sudo" for such kind of things as it can lead to
unexpected behavior.

Anton

Revision history for this message
eli (slience-li) said :
#11

I can find the file "yade-0.90.3" under /usr/local,but I can't start yade.

lxg@ubuntu:~$ yade-0.90.3
Welcome to Yade 0.90.3
Segmentation fault (core dumped)
At 2013-01-02 07:05:58,Chareyre <email address hidden> wrote:
>Your question #217584 on Yade changed:
>https://answers.launchpad.net/yade/+question/217584
>
>Chareyre proposed the following answer:
>I don't see any error in your last compile logs (doc build excepted), what
>are you expecting?
>
>Bruno
>
>p.s. Anton, "sudo install" is maybe not recommended but it used to work,
>does it really break something now?
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https://answers.launchpad.net/yade/+question/217584/+confirm?answer_id=8
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https://answers.launchpad.net/yade/+question/217584
>
>You received this question notification because you asked the question.

Revision history for this message
Anton Gladky (gladky-anton) said :
#12

Try to install a packaged version of yade and check, whether it works.
The problem can be related to a graphic driver. Do other 3D-applications
like paraview or gmsh are working?

Anton

Revision history for this message
eli (slience-li) said :
#13

Thank you! I have solved my problems.