George Michelogiannakis <mixelogj13 <at> yahoo.co.uk> writes:

> 
> 
> 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')
> 



Did you ever get this figured out? I am having the exact same problem, except 
I built the ARM, O3CPU model. I see this problem even when I explicitly specify 
the cpu-type as detailed. I've been trying to follow this through the Python 
debugger but I can't pinpoint the problem.

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to