It looks like the problem is that you're giving an integer as the cache latency. Latencies have to be specified as strings so that you can provide a unit, e.g., '1ns'.
Steve On Tue, Jun 28, 2011 at 9:01 AM, Nilay <[email protected]> wrote: > On Tue, June 28, 2011 9:50 am, Nilanjan Goswami wrote: > > Hi All, > > > > I am getting the following message while running FFT bench on SE mode > > GEM5 X86 system. > > > > $ *./build/X86_SE/gem5.opt ./configs/splash2/cluster.py -b FFT -n 2 > > --rootdir=/home/nil/scratch/research/gem5/benches/splash2/codes/ * > > gem5 Simulator System. http://gem5.org > > gem5 is copyrighted software; use the --copyright option for details. > > > > gem5 compiled Jun 24 2011 16:49:24 > > gem5 started Jun 28 2011 10:46:49 > > gem5 executing on r11a-s20.ufhpc > > command line: ./build/X86_SE/gem5.opt ./configs/splash2/cluster.py -b > > FFT -n 2 --rootdir=/home/nil/scratch/research/gem5/benches/splash2/codes/ > > Traceback (most recent call last): > > File "<string>", line 1, in ? > > File "/hpc/scratch/nil/research/gem5/src/python/m5/main.py", line > > 356, in main > > exec filecode in scope > > File "./configs/splash2/cluster.py", line 148, in ? > > class L1(BaseCache): > > File "/hpc/scratch/nil/research/gem5/src/python/m5/SimObject.py", > > line 261, in __init__ > > setattr(cls, key, val) > > File "/hpc/scratch/nil/research/gem5/src/python/m5/SimObject.py", > > line 347, in __setattr__ > > cls._set_param(attr, value, param) > > File "/hpc/scratch/nil/research/gem5/src/python/m5/SimObject.py", > > line 282, in _set_param > > value = param.convert(value) > > File "/hpc/scratch/nil/research/gem5/src/python/m5/params.py", line > > 159, in convert > > return self.ptype(value) > > File "/hpc/scratch/nil/research/gem5/src/python/m5/params.py", line > > 1057, in __init__ > > elif value.endswith('t'): > > AttributeError: 'int' object has no attribute 'endswith' > > Error setting param L1.latency to 1 > > > > Can you post the file configs/splash2/cluster.py? It seems that this file > has some error. > > -- > Nilay > > _______________________________________________ > 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
