Yes, I find the directory didn't work.  But,  when i fix this problem, a
new
issue appear as the following:  (NameError: name 'arm' is not defined)
--------------------------------------------------------------------------------------------------

  [linjiah@localhost gem5]$ ./build/ARM_SE/gem5.opt  ./test_gzip.py

gem5 Simulator System.  http://gem5.org

gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Sep 20 2011 23:40:29

gem5 started Sep 30 2011 15:34:54

gem5 executing on localhost.localdomain

command line: ./build/ARM_SE/gem5.opt ./test_gzip.py

Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "/home/linjiah/gem5_dir/gem5_arm/gem5/src/python/m5/main.py", line
356, in main

    exec filecode in scope

  File "./test_gzip.py", line 33, in <module>

    workload = gzip_log(arm, linux, 'smred')

NameError: name 'arm' is not defined

[linjiah@localhost gem5]$
--------------------------------------------------------------------------------------



On Wed, Sep 28, 2011 at 5:09 PM, Ali Saidi <[email protected]> wrote:

> This needs to be relative of where this script lives... Unless it's in a
> director under configs this isn't going to work.
>
> Ali
>
> On Sep 28, 2011, at 3:04 AM, xxx wrote:
>
> m5.util.addToPath('../configs/common')
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to