yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06898
Re: [Question #217584]: virtual memory exhausted: on using "make"
Question #217584 on Yade changed:
https://answers.launchpad.net/yade/+question/217584
Status: Answered => Open
eli is still having a problem:
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
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.