yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14947
Re: High precision Real and minieigen
-
To:
Anton Gladky <gladky.anton@xxxxxxxxx>
-
From:
"Janek Kozicki (yade)" <jkozicki-yade@xxxxxxxxx>
-
Date:
Sun, 23 Feb 2020 14:06:08 +0100
-
Cc:
Yade developers <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<CALF6qJmEt5jLH_qnTbgT0XqQWyzLMzAEJmRkUfz3h28Co-dG_Q@mail.gmail.com>
-
Organization:
Gdańsk University of Technology, YADE software
Hi Anton
> sorry for delays, "real" life is taking much more time when we get older :)
please don't worry. I really appreciate all your hard work. I got a
little carried away, I'm sorry.
> > * I would rather avoid pybind11 switch in a rush, better give it a few months
> Maybe I was not clear, pybind11 is just a possible option. If we
> really decide to switch to it, we need to evaluate, whether it is
> suitable for us, whether it really helps to improve compilation times
> and what it costs for us (time).
exactly. The quick migration which I have done yesterday passes the
tests, and seems to work at first glance, but there were some tricky
sections of the code. Which I converted but I didn't test. I feel more
comfortable with old and well tested boost::python version.
Also I see that Vaclav has done this already [1]
> > * I would prefer minieigen-src package (no extra compilation time for people who use `double`)
> > * minieigen-src in ubuntu 20.04 will let more people to test & use high precision.
> Unfortunately, it is almost impossible for the time being […]
this is clear.
> We should probably consider alternative ways to help you to integrate
> high-precision stuff.
Thank you! :))
Another note: I just realized that the compilation benchmarks might
have not been fair, because I think that I added few more
registrations (like Vector2c, or sth. like that) while doing pybind
migration. I will compare again without these extra registrations.
Another comparison note:
8. boost::python is much more picky about the order of registered
functions, and sometimes does not work if the order is "wrong".
pybind always resolves the function overloads correctly.
best regards
Janek
[1] https://github.com/woodem/woo/blob/master/lib/eigen/pybind11/visitors.hpp
Follow ups
References
-
High precision Real.
From: Janek Kozicki (yade), 2020-01-13
-
Re: High precision Real.
From: Janek Kozicki (yade), 2020-01-27
-
Re: High precision Real.
From: Anton Gladky, 2020-01-27
-
Re: High precision Real.
From: Janek Kozicki (yade), 2020-01-27
-
Re: High precision Real. (minieigen patches)
From: Janek Kozicki (yade), 2020-02-03
-
Re: High precision Real and minieigen
From: Janek Kozicki (yade), 2020-02-17
-
Re: High precision Real and minieigen
From: Janek Kozicki (yade), 2020-02-19
-
Re: High precision Real and minieigen
From: Anton Gladky, 2020-02-20
-
Re: High precision Real and minieigen
From: Janek Kozicki (yade), 2020-02-21
-
Re: High precision Real and minieigen
From: Anton Gladky, 2020-02-21
-
Re: High precision Real and minieigen
From: Janek Kozicki (yade), 2020-02-21
-
Re: High precision Real and minieigen
From: Anton Gladky, 2020-02-22