← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2710: 1. Add plot.autoAddData with docs. A limitation is that "=" should not be in names of data column...

 

I can:

----------------------------------------------------------------------
File "/home/gladk/dem/yade/cleanCompNew/build/lib/yade-cleanCompNew/py/yade/plot.py",
line 144, in yade.plot.addAutoData
Failed example:
    pprint(plot.data)   #doctest: +ELLIPSIS
Expected:
    {'gravWork': [0.0, -25.13274...],
     'i': [0, 1],
     'kinRot': [0.0, 0.0],
     'kinTrans': [0.0, 7.5398...],
     'nonviscDamp': [0.0, 10.0530...],
     'total energy': [0.0, -7.5398...]}
Got:
    {'gravWork': [2.0763470812745375e-309, -25.132741228718356],
     'i': [0, 1],
     'kinRot': [2.9643938750474793e-323, 0.0],
     'kinTrans': [3.5355339059327378, 7.5398223686155061],
     'nonviscDamp': [1.3842316782250586e-309, 10.053096491487342],
     'total energy': [3.5355339059327378, -7.5398223686155079]}


----------------------------------------------------------------------


Anton




2011/2/8 Václav Šmilauer <eu@xxxxxxxx>:
>
>>> pprint(plot.data)   #doctest: +ELLIPSIS
>>
>> +       {'gravWork': [0.0, -25.13274...],
>> +        'i': [0, 1],
>> +        'kinRot': [0.0, 0.0],
>> +        'kinTrans': [0.0, 7.5398...],
>> +        'nonviscDamp': [0.0, 10.0530...],
>> +        'total energy': [0.0, -7.5398...]}
>>
>> As it is failed with last commits.
>
> Can someone reproduce the failure locally? It works perfectly here (w/
> clang, without OpenMP). The values from the buildbot are some garbage
> numbers (like-9.881926876257279e+166 from
> https://www.yade-dem.org/buildbot/builders/yade-full/builds/326/steps/test/logs/stdio),
> so it is either OpenMPArrayAccumulator initialization issue, or something
> else.
>
>  Cheers, v.
>
> _______________________________________________
> 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