Re: [Yade-dev] Moving yade-users mail-list to forum

2010-11-24 Thread Anton Gladky
Ok, let's just ask users to ask questions on https://answers.launchpad.net/yade? Anton 2010/11/24 Václav Šmilauer e...@doxos.eu What do you think about creating a small web-forum for yade-users instead of mailing list. Sometimes it is very difficult to find an answer for previously

Re: [Yade-dev] [Yade-users] Linear law + moment rotation

2010-11-24 Thread Bruno Chareyre
Sure! Make the threshold very high by default please, so it will not modify existing stuff. Something like 100π*stiffness should be enough... Since meaningful threshold is non-negative (right?), then negative value could be used to indicate no threshold; that is better than assigning very

Re: [Yade-dev] [Yade-users] Linear law + moment rotation

2010-11-24 Thread Václav Šmilauer
Matter of taste. If it can be negative, it needs to test the sign. If it is very high, no need to test. You need to test inequality of the 2 values, anyway...? The one implementing will decide. :) Right. Howgh. ___ Mailing list:

Re: [Yade-dev] getViscoelasticFromSpheresInteraction

2010-11-24 Thread Sergei D.
I am not sure whether the utils.getViscoelasticFromSpheres function could not be avoided... Why not compute all relevant data in the Ip2 functor, since all the input is in input materials and other data accessible from the Ip2? The viscous constants are interaction property (not material

[Yade-dev] plugins?

2010-11-24 Thread Václav Šmilauer
Hi there, with the perspective of simplifying the build process, making yade install size smaller and also making it faster to load, I am considering removing the functionality of plugins. They are more or less replaced by the functionality of python modules (which will be kept of course). Is

Re: [Yade-dev] plugins?

2010-11-24 Thread Janek Kozicki
Václav Šmilauer said: (by the date of Wed, 24 Nov 2010 14:36:27 +0100) Hi there, with the perspective of simplifying the build process, making yade install size smaller and also making it faster to load, I am considering removing the functionality of plugins. They are more or less

Re: [Yade-dev] plugins?

2010-11-24 Thread Anton Gladky
But, in this case, if you do any changes in source code everything needs to be recompiled? Anton 2010/11/24 Václav Šmilauer e...@doxos.eu you mean - a monolithic build? Or what else do you mean? probably yes, depending on what you mean by that. Basically linking everything together at

Re: [Yade-dev] plugins?

2010-11-24 Thread Václav Šmilauer
But, in this case, if you do any changes in source code everything needs to be recompiled? Eh no, just relinked. I have yet to see how much time it takes, actually... ___ Mailing list: https://launchpad.net/~yade-dev Post to :

[Yade-dev] InsertionSortCollider assert

2010-11-24 Thread Anton Gladky
Hi, (Vaclav) in InsertionSortCollider.cpp:32 there is an assert: assert(id1!=id2); When can it happen? Anton ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev

Re: [Yade-dev] InsertionSortCollider assert

2010-11-24 Thread Václav Šmilauer
in InsertionSortCollider.cpp:32 there is an assert: assert(id1!=id2); When can it happen? It should never happen theoretically; but I check that to catch bugs. Cheers, v ___ Mailing list: https://launchpad.net/~yade-dev Post to :

Re: [Yade-dev] plugins?

2010-11-24 Thread Václav Šmilauer
IIRC linking takes a log of time. maybe binutils-gold fixed that... You don't use it yet? It is about 100x faster, without exaggerating. ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe :

[Yade-dev] [Bug 681018] [NEW] Crash in last revision

2010-11-24 Thread Anton Gladky
Public bug reported: The simulation starts and after couple seconds of simulation it crashes. The problem is in O.bodies.erase(i.id) Test script and backtrace are attached. ** Affects: yade Importance: Undecided Status: New -- Crash in last revision

[Yade-dev] [Bug 681018] Re: Crash in last revision

2010-11-24 Thread Anton Gladky
** Attachment added: backtrace https://bugs.launchpad.net/bugs/681018/+attachment/1743660/+files/backtrace -- Crash in last revision https://bugs.launchpad.net/bugs/681018 You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. Status in

[Yade-dev] [Bug 681018] Re: Crash in last revision

2010-11-24 Thread Anton Gladky
** Attachment added: testScript.py https://bugs.launchpad.net/yade/+bug/681018/+attachment/1743661/+files/testScript.py -- Crash in last revision https://bugs.launchpad.net/bugs/681018 You received this bug notification because you are a member of Yade developers, which is subscribed to

[Yade-dev] [Bug 681018] Re: Crash in last revision

2010-11-24 Thread Václav Šmilauer
Hi Anton, it was the same problem as crash during generating docs. Try with 2568 and close if appropriate. Cheers! ** Changed in: yade Status: New = In Progress ** Changed in: yade Assignee: (unassigned) = Václav Šmilauer (eudoxos) -- Crash in last revision

[Yade-dev] [Bug 681018] Re: Crash in last revision

2010-11-24 Thread Anton Gladky
Hi, Vaclav! Thanks, but unfortunately I still get a crash: python: /home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:69: const boost::shared_ptrInteraction InteractionContainer::find(int, int): Assertion `b1' failed.

Re: [Yade-dev] [Yade-users] can't launch yade

2010-11-24 Thread Václav Šmilauer
I'm Giulia, I've just started my DPhil at the University of Oxford, and I will be using YADE for my research. But I can't launch the program. Welcome! (/scons/ after /sudo chown user: /usr/local/ didn't work) [user - giulia, therefore sudo chown giulia: -R /usr/local (-R for recursive), never

[Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 2569: Remove extra asserts to make Anton happier (sorry, forgotten stuff)

2010-11-24 Thread noreply
revno: 2569 committer: Václav Šmilauer e...@doxos.eu branch nick: yade timestamp: Wed 2010-11-24 20:54:29 +0100 message: Remove extra asserts to make Anton happier (sorry, forgotten stuff) modified: core/InteractionContainer.cpp --

[Yade-dev] [Bug 681018] Re: Crash in last revision

2010-11-24 Thread Václav Šmilauer
Oops, sorry, should be fine in 2569. -- Crash in last revision https://bugs.launchpad.net/bugs/681018 You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. Status in Yet Another Dynamic Engine: In Progress Bug description: The simulation

Re: [Yade-dev] [Bug 681018] Re: Crash in last revision

2010-11-24 Thread Anton Gladky
Sorry, it still crashes python: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr template-parameter-1-1 ::operator-() const [with T = Interaction]: Assertion `px != 0' failed. python: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr

Re: [Yade-dev] [Yade-users] can't launch yade

2010-11-24 Thread Václav Šmilauer
I've heard that other people are running yade on ubuntu 09.10 but they don't have the same problem. The OS is not the problem, as far as I can imagine, don't worry. What floating point exception stands for? http://en.wikipedia.org/wiki/SIGFPE Ah, when you post the debugger output, also