← Back to team overview

yade-dev team mailing list archive

Re: Strange behaviour of function unbalancedForce

 

Hi Klaus,
try to start your script with -j1 option.
There are sometimes some issues with "numerical" error in multi-thread mode.

Anton




On Thu, Oct 6, 2011 at 6:40 AM, Klaus Thoeni <klaus.thoeni@xxxxxxxxx> wrote:
> Hi guys,
>
> I just wanted to use the function unbalancedForce in one of my scripts. And
> look what is happening: running the same simulation several times after each
> other gives different results for the unbalancedForce. Well either some values
> which seem all right or just zero. The script I used is:
> examples/WireMatPM/wirecontacttest.py
>
> Even using different computers and different versions of yade gives this
> problem. However, it doesn't happen all the time. It seems like you have to
> try several times to get the wrog value (which is zero) for unbalancedForce
> and if I use Bruno's collide2 branch it seems to work all the time.
>
> So I don't know if it is a problem with my script or a problem of the current
> trunk version. Can anyone reproduce this problem?
>
> Thanks
> Klaus
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References