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
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to