You are on page 1of 2

Compiling and Running MS2SIM

Compiling:
1- Open the terminal
2-Make your home directory your current directory
cd ~
3-create the directory ms2sim in your home directory.
mkdir ms2sim
4- change directory to the ms2sim directory
5- copy the ms2sim code from /home/A00815418/comp_spread (note: the period is also part
of the command)
cp rv /home/A00815418/comp_spread .
6) change to the x86-linux directory
cd ./comp_spread/x86-linux
7) run the configuration file
../configure
8) change to the lib directory
cd lib
9) build the simulator
gmake clean ms2sim_smt
Running the simulator
Before running the simulators, you have to make sure that the file servc.sc has the correct path to
the script files. The correct path is /home/your home directory /ms2sim/comp_spread/home/scripts.
1- Go to the directory server_consol
cd ~/sm2sim/comp_spread/home/serv_consol
3- set BENCHMARK variable to

export BENCHMARK=bzip2-mcf-1_1
2- Run simics
./simics servc.sc
100000

You might also like