[Yade-dev] [Bug 414868] Re: svn 1942 fails to compile

2009-08-21 Thread Janek Kozicki
** Changed in: yade Status: In Progress = Fix Committed -- svn 1942 fails to compile https://bugs.launchpad.net/bugs/414868 You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. Status in Yet Another Dynamic Engine: Fix Committed

[Yade-dev] [Bug 412892] Re: Warnings in Doxygen

2009-08-21 Thread Anton Gladky
Just 1 warning: /home/anton/dem/bzr-current/yade/py/WeightedAverage2d.cpp:7: Warning: no matching file member found for bool pyGaussAverage::pointInsidePolygon(const Vector2r pt, const vector Vector2r vertices) Possible candidates: bool pointInsidePolygon(python::tuple xy, python::object

[Yade-dev] New scons.profile

2009-08-21 Thread Anton Gladky
According to this: revno: 1708 committer: Václav Šmilauer vac...@flux branch nick: trunk timestamp: Thu 2009-08-20 11:38:22 +0200 message: 1. IMPORTANT! All features are lower-cased now (avoids mess: openGL or OpenGL etc). This will probably break your profile files. 2. IMPORTANT!

Re: [Yade-dev] [Bug 412892] Re: Warnings in Doxygen

2009-08-21 Thread Anton Gladky
We can just leave it? __ [ENG] Best Regards [GER] Mit freundlichen Grüßen [RUS] С наилучшими пожеланиями [UKR] З найкращими побажаннями Anton Gladkyy 2009/8/21 Václav Šmilauer eudo...@arcig.cz The last warning you mention is spurious. Accidentally, there are 2

Re: [Yade-dev] New scons.profile

2009-08-21 Thread Václav Šmilauer
1. IMPORTANT! All features are lower-cased now (avoids mess: openGL or OpenGL etc). This will probably break your profile files. 2. IMPORTANT! openmp is one of features, no longer a separate options. Adjust your profiles So, the scons.profile

Re: [Yade-dev] dispatch, inheritance, virtual functions

2009-08-21 Thread Václav Šmilauer
Janek, ping? I was debugging that and I get the following: ConstitutiveLawDispatcher::locateMultivirtualFunctor2D is called with those arguments: 1. Dem3DofGeom_FacetSphere, class index 2 (for InteractionGeometry) 2. ElasticContactInteraction, class index 2 (for InteractionPhysics) Now

Re: [Yade-dev] [deprecated list] dispatch, inheritance, virtual functions

2009-08-21 Thread Václav Šmilauer
Janek, ping? I left yesterday around 17, so I didn't see your email until today :) I wrote the locateMultivirtualFunctor2D from scratch, it seems to work just fine. I didn't measure, but I don't think it will be much slower (probably on par with the old implementation or faster). It will

[Yade-dev] [Bug 415265] Re: Script works only with linkStrategy=monolithic option (dispatching bug)

2009-08-21 Thread Janek Kozicki
hm, I am unable to run this script pr.py: Running script pr.py /usr/lib/python2.5/site-packages/pytz/__init__.py:32: UserWarning: Module dateutil was already imported from /usr/lib/pymodules/python2.5/dateutil/__init__.py, but /usr/lib/pymodules/python2.5 is being added to sys.path from

Re: [Yade-dev] [deprecated list] dispatch, inheritance, virtual functions

2009-08-21 Thread Anton Gladky
2009/8/21 Václav Šmilauer eudo...@arcig.cz Janek, ping? I left yesterday around 17, so I didn't see your email until today :) I wrote the locateMultivirtualFunctor2D from scratch, it seems to work just fine. I didn't measure, but I don't think it will be much slower I can measure it,

Re: [Yade-dev] [deprecated list] dispatch, inheritance, virtual functions

2009-08-21 Thread Anton Gladky
Yea, ok. No problem. When will it be commited? __ [ENG] Best Regards [GER] Mit freundlichen Grüßen [RUS] С наилучшими пожеланиями [UKR] З найкращими побажаннями Anton Gladkyy 2009/8/21 Václav Šmilauer eudo...@arcig.cz I wrote the

[Yade-dev] [Bug 415265] Re: Script works only with linkStrategy=monolithic option (dispatching bug)

2009-08-21 Thread Václav Šmilauer
OIC, itertools.product was added in python 2.6 :-| -- Script works only with linkStrategy=monolithic option (dispatching bug) https://bugs.launchpad.net/bugs/415265 You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. Status in Yet Another

[Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1715: 1. Rewrite 2d dispatching code from scratch

2009-08-21 Thread noreply
revno: 1715 committer: Václav Šmilauer vac...@flux branch nick: trunk timestamp: Fri 2009-08-21 13:44:00 +0200 message: 1. Rewrite 2d dispatching code from scratch 2. Expose classIndex to python for indexable classes 3.

[Yade-dev] [Bug 415265] Re: Script works only with linkStrategy=monolithic option (dispatching bug)

2009-08-21 Thread Janek Kozicki
heh, and python 2.6 is in debian experimental... Will take few months at least to get down to testing. Although I could probably port it myself. But you have just said that your new locateMultivirtualFunctor2D works? -- Script works only with linkStrategy=monolithic option (dispatching bug)

[Yade-dev] [Bug 415265] Re: Script works only with linkStrategy=monolithic option (dispatching bug)

2009-08-21 Thread Václav Šmilauer
I just commited that thing. Anton, how it could have worked? It wasn't commited yet. ;-) Janek: dispatcher and loading plugins should be independent. The code in the dispatcher was really buggy. (I don't know why it worked with monolithic, though.) -- Script works only with

[Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1716: Add python 2.5 compatibility hack

2009-08-21 Thread noreply
revno: 1716 committer: Václav Šmilauer vac...@flux branch nick: trunk timestamp: Fri 2009-08-21 13:59:41 +0200 message: Add python 2.5 compatibility hack modified: py/pack.py -- lp:yade

Re: [Yade-dev] [Bug 415265] Re: Script works only with linkStrategy=monolithic option (dispatching bug)

2009-08-21 Thread Anton Gladky
It worked with monolithic. I have several installations, some of them monolithic, some not. monolithic worked :) __ [ENG] Best Regards [GER] Mit freundlichen Grüßen [RUS] С наилучшими пожеланиями [UKR] З найкращими побажаннями Anton Gladkyy 2009/8/21 Václav Šmilauer

[Yade-dev] Warnings while compiling without openmp feature

2009-08-21 Thread Anton Gladky
I found this: In file included from /home/gladk/dem/yade/current_nomp/build-current_nomp/packages.cpp:3: /home/gladk/dem/yade/current_nomp/yade/pkg/common/Engine/StandAloneEngine/InsertionSortCollider.cpp:197: warning: ignoring #pragma omp parallel

[Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1717: Avoid error in pack.triaxialTest if compiled without GTS.

2009-08-21 Thread noreply
revno: 1717 committer: Václav Šmilauer vac...@flux branch nick: trunk timestamp: Fri 2009-08-21 16:14:26 +0200 message: Avoid error in pack.triaxialTest if compiled without GTS. modified: py/pack.py scripts/test/collider-stride.py

[Yade-dev] [Bug 416906] Re: some scripts possibly not compatible with python 2.5

2009-08-21 Thread Václav Šmilauer
1. Can you retry examples/concrete/uniaxia/rb.py with r1717? You compiled without GTS, right? 2. Can you try scripts/simple-scene-graph.py and type yp.plot.plot() after a while it runs? It seems like error of your matplotlib installation or the initialization. If that doesn't work, please try

[Yade-dev] [Bug 416906] Re: some scripts possibly not compatible with python 2.5

2009-08-21 Thread Janek Kozicki
in r1717 rb.py runs. I can see some spheres being compresses. Should I let it run for some time? python-matplotlib version 0.98.3-5 It just worked when using GTKCairo - I can see two plots. so maybe I would need to install some package to have it working with Tcl? with QtAgg it segfaults,

[Yade-dev] [Bug 416906] Re: some scripts possibly not compatible with python 2.5

2009-08-21 Thread Václav Šmilauer
Oh yes, let run rb.py till the very end, it should report tensile/compressive strength, save the curve to gnuplot file and exit (much faster with the optimized build). -- some scripts possibly not compatible with python 2.5 https://bugs.launchpad.net/bugs/416906 You received this bug