On Fri, July 15, 2011 7:17 am, Mahmood Naderan wrote: > dear all, > According to the documentation, to resume simulation from a > checkpoint, this command is used: > > build/X86_FS/m5.opt config/example.fs.py -r 1 > > Form my understanding, that command is run from the gem5 root folder. > I want to know how it recognize which checkpoint to restore. Because > when I run that, it says it can not find the checkpoint. > > > mahmood@mpc:gem5$ ls results/bzip2/ > config.ini cpt.5125369401500 cpt.5126899132000 stats.txt > system.pc.com_1.terminal > > mahmood@mpc:gem5$ build/X86_FS/m5.opt configs/example/fs.py -r 1 > gem5 Simulator System. http://gem5.org > gem5 is copyrighted software; use the --copyright option for details. > gem5 compiled Jul 14 2011 14:44:11 > gem5 started Jul 15 2011 16:32:00 > gem5 executing on mpc > command line: build/X86_FS/m5.opt configs/example/fs.py -r 1 > warning: add_child('terminal'): child 'terminal' already has parent > fatal: Checkpoint 1 not found > > I tried to restore from the benchmark's result folder. Agian it says > can not find the checkpoint > mahmood@mpc:bzip2$ ../../build/X86_FS/m5.opt ../../configs/example/fs.py > -r 1 > gem5 Simulator System. http://gem5.org > gem5 is copyrighted software; use the --copyright option for details. > gem5 compiled Jul 14 2011 14:44:11 > gem5 started Jul 15 2011 16:37:47 > gem5 executing on mpc > command line: ../../build/X86_FS/m5.opt ../../configs/example/fs.py -r 1 > warning: add_child('terminal'): child 'terminal' already has parent > fatal: Checkpoint 1 not found > > From which folder I should restore the checkpoint? > Regards, >
While taking the checkpoint, you probably mentioned results/bzip2 as the output directory. So when you want to restore from a checkpoint, you mention the same directory again. -- Nilay _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
