Three ways: 1 Open the m5.cpt in your checkpoint dir and change the "cur_ver" in the section "[root]" to 11 ( 0xb). Then apply the cpt_upgrader.py
2 Add the "numMainEventQueues=1" in the section "[Globals]" (m5.cpt) manually. 3 Change "0x000000000000000e" in serialized.hh into "0x000000000000000b", then recompile the gem5 and regenerate the checkpoint. Hope this can help you. On Wed, Jun 15, 2016 at 1:28 AM, Xin He <[email protected]> wrote: > Hi, > > I am using gem5 stable version from official website and I've created > individual checkpoints in SE mode. > These checkpoints can be restored and function well individually. > > Then I use util/checkpoint_aggregator.py to merge these checkpoints and no > error reported so far. > However, when restoring the aggregated checkpoints, error "fatal: Can't > unserialize 'Globals:numMainEventQueues'" occurs. > > After this, I also tried the script util/cpt_upgrader.py, but this error > still exists. > From http://reviews.gem5.org/r/2324/, I know the cpt_upgrader.py and > serialized.hh had been already patched. > In the lastest stable version, > In serialized.hh, gem5CheckpointVersion is 0x000000000000000e; > In cpt_upgrader.py, migrations.append the "from_D" version. > > Does anyone solve this problem? > > Thanks! > > Xin He > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
