Dear Weizheng, you can find the templates here: https://github.com/H2020-COSSIM/cMcPAT/tree/master/mcpat/ProcessorDescriptionFiles
Here you can find the conversion script: https://github.com/H2020-COSSIM/cMcPAT/tree/master/Scripts (note that it has changes compared to the one you are using) Lastly, you can find in the repository a newer version of McPAT, which is a modified 1.3 version. In any case, it is kinda hard to understand why you have this problem if you do not share your stats (as well as config.json file), the template and the output file. Also keep in mind that while a conversion may be legit, McPAT does not support all possible combinations of systems that gem5 may support. For example, we modified McPAT because the atomic simple CPU models that gem5 could support, where not acceptable for McPAT (for example McPAT will always assume that you have a certain uarch structures). In some cases we also found that the conversion tool that you have used, didn't work properly with newer versions of gem5 and under certain circumstances it would replace a value with a 'nan' number. Of course this caused problems similar to the ones you are reporting. I would suggest looking thoroughly to the output.xml file and check that all values that you are trying to convert using stats.txt and config.json data are properly converted and there is no problem there. Best, Andreas On Wed, Oct 17, 2018 at 1:16 AM Weizheng Xu < [email protected]> wrote: > Dear all, > > I have add the template I used for McPAT as the attachment. But I still > have the same problem here. I have check the repository of the person who > help me before https://github.com/H2020-COSSIM/cMcPAT, but I did not find > the template in his files. I am not sure how can I change the template > because when I change the value of number of cores and others, they have > the same problem. > > Any help appreciate. > > Best wishes, > weizheng > > > > > 在 Sep 25, 2018,7:10 AM,Andreas Brokalakis <[email protected]> 写道: > > Dear Weizheng, > > you are using a quite old version of McPAT. Current version is 1.3. It > would be better if you used that one. > > Now concerning your issues. You need to make sure that the system that you > are trying to simulate in gem5 matches with the template that you are > trying to use in McPAT. It is assumed that you need to make changes in the > template xml file to match it with the gem5 system. Check the proper > instructions on how to do that. > > You can also check the modified McPAT and conversion scripts in my > repository here: https://github.com/H2020-COSSIM/cMcPAT > > Best regards, > Andreas > > On Mon, Sep 24, 2018 at 11:10 PM Weizheng Xu < > [email protected]> wrote: > >> Dear all, >> >> I use gem5 get the full system simulation results and want to use McPAT >> to get the power model. I use the Gem5ToMcpat.py and template_xeon.xml >> gotten from website to translate the stats.txt to the output.xml, which can >> be read as input by McPAT. But when I use this output.xml as a input for >> McPAT (I use command ./mcpat -infile >> /home//Desktop/test/gem5/ext/mcpat/out.xml in the terminal to run the >> McPAT), I got the error shown as following: >> "McPAT (version 0.8 of Aug, 2010) is computing the target processor... >> >> some value(s) of >> number_of_cores/number_of_L2s/number_of_L3s/number_of_NoCs is/are not >> correct!” >> >> I tried to change these values in the template_xeon.xml but still failed >> with this problem. >> >> I really don’t know how to solve this problem. >> >> PS: I use ubuntu16.04 LTS and gem5. I use the McPAT provided in the >> gem5/ext file and with version of 0.8 >> >> Any help appreciated, >> thanks >> >> Weizheng >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
