Hi, I am just a couple of days into gem5. I am trying to run the
MESI_Two_Level with Ruby configuration (configs/ruby/MESI_Two_Level.py) and
this is the error I am getting:
command line: build/ALPHA_MESI_Two_Level/gem5.opt configs/ruby/MESI_Two_Level.py
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/shafi/gem5/src/python/m5/main.py", line 388, in main
exec filecode in scope
File "configs/ruby/MESI_Two_Level.py", line 34, in <module>
from Ruby import create_topology
File "configs/ruby/Ruby.py", line 48, in <module>
import MemConfig
ImportError: No module named MemConfig
I have built it with the command: scons PROTOCOL=MESI_Two_Level RUBY=True
build/ALPHA_MESI_Two_Level/gem5.opt
And trying to run it with: build/ALPHA_MESI_Two_Level/gem5.opt
configs/ruby/MESI_Two_Level.py
and also with: build/ALPHA_MESI_Two_Level/gem5.opt
configs/ruby/MESI_Two_Level.py -c tests/test-progs/hello/bin/alpha/linux/hello
Am I correct in assuming that the MESI_Two_Level.py is a self contained
example or do I have to do any configuration?
NOTE: I am using the latest gem5 stable. Also, the file
configs/common/MemConfig.py exists. What do I need to do to make the program
recognize the module?
Thanks in advance for your help.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users