I have added my topology to Sconscript but when I want to recompile Gem5, I
have encountered with following Error:
scons: *** [/home/hamidreza/build/ALPHA_FS/mem/ruby/network/topologies/
Clovertown.py.cc] IndentationError : unindent does not match any outer
indentation level (Clovertown.py, line 49)
Traceback (most recent call last):
File "/usr/lib/scons/SCons/Action.py", line 1046, in execute
result = self.execfunction(target=target, source=rsources, env=env)
File "/home/hamidreza/build/ALPHA_FS/SConscript", line 782, in embedPyFile
compiled = compile(src, pysource.abspath, 'exec')
File
"/home/hamidreza/gem5/src/mem/ruby/network/topologies/Clovertown.py", line
49
clover = Clovertown()
^
IndentationError: unindent does not match any outer indentation level
scons: building terminated because of errors.
Could you help me?
On Tue, Jan 3, 2012 at 3:28 PM, Nilay Vaish <[email protected]> wrote:
> On Tue, 3 Jan 2012, Hamid Reza Khaleghzadeh wrote:
>
> Hello Gem5,
>>
>> I have implemented a network topology and then copy its python file into
>> "~/gem5/src/mem/ruby/network/**topologies/MyTopology.py". When gem5 is
>> executed, I encounter with this error:
>>
>> ImportError: No module named MyTopology
>>
>> Could you help me?
>>
>> Thanks
>>
>>
> Two things that you may not have done --
> * add your topology to src/mem/ruby/network/**topologies/SConscript
> * recompile gem5
>
> --
> Nilay
> ______________________________**_________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
>
--
Hamid Reza Khaleghzadeh
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users