[Solved] Compilation failed on vtk8.2.0
Update: This was solved at #9, and the answer is summerized at #10. Below are the original posts.
-------
Sorry for my English first, it's not my mother language.
I'm trying to build yade-2021.01a from source for Archlinux (linux 5.10.7). I'm trying to complie it with most feature enabled.
But I found several problems:
1. I'm using CMake 3.19.3. When I use
```
cmake ../trunk \
```
It said `OpenMP NOT found`. But I'm sure I have installed the openmp package. After searching it on google, I modified the `trunk/
```
-- Found OpenMP_C: -fopenmp (found version "4.5")
CMake Warning (dev) at /usr/share/
The package name passed to `find_package_
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/usr/
CMakeLists.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find OpenMP_CXX (missing: OpenP_CXX_FLAGS OpenMP_
-- Could NOT find OpenMP (missing: OpenMP_CXX_FOUND) (found version "4.5")
-- OpenMP NOT found
```
2. Then I began to compile, everything went fine at first, I noticed that most features were enabled:
```
-- Yade configured with following features: BoostLog RealHP mpmath PrecisionDouble MPFR VECTORIZE Odeint VTK OpenMP GTS GUI-Qt5 CGAL PFVFLOW PFVFLOW LINSOLV CHOLMOD_GPU MPI TWOPHASEFLOW SPH DEFORM FEMLIKE LIQMIGRATION GL2PS LBMFLOW MASK_ARBITRARY THERMAL PARTIALSAT PROFILING PotentialParticles PotentialBlocks
-- Disabled features:
-- Using MAX_LOG_LEVEL=5, ENABLE_LOGGER=ON
-- Optimized build
-- C++ standard version: 17
```
However, when the compiling process went to around 47%, an error occured.
```
/tmp/makepkg/
694 | pbColors-
| ^
In file included from /usr/include/
/usr/include/
214 | vtkIdType InsertNextTuple
| ^~~~~~~~~~~~~~~
/usr/include/
214 | vtkIdType InsertNextTuple
| ~~~~~~~~~~~~~^~~~~
/usr/include/
215 | vtkIdType InsertNextTuple
| ^~~~~~~~~~~~~~~
/usr/include/
215 | vtkIdType InsertNextTuple
| ~~~~~~~~~~~~~~^~~~~
/usr/include/
218 | vtkIdType InsertNextTuple
| ^~~~~~~~~~~~~~~
/usr/include/
```
I guess it is because of vtk8.2.0, `InsertNextTuple` expects 2 arguments, but the line in `trunk/
```
694 | pbColors-
```
But I don't know how to fix it.
Do you have any suggestions?
Thanks a lot!
Attachments:
1. PKGBUILD used to create yade package:
https:/
2. make log
https:/
Other information that maybe helpful:
```
gcc 10.2.0-4
vtk 8.2.0-17
cmake 3.19.3-1
linux 5.10.8.arch1-1
```
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Janek Kozicki
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hello,
You are turning too many things on unnecessarily. Please try to compile the default compilation first. Simply:
cmake -DCMAKE_
If it isnt working, uou can try disabling PotentialParticles (I sense you do not need these).
first navigate to the yade directory and clean the build folder out. Here is the safest way to do that:
rm -r build
mkdir build
then re run the cmake command including the deactivation of potentialparticles:
cmake -DCMAKE_
Cheers,
Robert
Revision history for this message
|
#2 |
Thanks for your reply, Robert.
I tried the default compilation options, with (and without) add `/usr/share/
Then, I tried to disable potentialparticles by
```
cmake -DCMAKE_
```
with and without the hack above. It also failed to compile.
And it stops at around 9%, different from previous error information.
```
[ 9%] Linking CXX shared library lib64/_gts.so
[ 9%] Built target _gts
```
the error lines are listed below and full log posted at https:/
```
In file included from /usr/include/
/usr/include/
/usr/include/
/tmp/makepkg/
/tmp/makepkg/
/tmp/makepkg/
/usr/include/
/usr/include/
49 | return static_
| ~~~~~~~
```
Revision history for this message
|
#3 |
Hi,
The error refers to boost/multiple precision numbers. Probably a version issue.
If turning off more module is a solution for you, the next ones are RealHP mpmath MPFR (maybe also precisionsDouble? unsure).
Bruno
Revision history for this message
|
#4 |
Thanks again, Bruno.
I don't know how to turn off RealHP mpmath precisionsDouble (I didn't find such options), but I did turn off MPFR, the error message is the same.
BTW, in prevoius error message, the error is about vtk, thus I turned off VTK. But I still failed to compile, because of other errors, such as redefinition and multiple definition:
```
In file included from /tmp/makepkg/
/tmp/makepkg/
5 | CREATE_
| ^
In file included from /tmp/makepkg/
/tmp/makepkg/
5 | CREATE_
|
```
```
In file included from /tmp/makepkg/
/tmp/makepkg/
52 | enum /* class */ UseFlowSolver {
| ^~~~~~~~~~~~~
In file included from /tmp/makepkg/
/tmp/makepkg/
52 | enum /* class */ UseFlowSolver {
| ^~~~~~~~~~~~~
```
And I noticed that there is a note saying that
```
/usr/include/
41 | )
|
In file included from /usr/include/
/usr/include/
14 | BOOST_HEADER_
|
```
I guess the problem is with my boost library
boost 1.75.0-2
Full log is posted at https:/
I think maybe I should wait now, thanks again for your patience and advice!
Revision history for this message
|
#5 |
>Full log is posted at https:/
Although I understand why you did this, please try to avoid using external links in this forum. The goal is longevity and index-ability. Both of which are compromised when we use external links.
Revision history for this message
|
#6 |
> -- CHUNKSIZE is set to 50
try without chunksize.
Revision history for this message
|
#7 |
About disabling RealHP, I have added an option for you, can you please try this:
https:/
and tell us if it works?
Revision history for this message
|
#8 |
To Janek,
> try without chunksize.
Thanks a lot, it works when VTK is turned off.
But when VTK is turn on (I'm using vtk 8.2.0), the no matching function error occured, maybe it will be fixed by the upstream in the future?
```
/tmp/makepkg/
694 | pbColors-
| ^
In file included from /usr/include/
/usr/include/
214 | vtkIdType InsertNextTuple
| ^~~~~~~~~~~~~~~
/usr/include/
214 | vtkIdType InsertNextTuple
| ~~~~~~~~~~~~~^~~~~
/usr/include/
215 | vtkIdType InsertNextTuple
| ^~~~~~~~~~~~~~~
/usr/include/
215 | vtkIdType InsertNextTuple
| ~~~~~~~~~~~~~~^~~~~
/usr/include/
218 | vtkIdType InsertNextTuple
| ^~~~~~~~~~~~~~~
/usr/include/
```
To Robert,
Thanks for pointing out this. I'm new here, not familiar with launchpad. I used these links just to make my post shorter, and get the codes highlighted. I also selected the save forever option on the pastebin site (so others can see it).
Well, I won't use external links in this forum in the future.
Revision history for this message
|
#9 |
Try to change this line:
https:/
into
#if ((VTK_MAJOR_VERSION <= 8) and (VTK_MINOR_VERSION < 2)) or (VTK_MAJOR_VERSION <= 7)
Revision history for this message
|
#10 |
> Try to change this line:
>
> https:/
>
> into
> #if ((VTK_MAJOR_VERSION <= 8) and (VTK_MINOR_VERSION < 2)) or (VTK_MAJOR_VERSION <= 7)
Cheers! It works! Now I can build yade-2021.01a successfully with all features enabled.
Now this question is ansered. Thanks again Janek.
Below are the hacks:
1. add system cmake module path to CMAKE_MODULE_PATH, this fixes openmp not found
https:/
```
set(CMAKE_
+ set(CMAKE_
+ set(CMAKE_
```
2. Set CHUNKSIZE=1 (default option)
3. Change this line:
https:/
```
- #if VTK_MAJOR_VERSION < 9
+ #if ((VTK_MAJOR_VERSION <= 8) and (VTK_MINOR_VERSION < 2)) or (VTK_MAJOR_VERSION <= 7)
```
Revision history for this message
|
#11 |
can you post now what prints the command
printAllVersi
and does it pass checks and tests:
yade --test
yade --checkall
Thanks!
Revision history for this message
|
#12 |
1. printAllVersions()
```
➜ ~ yade
Welcome to Yade 2021.01a
Using python version: 3.9.1 (default, Dec 13 2020, 11:55:53)
[GCC 10.2.0]
/usr/lib/
boot.
<frozen importlib.
<frozen importlib.
TCP python prompt on localhost:9000, auth cookie `eusdks'
XMLRPC info provider on http://
QSettings::value: Empty key passed
QSettings::value: Empty key passed
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
[[ ^L clears screen, ^U kills line. F12 controller, F11 3D view (press "h" in 3D view for help), F10 both, F9 generator, F8 plot. ]]
In [1]: printAllVersions()
```
Yade version : 2021.01a
Yade features : BoostLog RealHP mpmath PrecisionDouble MPFR VECTORIZE Odeint VTK OpenMP GTS GUI-Qt5 CGAL PFVFLOW PFVFLOW LINSOLV CHOLMOD_GPU MPI TWOPHASEFLOW SPH DEFORM FEMLIKE LIQMIGRATION GL2PS LBMFLOW MASK_ARBITRARY THERMAL PARTIALSAT PROFILING PotentialParticles PotentialBlocks
Yade config dir: ~/.yade
Yade precision : 53 bits, 15 decimal places, with mpmath
Yade RealHP<…> : (15, 33, 45, 60, 120, 150, 300) decimal digits in C++, (15, 33) decimal digits accessible from python
```
Libraries used :
| library | cmake | C++ |
| ------------- | -------
| boost | 1.75.0 | 1.75.0 |
| cgal | | 4.14.3 |
| clp | 1.17.6 | 1.17.6 |
| cmake | 3.19.3 | |
| coinutils | 2.11.4 | 2.11.4 |
| compiler | /usr/bin/c++ 10.2.0 | gcc 10.2.0 |
| eigen | 3.3.9 | 3.3.9 |
| freeglut | 3.0.0 | |
| gl | | 20190805 |
| ipython | 7.19.0 | |
| metis | | 5.1.0 |
| mpfr | 4.1.0 | 4.1.0 |
| mpi | 3.1 | ompi:4.0.5 |
| mpi4py | 3.0.3 | |
| mpmath | 1.1.0 | |
| openblas | | OpenBLAS 0.3.13 |
| python | 3.9.1 | 3.9.1 |
| qglviewer | | 2.7.2 |
| qt | | 5.15.2 |
| sqlite | | 3.34.0 |
| suitesparse | 5.8.1 | 5.8.1 |
| vtk | 8.2.0 | 8.2.0 |
```
Linux version : Arch Linux
Architecture : unknown
Little endian : True
```
```
2. It doesn't pass all checks and tests
```
➜ ~ yade --test
Using python version: 3.9.1 (default, Dec 13 2020, 11:55:53)
[GCC 10.2.0]
/usr/lib/
boot.
<frozen importlib.
<frozen importlib.
Using PrecisionDouble with 15 digits.
Using (15, 33) decimal digits in python. Importing mpmath
testDummySomething (yade.tests.
testDummySometh
testMatrix3 (yade.TestEigen
Math: Matrix3 operations ... ok
testQuaternion (yade.TestEigen
Math: Quaternion operations ... ok
testVector2 (yade.TestEigen
Math: Vector2 operations ... ok
testVector3 (yade.TestEigen
Math: Vector3 operations ... ok
testClassCtors (yade.TestObjec
Core: correct types are instantiated ... ok
testDispatcherCtor (yade.TestObjec
Core: dispatcher ctors with functors ... ok
testHidden (yade.TestObjec
Core: Attr::hidden ... ok
testInteraction
Core: InteractionLoop special ctor ... ok
testInvalidAttr (yade.TestObjec
Core: invalid attribute access raises AttributeError ... ok
testNoSave (yade.TestObjec
Core: Attr::noSave ... ok
testParallelEng
Core: ParallelEngine special ctor ... ok
testRootDerived
Core: class ctor's attributes ... ok
testTriggerPostLoad (yade.TestObjec
Core: Attr::triggerPo
testWrongFuncto
Core: dispatcher and functor type mismatch is detected ... ok
testErase (yade.TestBodies)
Bodies: erased bodies are None in python ... ok
testErasedAndNe
Bodies: The bug is described in LP:1001194. If the new body was created after deletion of previous, it has no bounding box ... ok
testErasedIterate (yade.TestBodies)
Bodies: Iterator silently skips erased ones ... ok
testIterate (yade.TestBodies)
Bodies: Iteration ... ok
testLen (yade.TestBodies)
Bodies: len(O.bodies) ... ok
testNegativeIndex (yade.TestBodies)
Bodies: Negative index counts backwards (like python sequences). ... ok
testSaveAllClasses (yade.TestIO)
I/O: All classes can be saved and loaded with boost::
[asustx:310005] Signal: Segmentation fault (11)
[asustx:310005] Signal code: (128)
[asustx:310005] Failing at address: (nil)
[asustx:310005] [ 0] /usr/lib/
[asustx:310005] [ 1] /usr/lib/
[asustx:310005] [ 2] /usr/lib/
[asustx:310005] [ 3] /usr/lib/
[asustx:310005] [ 4] /usr/lib/
[asustx:310005] [ 5] /usr/lib/
[asustx:310005] [ 6] /usr/lib/
[asustx:310005] [ 7] /usr/lib/
[asustx:310005] [ 8] /usr/lib/
[asustx:310005] [ 9] /usr/lib/
[asustx:310005] [10] /usr/lib/
[asustx:310005] [11] /usr/lib/
[asustx:310005] [12] /usr/lib/
[asustx:310005] [13] /usr/lib/
[asustx:310005] [14] /usr/lib/
[asustx:310005] [15] /usr/lib/
[asustx:310005] [16] /usr/lib/
[asustx:310005] [17] /usr/lib/
[asustx:310005] [18] /usr/lib/
[asustx:310005] [19] /usr/lib/
[asustx:310005] [20] /usr/lib/
[asustx:310005] [21] /usr/lib/
[asustx:310005] [22] /usr/lib/
[asustx:310005] [23] /usr/lib/
[asustx:310005] [24] /usr/lib/
[asustx:310005] [25] /usr/lib/
[asustx:310005] [26] /usr/lib/
[asustx:310005] [27] /usr/lib/
[asustx:310005] [28] /usr/lib/
[asustx:310005] [29] /usr/lib/
[asustx:310005] *** End of error message ***
[1] 310005 segmentation fault (core dumped) yade --test
```
3. yade --checkall
```
➜ ~ yade --checkall
Welcome to Yade 2021.01a
Using python version: 3.9.1 (default, Dec 13 2020, 11:55:53)
[GCC 10.2.0]
/usr/lib/
boot.
<frozen importlib.
<frozen importlib.
#######
running: checkViscElPM.py
Status: success, time spent on this check: 0:00:00.227513
_______
#######
running: checkPolyhedraC
CGAL version is (4, 14, 3) . Will test for (cgal version > 4.9) and (cgal version < 5.1.1)
<WARNING> PolyhedraSplitt
Checkpoint: force values and number of bodies are OK! Iteration 166
Status: success, time spent on this check: 0:00:00.146425
_______
#######
running: checkMPI4PYcomm.py
Master: will spawn 1 workers running: /usr/bin/yade ['/usr/
/usr/lib/
boot.
<frozen importlib.
<frozen importlib.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Worker1: spawned!
____ MPI comm times: ____
1e4 integers in a python list: 0.0011192798614
1e4 integers in a python array: 0.0001410245895
Status: success, time spent on this check: 0:00:00.869561
_______
#######
running: checkAvoidSelfI
testing collider.
0 bb br gg gr rr
1 bb br gr
2 br gg gr
3 br gr
Status: success, time spent on this check: 0:00:00.008245
_______
#######
running: checkPotentialV
checking file: /tmp/tmpdbau6n5
checking file: /tmp/tmpdbau6n5
checking file: /tmp/tmpdbau6n5
checking file: /tmp/tmpdbau6n5
non-matching lines: 0
checking file: /tmp/tmpdbau6n5
checkPotential
#######
running: checkViscElPM2.py
Status: success, time spent on this check: 0:00:00.202520
_______
#######
running: check_TwoPhaseF
/usr/lib/
The 'verts' parameter of scatter() was deprecated in Matplotlib 3.2 and will be removed two minor releases later. If any parameter follows 'verts', they should be passed as keyword, not positionally.
scatter=
File ./vtk moved into /tmp/tmp68m2j0jl/ directory
File ./Test.txt moved into /tmp/tmp68m2j0jl/ directory
Status: success, time spent on this check: 0:00:04.922176
_______
#######
running: checkVTKRecorder.py
checkVTKRecorder
checking file: /tmp/tmpqlokk94
checking file: /tmp/tmpqlokk94
checking file: /tmp/tmpqlokk94
non-matching lines: 114
Status: success, time spent on this check: 0:00:00.061631
_______
#######
running: checkTestDummy.py
checkTest mechanism
Status: success, time spent on this check: 0:00:00.001004
_______
#######
Skipping checkMPISilo.py, because it is in skipScripts.
#######
running: checkLubrication.py
Status: success, time spent on this check: 0:00:01.726180
_______
#######
running: checkLubricatio
Status: success, time spent on this check: 0:00:01.767818
_______
#######
running: checkMPYcomm.py
Master: will spawn 9 workers running: /usr/bin/yade ['/usr/
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
<frozen importlib.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
<frozen importlib.
<frozen importlib.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
<frozen importlib.
<frozen importlib.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
[asustx:310193] *** Process received signal ***
[asustx:310193] Signal: Segmentation fault (11)
[asustx:310193] Signal code: (128)
[asustx:310193] Failing at address: (nil)
[asustx:310193] [ 0] /usr/lib/
[asustx:310193] [ 1] /usr/lib/
[asustx:310193] [ 2] /usr/lib/
[asustx:310193] [ 3] /usr/lib/
[asustx:310193] [ 4] /usr/lib/
[asustx:310193] [ 5] /usr/lib/
[asustx:310193] [ 6] /usr/lib/
[asustx:310193] [ 7] /usr/lib/
[asustx:310193] [ 8] /usr/lib/
[asustx:310193] [ 9] /usr/lib/
[asustx:310193] [10] /usr/lib/
[asustx:310193] [11] /usr/lib/
[asustx:310193] [12] /usr/lib/
[asustx:310193] [13] /usr/lib/
[asustx:310193] [14] /usr/lib/
[asustx:310193] [15] /usr/lib/
[asustx:310193] [16] /usr/lib/
[asustx:310193] [17] /usr/lib/
[asustx:310193] [18] /usr/lib/
[asustx:310193] [19] /usr/lib/
[asustx:310193] [20] /usr/lib/
[asustx:310193] [21] /usr/lib/
[asustx:310193] [22] /usr/lib/
[asustx:310193] [23] /usr/lib/
[asustx:310193] [24] /usr/lib/
[asustx:310193] [25] /usr/lib/
[asustx:310193] [26] /usr/lib/
[asustx:310193] [27] /usr/lib/
[asustx:310193] [28] /usr/lib/
[asustx:310193] [29] /usr/lib/
[asustx:310193] *** End of error message ***
[1] 310193 segmentation fault (core dumped) yade --checkall
```
Revision history for this message
|
#13 |
> [asustx:310193] Signal: Segmentation fault (11)
> [asustx:310193] Signal code: (128)
> [asustx:310193] Failing at address: (nil)
> [asustx:310193] [ 0] /usr/lib/
It could be a compiler bug in the memory alignment of variables. In this case VECTORIZE=OFF (not using SSE instructions) would solve this. This is the reason why SSE is not enabled by default. It is still experimental.
If this does not help then maybe cmake linked with a wrong version of some library. Maybe check if you get these crashes when ENABLE_OPENMP=OFF or ENABLE_MPI=OFF, because cmake had problems finding one of these.
> Warning: freeglut versions higher than 2.8.1 are known to crash
We still have no fix for that. When you open GUI and the 3D view of the scene, it will crash.
Revision history for this message
|
#14 |
Thanks a lot!
I re-complied with VECTORIZE=OFF and ran all tests and checks again.
All tests passed, but one check failed.
```
checkPotentialV
```
I then wen to the directory. Not that there's no file named `pbcontactPoint
```
➜ yade git:(master) ✗ cd /usr/lib/
➜ ver8.2 ll
total 52K
-rw-r--r-- 1 root root 38K Jan 21 00:09 pp-pb.10.vtp
-rw-r--r-- 1 root root 1.4K Jan 21 00:09 ppId.10.vtu
-rw-r--r-- 1 root root 2.2K Jan 21 00:09 ppcontactPoint.
-rw-r--r-- 1 root root 2.8K Jan 21 00:09 ppvel.10.vtu
```
------
Below are the output of printAllVersions, tests and checks
```
➜ yade git:(master) ✗ yade
Welcome to Yade 2021.01a
Using python version: 3.9.1 (default, Dec 13 2020, 11:55:53)
[GCC 10.2.0]
/usr/lib/
boot.
TCP python prompt on localhost:9000, auth cookie `esdcsk'
XMLRPC info provider on http://
QSettings::value: Empty key passed
QSettings::value: Empty key passed
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
[[ ^L clears screen, ^U kills line. F12 controller, F11 3D view (press "h" in 3D view for help), F10 both, F9 generator, F8 plot. ]]
In [1]: printAllVersions()
```
Yade version : 2021.01a
Yade features : BoostLog RealHP mpmath PrecisionDouble MPFR Odeint VTK OpenMP GTS GUI-Qt5 CGAL PFVFLOW PFVFLOW LINSOLV CHOLMOD_GPU MPI TWOPHASEFLOW SPH DEFORM FEMLIKE LIQMIGRATION GL2PS LBMFLOW MASK_ARBITRARY THERMAL PARTIALSAT PROFILING PotentialParticles PotentialBlocks
Yade config dir: ~/.yade
Yade precision : 53 bits, 15 decimal places, with mpmath
Yade RealHP<…> : (15, 33, 45, 60, 120, 150, 300) decimal digits in C++, (15, 33) decimal digits accessible from python
```
Libraries used :
| library | cmake | C++ |
| ------------- | -------
| boost | 1.75.0 | 1.75.0 |
| cgal | | 4.14.3 |
| clp | 1.17.6 | 1.17.6 |
| cmake | 3.19.3 | |
| coinutils | 2.11.4 | 2.11.4 |
| compiler | /usr/bin/c++ 10.2.0 | gcc 10.2.0 |
| eigen | 3.3.9 | 3.3.9 |
| freeglut | 3.0.0 | |
| gl | | 20190805 |
| ipython | 7.19.0 | |
| metis | | 5.1.0 |
| mpfr | 4.1.0 | 4.1.0 |
| mpi | 3.1 | ompi:4.0.5 |
| mpi4py | 3.0.3 | |
| mpmath | 1.1.0 | |
| openblas | | OpenBLAS 0.3.13 |
| python | 3.9.1 | 3.9.1 |
| qglviewer | | 2.7.2 |
| qt | | 5.15.2 |
| sqlite | | 3.34.0 |
| suitesparse | 5.8.1 | 5.8.1 |
| vtk | 8.2.0 | 8.2.0 |
```
Linux version : Arch Linux
Architecture : unknown
Little endian : True
```
```
```
➜ yade git:(master) ✗ yade --test
Using python version: 3.9.1 (default, Dec 13 2020, 11:55:53)
[GCC 10.2.0]
/usr/lib/
boot.
Using PrecisionDouble with 15 digits.
Using (15, 33) decimal digits in python. Importing mpmath
testDummySomething (yade.tests.
testDummySometh
testMatrix3 (yade.TestEigen
Math: Matrix3 operations ... ok
testQuaternion (yade.TestEigen
Math: Quaternion operations ... ok
testVector2 (yade.TestEigen
Math: Vector2 operations ... ok
testVector3 (yade.TestEigen
Math: Vector3 operations ... ok
testClassCtors (yade.TestObjec
Core: correct types are instantiated ... ok
testDispatcherCtor (yade.TestObjec
Core: dispatcher ctors with functors ... ok
testHidden (yade.TestObjec
Core: Attr::hidden ... ok
testInteraction
Core: InteractionLoop special ctor ... ok
testInvalidAttr (yade.TestObjec
Core: invalid attribute access raises AttributeError ... ok
testNoSave (yade.TestObjec
Core: Attr::noSave ... ok
testParallelEng
Core: ParallelEngine special ctor ... ok
testRootDerived
Core: class ctor's attributes ... ok
testTriggerPostLoad (yade.TestObjec
Core: Attr::triggerPo
testWrongFuncto
Core: dispatcher and functor type mismatch is detected ... ok
testErase (yade.TestBodies)
Bodies: erased bodies are None in python ... ok
testErasedAndNe
Bodies: The bug is described in LP:1001194. If the new body was created after deletion of previous, it has no bounding box ... ok
testErasedIterate (yade.TestBodies)
Bodies: Iterator silently skips erased ones ... ok
testIterate (yade.TestBodies)
Bodies: Iteration ... ok
testLen (yade.TestBodies)
Bodies: len(O.bodies) ... ok
testNegativeIndex (yade.TestBodies)
Bodies: Negative index counts backwards (like python sequences). ... ok
testSaveAllClasses (yade.TestIO)
I/O: All classes can be saved and loaded with boost::
ok
testEraseBodies
testDead (yade.TestLoop)
Loop: dead engines are not run ... ok
testEnginesModi
Loop: O.engines can be modified inside the loop transparently. ... ok
testSubstepping (yade.TestLoop)
Loop: substepping ... ok
testMatchMakerC
testMaterialRet
Material+State: CpmMat returns CpmState when asked for newAssocState ... ok
testThrowsAtBad
Material+State: throws when body has material and state that don't work together. ... ok
testThrowsAtNul
Material+State: throws when body has material but NULL state. ... ok
testAccess (yade.TestMater
Material: find by index or label; KeyError raised for invalid label. ... ok
testIterate (yade.TestMater
Material: iteration over O.materials ... ok
testLen (yade.TestMater
Material: len(O.materials) ... ok
testNegativeIndex (yade.TestMater
Material: negative index counts backwards. ... ok
testShared (yade.TestMater
Material: shared_ptr's makes change in material immediate everywhere ... ok
testSharedAfter
Material: shared_ptr's are preserved when saving/loading ... ok
testMissingFunction (yade.TestPyRunner) ... Entered the initialization functionTraceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'missingFunction' is not defined
<FATAL ERROR> ThreadRunner:35 void yade::ThreadRun
PyRunner error.
COMMAND: 'missingFunction()'
ERROR:
name 'missingFunction' is not defined
STACK TRACE:
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'missingFunction' is not defined
<ERROR> yadeWrapper.
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'missingFunction' is not defined
<FATAL ERROR> ThreadRunner:35 void yade::ThreadRun
PyRunner error.
COMMAND: 'missingFunction()'
ERROR:
name 'missingFunction' is not defined
STACK TRACE:
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'missingFunction' is not defined
<ERROR> yadeWrapper.
ok
testPythonToCpp
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
O.switchSce
RuntimeError: Please call O.stop() first.
<FATAL ERROR> ThreadRunner:35 void yade::ThreadRun
PyRunner error.
COMMAND: 'from yade import pack;pred=
ERROR:
Please call O.stop() first.
STACK TRACE:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
O.switchSce
RuntimeError: Please call O.stop() first.
<ERROR> yadeWrapper.
No suitable packing in database found, running PERIODIC compression
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
O.switchSce
RuntimeError: Please call O.stop() first.
<FATAL ERROR> ThreadRunner:35 void yade::ThreadRun
PyRunner error.
COMMAND: 'from yade import pack;pred=
ERROR:
Please call O.stop() first.
STACK TRACE:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
O.switchSce
RuntimeError: Please call O.stop() first.
<ERROR> yadeWrapper.
ok
testRaisingFunction (yade.TestPyRunner) ... Traceback (most recent call last):
File "<string>", line 1, in <module>
RuntimeError: raised RuntimeError
<FATAL ERROR> ThreadRunner:35 void yade::ThreadRun
PyRunner error.
COMMAND: 'raise RuntimeError(
ERROR:
raised RuntimeError
STACK TRACE:
Traceback (most recent call last):
File "<string>", line 1, in <module>
RuntimeError: raised RuntimeError
<ERROR> yadeWrapper.
Traceback (most recent call last):
File "<string>", line 1, in <module>
RuntimeError: raised RuntimeError
<FATAL ERROR> ThreadRunner:35 void yade::ThreadRun
PyRunner error.
COMMAND: 'raise RuntimeError(
ERROR:
raised RuntimeError
STACK TRACE:
Traceback (most recent call last):
File "<string>", line 1, in <module>
RuntimeError: raised RuntimeError
<ERROR> yadeWrapper.
ok
testDegenerate (yade.TestPBC)
PBC: degenerate cell raises exception ... ok
testHomotheticR
PBC: homothetic cell deformation adjusts particle velocity ... ok
testKineticEnergy (yade.TestPBC)
PBC: utils.kineticEnergy considers only fluctuation velocity, not the velocity gradient ... ok
testL3GeomIncid
PBC: L3Geom computes incident velocity correctly ... ok
testScGeomIncid
PBC: ScGeom computes incident velocity correctly ... ok
testSetBox (yade.TestPBC)
PBC: setBox modifies hSize correctly ... ok
testTrsfChange (yade.TestPBC)
PBC: chaing trsf changes hSize0, but does not modify hSize ... ok
testVelGrad (yade.TestPBC)
PBC: velGrad changes hSize, accumulates in trsf ... ok
testConsistency (yade.TestSimpl
Clump: ids and flags consistency ... ok
testStaticPrope
Clump: mass, centroid, intertia ... ok
testVelocity (yade.TestSimpl
Clump: velocities of member assigned by NewtonIntegrator ... ok
testMotion (yade.tests.
CohesiveChain: velocity/positions tested in transient dynamics and equilibrium state ... /usr/lib/
warnings.
ok
testKinematicEn
Engines: kinematic engines ... ok
testLabels (yade.TestLabel
testUserCreated
testLibVersions (yade.tests.
C++ versions: {'compiler': [(10, 2, 0), 'gcc 10.2.0'], 'boost': [(1, 75, 0), '1.75.0'], 'qt': [(5, 15, 2), '5.15.2'], 'gl': [(2019, 8, 5), '20190805'], 'qglviewer': [(2, 7, 2), '2.7.2'], 'python': [(3, 9, 1), '3.9.1'], 'eigen': [(3, 3, 9), '3.3.9'], 'sqlite': [(3, 34, 0), '3.34.0'], 'vtk': [(8, 2, 0), '8.2.0'], 'cgal': [(4, 14, 3), '4.14.3'], 'suitesparse': [(5, 8, 1), '5.8.1'], 'openblas': [(0, 0, 0), ' OpenBLAS 0.3.13 '], 'metis': [(5, 1, 0), '5.1.0'], 'mpi': [(4, 0, 5), 'ompi:4.0.5'], 'clp': [(1, 17, 6), '1.17.6'], 'coinutils': [(2, 11, 4), '2.11.4'], 'mpfr': [(4, 1, 0), '4.1.0']}
Yade version : 2021.01a
Yade features : BoostLog RealHP mpmath PrecisionDouble MPFR Odeint VTK OpenMP GTS GUI-Qt5 CGAL PFVFLOW PFVFLOW LINSOLV CHOLMOD_GPU MPI TWOPHASEFLOW SPH DEFORM FEMLIKE LIQMIGRATION GL2PS LBMFLOW MASK_ARBITRARY THERMAL PARTIALSAT PROFILING PotentialParticles PotentialBlocks
Yade config dir: ~/.yade
Yade precision : 53 bits, 15 decimal places, with mpmath
Yade RealHP<…> : (15, 33, 45, 60, 120, 150, 300) decimal digits in C++, (15, 33) decimal digits accessible from python
Libraries used :
+------
| library | cmake | C++ |
+======
| boost | 1.75.0 | 1.75.0 |
+------
| cgal | | 4.14.3 |
+------
| clp | 1.17.6 | 1.17.6 |
+------
| cmake | 3.19.3 | |
+------
| coinutils | 2.11.4 | 2.11.4 |
+------
| compiler | /usr/bin/c++ 10.2.0 | gcc 10.2.0 |
+------
| eigen | 3.3.9 | 3.3.9 |
+------
| freeglut | 3.0.0 | |
+------
| gl | | 20190805 |
+------
| ipython | 7.19.0 | |
+------
| metis | | 5.1.0 |
+------
| mpfr | 4.1.0 | 4.1.0 |
+------
| mpi | 3.1 | ompi:4.0.5 |
+------
| mpi4py | 3.0.3 | |
+------
| mpmath | 1.1.0 | |
+------
| openblas | | OpenBLAS 0.3.13 |
+------
| python | 3.9.1 | 3.9.1 |
+------
| qglviewer | | 2.7.2 |
+------
| qt | | 5.15.2 |
+------
| sqlite | | 3.34.0 |
+------
| suitesparse | 5.8.1 | 5.8.1 |
+------
| vtk | 8.2.0 | 8.2.0 |
+------
Linux version : Arch Linux
Architecture : unknown
Little endian : True
```
Yade version : 2021.01a
Yade features : BoostLog RealHP mpmath PrecisionDouble MPFR Odeint VTK OpenMP GTS GUI-Qt5 CGAL PFVFLOW PFVFLOW LINSOLV CHOLMOD_GPU MPI TWOPHASEFLOW SPH DEFORM FEMLIKE LIQMIGRATION GL2PS LBMFLOW MASK_ARBITRARY THERMAL PARTIALSAT PROFILING PotentialParticles PotentialBlocks
Yade config dir: ~/.yade
Yade precision : 53 bits, 15 decimal places, with mpmath
Yade RealHP<…> : (15, 33, 45, 60, 120, 150, 300) decimal digits in C++, (15, 33) decimal digits accessible from python
```
Libraries used :
| library | cmake | C++ |
| ------------- | -------
| boost | 1.75.0 | 1.75.0 |
| cgal | | 4.14.3 |
| clp | 1.17.6 | 1.17.6 |
| cmake | 3.19.3 | |
| coinutils | 2.11.4 | 2.11.4 |
| compiler | /usr/bin/c++ 10.2.0 | gcc 10.2.0 |
| eigen | 3.3.9 | 3.3.9 |
| freeglut | 3.0.0 | |
| gl | | 20190805 |
| ipython | 7.19.0 | |
| metis | | 5.1.0 |
| mpfr | 4.1.0 | 4.1.0 |
| mpi | 3.1 | ompi:4.0.5 |
| mpi4py | 3.0.3 | |
| mpmath | 1.1.0 | |
| openblas | | OpenBLAS 0.3.13 |
| python | 3.9.1 | 3.9.1 |
| qglviewer | | 2.7.2 |
| qt | | 5.15.2 |
| sqlite | | 3.34.0 |
| suitesparse | 5.8.1 | 5.8.1 |
| vtk | 8.2.0 | 8.2.0 |
```
Linux version : Arch Linux
Architecture : unknown
Little endian : True
```
compiler version reported by by cmake is [(10, 2, 0), '/usr/bin/c++ 10.2.0'] and by C++ is [(10, 2, 0), 'gcc 10.2.0']
boost version reported by by cmake is [(1, 75, 0), '1.75.0'] and by C++ is [(1, 75, 0), '1.75.0']
python version reported by by cmake is [(3, 9, 1), '3.9.1'] and by C++ is [(3, 9, 1), '3.9.1']
eigen version reported by by cmake is [(3, 3, 9), '3.3.9'] and by C++ is [(3, 3, 9), '3.3.9']
vtk version reported by by cmake is [(8, 2, 0), '8.2.0'] and by C++ is [(8, 2, 0), '8.2.0']
suitesparse version reported by by cmake is [(5, 8, 1), '5.8.1'] and by C++ is [(5, 8, 1), '5.8.1']
mpi version reported by by cmake is [(3, 1, 0), '3.1'] and by C++ is [(4, 0, 5), 'ompi:4.0.5']
Warning: mpi versions are different, CMAKE: (3, 1, 0) vs. C++: (4, 0, 5)
Something suspicious is going on. Can you help with file py/libVersions.
clp version reported by by cmake is [(1, 17, 6), '1.17.6'] and by C++ is [(1, 17, 6), '1.17.6']
coinutils version reported by by cmake is [(2, 11, 4), '2.11.4'] and by C++ is [(2, 11, 4), '2.11.4']
mpfr version reported by by cmake is [(4, 1, 0), '4.1.0'] and by C++ is [(4, 1, 0), '4.1.0']
ok
testMatrix3Test (yade.tests.
testMatrix3cTest (yade.tests.
testMpmath (yade.tests.
testQuaternion (yade.tests.
testVector2 (yade.tests.
testVector2c (yade.tests.
testVector2i (yade.tests.
testVector3 (yade.tests.
testVector3c (yade.tests.
testVector3i (yade.tests.
testVector3na (yade.tests.
testVector4 (yade.tests.
testArray (yade.tests.
<NOFILTER> :187 void yade::testArray() [with int N = 1]: sizeof float in bytes: 4
<NOFILTER> :188 void yade::testArray() [with int N = 1]: sizeof double in bytes: 8
<NOFILTER> :189 void yade::testArray() [with int N = 1]: sizeof long double in bytes: 16
<NOFILTER> :204 void yade::testArray() [with int N = 1]: calling testLoopRealHP()
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :184 void yade::testArray() [with int N = 1]: sizeof RealHP<1> in bytes: 8
<NOFILTER> :187 void yade::testArray() [with int N = 1]: sizeof float in bytes: 4
<NOFILTER> :188 void yade::testArray() [with int N = 1]: sizeof double in bytes: 8
<NOFILTER> :189 void yade::testArray() [with int N = 1]: sizeof long double in bytes: 16
<NOFILTER> :204 void yade::testArray() [with int N = 1]: calling testLoopRealHP()
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :184 void yade::testArray() [with int N = 2]: sizeof RealHP<2> in bytes: 16
<NOFILTER> :187 void yade::testArray() [with int N = 2]: sizeof float in bytes: 4
<NOFILTER> :188 void yade::testArray() [with int N = 2]: sizeof double in bytes: 8
<NOFILTER> :189 void yade::testArray() [with int N = 2]: sizeof long double in bytes: 16
<NOFILTER> :204 void yade::testArray() [with int N = 2]: calling testLoopRealHP()
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
ok
testBasicHP (yade.tests.
testBasicVariable (yade.tests.
testCgalNumTraits (yade.tests.
sqrt : 0.7071067811865476
ok
testConstants (yade.tests.
<NOFILTER> :165 void yade::testConst
<NOFILTER> :165 void yade::testConst
ok
testEigenCost (yade.tests.
testInfinityNaN (yade.tests.
testMathFunctions (yade.tests.
HPn.Euler() 0.5772156649015329 N= 1 MPn.euler = 0.5772156649015329
euler : 0.5772156649015329
logE2 : 0.6931471805599453
catalan : 0.915965594177219
sin : -0.8508827905700432
sinh : 1.2375852132752518
cos : -0.5253555716957192
cosh : 1.5911056407786226
tan : 1.619632181350246
tanh : 0.7778146098895282
abs : 1.039814008884047
acos : 1.5309717918361057
acosh : 1.339645391459728
asin : 0.03982453495879099
asinh : 0.9092480099645157
atan : 0.8049141358764261
atanh : 0.0398350660441
cbrt : 1.0130990032167873
exp : 2.8286908540538747
sqrt : 1.019712708994081
exp2 : 2.0559625831384816
expm1 : 1.8286908540538744
lgamma : -0.021702159657
tgamma : 0.9785316378514479
erf : 0.8585787762995714
erfc : 0.1414212237004287
log : 0.03904185954844715
log10 : 0.01695566416513238
log1p : 0.7128586315840377
log2 : 0.05632549715762812
fabs : 1.039814008884047
frexp : 1.039814008884047
modf : 0.03981400888404707
pow : 1.081213173071513
csin : (6692369.
csinh : (-0.81696870126
ccos : (3930009.
ccosh : (-1.05033859081
ctan : (7.249493367025
ctanh : (1.000883585237
cexp : (-1.86730729207
clog : (2.808823231617
cabs : 16.590383688254317
cconj : (1.039814008884
creal : 1.039814008884047
cimag : -16.557766085750316
atan2 : 3.0788758407333865
fmod : 1.039814008884047
hypot : 16.590383688254317
max : 1.039814008884047
min : -16.557766085750316
remainder : 1.039814008884047
remquo : 1.039814008884047
ldexp : 1.5866302625794
fma : -29.52844329201143
HPn.Euler() 0.5772156649015329 N= 1 MPn.euler = 0.5772156649015329
pi : mpf('3.
HPn.Euler() 0.5772156649015
euler : mpf('0.
logE2 : mpf('0.
catalan : mpf('0.
sin : mpf('0.
sinh : mpf('-2830113.
cos : mpf('0.
cosh : mpf('2830113.
tan : mpf('0.
tanh : mpf('-0.
abs : mpf('15.
acos : mpf('1.
acosh : mpf('3.
asin : mpf('0.
asinh : mpf('-3.
atan : mpf('-1.
atanh : mpf('0.
cbrt : mpf('2.
exp : mpf('0.
sqrt : mpf('3.
exp2 : mpf('0.
expm1 : mpf('-0.
lgamma : mpf('2.
tgamma : mpf('10.
erf : mpf('-1.0')
erfc : mpf('2.0')
log : mpf('2.
log10 : mpf('1.
log1p : mpf('2.
log2 : mpf('3.
fabs : mpf('15.
frexp : mpf('15.
modf : mpf('0.
pow : mpf('241.
csin : mpc(real=
csinh : mpc(real=
ccos : mpc(real=
ccosh : mpc(real=
ctan : mpc(real=
ctanh : mpc(real=
cexp : mpc(real=
clog : mpc(real=
cabs : mpf('16.
cconj : mpc(real=
creal : mpf('-15.
cimag : mpf('-5.
atan2 : mpf('-1.
fmod : mpf('4.
hypot : mpf('16.
max : mpf('-5.
min : mpf('-15.
remainder : mpf('-1.
remquo : mpf('-1.
ldexp : mpf('-0.
fma : mpf('89.
ok
testRealHPDiagn
testRealHPErrors (yade.tests.
ok
testWrongInput (yade.tests.
testAssignment (yade.tests.
testException (yade.tests.
Here it must throw two exceptions:
<ERROR> ArbitraryEnum_
<ERROR> ArbitraryEnum_
ok
SpherePack_
Doctest: yade.pack.
addAutoData (yade.plot)
Doctest: yade.plot.
addData (yade.plot)
Doctest: yade.plot.addData ... ok
plot (yade.plot)
Doctest: yade.plot.plot ... /usr/lib/
The 'verts' parameter of scatter() was deprecated in Matplotlib 3.2 and will be removed two minor releases later. If any parameter follows 'verts', they should be passed as keyword, not positionally.
scatter=
ok
saveDataTxt (yade.plot)
Doctest: yade.plot.
SpherePWaveTimeStep (yade.utils)
Doctest: yade.utils.
saveVars (yade.utils)
Doctest: yade.utils.saveVars ... ok
sphere (yade.utils)
Doctest: yade.utils.sphere ... ok
typedEngine (yade.utils)
Doctest: yade.utils.
-------
Ran 90 tests in 3.582s
OK
*** ALL TESTS PASSED ***
```
```
➜ yade git:(master) ✗ yade --checkall
Welcome to Yade 2021.01a
Using python version: 3.9.1 (default, Dec 13 2020, 11:55:53)
[GCC 10.2.0]
/usr/lib/
boot.
#######
running: checkViscElPM.py
Status: success, time spent on this check: 0:00:00.215001
_______
#######
running: checkPolyhedraC
CGAL version is (4, 14, 3) . Will test for (cgal version > 4.9) and (cgal version < 5.1.1)
<WARNING> PolyhedraSplitt
Checkpoint: force values and number of bodies are OK! Iteration 166
Status: success, time spent on this check: 0:00:00.106797
_______
#######
running: checkMPI4PYcomm.py
Master: will spawn 1 workers running: /usr/bin/yade ['/usr/
/usr/lib/
boot.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Worker1: spawned!
____ MPI comm times: ____
1e4 integers in a python list: 0.0009484767913
1e4 integers in a python array: 0.00018463134765625
Status: success, time spent on this check: 0:00:00.866693
_______
#######
running: checkAvoidSelfI
testing collider.
0 bb br gg gr rr
1 bb br gr
2 br gg gr
3 br gr
Status: success, time spent on this check: 0:00:00.005688
_______
#######
running: checkPotentialV
checking file: /tmp/tmp9q6r6xi
checking file: /tmp/tmp9q6r6xi
checking file: /tmp/tmp9q6r6xi
checking file: /tmp/tmp9q6r6xi
non-matching lines: 0
checking file: /tmp/tmp9q6r6xi
checkPotential
#######
running: checkViscElPM2.py
Status: success, time spent on this check: 0:00:00.203857
_______
#######
running: check_TwoPhaseF
/usr/lib/
The 'verts' parameter of scatter() was deprecated in Matplotlib 3.2 and will be removed two minor releases later. If any parameter follows 'verts', they should be passed as keyword, not positionally.
scatter=
File ./vtk moved into /tmp/tmpi9ossa_6/ directory
File ./Test.txt moved into /tmp/tmpi9ossa_6/ directory
Status: success, time spent on this check: 0:00:04.910636
_______
#######
running: checkVTKRecorder.py
checkVTKRecorder
checking file: /tmp/tmpa4ydgbi
checking file: /tmp/tmpa4ydgbi
checking file: /tmp/tmpa4ydgbi
non-matching lines: 113
Status: success, time spent on this check: 0:00:00.063908
_______
#######
running: checkTestDummy.py
checkTest mechanism
Status: success, time spent on this check: 0:00:00.001409
_______
#######
Skipping checkMPISilo.py, because it is in skipScripts.
#######
running: checkLubrication.py
Status: success, time spent on this check: 0:00:01.685401
_______
#######
running: checkLubricatio
Status: success, time spent on this check: 0:00:01.686242
_______
#######
running: checkMPYcomm.py
Master: will spawn 9 workers running: /usr/bin/yade ['/usr/
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Master: will spawn 7 workers running: /usr/bin/yade ['/usr/
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Master: MPYcomm disconnect
Status: success, time spent on this check: 0:00:01.950208
_______
#######
Skipping checkList.py, because it is in skipScripts.
#######
running: checkWirePM.py
Status: success, time spent on this check: 0:00:18.645350
_______
#######
running: checkDEM-
File ./vtk moved into /tmp/tmpqnowg1j8/ directory
File ./Test.txt moved into /tmp/tmpqnowg1j8/ directory
Status: success, time spent on this check: 0:00:36.676841
_______
#######
running: checkColliderCo
checkColliderCo
Status: success, time spent on this check: 0:00:04.174030
_______
#######
running: checkSaveLoadCl
Kinetic energy OK 1.170863E-09
Kinetic energy OK 1.115568E-01
Kinetic energy OK 1.115785E-01
Kinetic energy OK 1.137640E-01
Status: success, time spent on this check: 0:01:21.928790
_______
#######
running: DEM-PFV-check.py
DEM-PFV: difference in permeability: 0.0440738048958
DEM-PFV: difference in final pressure: 612.681692169412 vs. target 628.314160434
DEM-PFV: difference in final deformation -0.002676702421
Status: success, time spent on this check: 0:00:13.519529
_______
#######
running: checkLiquidMigr
Status: success, time spent on this check: 0:00:00.162969
_______
#######
running: checkMPI.py
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Status: success, time spent on this check: 0:00:03.574862
_______
#######
running: checkGravityRun
checkGravityRun
Note: for high precision calculations use yade.math.
g = yade.math.
g = -9.81 ## produces: -9.81
See https:/
<WARNING> GravityEngine:24 virtual void yade::GravityEn
Status: success, time spent on this check: 0:00:00.082296
_______
#######
running: checkGravity.py
Status: success, time spent on this check: 0:00:03.292247
_______
#######
running: checkColliderCo
checkColliderCo
Status: success, time spent on this check: 0:00:00.386369
_______
#######
running: checkWeight.py
Precalculated weight 756.093387
Obtained weight 756.093387
Status: success, time spent on this check: 0:00:00.126300
_______
#######
running: checkTestTriax.py
File ./checkTest.yade moved into /tmp/tmpyfnvko82/ directory
File ./_Unloaded_
File ./_Unloaded_
File ./WallStresses moved into /tmp/tmpyfnvko82/ directory
Status: success, time spent on this check: 0:00:00.210728
_______
#######
running: checkClumpHopper.py
Iter 10000: Total number of generated spheres 1448, removed particles 0, current particles 1448, kinEnergy 13755.3
Iter 20000: Total number of generated spheres 2896, removed particles 100, current particles 2796, kinEnergy 32685.4
Iter 30000: Total number of generated spheres 3620, removed particles 484, current particles 3136, kinEnergy 24374.8
Iter 40000: Total number of generated spheres 5068, removed particles 934, current particles 4134, kinEnergy 22952.1
Status: success, time spent on this check: 0:01:34.992983
_______
#######
running: checkBlockGen.py
Adding slavesThe Block Generation is completed
/usr/lib/
sumVertices = sum( len(b.shape.
/usr/lib/
a = sum(len(b.shape.a) for b in O.bodies )
/usr/lib/
b = sum(len(b.shape.b) for b in O.bodies )
/usr/lib/
c = sum(len(b.shape.c) for b in O.bodies )
/usr/lib/
d = sum(len(b.shape.d) for b in O.bodies )
/usr/lib/
sumVolume = sum( b.shape.volume for b in O.bodies )
/usr/lib/
sumMass = sum (b.state.mass for b in O.bodies)
/usr/lib/
x = sum( b.state.
/usr/lib/
y = sum( b.state.
/usr/lib/
z = sum( b.state.
Status: success, time spent on this check: 0:00:00.021214
_______
#######
running: checkPotentialP
Status: success, time spent on this check: 0:00:00.043495
_______
#######
running: checkPotentialB
Status: success, time spent on this check: 0:00:00.043978
_______
#######
running: checkCapillaryM
Status: success, time spent on this check: 0:00:00.044838
_______
#######
running: checkViscElEng.py
Precalculated en value 0.736356797441
Obtained en value 0.736356797441
Status: success, time spent on this check: 0:00:00.364080
_______
#######
running: checkJCFpm.py
Status: success, time spent on this check: 0:00:06.870276
_______
WARNING: some checks took longer than 30 seconds.
Most time spend on a single check: 0:01:34.992983
1 tests are failed
checkPotentia
```
Revision history for this message
|
#15 |
> potentialVTKRec
does it work if you take similar file from ver9 ?
Revision history for this message
|
#16 |
I mean potentialVTKRec
Revision history for this message
|
#17 |
In fact try to take all these files from potentialVTKRec
Revision history for this message
|
#18 |
Thanks, It works!
After I copied all files from potentialVTKRec
```
yade --checkall
Welcome to Yade 2021.01a
Using python version: 3.9.1 (default, Dec 13 2020, 11:55:53)
[GCC 10.2.0]
/usr/lib/
boot.
#######
running: checkViscElPM.py
Status: success, time spent on this check: 0:00:00.194854
_______
#######
running: checkPolyhedraC
CGAL version is (4, 14, 3) . Will test for (cgal version > 4.9) and (cgal version < 5.1.1)
<WARNING> PolyhedraSplitt
Checkpoint: force values and number of bodies are OK! Iteration 166
Status: success, time spent on this check: 0:00:00.104968
_______
#######
running: checkMPI4PYcomm.py
Master: will spawn 1 workers running: /usr/bin/yade ['/usr/
/usr/lib/
boot.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Worker1: spawned!
____ MPI comm times: ____
1e4 integers in a python list: 0.0005977869033
1e4 integers in a python array: 6.9689750671386
Status: success, time spent on this check: 0:00:00.874305
_______
#######
running: checkAvoidSelfI
testing collider.
0 bb br gg gr rr
1 bb br gr
2 br gg gr
3 br gr
Status: success, time spent on this check: 0:00:00.004887
_______
#######
running: checkPotentialV
checking file: /tmp/tmpiu_
checking file: /tmp/tmpiu_
checking file: /tmp/tmpiu_
checking file: /tmp/tmpiu_
non-matching lines: 0
checking file: /tmp/tmpiu_
checking file: /tmp/tmpiu_
checking file: /tmp/tmpiu_
checking file: /tmp/tmpiu_
non-matching lines: 0
Status: success, time spent on this check: 0:00:00.087385
_______
#######
running: checkViscElPM2.py
Status: success, time spent on this check: 0:00:00.202185
_______
#######
running: check_TwoPhaseF
/usr/lib/
The 'verts' parameter of scatter() was deprecated in Matplotlib 3.2 and will be removed two minor releases later. If any parameter follows 'verts', they should be passed as keyword, not positionally.
scatter=
File ./vtk moved into /tmp/tmpftqt2gzj/ directory
File ./Test.txt moved into /tmp/tmpftqt2gzj/ directory
Status: success, time spent on this check: 0:00:04.746889
_______
#######
running: checkVTKRecorder.py
checkVTKRecorder
checking file: /tmp/tmpf1dlsg0
checking file: /tmp/tmpf1dlsg0
checking file: /tmp/tmpf1dlsg0
non-matching lines: 113
Status: success, time spent on this check: 0:00:00.062857
_______
#######
running: checkTestDummy.py
checkTest mechanism
Status: success, time spent on this check: 0:00:00.001540
_______
#######
Skipping checkMPISilo.py, because it is in skipScripts.
#######
running: checkLubrication.py
Status: success, time spent on this check: 0:00:01.686369
_______
#######
running: checkLubricatio
Status: success, time spent on this check: 0:00:01.726809
_______
#######
running: checkMPYcomm.py
Master: will spawn 9 workers running: /usr/bin/yade ['/usr/
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Master: will spawn 7 workers running: /usr/bin/yade ['/usr/
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Master: MPYcomm disconnect
Status: success, time spent on this check: 0:00:01.828741
_______
#######
Skipping checkList.py, because it is in skipScripts.
#######
running: checkWirePM.py
Status: success, time spent on this check: 0:00:19.050272
_______
#######
running: checkDEM-
File ./vtk moved into /tmp/tmpb1nhiz36/ directory
File ./Test.txt moved into /tmp/tmpb1nhiz36/ directory
Status: success, time spent on this check: 0:00:36.501007
_______
#######
running: checkColliderCo
checkColliderCo
Status: success, time spent on this check: 0:00:04.306394
_______
#######
running: checkSaveLoadCl
Kinetic energy OK 1.164931E-09
Kinetic energy OK 1.151232E-01
Kinetic energy OK 1.151462E-01
Kinetic energy OK 1.174632E-01
Status: success, time spent on this check: 0:01:30.646536
_______
#######
running: DEM-PFV-check.py
DEM-PFV: difference in permeability: 0.0440738048958
DEM-PFV: difference in final pressure: 612.681692169412 vs. target 628.314160434
DEM-PFV: difference in final deformation -0.002676702421
Status: success, time spent on this check: 0:00:14.210633
_______
#######
running: checkLiquidMigr
Status: success, time spent on this check: 0:00:00.164997
_______
#######
running: checkMPI.py
/usr/lib/
boot.
/usr/lib/
boot.
/usr/lib/
boot.
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Warning: freeglut versions higher than 2.8.1 are known to crash, see https:/
Status: success, time spent on this check: 0:00:03.764539
_______
#######
running: checkGravityRun
checkGravityRun
Note: for high precision calculations use yade.math.
g = yade.math.
g = -9.81 ## produces: -9.81
See https:/
<WARNING> GravityEngine:24 virtual void yade::GravityEn
Status: success, time spent on this check: 0:00:00.082308
_______
#######
running: checkGravity.py
Status: success, time spent on this check: 0:00:03.329603
_______
#######
running: checkColliderCo
checkColliderCo
Status: success, time spent on this check: 0:00:00.390193
_______
#######
running: checkWeight.py
Precalculated weight 756.093387
Obtained weight 756.093387
Status: success, time spent on this check: 0:00:00.125942
_______
#######
running: checkTestTriax.py
File ./checkTest.yade moved into /tmp/tmphgrhjn5n/ directory
File ./_Unloaded_
File ./_Unloaded_
File ./WallStresses moved into /tmp/tmphgrhjn5n/ directory
Status: success, time spent on this check: 0:00:00.212926
_______
#######
running: checkClumpHopper.py
Iter 10000: Total number of generated spheres 1448, removed particles 0, current particles 1448, kinEnergy 13755.3
Iter 20000: Total number of generated spheres 2896, removed particles 100, current particles 2796, kinEnergy 32685.4
Iter 30000: Total number of generated spheres 3620, removed particles 484, current particles 3136, kinEnergy 24374.8
Iter 40000: Total number of generated spheres 5068, removed particles 934, current particles 4134, kinEnergy 22952.1
Status: success, time spent on this check: 0:01:29.283312
_______
#######
running: checkBlockGen.py
Adding slavesThe Block Generation is completed
/usr/lib/
sumVertices = sum( len(b.shape.
/usr/lib/
a = sum(len(b.shape.a) for b in O.bodies )
/usr/lib/
b = sum(len(b.shape.b) for b in O.bodies )
/usr/lib/
c = sum(len(b.shape.c) for b in O.bodies )
/usr/lib/
d = sum(len(b.shape.d) for b in O.bodies )
/usr/lib/
sumVolume = sum( b.shape.volume for b in O.bodies )
/usr/lib/
sumMass = sum (b.state.mass for b in O.bodies)
/usr/lib/
x = sum( b.state.
/usr/lib/
y = sum( b.state.
/usr/lib/
z = sum( b.state.
Status: success, time spent on this check: 0:00:00.042930
_______
#######
running: checkPotentialP
Status: success, time spent on this check: 0:00:00.044981
_______
#######
running: checkPotentialB
Status: success, time spent on this check: 0:00:00.043517
_______
#######
running: checkCapillaryM
Status: success, time spent on this check: 0:00:00.042101
_______
#######
running: checkViscElEng.py
Precalculated en value 0.736356797441
Obtained en value 0.736356797441
Status: success, time spent on this check: 0:00:00.403344
_______
#######
running: checkJCFpm.py
Status: success, time spent on this check: 0:00:06.237038
_______
WARNING: some checks took longer than 30 seconds.
Most time spend on a single check: 0:01:30.646536
*** ALL CHECKS PASSED ***
```
Revision history for this message
|
#19 |
Yade features : ... MPFR ...
| boost | 1.75.0 | 1.75.0 |
| mpfr | 4.1.0 | 4.1.0 |
> I did turn off MPFR, the error message is the same.
Did you do anything specific to workaround this compilation error:
/usr/include/
/usr/include/
This error looked like a problem with mpfr wrapper in boost, specifically in file max_digits10.hpp, but then somehow you managed to compile with MPFR ?
Revision history for this message
|
#20 |
> After I copied all files from potentialVTKRec
this is good news. We will use ver9 files for testing ver8.2
Revision history for this message
|
#21 |
> > I did turn off MPFR, the error message is the same.
> Did you do anything specific to workaround this compilation error:
> This error looked like a problem with mpfr wrapper in boost, specifically in file max_digits10.hpp, but then somehow you managed to compile with MPFR ?
No. But after I followed you suggestion at #9, setting CHUNKSIZE=1 , this error disappeared.
> this is good news. We will use ver9 files for testing ver8.2
I added a hack in the PKGBUILD to use ver9 files for testing ver8.2.
BTW, I noticed that vtk8.2.0 is flagged out-of-date in arch community repo,
https:/
may be it will be updated to vtk9.0 soon.
May I mark your post at #7 as the solution? Actually I think #9 solved my problem, but I can't mark it as a solution.
Revision history for this message
|
#22 |
>> Did you do anything specific to workaround this [MPFR] compilation error
> No. But after I followed you suggestion at #9, setting CHUNKSIZE=1 , this error disappeared.
Thanks for the answer, this means that we have more CHUNKSIZE related bugs.
> May I mark your post at #7 as the solution?
sure no problem :)
If you feel adventurous, maybe you would like to try building higher precision versions of yade: long double, float128, maybe even MPFR150 ?
http://
you only need to pass this cmake parameter for each of the builds:
REAL_DECIMAL_
REAL_DECIMAL_
REAL_DECIMAL_
each of these builds generate a different yade binary with different default precision of calculations.
You might want to use cmake SUFFIX=.. parameter to generate yade binaries (and .so files) with corresponding different names.
long double calculations are 1.4 times slower, float128 are 4.9 times slower, mpfr150 are 19.8 times slower.
Revision history for this message
|
#23 |
> You might want to use cmake SUFFIX=
or runtimePREFIX
Revision history for this message
|
#24 |
Thanks Janek Kozicki, that solved my question.