If you want to test ruby, you should use memtest-ruby.py instead of 
memtest.py

Somayeh

Beckmann, Brad wrote:
> Tushar and I see that you can run MemTest through ruby using the regression 
> tester interface, but we were hoping to run MemTest directly from the command 
> line.  I see that configs/example/memtest.py allow you to configure the 
> MemTest cpu object from the command line, but it only seems to work with the 
> m5 memory system and not Ruby.
> 
> Brad
> 
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of 
> Steve Reinhardt
> Sent: Thursday, July 23, 2009 12:36 PM
> To: M5 Developer List
> Subject: Re: [m5-dev] running ruby_se.py
> 
> FYI, the update_ref=True flag is unnecessary for the initial build.
> It causes the reference outputs for any regression tests you run to be
> updated based on the latest outputs, but since you're not running any
> tests it's basically a no-op.
> 
> Steve
> 
> On Thu, Jul 23, 2009 at 12:27 PM, Somayeh Sardashti<[email protected]> 
> wrote:
>> to compile ruby in gem5 run:
>> scons build/ALPHA_SE/m5.debug USE_MYSQL=No RUBY=True update_ref=True
>>
>> and then to test it by memtest-ruby you should do:
>>
>> scons build/ALPHA_SE/tests/fast/quick/50.memtest/alpha/linux/memtest-ruby
>> Somayeh
>>
>>
>> Krishna, Tushar wrote:
>>> Hi,
>>>
>>> Can anyone tell me how to run  ruby_se.py ?
>>>
>>>
>>>
>>> I tried
>>>
>>> ./build/ALPHA_SE/m5.debug   configs/example/ruby_se.py -m 10
>>>
>>>
>>>
>>> -          But it complains that libruby_file (which points to a
>>> non-existent libruby.so file in the code) is not part of the RubyMemory
>>> class.
>>>
>>>
>>>
>>> -          Do I also need to specify some input trace file? Which one?
>>>
>>>
>>>
>>> -          Basically I just want to find out about some way to run Ruby
>>> on GEM5 (other than from the regression suite).
>>>
>>>
>>>
>>>
>>>
>>> Thanks
>>>
>>> Tushar
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> m5-dev mailing list
>>> [email protected]
>>> http://m5sim.org/mailman/listinfo/m5-dev
>> _______________________________________________
>> m5-dev mailing list
>> [email protected]
>> http://m5sim.org/mailman/listinfo/m5-dev
>>
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
> 
> 
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev

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

Reply via email to