yade-multi is not working

Bug #493686 reported by Anton Gladky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
Critical
Václav Šmilauer

Bug Description

When I start ./scripts/multy.py I have in log-file this:

Usage: Yade [options] [ simulation.xml[.bz2] | script.py [script options]]

Yade: error: no such option: -N

I was trying to delete that option, but simulations do not start either.

Related branches

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Will fix tomorrow, sorry. It relies on options of the old c++ main.

Changed in yade:
importance: Undecided → Critical
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

(please reopen if you still have issues)

Changed in yade:
status: New → Fix Released
Revision history for this message
Anton Gladky (gladky-anton) wrote : Re: [Bug 493686] Re: yade-multi is not working

Thanks for fixing!

But it still seems is a problem with utils.readParamsFromTable
Parameters do not load to the script, they are default one in all
simulations.

For example I have utils.readParamsFromTable(grainSizeInput=8,.....

so grainSizeInput is always 8, but in mult-table it changes.

______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy

2009/12/8 Václav Šmilauer <email address hidden>

> (please reopen if you still have issues)
>
> ** Changed in: yade
> Status: New => Fix Released
>
> --
> yade-multi is not working
> https://bugs.launchpad.net/bugs/493686
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Yet Another Dynamic Engine: Fix Released
>
> Bug description:
> When I start ./scripts/multy.py I have in log-file this:
>
> Usage: Yade [options] [ simulation.xml[.bz2] | script.py [script options]]
>
> Yade: error: no such option: -N
>
>
> I was trying to delete that option, but simulations do not start either.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/yade/+bug/493686/+subscribe
>

Changed in yade:
status: Fix Released → In Progress
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Fix r1872

Changed in yade:
assignee: nobody → Václav Šmilauer (eudoxos)
status: In Progress → Fix Released
Revision history for this message
Anton Gladky (gladky-anton) wrote :

Thanks, it works!

But I have a small problem with yade.plot.addData, while using yade-multi.

I have following error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "uniaxialCylinderTest.py", line 169, in myAddPlotData
    yade.plot.addData(Eps=Eps_calc,Sigma=Sigma_calc)
  File
"/home/gladk/dem/yade/currentMono/build/lib/yade-currentMono/py/yade/plot.py",
line 72, in addData
    reduceData(numSamples)
  File
"/home/gladk/dem/yade/currentMono/build/lib/yade-currentMono/py/yade/plot.py",
line 45, in reduceData
    if not plotDataCollector:
plotDataCollector=o.labeledEngine('plotDataCollector') # will raise
RuntimeError if not found
NameError: global name 'o' is not defined

But when I start the same script with "simple yade" it works normally and
stores data.

______________________________

Anton Gladkyy

2009/12/8 Václav Šmilauer <email address hidden>

> Fix r1872
>
> ** Changed in: yade
> Status: In Progress => Fix Released
>
> ** Changed in: yade
> Assignee: (unassigned) => Václav Šmilauer (eudoxos)
>
> --
> yade-multi is not working
> https://bugs.launchpad.net/bugs/493686
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Yet Another Dynamic Engine: Fix Released
>
> Bug description:
> When I start ./scripts/multy.py I have in log-file this:
>
> Usage: Yade [options] [ simulation.xml[.bz2] | script.py [script options]]
>
> Yade: error: no such option: -N
>
>
> I was trying to delete that option, but simulations do not start either.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/yade/+bug/493686/+subscribe
>

Changed in yade:
status: Fix Released → In Progress
Revision history for this message
Anton Gladky (gladky-anton) wrote :

Thanks! Works now.

Changed in yade:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.