Hi George,
I use Python 2.7.3 from macports along with Xcode 4.6 and it works absolutely
fine on OSX 10.8.2. How did you go about setting up Python? I can greatly
recommend macports for all the gem5 dependencies.
Andreas
From: George Michelogiannakis
<mixelog...@yahoo.co.uk<mailto:mixelog...@yahoo.co.uk>>
Reply-To: George Michelogiannakis
<mixelog...@yahoo.co.uk<mailto:mixelog...@yahoo.co.uk>>, gem5 users mailing
list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Date: Tuesday, 29 January 2013 19:29
To: "gem5-users@gem5.org<mailto:gem5-users@gem5.org>"
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Subject: [gem5-users] Incompatible python versions?
Hello all,
I'm trying to install and run gem5 on a Mac OS X 10.8.2, and so far building
has gone well after installing everything else it needs.
However, I can't seem to run an execution with ARM, ALPHA (MESI directory), X86
(MESI directory) correctly. I'm using python 2.6.8 and 2.7.3, but they both
give the error:
$ ./build/ALPHA_MESI_CMP_directory/gem5.opt configs/example/se.py -c
tests/test-progs/hello/bin/alpha/linux/hello
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/mihelog/gem5/gem5-dev/src/python/importer.py", line 73, in
load_module
exec code in mod.__dict__
File "/Users/mihelog/gem5/gem5-dev/src/python/m5/__init__.py", line 35, in
<module>
import internal
File "/Users/mihelog/gem5/gem5-dev/src/python/importer.py", line 73, in
load_module
exec code in mod.__dict__
File "/Users/mihelog/gem5/gem5-dev/src/python/m5/internal/__init__.py", line
31, in <module>
import event
File "/Users/mihelog/gem5/gem5-dev/src/python/importer.py", line 73, in
load_module
exec code in mod.__dict__
File
"/Users/mihelog/gem5/gem5-dev/build/ALPHA_MESI_CMP_directory/python/swig/event.py",
line 107, in <module>
class Event(m5.internal.serialize.Serializable):
AttributeError: 'module' object has no attribute 'internal'
This is in the development version.
In the stable version ARM runs. However, in the stable version ALPHA (MESI
directory) doesn't compile:
[ CXX] ALPHA_MESI_CMP_directory/kern/tru64/printf.cc -> .o
In file included from build/ALPHA_MESI_CMP_directory/kern/tru64/printf.cc:39:0:
build/ALPHA_MESI_CMP_directory/sim/arguments.hh: In instantiation of
'Arguments::operator T*() [with T = const char]':
build/ALPHA_MESI_CMP_directory/kern/tru64/printf.cc:180:51: required from here
build/ALPHA_MESI_CMP_directory/sim/arguments.hh:140:9: error: invalid
conversion from 'const void*' to 'void*' [-fpermissive]
In file included from build/ALPHA_MESI_CMP_directory/sim/arguments.hh:39:0,
from build/ALPHA_MESI_CMP_directory/kern/tru64/printf.cc:39:
build/ALPHA_MESI_CMP_directory/mem/fs_translating_port_proxy.hh:99:6: error:
initializing argument 2 of 'void CopyOut(ThreadContext*, void*, Addr, size_t)'
[-fpermissive]
scons: *** [build/ALPHA_MESI_CMP_directory/kern/tru64/printf.o] Error 1
scons: building terminated because of errors.
Finally, I was wondering if anyone had experience with running PARSEC
benchmarks from the prec-ompiled dish image:
http://www.m5sim.org/PARSEC_benchmarks
I don't seem to edit Benchmarks.py correctly by following that tutorial.
Thank you very much in advance!!
George M
-- 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
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users