Problems running the very first application at the simulator

432 views
Skip to first unread message

Konstantinos Koukos

unread,
Dec 23, 2013, 2:20:14 PM12/23/13
to gem5-g...@googlegroups.com
Hello,

I have recently installed and configured gem5-gpu with the instructions provided in:
https://gem5-gpu.cs.wisc.edu/wiki/start

My python version is: Python 2.7.5+
gcc/g++ version 4.4.7 (Ubuntu/Linaro 4.4.7-2ubuntu2)
SCons v.2.3.0
SWIG Version 2.0.10 (Compiled with g++ [x86_64-unknown-linux-gnu]) / (Configured options: +pcre)

By running the following:
build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ../benchmarks/rodinia/backprop/gem5_fusion_backprop -o 16

I get the following error:

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Dec 21 2013 12:59:10
gem5 started Dec 23 2013 20:43:50
gem5 executing on craft
command line: build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ../benchmarks/rodinia/backprop/gem5_fusion_backprop -o 16
Warning: Only block size currently supported is 128B. Defaulting to 128.
warn: add_child('cpu_clk_domain'): child 'clk_domain' already has parent
warn: add_child('voltage_domain'): child 'voltage_domain' already has parent
Using template and command line options for gpgpusim.config
Global frequency set at 1000000000000 ticks per second
warn: system.ruby.network adopting orphan SimObject param 'int_links'
warn: system.ruby.network adopting orphan SimObject param 'ext_links'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/koukos/Simulators/Running/gem5-gpu/gem5/src/python/m5/main.py", line 387, in main
    exec filecode in scope
  File "../gem5-gpu/configs/se_fusion.py", line 186, in <module>
    Simulation.run(options, root, system, FutureClass)
  File "/home/koukos/Simulators/Running/gem5-gpu/gem5/configs/common/Simulation.py", line 415, in run
    m5.instantiate(checkpoint_dir)
  File "/home/koukos/Simulators/Running/gem5-gpu/gem5/src/python/m5/simulate.py", line 112, in instantiate
    for obj in root.descendants(): obj.createCCObject()
  File "/home/koukos/Simulators/Running/gem5-gpu/gem5/src/python/m5/SimObject.py", line 1057, in createCCObject
    self.getCCParams()
  File "/home/koukos/Simulators/Running/gem5-gpu/gem5/src/python/m5/SimObject.py", line 1016, in getCCParams                           
    setattr(cc_params, param, value)                                                                                                   
SystemError: NULL result without error in PyObject_Call

Could anyone please provide some more info about the problem???
(Most probably i either didn't build the benchmarks correctly or i am using incompatible version of something.)
My system is x86_64 as recommended.

Best Regards and thanks in advance.

Jason Power

unread,
Dec 23, 2013, 3:37:36 PM12/23/13
to Konstantinos Koukos, gem5-g...@googlegroups.com

The looks like a swig problem to me. Make sure that you are using the precise versions that we have found compatible with gem5-gpu. Those can be found http://goo.gl/S1ts6.

Hopefully that will fix the problem.

Jason

--
(Sent from my mobile device, please excuse typos)

Konstantinos Koukos

unread,
Dec 25, 2013, 7:57:46 AM12/25/13
to gem5-g...@googlegroups.com
Rolling back swig and scons and rebuilding everything solved the problem.

Thanks a lot.
Best Regards
Reply all
Reply to author
Forward
0 new messages