Download the SPEC CPU 2017 iso file into a directory
Prerequisites:
For gcc and g++
sudo apt-get install build-essential
gcc --version
g++ --version
For gfortran
sudo apt-get install gfortran
gfortran --version
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
Unmount iso image and remove temporary folder
cd -
sudo umount /tmp/iso
rmdir /tmp/iso
\
`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 \
`. 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