hello sir,
i tried it but still ending up with error sir

Command that i executed ::   python GEM5ToMcPAT.py stats.txt config.json
template.xml
Reading GEM5 stats from: stats.txt
    Warning (stats): system.mem_ctrls00.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls00.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls00.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls00.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls00.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls00.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls00.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls01.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls01.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls01.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls01.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls01.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls01.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls01.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls02.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls02.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls02.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls02.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls02.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls02.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls02.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls03.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls03.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls03.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls03.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls03.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls03.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls03.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls04.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls04.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls04.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls04.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls04.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls04.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls04.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls05.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls05.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls05.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls05.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls05.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls05.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls05.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls06.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls06.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls06.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls06.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls06.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls06.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls06.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls07.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls07.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls07.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls07.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls07.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls07.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls07.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls08.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls08.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls08.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls08.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls08.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls08.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls08.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls09.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls09.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls09.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls09.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls09.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls09.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls09.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls10.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls10.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls10.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls10.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls10.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls10.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls10.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls11.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls11.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls11.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls11.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls11.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls11.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls11.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls12.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls12.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls12.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls12.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls12.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls12.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls12.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls13.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls13.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls13.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls13.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls13.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls13.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls13.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls14.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls14.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls14.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls14.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls14.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls14.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls14.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls15.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls15.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls15.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls15.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls15.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls15.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls15.pageHitRate is nan. Setting it to 0
    Warning (stats): system.mem_ctrls16.avgQLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls16.avgBusLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls16.avgMemAccLat is nan. Setting it to 0
    Warning (stats): system.mem_ctrls16.readRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls16.writeRowHitRate is nan. Setting it
to 0
    Warning (stats): system.mem_ctrls16.avgGap is nan. Setting it to 0
    Warning (stats): system.mem_ctrls16.pageHitRate is nan. Setting it to 0
Reading config from: config.json
Reading McPAT template from: template.xml
Traceback (most recent call last):
  File "GEM5ToMcPAT.py", line 181, in <module>
    main()
  File "GEM5ToMcPAT.py", line 53, in main
    dumpMcpatOut(opts.out)
  File "GEM5ToMcPAT.py", line 66, in dumpMcpatOut
    confValue = getConfValue(conf)
  File "GEM5ToMcPAT.py", line 117, in getConfValue
    if x not in currConf[0]:
TypeError: argument of type 'int' is not iterable


On Tue, Mar 5, 2019 at 12:49 PM Andreas Brokalakis <kingm...@gmail.com>
wrote:

> Try this one: https://github.com/H2020-COSSIM/cMcPAT . Not really sure if
> an update in gem5 has broken anything (if it has please report it back to
> me)
>
> On Tue, Mar 5, 2019 at 7:43 AM nevethetha ganesan <
> nevethetha2...@gmail.com> wrote:
>
>> Hello,
>> I need to take the power statistics in gem5. Please help if anyone has
>> McPAT that is compatible with latest version of  gem5. I am using gem5 with
>> garnet 2.0 version.
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to