Hi all,
I'm using the latest stable version of Gem5 and I built
X86_MESI_CMP_directory with the default settings and also "AtomicSimpleCPU"
added to the options.
I get the following error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/parallels/gem5-stable/src/python/m5/main.py", line 387, in main
exec filecode in scope
File "configs/example/fs.py", line 63, in <module>
(options, args) = parser.parse_args()
File "/usr/lib/python2.7/optparse.py", line 1383, in parse_args
values = self.get_default_values()
File "/usr/lib/python2.7/optparse.py", line 1328, in get_default_values
defaults[option.dest] = option.check_value(opt_str, default)
File "/usr/lib/python2.7/optparse.py", line 769, in check_value
return checker(self, opt, value)
File "/usr/lib/python2.7/optparse.py", line 438, in check_choice
% (opt, value, choices))
optparse.OptionValueError: option --cpu-type: invalid choice: 'atomic' (choose
from 'arm_detailed', 'DerivO3CPU', 'TimingSimpleC
PU', 'timing', 'detailed')
So atomic is not included. Also, I specifically specify timing as a cpu type in
my execution:
./build/X86_MESI_CMP_directory/gem5.opt --outdir=$1_dir --dump-config=$1_config
--redirect-stdout --redirect-stderr --stdout-fil
e=$1_out --stderr-file=$1_err --stats-file=$1_stats configs/example/fs.py
--script=./runscripts/$1 --disk-image=x86root-parsec.i
mg --kernel=x86_64-vmlinux-2.6.28.4-smp --cpu-type=timing --caches --l2cache
--clock=2GHz --num-dirs=1 --num-l2caches=1 --num-l3
caches=1 --l2_size=2MB --l3_size=16MB --l1d_assoc=2 --l1i_assoc=2 --l2_assoc=8
--l3_assoc=16 --cacheline_size=64 --ruby --num-cp
us=2
When I run Alpha with MESI CMP it works fine.
Thanks in advance!
George M
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users