← Back to team overview

yade-dev team mailing list archive

Re: Reloading simulations

 

On 6 April 2011 16:38, Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx> wrote:

>  Hi,
>
> Since most attributes of all classes in the simulation have to be reloaded,
> reloading will fail as soon as one class has a different attributes list
> (including engines, dispatcher, etc.).
> The probability to be in that case tend to 1 with increasing
> (version2-version1).
> Not sure it helps, but do you save in xml?
>
Nope, I save everything as a compressed file .gz. I see the point now, maybe
there are workarounds like exporting variables and so on other than saving.
But I do not really see this as a solution.

>
> Bruno
>
>
> On 06/04/11 15:34, Chiara Modenese wrote:
>
> Hi Anton,
>
> I use O.save() to save the simulation and I use O.load() to load (or
> re-load, is the same) to continue with the test or make a change from the
> point I saved. In Yade one needs to be consistent with the version utilized
> to run and save tests and the one employed to load them. This is a limit if
> one wants to update, say frequently, the version in use.
>
> Chiara
>
>
>
> On 6 April 2011 13:23, Anton Gladky <gladky.anton@xxxxxxxxx> wrote:
>
>> What you mean "reload"?
>>
>> Are you saving simulations with O.save()?
>>
>> Anton
>>
>>
>>
>>
>> On Wed, Apr 6, 2011 at 3:19 PM, Chiara Modenese <c.modenese@xxxxxxxxx>
>> wrote:
>> > Hi guys,
>> >
>> > how is it that is not possible in Yade to reload simulations using
>> different
>> > releases? I mean, can we do something with that? I have samples which I
>> need
>> > to reload and, as am using different versions, am struggling with that.
>> >
>> > Chiara
>> >
>>  > _______________________________________________
>> > 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
>> >
>> >
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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
>
>
>
> --
> _______________
> Bruno Chareyre
> Associate Professor
> ENSE³ - Grenoble INP
> Lab. 3SR
> BP 53 - 38041, Grenoble cedex 9 - France
> Tél : +33 4 56 52 86 21
> Fax : +33 4 76 82 70 43
> ________________
>
>
> _______________________________________________
> 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