Skip to content

zqsui/gemfi

 
 

Repository files navigation

EECS573 Final Project - Extract useful features for detecting transient faults

##GemFI Installation Guide

Pre-requisites

There are several pre-requisite software packages required to build and run gem5. Please visit http://www.m5sim.org/Dependencies to obtain the list of dependencies. Install all dependencies before proceeding with the build.

sudo apt-get install build-essential
sudo apt-get install build-essential
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install libncurses5-dev
sudo apt-get install python-docutils
sudo apt-get install scons
sudo apt-get install swig
sudo apt-get install m4
sudo apt-get install python-dev
sudo apt-get install zlib1g
sudo apt-get install zlib1g-dev
sudo apt-get install protobuf-compiler
sudo apt-get install libprotobuf-dev

Install DMTCP

Get DMTCP from https://github.com/dmtcp/dmtcp/releases

./configure
make
sudo make install

Building the Simulator:

scons build/ALPHA/gem5.opt  

Setup Images for Full System Running

mkdir dist
cd dist
wget http://www.m5sim.org/dist/current/m5_system_2.0b3.tar.bz2

Uncompress at ./dist, and move the two folders (binaries, disks) out to ./dist

wget http://www.cs.utexas.edu/~parsec_m5/linux-parsec-2-1-m5-with-test-inputs.img.bz2

Uncompress at ./dist/disks/

In the file ./configs/common/SysPaths.py, chage line 53 to

path = [ '/dist/m5/system', 'your_path_to_gemfi/dist' ]

Mount your test bench into the image

sudo mount -o,loop,offset=32256 ./dist/disk /linux-parsec-2-1-m5-with-test-inputs.img /mnt
sudo cp your_test_program /mnt 

About

No description, website, or topics provided.

Resources

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 73.0%
  • Python 18.4%
  • C 5.7%
  • Assembly 1.3%
  • HTML 0.7%
  • Shell 0.3%
  • Other 0.6%