Re: [m5-dev] changeset in m5: Fixed the licences plus minor fixes for compila...

2009-07-23 Thread Polina Dudnik
Sorry, I yet again have one push for two different things. I also modified
state machine besides fixing the licenses. Nate, I am not sure what the
licenses for getopt should be.

On Thu, Jul 23, 2009 at 11:28 AM, Polina Dudnik pdud...@gmail.com wrote:

 changeset 82ee4a597908 in /z/repo/m5
 details: http://repo.m5sim.org/m5?cmd=changeset;node=82ee4a597908
 description:
Fixed the licences plus minor fixes for compilation

 diffstat:

 23 files changed, 1581 insertions(+), 950 deletions(-)
 src/mem/ruby/tester/DetermGETXGenerator.cc   |   80 -
 src/mem/ruby/tester/DetermGETXGenerator.hh   |   80 -
 src/mem/ruby/tester/DetermInvGenerator.cc|   79 -
 src/mem/ruby/tester/DetermInvGenerator.hh|   80 -
 src/mem/ruby/tester/DetermSeriesGETSGenerator.cc |   79 -
 src/mem/ruby/tester/DetermSeriesGETSGenerator.hh |   79 -
 src/mem/ruby/tester/DeterministicDriver.cc   |   81 -
 src/mem/ruby/tester/DeterministicDriver.hh   |   79 -
 src/mem/ruby/tester/RaceyDriver.cc   |   79 -
 src/mem/ruby/tester/RaceyDriver.hh   |   80 -
 src/mem/ruby/tester/RaceyPseudoThread.cc |   44 -
 src/mem/ruby/tester/RaceyPseudoThread.hh |   38
 src/mem/ruby/tester/SConscript   |7
 src/mem/ruby/tester/SpecifiedGenerator.cc|   79 -
 src/mem/ruby/tester/SpecifiedGenerator.hh|   79 -
 src/mem/ruby/tester/Tester_Globals.hh|   79 -
 src/mem/ruby/tester/getopt.cc|  945
 ++
 src/mem/ruby/tester/getopt.hh|  129 +++
 src/mem/ruby/tester/main.cc  |   79 -
 src/mem/ruby/tester/main.hh  |   79 -
 src/mem/ruby/tester/test_framework.cc|   80 -
 src/mem/ruby/tester/test_framework.hh|   79 -
 src/mem/slicc/symbols/StateMachine.cc|   18

 diffs (truncated from 2779 to 300 lines):

 diff -r 743ddf69eeed -r 82ee4a597908
 src/mem/ruby/tester/DetermGETXGenerator.cc
 --- a/src/mem/ruby/tester/DetermGETXGenerator.ccWed Jul 22 01:57:55
 2009 -0700
 +++ b/src/mem/ruby/tester/DetermGETXGenerator.ccWed Jul 22 20:28:32
 2009 -0500
 @@ -1,58 +1,30 @@
 -
  /*
 -Copyright (C) 1999-2008 by Mark D. Hill and David A. Wood for the
 -Wisconsin Multifacet Project.  Contact: g...@cs.wisc.edu
 -http://www.cs.wisc.edu/gems/
 -
 -
 -
 -This file is part of the Ruby Multiprocessor Memory System Simulator,
 -a component of the Multifacet GEMS (General Execution-driven
 -Multiprocessor Simulator) software toolset originally developed at
 -the University of Wisconsin-Madison.
 -
 -Ruby was originally developed primarily by Milo Martin and Daniel
 -Sorin with contributions from Ross Dickson, Carl Mauer, and Manoj
 -Plakal.
 -
 -Substantial further development of Multifacet GEMS at the
 -University of Wisconsin was performed by Alaa Alameldeen, Brad
 -Beckmann, Jayaram Bobba, Ross Dickson, Dan Gibson, Pacia Harper,
 -Derek Hower, Milo Martin, Michael Marty, Carl Mauer, Michelle Moravan,
 -Kevin Moore, Andrew Phelps, Manoj Plakal, Daniel Sorin, Haris Volos,
 -Min Xu, and Luke Yen.
 -
 -
 -If your use of this software contributes to a published paper, we
 -request that you (1) cite our summary paper that appears on our
 -website (http://www.cs.wisc.edu/gems/) and (2) e-mail a citation
 -for your published paper to g...@cs.wisc.edu.
 -
 -If you redistribute derivatives of this software, we request that
 -you notify us and either (1) ask people to register with us at our
 -website (http://www.cs.wisc.edu/gems/) or (2) collect registration
 -information and periodically send it to us.
 -
 -
 -
 -Multifacet GEMS is free software; you can redistribute it and/or
 -modify it under the terms of version 2 of the GNU General Public
 -License as published by the Free Software Foundation.
 -
 -Multifacet GEMS is distributed in the hope that it will be useful,
 -but WITHOUT ANY WARRANTY; without even the implied warranty of
 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 -General Public License for more details.
 -
 -You should have received a copy of the GNU General Public License
 -along with the Multifacet GEMS; if not, write to the Free Software
 -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 -02111-1307, USA
 -
 -The GNU General Public License is contained in the file LICENSE.
 -
 -### END HEADER ###
 -*/
 + * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
 + * All rights reserved.
 + *
 + * Redistribution and use in source and binary forms, with or without
 + * modification, are permitted provided that the following conditions 

[m5-dev] running ruby_se.py

2009-07-23 Thread Krishna, Tushar
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
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev


Re: [m5-dev] running ruby_se.py

2009-07-23 Thread Somayeh Sardashti
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
 m5-dev@m5sim.org
 http://m5sim.org/mailman/listinfo/m5-dev

___
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev


Re: [m5-dev] question about Ruby configuration (in M5 style)

2009-07-23 Thread Steve Reinhardt
I'm not sure exactly what you're asking... you should instantiate
Debug from your configuration script.  Once you do that, everything
else should just work.

I don't know enough about how lib-ruby is built or used to say more.

Steve

On Wed, Jul 22, 2009 at 1:33 PM, Somayeh Sardashtisoma...@cs.wisc.edu wrote:
 Hi,

 I am currently working on changing ruby configuration to M5 style
 configuration.

 I have started with Debug object, based on tutorial, I have implemented
 Debug.py and changed Debug.hh/cc to get and process params.

 At this point, because we are using lib-ruby, my problem is that how we
 can make it initialize Debug object in M5 style. Also, where should I
 instantiate debug? one possible place is RubyMemory.py but it is not
 used when we use lib-ruby.

 Thanks,
 Somayeh
 ___
 m5-dev mailing list
 m5-dev@m5sim.org
 http://m5sim.org/mailman/listinfo/m5-dev

___
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev


Re: [m5-dev] running ruby_se.py

2009-07-23 Thread Beckmann, Brad
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: m5-dev-boun...@m5sim.org [mailto:m5-dev-boun...@m5sim.org] 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 Sardashtisoma...@cs.wisc.edu 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
 m5-dev@m5sim.org
 http://m5sim.org/mailman/listinfo/m5-dev

 ___
 m5-dev mailing list
 m5-dev@m5sim.org
 http://m5sim.org/mailman/listinfo/m5-dev

___
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev


___
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev


Re: [m5-dev] running ruby_se.py

2009-07-23 Thread Somayeh Sardashti
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: m5-dev-boun...@m5sim.org [mailto:m5-dev-boun...@m5sim.org] 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 Sardashtisoma...@cs.wisc.edu 
 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
 m5-dev@m5sim.org
 http://m5sim.org/mailman/listinfo/m5-dev
 ___
 m5-dev mailing list
 m5-dev@m5sim.org
 http://m5sim.org/mailman/listinfo/m5-dev

 ___
 m5-dev mailing list
 m5-dev@m5sim.org
 http://m5sim.org/mailman/listinfo/m5-dev
 
 
 ___
 m5-dev mailing list
 m5-dev@m5sim.org
 http://m5sim.org/mailman/listinfo/m5-dev

___
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev


Re: [m5-dev] changeset in m5: Fixed the licences plus minor fixes for compila...

2009-07-23 Thread Polina Dudnik
Yes, the tester uses it although it doesn't have to. Is that a problem?

On Thu, Jul 23, 2009 at 9:27 PM, nathan binkert n...@binkert.org wrote:

  Sorry, I yet again have one push for two different things. I also
 modified
  state machine besides fixing the licenses. Nate, I am not sure what the
  licenses for getopt should be.

 Is getopt necessary?  Are there any machines that it's not available
 on?  Is it even being used?

  Nate
 ___
 m5-dev mailing list
 m5-dev@m5sim.org
 http://m5sim.org/mailman/listinfo/m5-dev

___
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev