To be more specific, when I run  build/ALPHA_SE/m5.opt configs/example/se.py
--bench bzip2 I get the following error:
Traceback (most recent call last):

  File "configs/example/se.py", line 85, in <module>
    exec("workload = %s('alpha', 'linux', 'ref')" % options.bench)
  File "<string>", line 1, in <module>
NameError: name 'bzip2' is not defined
Unable to find workload for bzip2

I added "import MyBench" to the beginning of se.py. And like an earlier
post, I also added

==============
from m5.objects import *
import os, optparse, sys

binary_dir = 'xxxx/alpha_binary/'
data_dir = 'xxxx/SPEC06/cpu2006/benchspec/CPU2006/'
==============

 to the beginning of MyBench.py.

Please help,
Steve

On Sun, Apr 17, 2011 at 10:24 AM, Stevenson Jian <[email protected]>wrote:

> Hi,
> Could someone please help me with this? Your help will be appreciated.
> Thanks,
> Steve
>
>
> On Fri, Apr 15, 2011 at 3:45 PM, Stevenson Jian 
> <[email protected]>wrote:
>
>> Hi,
>> I am trying to run spec2006 on m5 in standalone mode. If you have
>> experience with it, your help will be greatly appreciated.
>> I am looking at http://www.m5sim.org/wiki/index.php/SPEC2006_benchmarks.
>> I am confused by two things.
>> What do I do with Mybench.py given on the webpage? Do I modify
>> configs/example/se.py by adding "from MyBench import *"? To run bzip2, do I
>> use the command: build/ALPHA_SE/m5.opt configs/example/se.py -n 1
>> --bench=bzip2"? That's what I have done and it's not working for me so
>> please help if you see that I am doing something wrong.
>> In addition, the webpage says that m5-stable-mt/src/sim/syscall_emul.cc
>> and m5-stable-mt/src/sim/syscall_emul.hh needs to be modified. The
>> version of m5 that I have already has implementation for getcwdFunc and 
>> mremapFunc
>> in those two files and they look different from the code given on the
>> webpage. What do I do? Should I overwrite the existing code with the code
>> given on the website?
>> Thanks for your time,
>> Steve
>>
>>
>>
>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to