Greetings Everyone,
I have just downloaded gem5 and compiled Garnet standalone protocol. It
compiled just fine, but when a try to run
configs/example/garnet_synth_traffic.py the following error is thrown:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "build/NULL/python/m5/main.py", line 438, in main
exec(filecode, scope)
File "configs/example/garnet_synth_traffic.py", line 126, in <module>
Ruby.create_system(options, False, system)
File "/home/capiedrav/virgin_gem5/gem5/configs/ruby/Ruby.py", line 164,
in create_system
FileSystemConfig.config_filesystem(system, options)
File
"/home/capiedrav/virgin_gem5/gem5/configs/common/FileSystemConfig.py", line
80, in config_filesystem
cpus = [obj for obj in system.descendants() if isinstance(obj, BaseCPU)]
NameError: global name 'BaseCPU' is not defined
After comparing Ruby.py in an older version of gem5, I've noticed that two
lines of code were added in the current version of gem5:
This at line 53:
from common import FileSystemConfig
And this one at line 164:
FileSystemConfig.config_filesystem(system, options)
If I comment out those lines and compile again,
configs/example/garnet_synth_traffic.py runs as expected.
It is OK if I continue working with this configuration, or there are some
side effects that I'm not aware of?
Thanks for your attention.
--
Carlos A. Piedrahita-Velásquez
Universidad de Antioquia
--
"La información aquí contenida es para uso exclusivo de la persona o
entidad de destino. Está estrictamente prohibida su utilización, copia,
descarga, distribución, modificación y/o reproducción total o parcial, sin
el permiso expreso de Universidad de Antioquia, pues su contenido puede ser
de carácter confidencial y/o contener material privilegiado. Si usted
recibió esta información por error, por favor contacte en forma inmediata a
quien la envió y borre este material de su computador. Universidad de
Antioquia no es responsable por la información contenida en esta
comunicación, el directo responsable es quien la firma o el autor de la
misma."
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users