Hi Everyone

I encountered the same problem after I downloaded a fresh copy of gem5 2
days ago.
here's my command line and error trace back.

command line: ./build/ALPHA/gem5.opt configs/example/se.py -c
../../../Downloads/alphaev67-unknown-linux-gnu/equake;../../../Downloads/alphaev67-unknown-linux-gnu/equake
-i ../../../Downloads/spec2000_bms/183.equake/data/ref/input/inp.in
;../../../Downloads/spec2000_bms/183.equake/data/ref/input/inp.in--restore-with-cpu=detailed
--num-cpus=2 --caches -r 5000000000
--checkpoint-dir=m5out --at-instruction
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/nithesh/simcopy/gem5/src/python/m5/main.py", line 387, in main
    exec filecode in scope
  File "configs/example/se.py", line 248, in <module>
    Simulation.run(options, root, system, FutureClass)
  File "/home/nithesh/simcopy/gem5/configs/common/Simulation.py", line 413,
in run
    cpt_starttick, checkpoint_dir = findCptDir(options, cptdir, testsys)
  File "/home/nithesh/simcopy/gem5/configs/common/Simulation.py", line 158,
in findCptDir
    return cpt_starttick, checkpoint_dir
UnboundLocalError: local variable 'cpt_starttick' referenced before
assignment


There seems to be a problem with fast forward as well. Please let me know
if I got something wrong in the command line. It errors out after switching
the cpu to detailed as following.

command line: ./build/ALPHA/gem5.opt configs/example/se.py -c
../../Downloads/alphaev67-unknown-linux-gnu/equake;../../Downloads/alphaev67-unknown-linux-gnu/equake
-i ../../Downloads/spec2000_bms/183.equake/data/ref/input/inp.in
;../../Downloads/spec2000_bms/183.equake/data/ref/input/inp.in--cpu-type=detailed
--num-cpus=2 --caches --fast-forward 10000
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
0: system.remote_gdb.listener: listening for remote gdb #1 on port 7001
Switch at instruction count:10000
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
info: Increasing stack size by one page.
hack: be nice to actually delete the event here
Switched CPUS @ tick 5025000
switching cpus
**** REAL SIMULATION ****
info: Entering event queue @ 5025000.  Starting simulation...
Exiting @ tick 5025000 because a thread reached the max instruction count

Thanks
Nithesh Kurella
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to