Hi,
It looks to me as if your M5_PATH variable is not pointing to the directory
containing the gem5 system files. I assume you are trying to run
configs/example/fs.py?
You should download the files for the architecture of interest from
http://www.gem5.org/Download . These files should then be un-tarred into the
directory referenced by M5_PATH. This should create a number of directories
(disks, binaries etc) which contain the full system files.
There are more instructions here:
http://www.gem5.org/Compiling_M5#Installing_full_system_files
Sascha
From: Thomas, Amanda J [mailto:[email protected]]
Sent: 26 April 2012 13:39
To: Sascha Bischoff; [email protected]
Subject: Re: [gem5-users] running bbench
Thanks that fixed that problem but now there's an error for: ... Import Error:
Can't find a path to system files.
I have added to PATH and LD_LIBRARY_PATH the directory of Python and M5_PATH
set to gem5/system/.
Now what's wrong?
Thanks, Amanda
----- Reply message -----
From: "Sascha Bischoff" <[email protected]>
Date: Wed, Apr 25, 2012 3:50 am
Subject: [gem5-users] running bbench
To: "gem5 users mailing list" <[email protected]>
Hi,
It looks like you might have a non default python install.
Have a look at: http://www.mail-archive.com/[email protected]/msg02886.html
...and have a look at this wiki page:
http://m5sim.org/wiki/index.php/Using_a_non-default_Python_installation
I hope this helps!
Sascha
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Thomas, Amanda J
Sent: 24 April 2012 22:55
To: [email protected]
Subject: [gem5-users] running bbench
Hi,
I'm having trouble running bbench. I followed the instructions on
http://m5sim.org/BBench-gem5 and have everything installed. I exported the
M5_PATH variable. When I try to run with
/path_to_gem5_root/build/ARM/m5.fast configs/example/fs.py -b bbench
--kernel=vmlinux.smp.mouse.arm
the output I get is:
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/importer.py", line
73, in load_module
exec code in mod.__dict__
File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/m5/__init__.py",
line 44, in ?
import SimObject
File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/importer.py", line
73, in load_module
exec code in mod.__dict__
File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/m5/SimObject.py",
line 58, in ?
from m5.params import *
File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/importer.py", line
73, in load_module
exec code in mod.__dict__
File "/home/amanda/Downloads/gem5-bbceb6297329/src/python/m5/params.py", line
63, in ?
import datetime
ImportError: /usr/local/lib/python2.4/lib-dynload/datetime.so: undefined
symbol: _Py_ZeroStruct
What's wrong?
Thanks,
Amanda
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
-- IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient,
please notify the sender immediately and do not disclose the contents to any
other person, use it for any purpose, or store or copy the information in any
medium. Thank you.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
-- IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient,
please notify the sender immediately and do not disclose the contents to any
other person, use it for any purpose, or store or copy the information in any
medium. Thank you._______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users