Hi all
I run full system encountering some problems. The command I use was as 
following:
build/ARM_MESI_Three_Level/gem5.opt -d fs-results-test \
--remote-gdb-port=0 --configs/example/fs.py  --cpu-clock=1GHz\
--kernel=vmlinux --machine-type=VExpress_GEM5_V1\
--dtb-file=/home/zhangmeng/gem5/system/arm/dt/armv8_gem5_v1_1cpu.dtb\
--disk-image=gem5_ubuntu16.img\
--caches --l2cache --cpu-type=O3CPU --l1i_size=32KB --l1d_size=32KB\
--l2_size=1MB --l2_assoc=2 --mem-type=DDR4_2400_4x16 --mem-ranks=4\
--mem-size=4GB --sys-clock=1600MHz --num-cpus=4 --num-dirs=4


The error information is :


Traceback (most recent call last):
&nbsp; File "<string&gt;", line 1, in <module&gt;
&nbsp; File "build/ARM_MESI_Three_Level/python/m5/main.py", line 457, in main
&nbsp; &nbsp; exec(filecode, scope)
&nbsp; File "configs/example/fs.py", line 308, in <module&gt;
&nbsp; &nbsp; (options, args) = parser.parse_args()
&nbsp; File "/usr/lib/python2.7/optparse.py", line 1384, in parse_args
&nbsp; &nbsp; values = self.get_default_values()
&nbsp; File "/usr/lib/python2.7/optparse.py", line 1329, in get_default_values
&nbsp; &nbsp; defaults[option.dest] = option.check_value(opt_str, default)
&nbsp; File "/usr/lib/python2.7/optparse.py", line 770, in check_value
&nbsp; &nbsp; return checker(self, opt, value)
&nbsp; File "/usr/lib/python2.7/optparse.py", line 439, in check_choice
&nbsp; &nbsp; % (opt, value, choices))
optparse.OptionValueError: option --cpu-type: invalid choice: 'AtomicSimpleCPU' 
(choose from 'O3_ARM_v7a_3', 'TimingSimpleCPU', 'ex5_big', 'DerivO3CPU', 
'TraceCPU')



The version of gem I used was 20.0.0.3
Do i need to change the python version to python3?
And bofore I run the command, I check the build_opts. In the file of 
ARM_MESI_Three_Level, the CPU_MODELS have two options: TimingSimpleCPU and 
O3CPU. I specify the cpu-type=O3CPU in the command line, but it seems 
usefulless.


So how can I solve this problem, and then to run the FS with garnet2.0 and 
parsec3.0?
would someone give me some suggestions ?
Thanks a lot


ZhangMeng
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to