Hi Nathanaël, I am temtped to say, add it manually. We could always tweak the cpt_upgrade.py script to assume 0 in the case of no version number being present (feel free to post a patch :).
Andreas On 23/10/2012 14:26, "Nathanaël Prémillieu" <nathanael.premill...@irisa.fr> wrote: >Hi all, > >Since a long time ago, I have this message when I run my simulation with >restoring from the checkpoints I have taken (also a long time ago): > >warn: !!!! Checkpoint ver 0 is older than current ver 0x1 !!!! >warn: You might experience some issues when restoring and should run the >checkpoint upgrader (util/cpt_upgrade.py) on your checkpoint > >The fist time I saw that message, I tried to run cpt_upgrade.py, but the >script was saying that it couldn't find the version number of my >checkpoint. As the checkpoint was still working, I didn't mind at time. > >But recently, I have upgraded my version of gem5, and now my checkpoints >don't work any more. It seems it's because of the new version (v 2) of >the checkpoint system. >After a little bit of digging, it seems that my checkpoint are so old >that no version information is written in it, so the cpt_upgrade.py >script is unable to upgrade my checkpoint. > >Do I need to add it manually or is there a nicer way (and more >automatic) way of doing it? > >Thanks, > >Nathanaël >_______________________________________________ >gem5-users mailing list >gem5-users@gem5.org >http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users