shell$ sudo apt-get install git
shell$ git clone git://github.com/avadhpatel/marss.git
shell$ cd marss
shell$ sudo apt-get install scons
shell$ sudo apt-get install zlib1g-dev
shell$ sudo apt-get install g++-multilib
Compiling MARSS
shell$ scons -Q -c
Give Number of Core and Enable Debug
shell$ scons –Q debug=1 c=2
Download Image tar http://bertha.cs.binghamton.edu/downloads/splash.tar.bz2
Extract the image file (splash.img) and copy it to marss folder
Create a config (.cfg) file for your machine
shell$ gedit my.cfg
Paste the config below
-machine xeon_dual_core
-stopinsns 100m
-kill-after-run
-stats results.stats
-logfile results.log
Save this file and close gedit
Generate stats file (by simulation, I executed BARNES)
Open terminal and type
shell$ cd marss
shell$ qemu/qemu-system-x86_64 –m 1536 –hda splash.img –simconfig my.cfg
Open another terminal and type
For QEMU, we need to install vinagre … its builtin in fedora but not in ubuntu
shell$ sudo apt-get install vinagre
shell$ vinagre 172.0.0.1:5900
You will see Qemu running machine simulation
Login with password root
Inside Qemu type:
shell$ cd splash2/codes/apps/barnes
shell$ ../../../../start_sim; ./BARNES < input.4; ../../../../stop_sim;
The programs in this project are free software; you can redistribute
it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version. This program 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 this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
This software depends on other packages that may be licensed under different open source licenses.