[Yade-dev] [Bug 1732210] Re: getNeighbors_Segmentation fault (core dumped)

2017-12-05 Thread Bruno Chareyre
uno Chareyre (bruno-chareyre) ** Changed in: yade Importance: Undecided => Medium ** Changed in: yade Status: New => Confirmed -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/17322

[Yade-dev] [Bug 1732210] Re: getNeighbors_Segmentation fault (core dumped)

2017-12-06 Thread Bruno Chareyre
>It seems to be another compiler/cgal a-logical bug Well... blame the a-logical programmer first. A redundant and undefined FlowEngine::currentTess was floating around. It was harmless until someone had the idea of using it in some code. Fixed in [1]. Bruno [1] https://github.com/yade/trunk/com

[Yade-dev] [Bug 1734653] Re: DFN+fluid compressibility not using the correct reference volume

2017-12-06 Thread Bruno Chareyre
> we should use directly crackAperture*crackArea as Vo in dV/Vo, no? That's more or less what I wanted to suggest. I can't explain why I wrote that strange formula. However I also wanted to skip the calculation of crackAperture*crackArea, namely because there can be multiple cracks, as you point

[Yade-dev] [Bug 1734653] Re: DFN+fluid compressibility not using the correct reference volume

2017-12-07 Thread Bruno Chareyre
>I am particularly confused by [3] A local crack is a polygonal face of the Laguerre graph. I did not find online content showing a Laguerre graph in 3D but you can find inspiration by looking at a Voronoi graph [1] (some polygonal faces are visible on the outer contour). The code at [3] is loop

[Yade-dev] [Bug 1734653] Re: DFN+fluid compressibility not using the correct reference volume

2017-12-07 Thread Bruno Chareyre
** Description changed: In the basic PFV scheme the incremental change of density of a pore fluid after a change of pore volume is dependent on dV/Vo where Vo is the reference pore space within a tetrahedral cell [1], i.e. V(tetrahedron)-V(spheres). - In DFNFlow "V" should reflect the f

[Yade-dev] [Bug 1734653] Re: DFN+fluid compressibility not using the correct reference volume

2017-12-08 Thread Bruno Chareyre
Q1 - I think it is possible to define a relevant geometry for multiple cracks; it is just the intersection of one tetrahedron with multiple polygonal faces. I think the problem of multiple fracture planes crossing one edge is very special, I would escape it on the basis that you can't break another

[Yade-dev] [Bug 1734653] Re: DFN+fluid compressibility not using the correct reference volume

2017-12-11 Thread Bruno Chareyre
Hi Luc, Please keep this discussion for the bug only. Bruno -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1734653 Title: DFN+fluid compressibility not using the correct reference volume Status in

[Yade-dev] [Bug 1738232] Re: Inconsistency in doc of Body::intrs and code InteractionContainer::insert

2017-12-14 Thread Bruno Chareyre
Hi Jan, [1] was true at some point, but it is wrong now. B -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1738232 Title: Inconsistency in doc of Body::intrs and code InteractionContainer::insert

[Yade-dev] [Bug 1738747] Re: ymport.unv - global name 'facets' is not defined

2017-12-18 Thread Bruno Chareyre
I am unable to understand the bug. Please provide a way to reproduce, else we will just close this bug. Bruno ** Changed in: yade Status: New => Incomplete -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchp

[Yade-dev] buildbot issue? ======== HAPPY NEW YEAR YADE DEVS ============

2018-01-04 Thread Bruno Chareyre
Hi Rémi, It seems to me that the buildbot started failing between builds 4343 and 4344 (below) allthough it compiled exactly the same source in both cases. Could it be a full HD or something server side? Thx Bruno https://yade-dem.org/buildbot/builders/yade-full/builds/4343 https://yade-dem.org

[Yade-dev] [Bug 1746037] Re: Doc of cylinder-related models

2018-01-29 Thread Bruno Chareyre
Hi Jérôme, Chained cylinders are considered deprecated, they should be replaced by PFacets and friends - hence removed at some point (better NOT use them). No point improving the doc then. Besides, one of your comment overlooked the meaning of inheritance in c++ in general and in Yade: "Do we a

Re: [Yade-dev] Yade for LTS Ubuntu 18.04

2018-02-05 Thread Bruno Chareyre
Hi Anton, Thanks for notice. I would suggest to release ASAP unless someone raises a solid reason not to do so by - let's say - wednesday this week. Cheers Bruno On 02/03/2018 05:49 PM, Anton Gladky wrote: Dear Yade developers, the freeze for the next 18.04 LTS version of Ubuntu (stop sync fr

Re: [Yade-dev] Yade related publication?

2018-02-05 Thread Bruno Chareyre
Hi Robert, On 02/02/2018 07:37 PM, Robert Caulk wrote: Hey Yade Devs, I am wondering if we have the demand to create a Yade related white paper publication. The publication would document very Yade specific functionalities and I imagine some papers might even highlight pieces code. I think t

Re: [Yade-dev] Yade for LTS Ubuntu 18.04

2018-02-06 Thread Bruno Chareyre
On 02/05/2018 08:42 PM, Anton Gladky wrote: I also want to ask everybody to have a look at the bug-tracker [1]. Good point. I'll check the one you mentioned at least. It would be great to fix some more. B ___ Mailing list: https://launchpad.net/~

[Yade-dev] [Bug 1084454] Re: Documentation deprecation

2018-02-06 Thread Bruno Chareyre
** Changed in: yade Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1084454 Title: Documentation deprecation Status in Yade: Won't Fix Bug description: S

[Yade-dev] [Bug 1723454] Re: "Segmentation fault (core dumped)" error when "DomainLimiter" is added

2018-02-06 Thread Bruno Chareyre
No luck with the nullptr assumption. It segfaults on regular bodies. I am unable to figure out what the problem is. It is also not very reproducible, playing with the inspector can make the script pass the segfault point... Bruno ___ code: cerr<<"BodyContainer::erase -> reset: "< reset: 1070 1 Se

[Yade-dev] [Bug 1738747] Re: ymport.unv - global name 'facets' is not defined

2018-02-06 Thread Bruno Chareyre
** Changed in: yade Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1738747 Title: ymport.unv - global name 'facets' is not defined Status in Yade: Fi

[Yade-dev] [Bug 1671045] Re: Missing reference [Duriez2016]

2018-02-06 Thread Bruno Chareyre
** Changed in: yade Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1671045 Title: Missing reference [Duriez2016] Status in Yade: Fix Released Bug de

[Yade-dev] [Bug 1153629] Re: missing documentation of viscous damping

2018-02-06 Thread Bruno Chareyre
"missing link" from [3] to [1] --> fixed a while ago it seems closing the bug ** Changed in: yade Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1153629 Titl

[Yade-dev] [Bug 1666339] Re: DFNflow crashes for compiled trunk but not non-optimized debug compiled trunk

2018-02-06 Thread Bruno Chareyre
** Changed in: yade Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1666339 Title: DFNflow crashes for compiled trunk but not non-optimized debug compi

[Yade-dev] [Bug 1559098] Re: Crash when Parallelization is used for O.bodies.replaceByClumps

2018-02-06 Thread Bruno Chareyre
** Changed in: yade Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1559098 Title: Crash when Parallelization is used for O.bodies.replaceByClumps Statu

[Yade-dev] [Bug 1380103] Re: polyhedral code, segmentation fault & memory leak

2018-02-06 Thread Bruno Chareyre
** Changed in: yade Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1380103 Title: polyhedral code, segmentation fault & memory leak Status in Yade: F

[Yade-dev] [Bug 1291977] Re: Arithmetical error in documentation?

2018-02-06 Thread Bruno Chareyre
Fixed. Closing. ** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1291977 Title: Arithmetical error in documentation? Status in Yade: Fix Rel

[Yade-dev] [Bug 1084454] Re: Documentation deprecation

2018-02-06 Thread Bruno Chareyre
The bug is not specific enough and getting old. Closed. -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1084454 Title: Documentation deprecation Status in Yade: Won't Fix Bug description: Some

Re: [Yade-dev] Yade for LTS Ubuntu 18.04

2018-02-08 Thread Bruno Chareyre
On 02/07/2018 05:35 PM, Janek Kozicki (yade-dev) wrote: Regarding compiling yade with CGAL 4.11, I can look into it on Saturday, if my last patches didn't work for you? I did not test it yet I'm afraid. :-/ It sounds like a critical issue for a 18.04 release. Is it? Would that mean to skip t

Re: [Yade-dev] Yade for LTS Ubuntu 18.04

2018-02-08 Thread Bruno Chareyre
Anton Gladky wrote: Well, if we find a way to fix it within the next 2 weeks, I think there is a chance to get it pushed into Debian->Ubuntu. Regards Anton 2018-02-08 15:23 GMT+01:00 Bruno Chareyre : On 02/07/2018 05:35 PM, Janek Kozicki (yade-dev) wrote: Regarding compiling yade with C

Re: [Yade-dev] Yade for LTS Ubuntu 18.04

2018-02-09 Thread Bruno Chareyre
02-08 18:45 GMT+01:00 Bruno Chareyre : Hi Anton, Thank you very much. I'm not so sure what we are speaking about here. Yade 2018.02a is the candidate source code for producing a binary yade-stable in Ubuntu 18.04, correct (approximately)? If yes, can we build yade-stable with CGAL at the mom

Re: [Yade-dev] Yade for LTS Ubuntu 18.04

2018-02-09 Thread Bruno Chareyre
-- Message transféré -- De : "Bruno Chareyre" Date : 9 févr. 2018 21:24 Objet : Re: [Yade-dev] Yade for LTS Ubuntu 18.04 À : "Anton Gladky" Cc : The current state is that Janek's patch may have problems for polyhedra. If it's not fixed shortly my su

Re: [Yade-dev] Odp: Re: Yade for LTS Ubuntu 18.04

2018-02-12 Thread Bruno Chareyre
Gladky <mailto:gladky.an...@gmail.com>> napisał(a): Yes, it should be OK. Anton 2018-02-09 16:06 GMT+01:00 Bruno Chareyre mailto:bruno.chare...@grenoble-inp.fr>>: What is an appropriate system to try this? ubuntu 18.04 beta is ok? B On

Re: [Yade-dev] Odp: Re: Yade for LTS Ubuntu 18.04

2018-02-12 Thread Bruno Chareyre
On Mon, Feb 12, 2018 at 1:22 AM Bruno Chareyre <mailto:bruno.chare...@grenoble-inp.fr>> wrote: Thank you very much for help Janek. I confirm that I could compile trunk on ubuntu18 with CGAL, without special steps (not even dpkg, just cmake+make without options). Fo

Re: [Yade-dev] Odp: Re: Yade for LTS Ubuntu 18.04

2018-02-13 Thread Bruno Chareyre
On 02/13/2018 10:12 AM, Robert Caulk wrote: I’m running into deeper problems than I expected on this solver bug fix. I need some more time to trouble shoot. Let me know, I can also try some things. I have been able at least to compile and run cholmod on 18.04 with simple c++ programs. I wanted

Re: [Yade-dev] Odp: Re: Yade for LTS Ubuntu 18.04

2018-02-14 Thread Bruno Chareyre
Hi Robert, Congrats for finding the bug and thanks for fixing. On 02/13/2018 11:55 PM, Robert Caulk wrote: the issue was compiler related. GCC 5.4 on ubuntu 16.04 initialized factorizeOnly to false by default, while GCC 7.2 on ubuntu 18.04 did not do this. That's a good example of "undefined"

Re: [Yade-dev] Odp: Re: Yade for LTS Ubuntu 18.04

2018-02-20 Thread Bruno Chareyre
On 02/16/2018 11:12 PM, Anton Gladky wrote: thanks all for the effective and fast contribution resolving CGAL issue! Thank you for efficient scramble! :) Bruno ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchp

Re: [Yade-dev] Ip2_FrictMat_FrictMat_FrictPhys doc

2018-02-22 Thread Bruno Chareyre
Hi Jérôme, I am not in favor of removing some documentation, thank you for asking. In my view such patch would be a regression. I don't understand the motivation, see below. On 02/21/2018 05:59 PM, Jerome Duriez wrote: After seeing Yet Another Doubts on "young" meaning / Ip2_FrictMat_FrictMat_

Re: [Yade-dev] Ip2_FrictMat_FrictMat_FrictPhys doc

2018-02-23 Thread Bruno Chareyre
Hi Jérôme, Thanks for pointing out what was missing. I tried to fix in [1]. Even though we all here are at ease with these models, I think the "young questions" we still face (me, few days ago here) should demonstrate there is room for improvement... Hoping to avoid another https://www.mail-a

[Yade-dev] cholmod / GPU integration

2018-02-23 Thread Bruno Chareyre
Hi Robert, Still a small thing to fix following [1] it seems, although it may only impact old systems. On ubuntu 14.04 with libsuitesparse-dev 1:4.2.1-3ubuntu1 it gives: /FlowBoundingSphereLinSolv.ipp:100:6: error: ‘cholmod_common’ has no member named ‘useGPU’// //  com.useGPU=1; //useGPU;/ O

Re: [Yade-dev] cholmod / GPU integration

2018-02-26 Thread Bruno Chareyre
the case. :) Thanks Bruno Best, Robert On Fri, Feb 23, 2018 at 7:56 AM Bruno Chareyre <mailto:bruno.chare...@3sr-grenoble.fr>> wrote: Hi Robert, Still a small thing to fix following [1] it seems, although it may only impact old systems. On ubuntu 14.04 with libsuites

Re: [Yade-dev] Adding a pdf to the website

2018-03-07 Thread Bruno Chareyre
Hi, Every registered user of the wiki can upload on [1], I just accepted your registration. I suspect [2] can be accessed only via our intranet and cannot be open for security reasons (Rémi may confirm). It costs just a drag and drop for me to upload something there, feel free to ask. The m

Re: [Yade-dev] [Yade-users] [Question #665387]: Compile error JointedCohesiveFrictionalPM

2018-03-09 Thread Bruno Chareyre
Hi William, Thanks for mentioning. You can send compiler errors to yade-dev (are you member of yade-dev? else I suggest you join) or even better to a bug report. It is better to specificy revision numbers, to. Your last revision [1] made it through the buildbot. Do you still have the problem lo

Re: [Yade-dev] [Yade-users] [Question #665387]: Compile error JointedCohesiveFrictionalPM

2018-03-09 Thread Bruno Chareyre
Let us continue the discussion here on yade-dev, William is member. Merge commits are painful, as you suggest Robert it applies the upstream changes on the local trunk then it commits the merged code. In the log it looks like reapplying the same changes, the problem is if it's not reapplying exa

Re: [Yade-dev] [Yade-users] [Question #665387]: Compile error JointedCohesiveFrictionalPM

2018-03-09 Thread Bruno Chareyre
This being said I don't think the merge can be the cause of William's compile error. The question is why gcc can't find std::random_device. Just weird. B / / On 03/09/2018 06:35 PM, Bruno Chareyre wrote: Let us continue the discussion here on yade-dev, William is member. Me

Re: [Yade-dev] Could someone help to revert this commit, please?

2018-04-09 Thread Bruno Chareyre
Hi Chao, This is git's merge bubble, an expected behavior if you did not set git's "autorebase" as indicated in yade install page. I don't think it needs a revert, but please set autorebase for next commits. Cheers Bruno On 04/07/2018 02:08 AM, Chao YUAN wrote: Hi guys, I guess I did something

[Yade-dev] [Bug 1764424] Re: MeasureCapStress-caused segmentation fault (boost::python)

2018-04-20 Thread Bruno Chareyre
Hi Jérôme, It seems related to manipulating this python tuple as a c++ object. First, I did not see any "[]" operator for tuples in boost documentation. Second, even if it works I'm unsure it will automatically return the correct type (a Vector3r), hence this syntax may not do what you think: doub

[Yade-dev] [Bug 1625850] Re: CapillaryTriaxialTest preprocessor broken

2018-04-20 Thread Bruno Chareyre
Hi, I agree to fix or remove. I will not fix. If no one else will you can remove. :) B -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1625850 Title: CapillaryTriaxialTest preprocessor broken Statu

[Yade-dev] [Bug 1625850] Re: CapillaryTriaxialTest preprocessor broken

2018-04-23 Thread Bruno Chareyre
** Changed in: yade Assignee: (unassigned) => Jérôme Duriez (jduriez) -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1625850 Title: CapillaryTriaxialTest preprocessor broken Status in Yade:

[Yade-dev] [Bug 1474956] Re: Clump::updateProperties discretization not defined robustly

2018-05-21 Thread Bruno Chareyre
** Changed in: yade Importance: Medium => Wishlist -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1474956 Title: Clump::updateProperties discretization not defined robustly Status in Yade: Co

[Yade-dev] [Bug 1112689] Re: ompThreads attribute not used in many engines

2018-05-21 Thread Bruno Chareyre
** Changed in: yade Importance: Medium => Wishlist ** Changed in: yade Status: Confirmed => Opinion -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1112689 Title: ompThreads attribute not

[Yade-dev] [Bug 1383859] Re: Some FlowEngine methods take points as tuple while others take them as Vector3

2018-05-21 Thread Bruno Chareyre
Probably fixed by time. ** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1383859 Title: Some FlowEngine methods take points as tuple while othe

[Yade-dev] Cmake !find metis and cholmod

2018-05-22 Thread Bruno Chareyre
was not declared in this scope -- ___ Bruno Chareyre Associate Professor ENSE³ - Grenoble INP Lab. 3SR BP 53 38041 Grenoble cedex 9 Tél : +33 4 56 52 86 21 Fax : +33 4 76 82 70 43 Email too brief? Here's why! http://emailcharter.org __

[Yade-dev] [Bug 1474956] Re: Clump::updateProperties discretization not defined robustly

2018-05-22 Thread Bruno Chareyre
So old that I didn't bother getting back to it, but if someone wants to implement it... hence the wishlist :) -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1474956 Title: Clump::updateProperties d

Re: [Yade-dev] Cmake !find metis and cholmod

2018-05-22 Thread Bruno Chareyre
Recherche / Research Associate Irstea, RECOVER 3275 route de Cezanne – CS 40061 13182 Aix-en-Provence Cedex 5 FRANCE +33 (0)4 42 66 99 21 On 22/05/2018 13:22, Bruno Chareyre wrote: Hi there, I see the buildbot fails to cmake/find those two libs. This is the main reason of current failure. Of course m

[Yade-dev] [Bug 1324191] Re: boost::python::arg maybe a bit long?

2018-05-23 Thread Bruno Chareyre
** Changed in: yade Status: New => Opinion -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1324191 Title: boost::python::arg maybe a bit long? Status in Yade: Opinion Bug description: W

[Yade-dev] [Bug 1215869] Re: Missing documentation of Law2_ScGeom6D_InelastCohFrictPhys_CohesionMoment

2018-05-23 Thread Bruno Chareyre
Closing: the doc is no longer a duplicate. Actually it reads "Final version and documentation will come before the end of 2014."... B ** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to

[Yade-dev] [Bug 1595450] Re: Cannot apply an angular velocity to aspherical objets

2018-05-23 Thread Bruno Chareyre
Wishlist: make it more explicit in the doc (maybe even return a warning when changing angular velocity of aspherical objects). ** Changed in: yade Status: New => Opinion ** Changed in: yade Importance: Undecided => Wishlist -- You received this bug notification because you are a membe

[Yade-dev] [Bug 1774926] Re: error in porosity after erasing bodies

2018-06-04 Thread Bruno Chareyre
Hi, If solid volume is changed you should use TriaxialStressController.updatePorosity [1] It would not be good to recalculate solid volume everytime by default. Bruno [1] https://yade- dem.org/doc/yade.wrapper.html?highlight=updateporosity#yade.wrapper.TriaxialStressController.updatePorosity **

Re: [Yade-dev] Python 2 removal

2018-06-05 Thread Bruno Chareyre
Hi, I also browsed a little and could not find any big change (provided that replacing "print 'hi'" by "print('hi')" can be automatic). It doesn't mean no problem will emerge though, on needs to try. For a IT student internship the problem would be that if things go well the job could be do

[Yade-dev] [Bug 1774065] Re: doctests fail with numpy 1.14

2018-06-08 Thread Bruno Chareyre
Thanks for reporting. The strange part is that numpy 1.14 is still supporting bz2 according to the documentation. Could someone confirm "ValueError: bz2 text files not supported in python2" on his system with the following code: from yade import plot plot.reset() plot.addData(a=1,b=11,c=21,d=31)

[Yade-dev] [Bug 1774065] Re: doctests fail with numpy 1.14

2018-06-08 Thread Bruno Chareyre
@Jérôme And you have numpy 1.14? -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1774065 Title: doctests fail with numpy 1.14 Status in Yade: New Status in Debian: Confirmed Bug description:

[Yade-dev] [Bug 1774065] Re: doctests fail with numpy 1.14

2018-06-11 Thread Bruno Chareyre
Bug Watch released a fix?... how? B -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1774065 Title: doctests fail with numpy 1.14 Status in Yade: New Status in Debian: Fix Released Bug descript

Re: [Yade-dev] Python 2 removal

2018-06-12 Thread Bruno Chareyre
Thanks for firsthand information Václav, It should be very helpful. I was not sure something like "str/bytes distinction" would be involved, finally it is... Bruno On 06/05/2018 09:06 PM, Václav Šmilauer wrote: Hi guys, for inspiration, you can check out commit https://github.com/woodem/woo/c

Re: [Yade-dev] [Yade-users] [Question #670376]: frictAngle matchmaker in Ip2_CohFrictMat_CohFrictMat_CohFrictPhys

2018-06-22 Thread Bruno Chareyre
Hi, just a comment (to yade-dev): There is little inheritance between functors at the moment, mainly because it is a bit less trivial (but not so difficult) to implement than simple data inheritance. There is some type-casting involved if you want to re-use parent::go() directly since it will n

[Yade-dev] About pastebin and data files in launchpad questions

2018-06-29 Thread Bruno Chareyre
re that no "file not found" will occur. For instance, every mwe.py should be compatible with: mkdir MWE cp mwe.py ./MWE/mweTest.py cd MWE /path/to/yade mweTest.py rm -rf ../MWE Other suggestions? Bruno [1] https://answers.launchpad.net/yade/+question/670501 -- ___ Brun

Re: [Yade-dev] About pastebin and data files in launchpad questions

2018-06-29 Thread Bruno Chareyre
If there is it is very well hidden. Bruno Robert Le ven. 29 juin 2018 à 12:33, Bruno Chareyre <mailto:bruno.chare...@3sr-grenoble.fr>> a écrit : Hi Yade devs, When I try to save a few minutes to answer some questions I very ofen find myself clicking here and there t

Re: [Yade-dev] About pastebin and data files in launchpad questions

2018-06-29 Thread Bruno Chareyre
ds realistic to ask users to avoid extra files in their MWE, and do not have any other suggestions.. Jérôme -- Chargé de Recherche / Research Associate Irstea, RECOVER 3275 route de Cezanne – CS 40061 13182 Aix-en-Provence Cedex 5 FRANCE +33 (0)4 42 66 99 21

Re: [Yade-dev] Why _utils.hpp and Shop.hpp ? Shop::getPorosity vs Shop__getPorosity

2018-07-17 Thread Bruno Chareyre
In **my opinion**: 1) Shop functions should be C++ only, not returning or accepting boost::python stuff. The python stuff (like converting std::vector to python tuple/list or modifying input/output like [1]) is (should be) the reason for py/_utils existence. 2) In the same way, there shou

[Yade-dev] Fwd: [yade/trunk] remove pack.particleSD and variants, unmaintained and deprecated by makeCloud (functions kept temporarily but returning error) (d8d789f)

2018-07-19 Thread Bruno Chareyre
-- Forwarded message - From: Bruno Chareyre Date: jeu. 19 juil. 2018 10:46 Subject: Re: [yade/trunk] remove pack.particleSD and variants, unmaintained and deprecated by makeCloud (functions kept temporarily but returning error) (d8d789f) To: yade/trunk < re

[Yade-dev] yade-MPI

2018-07-19 Thread Bruno Chareyre
e-mpi -- ___ Bruno Chareyre Associate Professor ENSE³ - Grenoble INP Lab. 3SR BP 53 38041 Grenoble cedex 9 Tél : +33 4 56 52 86 21 Fax : +33 4 76 82 70 43 Email too brief? Here's why! http://emailcharter.org ___ Mailing l

Re: [Yade-dev] Dynamic vs Fixed for bodies utils functions

2018-07-27 Thread Bruno Chareyre
Hi Jérôme, I discover the situation with your email and I agree that it can be improved (looks like). A good fix would need to clarify the meaning (or is it already clear that fixed == !dynamic everywhere?), then it is easy to make both accepted through aliasing. Removing one of the two seems awkwa

Re: [Yade-dev] [Yade-users] [Question #671132]: tow engines in a program

2018-07-27 Thread Bruno Chareyre
Hi, You can impose the velocity of the piston as b.state.vel=(x,y,z) after setting b.state.blockedDOFs='xyzXYZ'. You then make it zero in the begining and change for something else at some point. TranslationEngine makes this simple thing excessively complex in my opinion. I would suggest to forget

Re: [Yade-dev] Removal of TranslationEngine

2018-07-28 Thread Bruno Chareyre
Hi Jan, thx for reaction. I agree that on/off for multiple bodies is convenient. Then maybe only example should be touched? I wonder what leads users to translation engine while iirc the general doc describes controlling DOFs properly. B Le sam. 28 juil. 2018 09:19, Jan Stránský a écrit : > Hi

Re: [Yade-dev] Shop::aabbExtrema() : from boost::python::tuple return type to std::vector ?

2018-08-08 Thread Bruno Chareyre
Hi Jérôme, This change would be sensible, seems to me (especially regarding your second bullet point). Note that pair would make more sense than a vector<>. I would point out that the implementation of this function looks sloppy in various other ways: - dereferencing body pointer without checking

Re: [Yade-dev] yade-MPI

2018-08-08 Thread Bruno Chareyre
will be successfull and can support the project a > bit. > Best regards > Alex > > -Ursprüngliche Nachricht- > Von: Yade-dev [mailto:yade-dev-bounces+alexander.eulitz=iwf.tu- > berlin...@lists.launchpad.net] Im Auftrag von Bruno Chareyre > Gesendet: Donnerstag, 19. Juli

[Yade-dev] yade-mpi released

2018-08-17 Thread Bruno Chareyre
Hi there, An effective N-threads implementation of distributed memory parallelization is achieved after minor changes in the source code and some refactoring of the previous 2-threads script. You can find the concrete example testMPIxN.py with comments in [1]. The 10x slow down I mentioned previou

Re: [Yade-dev] About pastebin and data files in launchpad questions

2018-08-23 Thread Bruno Chareyre
Hi all, Preliminary content here: https://yade-dem.org/wiki/Howtoask Please feel free to improve, and paste the link in launchpad whenever it applies. Cheers Bruno On 29 June 2018 at 16:24, Bruno Chareyre wrote: > I did not mention it explicitly but I think improving "How to ask&quo

[Yade-dev] Follow-up: [Question #673130]: Recorder Forces acting on a clump with ForceRecorder

2018-08-31 Thread Bruno Chareyre
Hi Jan, I'm moving this to yade-dev for a particular point. On 08/30/2018 04:08 PM, Jan Stránský wrote: It is just implementation choice, the force acting on clump itself is computed when needed from clump members [2,3], but is not stored.. [1] https://github.com/yade/trunk/blob/master/pkg/dem/

Re: [Yade-dev] DFNFlow check script and trickPerm uncertainty fix

2018-09-03 Thread Bruno Chareyre
Hi Robert, It sounds good, except that I would increment kNorm directly instead of incrementing a counter. Logic: - two adjacent cracks cumulate their conductivity: Ktot = K1+K2 - if you accumulate aperture you get (a1+a2)^3 instead of (a1^3  + a2^3), it will increase to much it seems. I know

[Yade-dev] [Bug 1790167] Re: JCFPM: "neverErase" modifies the simulated behavior while it should not

2018-09-03 Thread Bruno Chareyre
Random results (we are speaking of "yade -j1" right?) usually come from using null pointers or uninitialized variables. Running yade with valgrind (and debug symbols) would probably tell more. In the case neverErase=true, I would double-check what happens if the interaction becomes active again.

Re: [Yade-dev] DFNFlow check script and trickPerm uncertainty fix

2018-09-03 Thread Bruno Chareyre
On 09/03/2018 11:34 AM, Luc Scholtes wrote: This is a bit tricky but we have to keep in mind that stress induced cracks are not "connected" one with another up until a fair amount of them is present inside the medium (crack coalescence can be observed sometimes only after 70% of the peak str

Re: [Yade-dev] Compilation (cmake) options Doc

2018-09-03 Thread Bruno Chareyre
Hi Jérôme, It sounds like a good idea to provide a pointer to CMakeLists.txt in this paragraph(*) yet there is no reason to remove the current doc, better update it. Removing doc to show people they can read source code is not a very good direction in general, 99% of yade users have no interest

[Yade-dev] [Bug 1790167] Re: JCFPM: "neverErase" modifies the simulated behavior while it should not

2018-09-05 Thread Bruno Chareyre
> OK... We need neverErase=True for DFNFlow so what should we do? Create a functor to erase the interactions? No there is no need for an extra functor. The place where erasing is triggered is Law2::action() (based on the bool returned). I don't think we really need neverErase=True for DFNFlow.

[Yade-dev] [Bug 1790167] Re: JCFPM: "neverErase" modifies the simulated behavior while it should not

2018-09-05 Thread Bruno Chareyre
>Can we have 2 interactions (in the interaction container") which concerns the same particles pair? Impossible. > keep record of the crack aperture [...] during the whole duration of the simulation. Saying that we erase when distance > 10*radius would surely enough keep it alive for the whole (

Re: [Yade-dev] [Yade-users] [Question #674958]: Yade installation from ubunto 18.04.1

2018-10-11 Thread Bruno Chareyre
Hi there, We were considering it recently with Rémi but I was unsure if it was out-of-box or not, then we postponed (Rémi is no longer at 3SR, thanksfully he did not disapear completely but he may be less available). @Rémi, can you please set the repo? others can then test and fix. On another

Re: [Yade-dev] [Yade-users] [Question #537735]: Error Stl import

2018-10-11 Thread Bruno Chareyre
Yes, pleeease! :) Don't you have commit rights anyway? Bruno On 10/11/2018 12:07 PM, Alexander Eulitz [Eugen] wrote: I will prepare a pull request if you like. Cheers Alex ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@l

[Yade-dev] [Bug 1796883] Re: STL import breaks serialization; O.load; Facet must have exactly 3 vertices (not 6)

2018-10-12 Thread Bruno Chareyre
Hi Alex, It sounds relevant indeed, however the possible "push_back" would have to be done inside boost serialization, and I doubt we need to dig that deep to understand the problem. I can't reproduce the problem on ubuntu 16.04 actually (2018-09-26.git-0a2abea or yadedaily), your script gives:

[Yade-dev] [Bug 1604266] Re: yade not working prpoperly on Ubuntu/Kubuntu 16.04

2018-10-15 Thread Bruno Chareyre
ted ** Changed in: yade Assignee: (unassigned) => Bruno Chareyre (bruno-chareyre) -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1604266 Title: yade not working prpoperly on Ubuntu/Kubuntu 16.04 Sta

Re: [Yade-dev] [Yade-users] [Question #675297]: Problem in GlobalStiffnessTimeStepper

2018-10-17 Thread Bruno Chareyre
Hi Raphaël, Let's use yade-dev for this sort of things. Sorry if I broke something, I was actually about to write to you when commiting. The check-script is apparently not using timeStepper since "yade --check" still gives the expected result: /###// //running: 

Re: [Yade-dev] Potential Blocks in a Periodic Box

2018-11-02 Thread Bruno Chareyre
Hi Vasileios, Periodicity is relatively easy to implement since it only has to deal with periodicity of interactions. You should grep variable "shift2" in the source code to see how interactions are made periodic. Bruno ___ Mailing list: https://l

Re: [Yade-dev] Buildbot failure

2018-11-05 Thread Bruno Chareyre
Hi, Disk space problem is indeed the (known) cause of current freezing. Rémi mentioned that to me a few weeks back. Not sure he was aware of this "too many subfolders" problem yet. Sorry for inconvenience. Please be patient. :) Bruno On 11/5/18 1:00 PM, Jerome Duriez wrote: Hi Robert, My unde

Re: [Yade-dev] [Yade-users] [Question #675297]: Problem in GlobalStiffnessTimeStepper

2018-11-07 Thread Bruno Chareyre
5. (The script run well with viscEl = False as the damping is not fundamental in this situation where the restitution coefficient is not too small). Tell me if you can reproduce that, and if you see any possible reason for such a big change. Cheers, Raphael Le 17/10/2018 à 18:42, Bruno C

Re: [Yade-dev] Historical launchpad question activity

2018-11-12 Thread Bruno Chareyre
Hi Robert, On 11/9/18 5:07 PM, Robert Caulk wrote:  You might also be unsurprised to find out that "error" is one of the least commonly used words for launch pad questions ;-). I thought it was a joke since I see the word appearing much too often, then I checked the stats... and that's actual

[Yade-dev] [Bug 1794479] Re: PeriTriaxController doc

2018-11-12 Thread Bruno Chareyre
Fixed, thanks! https://github.com/yade/trunk/commit/af1f41906b6ccf077dee456bc8f3f8747c318b0a ** Changed in: yade Assignee: (unassigned) => Bruno Chareyre (bruno-chareyre) ** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a

[Yade-dev] [Bug 599743] Re: static class attributes are not documented by sphinx

2018-11-12 Thread Bruno Chareyre
** Changed in: yade Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/599743 Title: static class attributes are not documented by sphinx Status in Yade: Won't Fi

[Yade-dev] [Bug 1019349] Re: RuntimeWarning: to-Python converter for boost::shared_ptr already registered; second conversion method ignored.

2018-11-12 Thread Bruno Chareyre
** Changed in: yade Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1019349 Title: RuntimeWarning: to-Python converter for boost::shared_ptr already registered

[Yade-dev] [Bug 1455621] Re: documentation bug: getting class name fails

2018-11-12 Thread Bruno Chareyre
Fixed following either Vaclav's #3 (thanks) or 'isinstance' (recommended method). https://bugs.launchpad.net/yade/+bug/1455621 ** Changed in: yade Assignee: (unassigned) => Bruno Chareyre (bruno-chareyre) ** Changed in: yade Status: New => Fix Released --

[Yade-dev] [Bug 1267164] Re: Fails to build from yade-daily sources

2018-11-12 Thread Bruno Chareyre
No longer a bug, closing. ** Changed in: yade Status: New => Invalid -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1267164 Title: Fails to build from yade-daily sources Status in Yade:

Re: [Yade-dev] Historical launchpad question activity

2018-11-12 Thread Bruno Chareyre
stable on recent years). Bruno On 11/12/18 12:50 PM, janek_li...@wp.pl wrote: Wow, very interesting. Thank you! :) On 12 Nov 2018, 10:44 +0100, Bruno Chareyre , wrote: Hi Robert, On 11/9/18 5:07 PM, Robert Caulk wrote:  You might also be unsurprised to find out that "error"

[Yade-dev] [Bug 1802913] Re: Find Module package and Python 3

2018-11-12 Thread Bruno Chareyre
Hi, What would be a possible fix for this? I wonder if it is something to fix system side or really on yade/cmake side. Bruno -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1802913 Title: Find Mod

[Yade-dev] [Bug 1802913] Re: Find Module package and Python 3

2018-11-12 Thread Bruno Chareyre
> the choice of the python environment to use > for generating and using Yade has to be defined in the option of cmake That's what I think indeed. Either "export" variables before cmake, or define system-wide priorities among the different versions of library (possible in ubuntu, maybe not in op

Re: [Yade-dev] Mathr::ZERO_TOLERANCE vs Mathr::EPSILON

2018-11-15 Thread Bruno Chareyre
Hi Jérôme, I don't know, but I guess they were introduced independently by different authors. I actually don't know why we would need to define tolerance at all, unless in very specific cases. For instance I judge that a line like this (ViscoelasticPM.cpp) is not only useless but actually wro

Re: [Yade-dev] Mathr::ZERO_TOLERANCE vs Mathr::EPSILON

2018-11-15 Thread Bruno Chareyre
On 11/15/18 5:16 PM, Jerome Duriez wrote: I'd thus propose to get rid of ZERO_TOLERANCE at least, replacing with EPSILON where it is currently used. Is it worth it?... (As for me, tolerance would for instance be  useful to know when an increasing value (x, increasing from x0 < a) can be dete

<    1   2   3   4   5   6   7   8   9   10   >