Nilay Vaish <nilay <at> cs.wisc.edu> writes:

> 
> On Tue, 1 Feb 2011, biswabandan panda wrote:
> 
> > Hi all,
> >           Did  anyone tried  any of python files -  MESI_CMP_directory.py,
> > MOESI_CMP_directory.py, MOESI_hammer.py, MI_example.
> > py, MOESI_CMP_token.py, Ruby.py? please suggest how to use it with m5?
> >
> >
> > -- 
> >
> > *thanks&regards
> > *
> > *BISWABANDAN PANDA*
> > *M.S.(RESEARCH SCHOLAR)*
> > *RISE LAB*
> > *IIT MADRAS*
> >
> > http://www.cse.iitm.ac.in/~biswa/ <http://www.cse.iitm.ac.in/%7Ebiswa/>
> >
> > "Happy Republic Day" -------  http://www.youtube.com/watch?v=Kk02qPlnS2E
> >
> 
> You can compile m5 with one of the coherence protocols in the following 
> fashion -
> 
> scons RUBY=True build/ALPHA_SE_≤Coherence Protocol>/m5.fast
> 
> Here coherence protocol can be any one from - MOESI_hammer, 
> MOESI_CMP_directory, MOESI_CMP_token, MESI_CMP_directory. MI is used by 
> default.
> 
> ./build/ALPHA_SE_≤Protocol>/m5.fast ./configs/example/ruby_se.py will 
> run the simulation with default values for all the parameters.
> 
> --
> Nilay
> 


Hi,
    I followed the instruction and tried to use Ruby, but failed because of an
Error.
    The command line I used to build my M5 executable is : scons RUBY=True
./build/ALPHA_SE_MESI_CMP_directory/m5.fast. I inputed command
"./build/ALPHA_SE_MESI_CMP_directory/m5.fast ./configs/example/ruby_se.py -t" to
start an simulation.
    The output is as following:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/zhuo/m5/m5-84fd1726290d/src/python/m5/main.py", line 359, in main
    exec filecode in scope
  File "./configs/example/ruby_se.py", line 156, in <module>
    system.ruby = Ruby.create_system(options, system.physmem)
  File "/home/zhuo/m5/m5-84fd1726290d/configs/ruby/Ruby.py", line 38, in
create_system
    exec "import %s" % protocol
  File "<string>", line 1, in <module>
ImportError: No module named MESI_CMP_directory

    I tried several times but failed. Please help! 
Thanks.
zhuozi

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

Reply via email to