First--sorry about a possible duplicate posting, I first emailed
[email protected], and I'm not sure if that's being used anymore.

When I run

% build/ARM_SE/gem5.opt configs/example/cmp.py

I get the messages that:

gem5 compiled Apr 10 2012 12:46:06

gem5 started Apr 10 2012 21:24:13

gem5 executing on cluster.csl.cornell.edu

command line: build/ARM_SE/gem5.opt configs/example/cmp.py

Traceback (most recent call last):

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

    File
"/ufs/cluster/amber/Gem5_Stuff/gem5-stable-b9ba22cb23f2/src/python/m5/main.py",
line 356, in main

        exec filecode in scope

    File "configs/example/cmp.py", line 8, in <module>

        m5.addToPath('./configs')

AttributeError: 'module' object has no attribute 'addToPath'


>From the original cmp.py script posted on
http://www.m5sim.org/SPEC_CPU2006_benchmarks#M5_python_configure_script, I
made the modifications discussed in
http://comments.gmane.org/gmane.comp.emulators.m5.users/8066, changing the
line

m5.AddToPath('./configs')

to

from m5.util import addToPath

m5.addToPath('./configs')


Did I make the correct change here?


Thanks,

Amber
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to