Hello I am using the latest version of gem5 (21.2.1.0).
Previously, when using gem5 version 21.0.0.0, in the function "def define_options(parser)" (in CHI.py), I added some command line options as such: def define_options(parser): parser.add_option("--chi-config", action="store", type="string", default=None, help="NoC config. parameters and bindings. " "Required for CustomMesh topology") ## Add command line options specifically for the [Big, Middle, Little] ## Cluster. parser.add_option("--verbose", action="store", type="string", default="false", help="Disable/Enable verbose printing for debugging") parser.add_option("--num-clusters", action="store", type="string", default=0, help="Number of Clusters in the system") I was then able to specify the options when running as: ./build/ARM/gem5.opt --outdir=m5out_parsec_blackscoles_1_clust_little_4_cpu_all_shared_l2 configs/example/se_kiri n_custom.py --ruby --topology=Pt2Pt --cpu-type=DerivO3CPU --num-cpus=4 --num-dirs=1 --num-l3caches=1 --verbose=true --num-clusters=0 ..... This then worked okay. The new command line options I added was recognised okay. Now with gem5 21.2.1.0, I have added the same options to the define_options(parser) function (in CHI.py) as such: def define_options(parser): parser.add_argument("--chi-config", action="store", type=str, default=None, help="NoC config. parameters and bindings. " "Required for CustomMesh topology") ## Add command line options specifically for the [Big, Middle, Little] ## Cluster. parser.add_option("--verbose", action="store", type="string", default="false", help="Disable/Enable verbose printing for debugging") parser.add_option("--num-clusters", action="store", type="string", default=0, help="Number of Clusters in the system") : : But the following command does not work anymore: ./build/ARM/gem5.opt --outdir=m5out_parsec_blackscoles_1_clust_little_4_cpu_all_shared_l2 configs/example/se_kiri n_custom.py --ruby --topology=Pt2Pt --cpu-type=DerivO3CPU --num-cpus=4 --num-dirs=1 --num-l3caches=1 --verbose=true --num-clusters=0 The error message being: command line: ./build/ARM/gem5.opt --outdir=m5out_parsec_blackscoles_1_clust_little_4_cpu_all_shared_l2 configs/example/se_kirin_custom.py --ruby --topology=Pt2Pt --cpu-type=DerivO3CPU --num-cpus=4 --num-dirs=1 --num-l3caches=1 --verbose=true --num-clusters=0 Usage: se_kirin_custom.py [options] se_kirin_custom.py: error: no such option: --verbose Any pointers why the new command line options I had previously specified are now not working? Tks in advance JO
_______________________________________________ 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