FlowEngine is not defined in yade-daily - On Ubuntu 13.10

Asked by Ehsan Izadi

Hi all,

I am new to ubuntu and yade. I need to do some simulations on DEM-PFV coupled analysis and I need to use FlowEngine. So, I tried to compile YADE from trunk. Here is the procedure I used:

Note :I used " /home/ehsan/yade-daily/build" location for compiled version. ("ehsan" is the username)

1) "git clone https://github.com/yade/trunk.git" to get the latest daily version and put it here "/home/ehsan/yade-daily/"
2) installed the prerequisites according to the "installation" web- page of yade
3) cd /home/ehsan/yade-daily/build
4) cmake -DINSTALL_PREFIX=/home/ehsan/yade-daily/build /home/ehsan/yade-daily/trunk
5) cmake -DOPTION1=VALUE1 -DOPTION2=VALUE2
6) make
7) make install

You can find the log here

However, when I try to run a simple flowengine-based example (which I am sure already worked with my previous os (linux mint 15)), does not work!
I get "NameError: name 'FlowEngine' is not defined"

Can anyone help me?

Thank you in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Bruno Chareyre
Solved:
Last query:
Last reply:
Revision history for this message
Ehsan Izadi (ehsan-izadi) said :
#1
Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#2

Thanks for reporting Ehsan.

We need more info on step 2. Could you please do it again and report exactly the commands you type and the output they give (you can paste it in plain text here)?

Step 5 is useless and, in fact, meaningless. You can simply suppress it.
You are supposed to replace OPTION1 with something, which is what you do in step 4 (where OPTION1 is INSTALL_PREFIX, and you don't have any OPTION2).
I in fact recommend this for (4):
cmake -DINSTALL_PREFIX=/home/ehsan/yade-daily/build /home/ehsan/yade-daily/trunk -DSUFFIX="trunk"

Revision history for this message
Donia Marzougui (marzougui-donia) said :
#3

Hi Ehsen

You have to specify what you need in your options in cmake (and not write simply -DOPTION1=VALUE1 -DOPTION2=VALUE2). Step 4 and 5 can be in the same line and with the same command "cmake"
To work with flowEngine, you need probably to add in your options in the cmake command: -DENABLE_LINSOLV = ON
So you will have something like this:

cmake -DINSTALL_PREFIX=/home/ehsan/yade-daily/build /home/ehsan/yade-daily/trunk -DENABLE_LINSOLV = ON

Bests
Donia

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

@Donia
-DENABLE_LINSOLV is no longer needed. It is enabled by default (or should be).

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

Ehsan,
I did test to compile yade on the same system as yours and I did not see the problem. There is maybe a problem in step 2.
Could you type the following commands and paste the output here (output of the first command excepted):
sudo apt-get install aptitude
aptitude search '~i' | grep metis
aptitude search '~i' | grep openblas
aptitude search '~i' | grep suitesparse
aptitude search '~i' | grep cgal

Revision history for this message
Ehsan Izadi (ehsan-izadi) said :
#6

Bruno,

I've installed libsuitesparse-metis-dev and compiled it again. But still the flowengine is not defined!
Actually because I installed the prerequisites long time ago, it is quite hard to say what I've already installed on my Ubuntu 13.10.
However, I installed aptitude and you can find the out put of the commands you asked:

-aptitude search '~i' | grep metis:
i libmetis-dev - Serial Graph Partitioning and Fill-reducin
i A libmetis5 - Serial Graph Partitioning and Fill-reducin
i libparmetis-dev - Parallel Graph Partitioning and Sparse Mat
i A libparmetis3.1 - Parallel Graph Partitioning and Sparse Mat
i A libsuitesparse-metis-3.1.0 - collection of libraries for computations f
i libsuitesparse-metis-dev - collection of libraries for computations f

-aptitude search '~i' | grep openblas:
i A libopenblas-base - Optimized BLAS (linear algebra) library ba
i libopenblas-dev - Optimized BLAS (linear algebra) library ba

-aptitude search '~i' | grep suitesparse:
i A libsuitesparse-metis-3.1.0 - collection of libraries for computations f
i libsuitesparse-metis-dev - collection of libraries for computations f

-aptitude search '~i' | grep cgal
i libcgal-dev - C++ library for computational geometry (de
i A libcgal-qt4-10 - C++ library for computational geometry (su
i libcgal-qt4-dev - C++ library for computational geometry (de
i A libcgal10 - C++ library for computational geometry

Any suggestions?

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

Hi Ehsan,

I just discovered a bug on 14.04, which may also affect you on 13.10 [1].
From what you posted here, I don't see anything missing in the
libraries. So this bug has a high chance to be your problem.

If you are in this case of having a stable yade package installed on the
same machine you are compiling on, you may have to uninstall the stable
yade.
The reason is that the stable version it is hiding your compiled version
no matter what you do. And since the stable version has no FlowEngine
you don't have it either.
/
sudo apt-get remove//yade

/Then try your compiled version again.
If it crashes, it is a good sign: you are in the case of the previous
bug and should not be too difficult to fix.

You may have to re-install manually a few libraries that could be
removed together with yade:
sudo apt-get install python-gts python-minieigen
If it still doesn't work. Try recompiling the sources.

Let us know.

Bruno

[1] https://bugs.launchpad.net/yade/+bug/1254708

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

Sorry, it is:
sudo apt-get remove yade

I don't know how slash came into my message.

Revision history for this message
Ehsan Izadi (ehsan-izadi) said :
#9

Thanks Bruno Chareyre, that solved my question.

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

Great!
Now I'm afraid the fluid code may crash randomly, because of a bad bug in libstdc++ shiped by g++-4.8 [1]. If you don't get any crash, then don't touch anything.
Else, there is one line to remove from yade code as a workaround [2].
To update your source code go in trunk directory and type "git pull". Then re-compile (the "make install" part, no need to type cmake again, it will recompile only the modified files, which should be a lot faster than first compilation).

Bruno

For those interested:
[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58800
[2] https://github.com/yade/trunk/commit/1da6c7a4790fa991d07689893fc50817eb6f50cf

Revision history for this message
Son Pham Thai (pham-thai-son-987) said :
#11

Hi all,

I got a similar error: "NameError: name 'TwoPhaseFlowEngine' is not defined"

After a normal update in Ubuntu, my operation system was crash. I have reinstalled Ubuntu (version 14.04.5 LTS (Trusty Tahr) ). When I compiled binary Yade, I got the above error.

The following is my installation procedure (for yade-2016.06a)

sudo add-apt-repository ppa:yade-users/external
sudo apt-get update

sudo apt-get install cmake git freeglut3-dev libloki-dev \
libboost-all-dev fakeroot dpkg-dev build-essential g++ \
python-dev ipython python-matplotlib libsqlite3-dev python-numpy python-tk gnuplot \
libgts-dev python-pygraphviz libvtk6-dev python-numpy libeigen3-dev \
python-xlib python-pyqt5 pyqt5-dev-tools python-pyqt5.qtwebkit gtk2-engines-pixbuf python-argparse \
libqglviewer-dev python-imaging libjs-jquery python-sphinx python-git python-bibtex \
libxmu-dev libxi-dev libcgal-dev help2man libbz2-dev zlib1g-dev python-minieigen

(after this command, i got:
Note, selecting 'libpython2.7-stdlib' instead of 'python-argparse'
E: Unable to locate package python-pyqt5
E: Unable to locate package python-pyqt5.qtwebkit
E: Couldn't find any package by regex 'python-pyqt5.qtwebkit'

sudo apt-get install python-gts
sudo apt-get install libopenblas-dev libsuitesparse-metis-dev

sudo add-apt-repository ppa:yade-users/external
sudo apt-get update

My Compilation:

My folder structure:
myYade/
        trunk/ ## downloaded from https://launchpad.net/yade/+download (I have also tried yade-1.20.0 and yade-1.14.0)
        build/ ## downloaded from https://github.com/yade/trunk
        install/ ## initially is a blank folder

   cd /home/son/Desktop/myYade/build

In the build-directory, I have entered these following command in terminal window:
   son@son-desktop:~/Desktop/myYade/build$
cmake -DCMAKE_INSTALL_PREFIX=/home/son/Desktop/myYade/install /home/son/Desktop/myYade/trunk -DUSE_QT5=OFF

-DUSE_QT5=OFF is because: https://answers.launchpad.net/yade/+question/295554

After this, I got:

Yade will be installed to /home/son/Desktop/myYade/install
-- Suffix is set to -2016.06a
-- LIBRARY_OUTPUT_PATH is set to lib/x86_64-linux-gnu
-- runtimePREFIX is set to /home/son/Desktop/myYade/install
-- Found gts: /usr/lib/python2.7/dist-packages/gts
-- Use system gts version
-- Found minieigen: /usr/lib/python2.7/dist-packages/minieigen.so
-- Found Tkinter: /usr/lib/python2.7/lib-tk/Tkinter.py
-- ===========================================================
-- Yade configured with following features: Odeint VTK OpenMP GTS GUI CGAL PFVFLOW LINSOLV GL2PS LBMFLOW
-- Disabled features: SPH LIQMIGRATION MASK_ARBITRARY PROFILING PotentialParticles
-- Optimized build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/son/Desktop/myYade/build

son@son-desktop:~/Desktop/myYade/build$ make -j4
[ 0%] Generating qt4/moc_OpenGLManager.cxx
[ 1%] Scanning dependencies of target WeightedAverage2d
Scanning dependencies of target _packObb
Generating qt4/moc_GLViewer.cxx
[ 2%] [ 2%] Building CXX object py/CMakeFiles/WeightedAverage2d.dir/WeightedAverage2d.cpp.o
Building CXX object py/CMakeFiles/_packObb.dir/pack/_packObb.cpp.o
Scanning dependencies of target _polyhedra_utils
Scanning dependencies of target _GLViewer
[ 3%] Building CXX object py/CMakeFiles/_polyhedra_utils.dir/_polyhedra_utils.cpp.o
[ 4%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/GLViewer.cpp.o
Linking CXX shared library lib/x86_64-linux-gnu/_packObb.so
[ 4%] Built target _packObb
[ 5%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/_GLViewer.cpp.o
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /home/son/Desktop/myYade/trunk/py/_polyhedra_utils.cpp:15:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^
Linking CXX shared library lib/x86_64-linux-gnu/WeightedAverage2d.so
[ 5%] Built target WeightedAverage2d
[ 5%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/OpenGLManager.cpp.o
[ 6%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/GLViewerDisplay.cpp.o
[ 6%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/GLViewerMouse.cpp.o
[ 7%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/moc_GLViewer.cxx.o
Linking CXX shared library lib/x86_64-linux-gnu/_polyhedra_utils.so
[ 7%] Built target _polyhedra_utils
[ 8%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/moc_OpenGLManager.cxx.o
Linking CXX shared library lib/x86_64-linux-gnu/_GLViewer.so
[ 8%] Built target _GLViewer
Scanning dependencies of target yade
[ 10%] [ 10%] [ 10%] [ 11%] Building CXX object CMakeFiles/yade.dir/core/SimulationFlow.cpp.o
Building CXX object CMakeFiles/yade.dir/core/ForceContainerSerial.cpp.o
Building CXX object CMakeFiles/yade.dir/core/ThreadWorker.cpp.o
Building CXX object CMakeFiles/yade.dir/core/Omega.cpp.o
[ 11%] Building CXX object CMakeFiles/yade.dir/core/BodyContainer.cpp.o
[ 12%] Building CXX object CMakeFiles/yade.dir/core/InteractionContainer.cpp.o
[ 13%] Building CXX object CMakeFiles/yade.dir/core/ForceContainerParallel.cpp.o
[ 13%] Building CXX object CMakeFiles/yade.dir/core/Scene.cpp.o
[ 14%] Building CXX object CMakeFiles/yade.dir/core/Clump.cpp.o
[ 14%] Building CXX object CMakeFiles/yade.dir/core/ThreadRunner.cpp.o
[ 15%] Building CXX object CMakeFiles/yade.dir/core/FileGenerator.cpp.o
[ 16%] Building CXX object CMakeFiles/yade.dir/core/corePlugins.cpp.o
[ 16%] Building CXX object CMakeFiles/yade.dir/core/Interaction.cpp.o
[ 17%] Building CXX object CMakeFiles/yade.dir/core/Cell.cpp.o
[ 17%] Building CXX object CMakeFiles/yade.dir/core/State.cpp.o
[ 18%] Building CXX object CMakeFiles/yade.dir/core/Material.cpp.o
[ 19%] Building CXX object CMakeFiles/yade.dir/core/Body.cpp.o
[ 19%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/DummyFlowEngine.cpp.o
[ 20%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/PeriodicFlowEngine.cpp.o
[ 20%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/DFNFlow.cpp.o
[ 21%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/UnsaturatedEngine.cpp.o
[ 22%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/TwoPhaseFlowEngine.cpp.o
[ 22%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/FlowEngine.cpp.o
[ 23%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/SoluteFlowEngine.cpp.o
[ 23%] Building CXX object CMakeFiles/yade.dir/pkg/common/common.cpp.o
[ 24%] Building CXX object CMakeFiles/yade.dir/pkg/common/Grid_GUI.cpp.o
[ 25%] Building CXX object CMakeFiles/yade.dir/pkg/common/ZECollider.cpp.o
[ 25%] Building CXX object CMakeFiles/yade.dir/pkg/common/Collider.cpp.o
[ 26%] Building CXX object CMakeFiles/yade.dir/pkg/common/InteractionLoop.cpp.o
[ 26%] Building CXX object CMakeFiles/yade.dir/pkg/common/PFacet.cpp.o
[ 27%] Building CXX object CMakeFiles/yade.dir/pkg/common/Dispatching.cpp.o
[ 28%] Building CXX object CMakeFiles/yade.dir/pkg/common/SPHEngine.cpp.o
[ 28%] Building CXX object CMakeFiles/yade.dir/pkg/common/Gl1_Primitives.cpp.o
[ 29%] Building CXX object CMakeFiles/yade.dir/pkg/common/Grid.cpp.o
[ 29%] Building CXX object CMakeFiles/yade.dir/pkg/common/Gl1_NormPhys.cpp.o
[ 30%] Building CXX object CMakeFiles/yade.dir/pkg/common/Facet.cpp.o
[ 31%] Building CXX object CMakeFiles/yade.dir/pkg/common/InsertionSortCollider.cpp.o
[ 31%] Building CXX object CMakeFiles/yade.dir/pkg/common/ForceEngine.cpp.o
[ 32%] Building CXX object CMakeFiles/yade.dir/pkg/common/Gl1_PFacet.cpp.o
[ 32%] Building CXX object CMakeFiles/yade.dir/pkg/common/GravityEngines.cpp.o
[ 33%] Building CXX object CMakeFiles/yade.dir/pkg/common/Bo1_Aabb.cpp.o
[ 34%] Building CXX object CMakeFiles/yade.dir/pkg/common/Cylinder.cpp.o
[ 34%] Building CXX object CMakeFiles/yade.dir/pkg/common/OpenGLRenderer.cpp.o
[ 35%] Building CXX object CMakeFiles/yade.dir/pkg/common/SpatialQuickSortCollider.cpp.o
[ 35%] Building CXX object CMakeFiles/yade.dir/pkg/common/ParallelEngine.cpp.o
[ 36%] Building CXX object CMakeFiles/yade.dir/pkg/common/ResetRandomPosition.cpp.o
[ 37%] Building CXX object CMakeFiles/yade.dir/pkg/common/Wall.cpp.o
[ 37%] Building CXX object CMakeFiles/yade.dir/pkg/common/Gl1_PotentialParticle.cpp.o
[ 38%] Building CXX object CMakeFiles/yade.dir/pkg/common/KinematicEngines.cpp.o
[ 38%] Building CXX object CMakeFiles/yade.dir/pkg/common/MatchMaker.cpp.o
[ 39%] Building CXX object CMakeFiles/yade.dir/pkg/common/PersistentTriangulationCollider.cpp.o
[ 40%] Building CXX object CMakeFiles/yade.dir/pkg/lbm/LBMnode.cpp.o
[ 40%] Building CXX object CMakeFiles/yade.dir/pkg/lbm/HydrodynamicsLawLBM.cpp.o
[ 41%] Building CXX object CMakeFiles/yade.dir/pkg/dem/CapillaryPhys1.cpp.o
[ 41%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/LinElastMat.cpp.o
[ 42%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/FEInternalForceDispatchers.cpp.o
[ 43%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/If2_2xLin4NodeTetra_LinCohesiveStiffPropDampElastMat.cpp.o
[ 43%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/FEInternalForceEngine.cpp.o
[ 44%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/DeformableElement.cpp.o
[ 44%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/CohesiveMat.cpp.o
[ 45%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Lin4NodeTetra.cpp.o
[ 46%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/If2_Lin4NodeTetra_LinIsoRayleighDampElast.cpp.o
[ 46%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Node.cpp.o
[ 47%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Gl1_Node.cpp.o
[ 48%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Bo1_Node_Aabb.cpp.o
[ 48%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp.o
[ 49%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/DeformableCohesiveElement.cpp.o
[ 49%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Lin4NodeTetra_Lin4NodeTetra_InteractionElement.cpp.o
In file included from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/DeformableCohesiveElement.cpp:10:0:
/home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/DeformableCohesiveElement.hpp: In member function ‘bool DeformableCohesiveElement::nodepair::operator<(const DeformableCohesiveElement::nodepair&) const’:
/home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/DeformableCohesiveElement.hpp:49:5: warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
In file included from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Lin4NodeTetra_Lin4NodeTetra_InteractionElement.hpp:17:0,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Lin4NodeTetra_Lin4NodeTetra_InteractionElement.cpp:8:
/home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/DeformableCohesiveElement.hpp: In member function ‘bool DeformableCohesiveElement::nodepair::operator<(const DeformableCohesiveElement::nodepair&) const’:
/home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/DeformableCohesiveElement.hpp:49:5: warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
[ 50%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Gl1_DeformableElement.cpp.o
In file included from /usr/include/eigen3/Eigen/Core:277:0,
                 from /home/son/Desktop/myYade/trunk/lib/base/Math.hpp:89,
                 from /home/son/Desktop/myYade/trunk/lib/serialization/Serializable.hpp:15,
                 from /home/son/Desktop/myYade/trunk/core/Shape.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/common/Dispatching.hpp:2,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:9:
/usr/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In member function ‘virtual void Bo1_DeformableElement_Aabb::go(const boost::shared_ptr<Shape>&, boost::shared_ptr<Bound>&, const Se3r&, const Body*)’:
/usr/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:495:7: warning: ‘*((void*)& min +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       derived().coeffRef(index) = other.derived().coeff(index);
       ^
/home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:21:11: note: ‘*((void*)& min +16)’ was declared here
  Vector3r min,max;
           ^
In file included from /usr/include/eigen3/Eigen/Core:277:0,
                 from /home/son/Desktop/myYade/trunk/lib/base/Math.hpp:89,
                 from /home/son/Desktop/myYade/trunk/lib/serialization/Serializable.hpp:15,
                 from /home/son/Desktop/myYade/trunk/core/Shape.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/common/Dispatching.hpp:2,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:9:
/usr/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:495:7: warning: ‘*((void*)& min +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       derived().coeffRef(index) = other.derived().coeff(index);
       ^
/home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:21:11: note: ‘*((void*)& min +8)’ was declared here
  Vector3r min,max;
           ^
In file included from /usr/include/eigen3/Eigen/Core:277:0,
                 from /home/son/Desktop/myYade/trunk/lib/base/Math.hpp:89,
                 from /home/son/Desktop/myYade/trunk/lib/serialization/Serializable.hpp:15,
                 from /home/son/Desktop/myYade/trunk/core/Shape.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/common/Dispatching.hpp:2,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:9:
/usr/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:495:7: warning: ‘max’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       derived().coeffRef(index) = other.derived().coeff(index);
       ^
/home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:21:15: note: ‘max’ was declared here
  Vector3r min,max;
               ^
In file included from /usr/include/eigen3/Eigen/Core:277:0,
                 from /home/son/Desktop/myYade/trunk/lib/base/Math.hpp:89,
                 from /home/son/Desktop/myYade/trunk/lib/serialization/Serializable.hpp:15,
                 from /home/son/Desktop/myYade/trunk/core/Shape.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/common/Dispatching.hpp:2,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:9:
/usr/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:495:7: warning: ‘*((void*)& max +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       derived().coeffRef(index) = other.derived().coeff(index);
       ^
/home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:21:15: note: ‘*((void*)& max +8)’ was declared here
  Vector3r min,max;
               ^
In file included from /usr/include/eigen3/Eigen/Core:277:0,
                 from /home/son/Desktop/myYade/trunk/lib/base/Math.hpp:89,
                 from /home/son/Desktop/myYade/trunk/lib/serialization/Serializable.hpp:15,
                 from /home/son/Desktop/myYade/trunk/core/Shape.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/common/Dispatching.hpp:2,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:9:
/usr/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:495:7: warning: ‘*((void*)& max +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       derived().coeffRef(index) = other.derived().coeff(index);
       ^
/home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:21:15: note: ‘*((void*)& max +16)’ was declared here
  Vector3r min,max;
               ^
In file included from /usr/include/eigen3/Eigen/Core:277:0,
                 from /home/son/Desktop/myYade/trunk/lib/base/Math.hpp:89,
                 from /home/son/Desktop/myYade/trunk/lib/serialization/Serializable.hpp:15,
                 from /home/son/Desktop/myYade/trunk/core/Shape.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/common/Dispatching.hpp:2,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.hpp:11,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:9:
/usr/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:495:7: warning: ‘min’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       derived().coeffRef(index) = other.derived().coeff(index);
       ^
/home/son/Desktop/myYade/trunk/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp:21:11: note: ‘min’ was declared here
  Vector3r min,max;
           ^
[ 51%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ElasticContactLaw.cpp.o
[ 51%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TesselationWrapper.cpp.o
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from /home/son/Desktop/myYade/trunk/lib/pyutil/numpy_boost.hpp:40,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/TesselationWrapper.cpp:15:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^
[ 52%] Building CXX object CMakeFiles/yade.dir/pkg/dem/FrictViscoPM.cpp.o
[ 52%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TriaxialStressController.cpp.o
[ 53%] Building CXX object CMakeFiles/yade.dir/pkg/dem/InelastCohFrictPM.cpp.o
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:26:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from /home/son/Desktop/myYade/trunk/lib/pyutil/numpy_boost.hpp:40,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/TesselationWrapper.cpp:15:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
 _import_array(void)
 ^
[ 54%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ig2_Box_Sphere_ScGeom.cpp.o
[ 54%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ig2_PP_PP_ScGeom.cpp.o
[ 55%] Building CXX object CMakeFiles/yade.dir/pkg/dem/CohesiveFrictionalContactLaw.cpp.o
[ 55%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ig2_Facet_Sphere_ScGeom.cpp.o
[ 56%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SampleCapillaryPressureEngine.cpp.o
[ 57%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ip2_ElastMat.cpp.o
[ 57%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ViscoelasticPM.cpp.o
[ 58%] Building CXX object CMakeFiles/yade.dir/pkg/dem/PotentialParticle.cpp.o
[ 58%] Building CXX object CMakeFiles/yade.dir/pkg/dem/PeriIsoCompressor.cpp.o
[ 59%] Building CXX object CMakeFiles/yade.dir/pkg/dem/HertzMindlin.cpp.o
[ 60%] Building CXX object CMakeFiles/yade.dir/pkg/dem/FrictPhys.cpp.o
[ 60%] Building CXX object CMakeFiles/yade.dir/pkg/dem/FacetTopologyAnalyzer.cpp.o
[ 61%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Polyhedra.cpp.o
[ 61%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ig2_Sphere_Sphere_ScGeom.cpp.o
[ 62%] Building CXX object CMakeFiles/yade.dir/pkg/dem/CapillaryTriaxialTest.cpp.o
[ 63%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity1.cpp.o
[ 63%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Polyhedra_support.cpp.o
[ 64%] Building CXX object CMakeFiles/yade.dir/pkg/dem/MortarMat.cpp.o
[ 64%] Building CXX object CMakeFiles/yade.dir/pkg/dem/LudingPM.cpp.o
[ 65%] Building CXX object CMakeFiles/yade.dir/pkg/dem/NewtonIntegrator.cpp.o
[ 66%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ViscoelasticCapillarPM.cpp.o
[ 66%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SpheresFactory.cpp.o
[ 67%] Building CXX object CMakeFiles/yade.dir/pkg/dem/CapillaryStressRecorder.cpp.o
[ 67%] Building CXX object CMakeFiles/yade.dir/pkg/dem/VTKRecorder.cpp.o
In file included from /usr/include/c++/4.8/backward/strstream:51:0,
                 from /usr/include/vtk-5.8/vtkIOStream.h:112,
                 from /usr/include/vtk-5.8/vtkSystemIncludes.h:40,
                 from /usr/include/vtk-5.8/vtkIndent.h:24,
                 from /usr/include/vtk-5.8/vtkObjectBase.h:43,
                 from /usr/include/vtk-5.8/vtkObject.h:41,
                 from /usr/include/vtk-5.8/vtkCell.h:40,
                 from /usr/include/vtk-5.8/vtkQuad.h:25,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/VTKRecorder.hpp:3,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/VTKRecorder.cpp:3:
/usr/include/c++/4.8/backward/backward_warning.h:32: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]
 #warning \
  ^
[ 68%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Tetra.cpp.o
[ 69%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ConcretePM.cpp.o
[ 69%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ThreeDTriaxialEngine.cpp.o
[ 70%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity.cpp.o
[ 70%] Building CXX object CMakeFiles/yade.dir/pkg/dem/CohesiveTriaxialTest.cpp.o
[ 71%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ForceTorqueRecorder.cpp.o
[ 72%] Building CXX object CMakeFiles/yade.dir/pkg/dem/WirePM.cpp.o
[ 72%] Building CXX object CMakeFiles/yade.dir/pkg/dem/BubbleMat.cpp.o
[ 73%] Building CXX object CMakeFiles/yade.dir/pkg/dem/PotentialParticle2AABB.cpp.o
[ 73%] Building CXX object CMakeFiles/yade.dir/pkg/dem/STLImporter.cpp.o
In file included from /home/son/Desktop/myYade/trunk/pkg/dem/STLImporter.cpp:8:0:
/home/son/Desktop/myYade/trunk/pkg/dem/STLImporter.hpp: In member function ‘bool STLReader::open_ascii(const char*, OutV, OutE, OutF, OutN) [with OutV = std::back_insert_iterator<std::vector<double> >; OutE = std::back_insert_iterator<std::vector<int> >; OutF = std::back_insert_iterator<std::vector<int> >; OutN = std::back_insert_iterator<std::vector<double> >]’:
/home/son/Desktop/myYade/trunk/pkg/dem/STLImporter.hpp:129:5: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     fscanf(fp, "%*s %*s %f %f %f\n", &n[0], &n[1], &n[2]);
     ^
/home/son/Desktop/myYade/trunk/pkg/dem/STLImporter.hpp:130:5: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     fscanf(fp, "%*s %*s");
     ^
/home/son/Desktop/myYade/trunk/pkg/dem/STLImporter.hpp:131:5: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     fscanf(fp, "%*s %f %f %f\n", &v[0][0], &v[0][1], &v[0][2]);
     ^
/home/son/Desktop/myYade/trunk/pkg/dem/STLImporter.hpp:132:5: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     fscanf(fp, "%*s %f %f %f\n", &v[1][0], &v[1][1], &v[1][2]);
     ^
/home/son/Desktop/myYade/trunk/pkg/dem/STLImporter.hpp:133:5: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     fscanf(fp, "%*s %f %f %f\n", &v[2][0], &v[2][1], &v[2][2]);
     ^
/home/son/Desktop/myYade/trunk/pkg/dem/STLImporter.hpp:134:5: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     fscanf(fp, "%*s"); // end loop
     ^
/home/son/Desktop/myYade/trunk/pkg/dem/STLImporter.hpp:135:5: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     fscanf(fp, "%*s"); // end facet
     ^
[ 74%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SimpleShear.cpp.o
[ 75%] Building CXX object CMakeFiles/yade.dir/pkg/dem/UniaxialStrainer.cpp.o
[ 75%] Building CXX object CMakeFiles/yade.dir/pkg/dem/KnKsLaw.cpp.o
[ 76%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Integrator.cpp.o
[ 76%] Building CXX object CMakeFiles/yade.dir/pkg/dem/GeneralIntegratorInsertionSortCollider.cpp.o
[ 77%] Building CXX object CMakeFiles/yade.dir/pkg/dem/KinemC__Engine.cpp.o
[ 78%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Polyhedra_Ig2.cpp.o
[ 78%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TriaxialCompressionEngine.cpp.o
[ 79%] Building CXX object CMakeFiles/yade.dir/pkg/dem/FlatGridCollider.cpp.o
[ 79%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Shop_01.cpp.o
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /home/son/Desktop/myYade/trunk/py/_utils.hpp:14,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/Shop_01.cpp:46:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^
[ 80%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SpherePack.cpp.o
[ 81%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SnapshotEngine.cpp.o
[ 81%] Building CXX object CMakeFiles/yade.dir/pkg/dem/NormalInelasticPM.cpp.o
[ 82%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ScGeom.cpp.o
[ 82%] Building CXX object CMakeFiles/yade.dir/pkg/dem/GlobalStiffnessTimeStepper.cpp.o
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:26:0,
                 from /home/son/Desktop/myYade/trunk/py/_utils.hpp:14,
                 from /home/son/Desktop/myYade/trunk/pkg/dem/Shop_01.cpp:46:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
 _import_array(void)
 ^
[ 83%] Building CXX object CMakeFiles/yade.dir/pkg/dem/UnbalancedForceCallbacks.cpp.o
[ 84%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TriaxialStateRecorder.cpp.o
[ 84%] Building CXX object CMakeFiles/yade.dir/pkg/dem/MicroMacroAnalyser.cpp.o
[ 85%] Building CXX object CMakeFiles/yade.dir/pkg/dem/RungeKuttaCashKarp54Integrator.cpp.o
[ 85%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Polyhedra_splitter.cpp.o
[ 86%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Disp2DPropLoadEngine.cpp.o
[ 87%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Shop_02.cpp.o
[ 87%] Building CXX object CMakeFiles/yade.dir/pkg/dem/KinemSimpleShearBox.cpp.o
[ 88%] Building CXX object CMakeFiles/yade.dir/pkg/dem/CapillaryPhys.cpp.o
[ 88%] Building CXX object CMakeFiles/yade.dir/pkg/dem/JointedCohesiveFrictionalPM.cpp.o
[ 89%] Building CXX object CMakeFiles/yade.dir/pkg/dem/L3Geom.cpp.o
[ 90%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TriaxialTest.cpp.o
[ 90%] Building CXX object CMakeFiles/yade.dir/pkg/dem/DomainLimiter.cpp.o
[ 91%] Building CXX object CMakeFiles/yade.dir/lib/base/Math.cpp.o
[ 91%] Building CXX object CMakeFiles/yade.dir/lib/factory/ClassFactory.cpp.o
[ 92%] Building CXX object CMakeFiles/yade.dir/lib/factory/DynLibManager.cpp.o
[ 93%] Building CXX object CMakeFiles/yade.dir/lib/serialization/Serializable.cpp.o
[ 93%] Building CXX object CMakeFiles/yade.dir/lib/pyutil/gil.cpp.o
[ 94%] Building CXX object CMakeFiles/yade.dir/core/main/pyboot.cpp.o
[ 94%] Building CXX object CMakeFiles/yade.dir/lib/opengl/GLUtils.cpp.o
[ 95%] Building CXX object CMakeFiles/yade.dir/lib/triangulation/Timer.cpp.o
[ 96%] Building CXX object CMakeFiles/yade.dir/lib/triangulation/Tenseur3.cpp.o
[ 96%] Building CXX object CMakeFiles/yade.dir/lib/triangulation/KinematicLocalisationAnalyser.cpp.o
[ 97%] Building CXX object CMakeFiles/yade.dir/lib/triangulation/TriaxialState.cpp.o
[ 98%] Building CXX object CMakeFiles/yade.dir/lib/triangulation/basicVTKwritter.cpp.o
Linking CXX shared library lib/x86_64-linux-gnu/libyade.so
[ 98%] Built target yade
Scanning dependencies of target boot
Scanning dependencies of target _packPredicates
Scanning dependencies of target _customConverters
Scanning dependencies of target _packSpheres
[ 99%] [100%] [100%] Building CXX object py/CMakeFiles/_packSpheres.dir/pack/_packSpheres.cpp.o
Building CXX object py/CMakeFiles/_customConverters.dir/wrapper/customConverters.cpp.o
Building CXX object CMakeFiles/boot.dir/core/main/pyboot.cpp.o
[100%] Building CXX object py/CMakeFiles/_packPredicates.dir/pack/_packPredicates.cpp.o
Linking CXX shared library lib/x86_64-linux-gnu/boot.so
Linking CXX shared library lib/x86_64-linux-gnu/_packPredicates.so
[100%] Built target boot
Scanning dependencies of target _utils
[100%] Building CXX object py/CMakeFiles/_utils.dir/_utils.cpp.o
[100%] Built target _packPredicates
Scanning dependencies of target wrapper
[100%] Building CXX object py/CMakeFiles/wrapper.dir/wrapper/yadeWrapper.cpp.o
Linking CXX shared library lib/x86_64-linux-gnu/_packSpheres.so
[100%] Built target _packSpheres
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /home/son/Desktop/myYade/trunk/py/_utils.hpp:14,
                 from /home/son/Desktop/myYade/trunk/py/_utils.cpp:1:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^
Linking CXX shared library lib/x86_64-linux-gnu/_customConverters.so
[100%] Built target _customConverters
Linking CXX shared library lib/x86_64-linux-gnu/wrapper.so
[100%] Built target wrapper
Linking CXX shared library lib/x86_64-linux-gnu/_utils.so
[100%] Built target _utils

son@son-desktop:~/Desktop/myYade/build$ make install
[ 6%] Built target _GLViewer
[ 96%] Built target yade
[ 97%] Built target boot
[ 97%] Built target WeightedAverage2d
[ 97%] Built target _customConverters
[ 98%] Built target _packObb
[ 98%] Built target _packPredicates
[ 99%] Built target _packSpheres
[100%] Built target _polyhedra_utils
[100%] Built target _utils
[100%] Built target wrapper
Install the project...
-- Install configuration: ""
-- Installing: /home/son/Desktop/myYade/install/bin/yade-2016.06a-batch
-- Installing: /home/son/Desktop/myYade/install/bin/yade-2016.06a
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/config.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/__init__.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkWeight.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkGravity.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkClumpHopper.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkCapillaryModels.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkViscElPM.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkTestNormalInelasticity.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkTestTriax.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkPolyhedraCrush.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkLiquidMigration.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkList.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkViscElEng.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkViscElPM2.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkTestDummy.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/DEM-PFV-check.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkWirePM.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/checkSaveLoadClumps.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/data/100spheres
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/data/checkTestTriax.spheres
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/data/WallStressesCheckTest
-- Installing: /home/son/Desktop/myYade/install/share/doc/yade-2016.06a/img/yade-logo-note.png
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/boot.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/boot.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/libyade.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/libyade.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt/_GLViewer.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt/_GLViewer.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt/SerializableEditor.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt/Inspector.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt/__init__.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt/img_rc.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt/ui_controller.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/polyhedra_utils.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_extraDocs.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/post2d.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/geom.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/params.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/export.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/ymport.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/runtime.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/bodiesHandling.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/deformableelementsutils.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/plot.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/linterpolation.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/system.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/timing.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/remote.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/utils.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/gridpfacet.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/pack.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/mtTkinter.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/engines.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/core.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/wrapper.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/cohesive-chain.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/clump.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/__init__.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/pbc.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/performance/performance.db
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/tests/checks/performance/checkPerf.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/FEMxDEM/simDEM.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/FEMxDEM/msFEM3D.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/FEMxDEM/msFEM2D.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/FEMxDEM/mpipool.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/FEMxDEM/saveGauss.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/FEMxDEM/msFEMup.py
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/WeightedAverage2d.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/WeightedAverage2d.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_utils.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_utils.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_polyhedra_utils.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_polyhedra_utils.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_packPredicates.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_packPredicates.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_packSpheres.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_packSpheres.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_packObb.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_packObb.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/wrapper.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/wrapper.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"
-- Installing: /home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_customConverters.so
-- Set runtime path of "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/_customConverters.so" to "/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/yade/qt:/home/son/Desktop/myYade/install/lib/x86_64-linux-gnu/yade-2016.06a/py/gts"

cd

cd Desktop/myYade/install/bin

son@son-desktop:/Desktop/myYade/install/bin$ ./yade-1.14.0
son@son-desktop:/Desktop/myYade/install/bin$ ./yade-1.20.0

son@son-desktop:/Desktop/myYade/install/bin$ ./yade-2016.06a
Welcome to Yade 2016.06a
TCP python prompt on localhost:9000, auth cookie `aseyku'
XMLRPC info provider on http://localhost:21000
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for showing help), F10 both, F9 generator, F8 plot. ]]

And I got: NameError: name 'TwoPhaseFlowEngine' is not defined

Before these re-installations, I had no problem with these Flow Engines.

Any idea about how to solve this would be greatly appreciated!

Thanks,

Son

Revision history for this message
Jérôme Duriez (jduriez) said :
#12

Hi,

Thank you very much for browsing the archives first, but it seems your problem deserved a new question, here. FlowEngine and TwoPhaseFlowEngine are indeed two different pieces of code (the former dealing with the flow of one pore fluid, the latter with the flow of two pore fluids). Also, your Ubuntu version does not match the initial question.

Anyway, I'm assuming your problem is caused by compilation of some part of TwoPhaseFlowEngine related code, while most part is still skipped during compilation (I think TwoPhaseFlowEngine package has not been yet "officially" released by the corresponding developers -- not me).

You may try uncomment line 16 of trunk/pkg/pfv/TwoPhaseFlowEngine.hpp, in order for "#define TWOPHASEFLOW" to be executed (see [*]). Hopefully, this will trigger a complete compilation of TwoPhaseFlowEngine related code, giving you a longer compilation, but a working executable.

If this does not work, you may consider open a new question and wait for other answers..

[*] https://github.com/yade/trunk/blob/master/pkg/pfv/TwoPhaseFlowEngine.hpp#L16

Revision history for this message
Son Pham Thai (pham-thai-son-987) said :
#13

Hi Jérôme,

Thank for your reply. Following your suggestion, I have uncommented (deleted the //) line 16 of trunk/pkg/pfv/TwoPhaseFlowEngine.hpp (in my "trunk" folder), BEFORE the compilation.

And now, it works fine :)

Thanks Jérôme Duriez, my question has been solved.

Regards,
Son.

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

Hi Son,
Modifying the source code to escape a compile error is the best starting point for big troubles.
If you have compile errors please fill a bug report (this problem you have is now solved in latest trunk IIRC), and please don't append more questions to existing ones.
Bruno