It might just be that your graphviz installation wasn’t compiled with pdf 
support. You should be able to check by running:

dot -v



From: gem5-users [mailto:[email protected]] On Behalf Of Timon 
Evenblij
Sent: Thursday, January 04, 2018 7:59 AM
To: gem5 users mailing list <[email protected]>
Subject: [EXT] Re: [gem5-users] Configuration visualizer

Thanks for the answer! I thought I had installed pydot but apparently not.
Installing pydot allows generating the visual config files, but it generates 
only svg. for pdf's it shows the following error:

['dot', '-Tpdf', '/tmp/tmpByuGfL'] return code: 1

stdout, stderr:

Format: "pdf" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig 
gd gd2 gif gv imap imap_np ismap jpe jpeg jpg plain plain-ext png ps ps2 svg 
svgz tk vml vmlz vrml wbmp xdot

warn: failed to generate dot output from m5out/config.dot
Do I have to install something else? It seems like pydot does not support the 
pdf format by default.

Best regards

Timon


On Wed, Jan 3, 2018 at 3:33 PM, 조해윤 
<[email protected]<mailto:[email protected]>> wrote:
Dear, Timon

Install pydot, and then rebuild gem5 and run simulation.
Then, you can see config.dot.pdf file which has the content like below.
[본문 이미지 1]

Best regards

Haeyoon Cho

2018-01-03 23:06 GMT+09:00 Timon Evenblij 
<[email protected]<mailto:[email protected]>>:
Hi all,

I thought I once came across a tool to visualize the configuration used for a 
simulation in gem5, but I didn't look into it at the moment. Right now, this 
would be very useful, especially to visualize the configuration used for the 
memory hierarchy (i.e. how all memory objects are connected with all the 
ports). However, I cannot seem to find it. Did I misunderstood that such a tool 
exists, or can somebody point me into the right direction where to find it?

Otherwise, I would perhaps create a tool like that, so any tips or pitfalls are 
welcome as well.

Best regards

Timon

_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


_______________________________________________
gem5-users mailing list
[email protected]<mailto:[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

Reply via email to