Hi all,

I am pretty new to gem5. I was trying to run gem5 with ruby memory mode.

I compiled gem5 with the following command:
scons build/ALPHA_MOESI_hammer/gem5.opt

Then I ran gem5:
./build/ALPHA/gem5.opt \
                  configs/example/ruby_random_test.py \
                  --num-cpus=16  \
                  --num-dirs=16  \
                  --topology=Mesh  \
                  --mesh-rows=4 

However, I got an error:

Error: could not create sytem for ruby protocol MOESI_hammer
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/gpfs/fs1/home/rzheng3/gem5/gem5/src/python/m5/main.py", line 388,
in main
    exec filecode in scope
  File "configs/example/ruby_random_test.py", line 109, in <module>
    Ruby.create_system(options, system)
  File "/gpfs/fs1/home/rzheng3/gem5/gem5/configs/ruby/Ruby.py", line 141, in
create_system
    % protocol)
  File "<string>", line 1, in <module>
  File "/gpfs/fs1/home/rzheng3/gem5/gem5/configs/ruby/MOESI_hammer.py", line
108, in create_system
    clk_domain=system.cpu[i].clk_domain,
  File "/gpfs/fs1/home/rzheng3/gem5/gem5/src/python/m5/SimObject.py", line
1156, in __getitem__
    raise IndexError, "Non-zero index '%s' to SimObject" % key
IndexError: Non-zero index '1' to SimObject


can anyone help?
Thanks


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

Reply via email to