Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.74 KB

README.md

File metadata and controls

45 lines (38 loc) · 1.74 KB

SPEC_CPU_2017

Download the SPEC CPU 2017 iso file into a directory
image

Installing SPEC CPU 2017

Prerequisites:
For gcc and g++
sudo apt-get install build-essential
gcc --version
g++ --version
image

For gfortran
sudo apt-get install gfortran
gfortran --version
image

Mount iso image (can alternatively mount to /mnt)
mkdir /tmp/iso
sudo mount -o loop,ro cpu2017-1_0_5.iso /tmp/iso
cd /tmp/iso
mkdir <desired directory>/benchmarks
./install.sh
image

Unmount iso image and remove temporary folder
cd -
sudo umount /tmp/iso
rmdir /tmp/iso \

Configuring

`cd ~/benchmarks` \
`cp config/Example-gcc-linux-x86.cfg config/<your config file>.cfg` \
`cp config/flags/gcc.xml config/flags/<your xml file>-gcc.xml` \

Edit flag and config files – Create one for yourhost computer \

Running the benchmarks

`. shrc`  \
`cd config` \
`runcpu --update` This command will solve a lot of expected bugs, from personal experience
`runcpu --config=<your config file>.cfg --iterations=3 --reportable <intrate or fprate or all>` \

my command: runcpu --config govardhan.cfg --iterations <2|3> --reportable <intrate | fprate | all> ulimit -s unlimited required for fprate

Results of the run will be avalibale in the ~/benchmarks/Results folder in the form of a PDF, HTML, TXT