Hi everyone,
I am new to gem5 and now studying the network topology with multi processors.
Today I tried to run the ruby random test with ALPHA architecture and followed
the first example from the link:
http://www.gem5.org/Interconnection_Network
with
all default settings. However the simulation ONLY succeeded with one
SINGLE cpu. That means the --num_cpu and --num_dirs have to be 1. If I
increase the numbers larger than 1, I will get following error messages:
command line: ./build/ALPHA/gem5.debug configs/example/ruby_random_test.py
--num-cpus=16 --num-dirs=16 --topology=Mesh --mesh-rows=4
Error: could not create sytem for ruby protocol MI_example
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/gu47liy/Work/NewGem5/gem5-stable/src/python/m5/main.py", line
388, in main
exec filecode in scope
File "configs/example/ruby_random_test.py", line 108, in <module>
Ruby.create_system(options, False, system)
File "/home/gu47liy/Work/NewGem5/gem5-stable/configs/ruby/Ruby.py", line 191,
in create_system
% protocol)
File "<string>", line 1, in <module>
File "/home/gu47liy/Work/NewGem5/gem5-stable/configs/ruby/MI_example.py",
line 85, in create_system
clk_domain=system.cpu[i].clk_domain,
File "/home/gu47liy/Work/NewGem5/gem5-stable/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
By the way, I have used MI-example as coherence protocol by building ALPHA.
Can anybody help? Should I probably use other coherence protocol than
MI-example for ruby random test?
Thanks in advance,
Best regards,
Leo _______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users