On Wed, 24 Oct 2012, Jianfei wrote:

Hi All,

I meet a problem when I use the option of "--at-instruction"

I want to start to insert checkpoints at the 1000th instruction and after that
insert a checkpoint for each 1000 instructions.

The command is

./build/ALPHA_FS/m5.opt ./configs/example/fs.py -n1
--script=writescripts/blackscholes_ckt/blackscholes_1c_simsmall_ckpts.rcS
--at-instruction --take-checkpoints=1000,1000 --max-checkpoints=5


The reports are shown like:

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Sep  9 2012 05:18:07
gem5 started Oct 23 2012 19:24:16
gem5 executing on txuoffice
command line: ./build/ALPHA_FS/m5.opt ./configs/example/fs.py -n 1
--script=writescripts/blackscholes_ckt/blackscholes_1c_simsmall_ckpts.rcS
--at-instruction --take-checkpoints=1000,1000 --max-checkpoints=5
Traceback (most recent call last):
 File "<string>", line 1, in <module>
 File "/usr/local/src/m5/src/python/m5/main.py", line 356, in main
   exec filecode in scope
 File "./configs/example/fs.py", line 208, in <module>
   Simulation.run(options, root, test_sys, FutureClass)
 File "/usr/local/src/m5/configs/common/Simulation.py", line 177, in run
   offset = int(options.take_checkpoints)
ValueError: invalid literal for int() with base 10: '1000,1000'

Are there some conflicts between "--take-checkpoints" and "--at-instrcution"?
If there are, what should I do?


Why are you mentioning '1000,1000' if you want to checkpoint at a particular instruction? If you just mention 1000, that will work out.

--
Nilay
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to