Installing SPEC CPU2006 Under Microsoft Windows

Last updated: $Date: 2011-09-07 11:08:21 -0400 (Wed, 07 Sep 2011) $ by $Author: CloyceS $

(To check for possible updates to this document, please see http://www.spec.org/cpu2006/Docs/ )

This document has been updated for SPEC CPU2006 V1.2, including a new example installation.

Contents

Installation Steps

1. Review Pre-Requisities

2. Open a command prompt window

3. Pick destination. Have enough space, avoid space.

4. Insert the DVD

5. Run install.bat

6. Edit shrc.bat

7. Use your shrc.bat

8. Pick a config file to start with. Modify as needed.

9. Build a benchmark

10. Run one benchmark with the test dataset

11. Try a real dataset

12. Try a full (reportable) run

13. Learn more

Complete Example Installation

Appendix 1: the DVD drive is on system A, but I want to install on system B. What do I do?

a. Network mount

b. Tar file

Appendix 2: Uninstalling SPEC CPU2006

Appendix 3: Useful Tips and Techniques

a. About Temporary Space (%temp%)

b. About Text Files and Windows/Unix Compatibility

Note: links to SPEC CPU2006 documents on this web page assume that you are reading the page from a directory that also contains the other SPEC CPU2006 documents. If by some chance you are reading this web page from a location where the links do not work, try accessing the referenced documents at one of the following locations:

Introduction

The SPEC CPU2006 suite has been tested under Unix, Linux, Mac OS X and Windows systems. Your DVD can be installed under many operating systems.

Reminder: the SPEC license allows you to install on multiple systems as you may wish within your institution; but you may not share the software with the public.

This document covers the installation procedure for SPEC CPU2006 under Microsoft Windows.

Note: Unless otherwise specified, refererences to "Windows" in this document apply to Windows XP or later.

Installation Steps

This section describes the installing CPU2006 under Microsoft Windows step-by-step. The steps are described in some detail here, with brief examples. A longer example, from a complete installation, is in the next section.

1. Review Pre-Requisities

Review the hardware and software requirements, in system-requirements.html

In particular, please notice in the requirements document that SPEC does not recommend installation under Windows/Unix compatibility environments. SPEC recommends that such products be removed from your path.

The steps that follow assume that your DVD drive is on the same system as where you wish to install. If it is on a different system, please see Appendix 1.

2. Open a Command Prompt Window

Open a Command Prompt window (formerly known as an "MSDOS Window"). Typically, this is done by selecting:
Start-->All Programs-->Accessories-->Command Prompt.

Adjust the properties to allow you to see plenty of lines scrolled off the top (for example, 9000). Click the upper left corner of the Command Prompt window, scroll down to "Properties", click the "Layout" tab, and in the section labeled "Screen Buffer Size" enter a new value for "Height".

3. Pick destination. Have enough space, avoid space.

Decide where you want to install the CPU2006 suite. You should make sure that your chosen destination disk has at least 8GB free. (For more information on disk usage, see system-requirements.html.) For the following examples, we will assume that your destination is on drive C:, in the directory \cpu2006.

Please make sure that there are no spaces in the path. Installing to a location that includes a directory or subdirectory named something like "My Benchmarks" is asking for trouble. Even if you make it through the installation, there may be other programs from SPEC (or from your compiler) that expect space to be an argument delimiter, not part of a path name, and which therefore fail with odd and hard to understand error messges.

4. Insert the DVD

If you haven't already done so, insert the DVD, and observe where it is mounted. (For example, on Windows 7, if you press Start -> Computer, a window comes up that includes "Devices with Removable Storage", where you can see the assigned drive letter.) Change your directory to the DVD. For the following examples, we'll assume that your DVD is mounted on drive D:, so entering just the letter and a colon gets us to that drive:

C:\> D:  
D:\> 

5. Run install.bat

You're now ready to run the installer. The format for this command is

install.bat destination_drive:\destination_directory

For example, if your DVD is in drive D:, and you want to install CPU2006 on drive C: in a folder named cpu2006, you could type:

D:\> install.bat  C:\cpu2006

You should see a message similar to the following:

D:\>install.bat c:\cpu2006
Installing FROM source: D:\

  If the source is NOT correct, hit Control-C and
  run install.bat from the correct benchmark tree.

Press any key to continue . . . 

If you see a message similar to the above, just press return. If you see error messages, check to be sure that you are in the correct directory and that %temp% is defined (see below).

Next, the install procedure will ask you to confirm the destination folder.

You should see a message similar to the following:

Installing TO destination: "c:\cpu2006"

   If the destination is NOT correct, hit Control-C and
   specify the desired installation path as a parameter.
   For example:

   D:\install.bat  D:\SPEC\cpu2006

Press any key to continue . . . 

If you see a message similar to the above, just press return, and the installation begins.

As it proceeds, the install procedure will inform you that the benchmarks are being unpacked. Please be patient - although only a few messages are printed, thousands of files are installed:

Installing from "D:\"
Installing to "c:\cpu2006\"



 Depending on the speed of the drive holding your installation media
 and the speed of your destination disk, this may take more than 5 minutes.
 Please be patient.

Unpacking CPU2006 base files (129.8 MB)
Unpacking 400.perlbench benchmark and data files (61.5 MB)
.
.     (lines omitted) 
.
Testing the tools installation (this may take a minute)

Runspec tests completed successfully!
Installation completed!

c:\cpu2006>

The installation will consume around 1.5GB on your destination disk.

After this step completes, you will find yourself in the destination directory that you selected.

6. Edit shrc.bat

Read the comments in the file

shrc.bat

and make the appropriate edits for your compiler paths.

Caution: you may find that the lines are not correctly formatted (the text appears to be all run together) when you edit this file. If so, see the section below: About Text Files and Windows/Unix Compatibility.

You will have to uncomment one of two lines:

rem set SHRC_PRECOMPILED=yes  

or

rem set SHRC_COMPILER_PATH_SET=yes 

by removing "rem" from the beginning of the desired line.

If you uncomment the first line, you must have pre-compiled binaries for the benchmarks

If you uncomment the second line, you will have to follow the instructions (a few lines below further along in shrc.bat) to set up the environment for your compiler, either (A) by calling a vendor-supplied batch setup file or (B) by entering the path yourself:

  1. It is usually better to call a vendor-supplied batch setup file, because the file may set additional needed variables, such as INCLUDE and LIB. Examples of vendor files, such as iclvars, vcvars, and vsvars, are in the comments within shrc.bat. Do not assume that any of those examples will work on your system: you need to check first. The names and locations of these files change from compiler to compiler, from version to version, and even from system to system (if you choose a non-default installation directory).

  2. If you enter a path directly:

No matter how your path gets set, in general it is a good idea to understand what is in your path, and that you have only what you truly need. If you have non-standard versions of commonly used utilities in your path, you may avoid unpleasant surprises by taking them out. By default, shrc.bat will print the path after it is done. If you would prefer that it not do so, you can set SHRC_QUIET=yes in your environment.

7. Use your shrc.bat

Set the environment, using your edited shrc. For example:

C:\cpu2006> shrc.bat

From this point forward, we are testing basic abilities of the CPU2006 kit, including compiling benchmarks and running them. You may skip the remaining steps if all of the following are true:

  1. You are confident that the previous steps have gone smoothly.
  2. You will not be compiling the benchmarks.
  3. Someone else has given you pre-compiled binaries.

Warning: even if someone else supplies binaries, you remain responsible for compliance with SPEC's Fair Use rule and the CPU2006 run rules.

8. Pick a config file to start with. Modify as needed.

SPEC benchmarks are supplied as source code. They need to be compiled, under the control of a "config file". Example config files can be found in %SPEC%\config. For an introduction to config files, see "About Config Files" in runspec.html.

For example, on a Windows system with the Intel C++ compiler installed, a user might do something similar to the following:

C:\cpu2006> cd %SPEC%\config
C:\cpu2006> copy Example-windows-ia32-icl.cfg mine.cfg

Although an Example config file on the kit can help you get started, you still need to look at it and understand at least the basics of what it is doing for you. The following paragraphs walk through using the above config file on a particular System Under Test (SUT). Your SUT will probably differ, but a similar config file analysis will be useful.

This example config file says at the top:

#      Operating system version:    Windows 7 (64-bit)                                                               
#      Compiler name/version:       Intel Compiler 12  , MS VS 2008                                                         
#      Other software:              SmartHeap library

The user notices that the example SUT has only two of the four software items mentioned above:

9. Build a benchmark

Now that you have edited your config file, try building a benchmark:

C:\cpu2006> runspec --action=build --tune=base ^
More? --config=mine.cfg 401.bzip2

(In the examples, "^" (often called "hat" or "carat") indicates line continuation.)

The --tune=base indicates that we want to use only the simple tuning, if the config file contains more than one kind of tuning.

10. Run one benchmark with the test dataset

Test that you can run a benchmark, using the minimal input set - the "test" workload.

C:\cpu2006> runspec --size=test --iterations=1 --noreportable ^
More? --tune=base --config=mine.cfg 401.bzip2

The --noreportable ensures that the tools will allow us to run just a single benchmark instead of the whole suite.

11. Try a real dataset

Test that you can run a benchmark using the real input set - the "reference" workload. For example:

C:\cpu2006> runspec --size=ref --iterations=1 --noreportable ^
More? --tune=base --config=mine.cfg 401.bzip2

12. Try a full (reportable) run

If everything has worked up to this point, you may wish to start a full run, perhaps leaving your computer to run overnight. The extended test will demand significant resources from your machine, including computational power and memory of several types. In order to avoid surprises, before starting the reportable run, you should review the section About Resources, in system-requirements.html.

To run a reportable test of the integer suite with simple (baseline) tuning:

C:\cpu2006> runspec --tune=base --config=mine.cfg int

To run a reportable test of the floating point suite with simple (baseline) tuning:

C:\cpu2006> runspec --tune=base --config=mine.cfg fp

To run a reportable test of both the integer and floating point suites with simple (baseline) tuning:

C:\cpu2006> runspec --tune=base --config=mine.cfg all

13. Learn more

Please have a look at runspec.html to learn more about using runspec.


Complete Example Installation

Here is a complete SPEC CPU2006 Windows installation, with commentary. We assume that Steps 1 through 4 are already done: pre-requisites have been reviewed, a command window is open, we have enough space, and the DVD is mounted - this time, on drive F:.

Step 5: change to the drive where the DVD is mounted, and start the installation


C:\>f:

F:\> install.bat C:\cpu2006
Installing FROM source: F:\

  If the source is NOT correct, hit Control-C and
  run install.bat from the correct benchmark tree.

Press any key to continue . . .

Installing TO destination: "C:\cpu2006"

   If the destination is NOT correct, hit Control-C and
   specify the desired installation path as a parameter.
   For example:

   F:\install.bat  D:\SPEC\cpu2006

Press any key to continue . . .


Installing from "F:\"
Installing to "C:\cpu2006\"



 Depending on the speed of the drive holding your installation media
 and the speed of your destination disk, this may take more than 5 minutes.
 Please be patient.

Unpacking CPU2006 base files (129.8 MB)
Unpacking 400.perlbench benchmark and data files (61.5 MB)
Unpacking 401.bzip2 benchmark and data files (110.7 MB)
Unpacking 403.gcc benchmark and data files (43 MB)
Unpacking 410.bwaves benchmark and data files (0.1 MB)
Unpacking 416.gamess benchmark and data files (16.8 MB)
Unpacking 429.mcf benchmark and data files (6.9 MB)
Unpacking 433.milc benchmark and data files (0.6 MB)
Unpacking 434.zeusmp benchmark and data files (1.1 MB)
Unpacking 435.gromacs benchmark and data files (13 MB)
Unpacking 436.cactusADM benchmark and data files (3.3 MB)
Unpacking 437.leslie3d benchmark and data files (0.3 MB)
Unpacking 444.namd benchmark and data files (7.6 MB)
Unpacking 445.gobmk benchmark and data files (9.2 MB)
Unpacking 447.dealII benchmark and data files (70.2 MB)
Unpacking 450.soplex benchmark and data files (321 MB)
Unpacking 453.povray benchmark and data files (10.3 MB)
Unpacking 454.calculix benchmark and data files (26 MB)
Unpacking 456.hmmer benchmark and data files (57 MB)
Unpacking 458.sjeng benchmark and data files (0.4 MB)
Unpacking 459.GemsFDTD benchmark and data files (2.6 MB)
Unpacking 462.libquantum benchmark and data files (0.2 MB)
Unpacking 464.h264ref benchmark and data files (52.9 MB)
Unpacking 465.tonto benchmark and data files (6.9 MB)
Unpacking 470.lbm benchmark and data files (4.7 MB)
Unpacking 471.omnetpp benchmark and data files (2.8 MB)
Unpacking 473.astar benchmark and data files (5.8 MB)
Unpacking 481.wrf benchmark and data files (67.1 MB)
Unpacking 482.sphinx3 benchmark and data files (51.7 MB)
Unpacking 483.xalancbmk benchmark and data files (213.7 MB)
Unpacking 998.specrand benchmark and data files (4.1 MB)
Unpacking 999.specrand benchmark and data files (4.1 MB)
Unpacking tools source files (161.7 MB)

Checking the integrity of your source tree...

 Depending on the amount of memory in your system, and the speed of your
 destination disk, this may take more than 10 minutes.
 Please be patient.

Unpacking tools binaries
Setting SPEC environment variable to C:\cpu2006\
Checking the integrity of your binary tools...
Testing the tools installation (this may take a minute)

Runspec tests completed successfully!
Installation completed!

Step 6: Edit shrc.bat. This was done in with notepad, which is not shown, but the fc command is used below to compare the original shrc.bat to our modified copy:

C:\cpu2006> copy shrc.bat shrc.bat.orig
        1 file(s) copied.

C:\cpu2006> notepad shrc.bat

C:\cpu2006> fc shrc.bat.orig shrc.bat
Comparing files shrc.bat.orig and SHRC.BAT
***** shrc.bat.orig

rem set SHRC_COMPILER_PATH_SET=yes

***** SHRC.BAT

set SHRC_COMPILER_PATH_SET=yes

*****

***** shrc.bat.orig
rem XXXXXXXX BEGIN EDIT HERE XXXXXXXXXXX
rem   Call .bat or set PATH here.  Warning: no semicolons inside quotes!
***** SHRC.BAT
rem XXXXXXXX BEGIN EDIT HERE XXXXXXXXXXX

call "C:\Program Files (x86)\Intel\ComposerXE-2011\bin\compilervars.bat" ia32

rem   Call .bat or set PATH here.  Warning: no semicolons inside quotes!
*****


C:\cpu2006>

Step 7: Use shrc to set the environment

C:\cpu2006> shrc.bat
Intel(R) Parallel Studio XE 2011 Update 1
Copyright 1985-2011 Intel Corporation. All rights reserved.
Intel(R) Composer XE 2011 Update 4 (package 196)
Setting environment for using Microsoft Visual Studio 2010 x86 tools.


PATH=^
C:\Program Files (x86)\Intel\ComposerXE-2011\bin\ia32;^
C:\Program Files (x86)\Intel\ComposerXE-2011\redist\ia32\compiler;^
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\;^
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN;^
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;^
C:\windows\Microsoft.NET\Framework\v4.0.30319;^
C:\windows\Microsoft.NET\Framework\v3.5;^
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages;^
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;^
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin;^
C:\Program Files (x86)\Intel\ComposerXE-2011\ipp\..\redist\ia32\ipp;^
C:\Program Files (x86)\Intel\ComposerXE-2011\ipp\..\redist\ia32\compiler;^
C:\Program Files (x86)\Intel\ComposerXE-2011\redist\ia32\mkl;^
C:\Program Files (x86)\Intel\ComposerXE-2011\redist\ia32\compiler;^
C:\Program Files (x86)\Intel\ComposerXE-2011\tbb\bin\..\..\redist\ia32\tbb\vc_mt;^
C:\cpu2006\bin\windows;^
C:\cpu2006\bin;^
C:\windows\system32;^
C:\windows;^
;^
C:\Program Files (x86)\Intel\ComposerXE-2011\redist\ia32\mpirt

C:\cpu2006> 

Step 8. Modify a config file. Below, the tester has made similar edits to the ones described above, with the addition that the line ext = has been modified. The ext line tags the binary with an extension. If you change this line when you change tuning, you can keep multiple binaries around, perhaps to compare them and analyze them.

C:\cpu2006> cd %SPEC%\config

C:\cpu2006\config> copy Example-windows-ia32-icl.cfg jul13a.cfg
        1 file(s) copied.

C:\cpu2006\config> notepad jul13a.cfg

C:\cpu2006\config> fc Example-windows-ia32-icl.cfg jul13a.cfg
Comparing files Example-windows-ia32-icl.cfg and JUL13A.CFG
***** Example-windows-ia32-icl.cfg
tune        = base
ext         = example.win32.icl.exe
flagsurl    = $[top]/config/flags/Intel-ic12-win32-revD.xml
***** JUL13A.CFG
tune        = base
ext         = jul13a
flagsurl    = $[top]/config/flags/Intel-ic12-win32-revD.xml
*****

***** Example-windows-ia32-icl.cfg
################################################################
CC  = icl -Qvc9 -Qstd=c99
CXX = icl -Qvc9
FC  = ifort
***** JUL13A.CFG
################################################################
CC  = icl -Qvc10 -Qstd=c99
CXX = icl -Qvc10
FC  = ifort
*****

***** Example-windows-ia32-icl.cfg
all_cpp=default:
EXTRA_LIBS=     shlW32M.lib
LDOUT=          -Fe$@ -link /FORCE:MULTIPLE
***** JUL13A.CFG
all_cpp=default:
#EXTRA_LIBS=     shlW32M.lib
LDOUT=          -Fe$@ -link /FORCE:MULTIPLE
*****

Step 9. Use runspec to build one benchmark:

C:\cpu2006\config> runspec --action=build --tune=base --config=jul13a 401.bzip2
runspec v6624 - Copyright 1999-2011 Standard Performance Evaluation Corporation
Using 'windows-i386 ' tools
Reading MANIFEST... 22353 files
Loading runspec modules................
Locating benchmarks...found 31 benchmarks in 6 benchsets.
Reading config file 'C:/cpu2006/config/jul13a.cfg'
Running "specperl C:\cpu2006/Docs/sysinfo" to gather system information.
Loading "http://www.spec.org/auto/cpu2006/current_version" for version check: OK

Retrieving flags file (C:\cpu2006/config/flags/Intel-ic12-win32-revD.xml)...
Benchmarks selected: 401.bzip2
Compiling Binaries
  Building 401.bzip2 base jul13a default: (build_base_jul13a.0000)

Build successes: 401.bzip2(base)

Build Complete

The log for this run is in C:\cpu2006/result/CPU2006.001.log

runspec finished at Wed Jul 13 16:43:06 2011; 51 total seconds elapsed

C:\cpu2006> 

At this point, we have demonstrated basic correct installation of both the benchmark and the compiler, by verifying that a benchmark can be compiled under the control of runspec.

Step 10. Now try running that benchmark, using the minimal test workload. The test workload runs in a tiny amount of time and does a minimal verification that the benchmark executable can at least start up:

C:\cpu2006\config> runspec --size=test --iterations=1 --loose --tune=base --config=jul13a 401.bzip2
runspec v6624 - Copyright 1999-2011 Standard Performance Evaluation Corporation
Using 'windows-i386 ' tools
Reading MANIFEST... 22353 files
Loading runspec modules................
Locating benchmarks...found 31 benchmarks in 6 benchsets.
Reading config file 'C:/cpu2006/config/jul13a.cfg'
Running "specperl C:\cpu2006/Docs/sysinfo" to gather system information.
Retrieving flags file (C:\cpu2006/config/flags/Intel-ic12-win32-revD.xml)...
Benchmarks selected: 401.bzip2
Compiling Binaries
  Up to date 401.bzip2 base jul13a default


Setting Up Run Directories
  Setting up 401.bzip2 test base jul13a default: created (run_base_test_jul13a.0000)
Running Benchmarks
  Running 401.bzip2 test base jul13a default
Success: 1x401.bzip2
Producing Raw Reports
mach: default
  ext: jul13a
    size: test
      set: int
        format: raw -> C:/cpu2006/result/CINT2006.002.test.rsf
Parsing flags for 401.bzip2 base: done
Doing flag reduction: done
        format: flags -> C:/cpu2006/result/CINT2006.002.test.flags.html
        format: ASCII -> C:/cpu2006/result/CINT2006.002.test.txt
        format: HTML -> C:/cpu2006/result/CINT2006.002.test.html, 
                      C:/cpu2006/result/CINT2006.002.test.gif
      set: fp

The log for this run is in C:\cpu2006/result/CPU2006.002.log

runspec finished at Wed Jul 13 16:44:26 2011; 42 total seconds elapsed

Notice about 19 lines up where it says "Success: 1x401.bzip2". That is what we want to see.

Step 11. Let's try running 401.bzip2 with the real ("ref") workload. This is going to take a while - on the laptop used for the sample installation, about 15 minutes.

C:\cpu2006\config> runspec --size=ref --iterations=1 --loose --tune=base --config=jul13a 401.bzip2
runspec v6624 - Copyright 1999-2011 Standard Performance Evaluation Corporation
Using 'windows-i386 ' tools
Reading MANIFEST... 22353 files
Loading runspec modules................
Locating benchmarks...found 31 benchmarks in 6 benchsets.
Reading config file 'C:/cpu2006/config/jul13a.cfg'
Running "specperl C:\cpu2006/Docs/sysinfo" to gather system information.
Retrieving flags file (C:\cpu2006/config/flags/Intel-ic12-win32-revD.xml)...
Benchmarks selected: 401.bzip2
Compiling Binaries
  Up to date 401.bzip2 base jul13a default


Setting Up Run Directories
  Setting up 401.bzip2 ref base jul13a default: created (run_base_ref_jul13a.0000)
Running Benchmarks
  Running 401.bzip2 ref base jul13a default
Success: 1x401.bzip2
Producing Raw Reports
mach: default
  ext: jul13a
    size: ref
      set: int
        format: raw -> C:/cpu2006/result/CINT2006.003.ref.rsf
Parsing flags for 401.bzip2 base: done
Doing flag reduction: done
        format: flags -> C:/cpu2006/result/CINT2006.003.ref.flags.html
        format: ASCII -> C:/cpu2006/result/CINT2006.003.ref.txt
        format: HTML -> C:/cpu2006/result/CINT2006.003.ref.html, 
                      C:/cpu2006/result/CINT2006.003.ref.gif
      set: fp

The log for this run is in C:\cpu2006/result/CPU2006.003.log

runspec finished at Wed Jul 13 17:00:20 2011; 923 total seconds elapsed

Success with the real workload! So now let's look in the result directory and see what we find:

C:\cpu2006\config> cd ..\result
C:\cpu2006\result> dir
 Volume in drive C is System
 Volume Serial Number is 3EFE-11B4

 Directory of C:\cpu2006\result

07/13/2011  05:00 PM    <DIR>          .
07/13/2011  05:00 PM    <DIR>          ..
07/13/2011  04:44 PM            42,466 CINT2006.002.test.flags.html
07/13/2011  04:44 PM             3,815 CINT2006.002.test.gif
07/13/2011  04:44 PM            64,577 CINT2006.002.test.html
07/13/2011  04:44 PM            27,100 CINT2006.002.test.rsf
07/13/2011  04:44 PM             9,727 CINT2006.002.test.txt
07/13/2011  05:00 PM            42,466 CINT2006.003.ref.flags.html
07/13/2011  05:00 PM             5,149 CINT2006.003.ref.gif
07/13/2011  05:00 PM            64,548 CINT2006.003.ref.html
07/13/2011  05:00 PM            27,012 CINT2006.003.ref.rsf
07/13/2011  05:00 PM             9,567 CINT2006.003.ref.txt
07/13/2011  04:43 PM            15,222 CPU2006.001.log
07/13/2011  04:44 PM             4,024 CPU2006.002.log
07/13/2011  05:00 PM             5,319 CPU2006.003.log
07/13/2011  04:14 PM             8,846 invalid.gif
07/13/2011  04:45 PM                 5 lock.CPU2006
              15 File(s)        329,843 bytes
               2 Dir(s)  21,859,667,968 bytes free

Notice the log files from our runspec commands. Those runspec commands are easily extracted with findstr

C:\cpu2006\result> findstr runspec: *log
CPU2006.001.log:runspec: runspec --action=build --tune=base --config=jul13a 401.bzip2
CPU2006.002.log:runspec: runspec --size=test --iterations=1 --loose --tune=base --config=jul13a 401.bzip2
CPU2006.003.log:runspec: runspec --size=ref --iterations=1 --loose --tune=base --config=jul13a 401.bzip2
C:\cpu2006\result> findstr runspec: *log

Here are the results, in the ".txt" file:

C:\cpu2006\result> type CINT2006.003.ref.txt
##############################################################################
#   INVALID RUN -- INVALID RUN -- INVALID RUN -- INVALID RUN -- INVALID RUN  #
#                                                                            #
# 'reportable' flag not set during run                                       #
# 471.omnetpp (base) did not have enough runs!                               #
# 456.hmmer (base) did not have enough runs!                                 #
# 445.gobmk (base) did not have enough runs!                                 #
# 458.sjeng (base) did not have enough runs!                                 #
# 429.mcf (base) did not have enough runs!                                   #
# 473.astar (base) did not have enough runs!                                 #
# 483.xalancbmk (base) did not have enough runs!                             #
# 400.perlbench (base) did not have enough runs!                             #
# 464.h264ref (base) did not have enough runs!                               #
# 462.libquantum (base) did not have enough runs!                            #
# 401.bzip2 (base) did not have enough runs!                                 #
# 403.gcc (base) did not have enough runs!                                   #
#                                                                            #
#   INVALID RUN -- INVALID RUN -- INVALID RUN -- INVALID RUN -- INVALID RUN  #
##############################################################################
                           SPEC(R) CINT2006 Summary
                                LENOVO 2537LB8
                Test Sponsor: sponsor (defaults to hw_vendor)
                           Wed Jul 13 19:37:50 2011

CPU2006 License:                                         Test date: Jul-2011
Test sponsor: sponsor (defaults to hw_vendor)  Hardware availability: Dec-9999
Tested by:    tester (defaults to test_sponsor)  Software availability: Apr-2011

                                  Estimated                       Estimated
                Base     Base       Base        Peak     Peak       Peak
Benchmarks      Ref.   Run Time     Ratio       Ref.   Run Time     Ratio
-------------- ------  ---------  ---------    ------  ---------  ---------
400.perlbench                               NR
401.bzip2        9650        890       10.8 *
403.gcc                                     NR
429.mcf                                     NR
445.gobmk                                   NR
456.hmmer                                   NR
458.sjeng                                   NR
462.libquantum                              NR
464.h264ref                                 NR
471.omnetpp                                 NR
473.astar                                   NR
483.xalancbmk                               NR
==============================================================================
400.perlbench                               NR
401.bzip2        9650        890       10.8 *
403.gcc                                     NR
429.mcf                                     NR
445.gobmk                                   NR
456.hmmer                                   NR
458.sjeng                                   NR
462.libquantum                              NR
464.h264ref                                 NR
471.omnetpp                                 NR
473.astar                                   NR
483.xalancbmk                               NR
 Est. SPECint(R)_base2006                --
 Est. SPECint2006                                                   Not Run

In the table above, most of the results are blank, because we only ran 1 of the 12 integer benchmarks.

Notice that the values for SPECint_base2006 and SPECint2006 are "--" and "Not Run"; these would be filled in if we did a "reportable" run; for information, please see "--reportable" in runspec.html

There are also dashes or dummy values for several parts of the system description, both at the top of the page and in the section that follows. These dashes indicate that we have not filled in the fields that describe the hardware and software that we are testing. For information about these fields, please see config.html. Some fields have automatically been filled in, by sysinfo.

The report continues:


                                   HARDWARE
                                   --------
            CPU Name: Intel Core i5 M 520
 CPU Characteristics: ____
             CPU MHz: 2400
                 FPU: Integrated
      CPU(s) enabled: 2 cores, 1 chip, 2 cores/chip, 2 threads/core
    CPU(s) orderable: ____ chip
       Primary Cache: 32 KB I + 32 KB D on chip per core
     Secondary Cache: 256 KB I+D on/off chip per ____
            L3 Cache: 3072 KB I+D on/off chip per ____
         Other Cache: None
              Memory: 3,892 MB   fixme: format is:
                      'n GB (n x n GB nRxn PCn-nnnnnR-n, ECC)'
      Disk Subsystem: ____ GB SATA, ____RPM
      Other Hardware: None


                                   SOFTWARE
                                   --------
    Operating System: Microsoft Windows 7 Professional
                      6.1.7600 N/A Build 7600
            Compiler: Intel C++ Compiler XE for IA32
                      Version 12.0.3.163 Build 20110217
                      Microsoft Visual Studio 2008 Professional SP1
                      (for libraries)
       Auto Parallel: Yes
         File System: NTFS
        System State: Default
       Base Pointers: 32-bit
       Peak Pointers: 32-bit
      Other Software: SmartHeap Library Version 9.01 from
                      http://www.microquill.com/


                                Platform Notes
                                --------------
     Sysinfo program (C:\cpu2006/Docs/sysinfo)
     on imaUser-t410 Wed Jul 13 16:44:59 2011

     This section contains SUT (System Under Test) info as seen by
     some common utilities.  To remove or add to this section, see:
       http://www.spec.org/cpu2006/Docs/config.html#sysinfo

     Trying 'systeminfo'
     OS Name       : Microsoft Windows 7 Professional
     OS Version    : 6.1.7600 N/A Build 7600
     System Manufacturer: LENOVO
     System Model  : 2537LB8
     Processor(s)  : 1 Processor(s) Installed.
                                [01]: Intel64 Family 6 Model 37 Stepping 5
                                GenuineIntel ~1320 Mhz
     BIOS Version  : LENOVO 6IET75WW (1.35 ), 2/1/2011
     Total Physical Memory: 3,892 MB

     Trying 'wmic cpu get /value'
     DeviceID      : CPU0
     L2CacheSize   : 256
     L3CacheSize   : 3072
     MaxClockSpeed : 2400
     Name          : Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz
     NumberOfCores : 2
     NumberOfLogicalProcessors: 4

                           Base Compiler Invocation
                           ------------------------
C benchmarks:

 401.bzip2: icl -Qvc10 -Qstd=c99


                           Base Optimization Flags
                           -----------------------
C benchmarks:

 401.bzip2: -QxHOST -Qipo -O3 -Qprec-div- -Qopt-prefetch -Qparallel
            -Qauto-ilp32 /F512000000


                               Base Other Flags
                               ----------------
C benchmarks:

 401.bzip2: No flags used


    SPEC and SPECint are registered trademarks of the Standard Performance
    Evaluation Corporation.  All other brand and product names appearing
    in this result are trademarks or registered trademarks of their
    respective holders.
##############################################################################
#   INVALID RUN -- INVALID RUN -- INVALID RUN -- INVALID RUN -- INVALID RUN  #
#                                                                            #
# 'reportable' flag not set during run                                       #
# 471.omnetpp (base) did not have enough runs!                               #
# 456.hmmer (base) did not have enough runs!                                 #
# 445.gobmk (base) did not have enough runs!                                 #
# 458.sjeng (base) did not have enough runs!                                 #
# 429.mcf (base) did not have enough runs!                                   #
# 473.astar (base) did not have enough runs!                                 #
# 483.xalancbmk (base) did not have enough runs!                             #
# 400.perlbench (base) did not have enough runs!                             #
# 464.h264ref (base) did not have enough runs!                               #
# 462.libquantum (base) did not have enough runs!                            #
# 401.bzip2 (base) did not have enough runs!                                 #
# 403.gcc (base) did not have enough runs!                                   #
#                                                                            #
#   INVALID RUN -- INVALID RUN -- INVALID RUN -- INVALID RUN -- INVALID RUN  #
##############################################################################
-----------------------------------------------------------------------------
For questions about this result, please contact the tester.
For other inquiries, please contact webmaster@spec.org.
Copyright 2006-2011 Standard Performance Evaluation Corporation
Tested with SPEC CPU2006 v117.
Report generated on Wed Jul 13 17:00:19 2011 by CPU2006 ASCII formatter v6400.

C:\cpu2006\result> 

Done. The suite is installed, and we can run at least one benchmark for real.


Appendix 1: the DVD drive is on system A, but I want to install on system B. What do I do?

If the title of this section describes your situation, you basically have two choices.

  1. Network mount: You can mount the device over the network and do the installation remotely.
  2. Tar file: You can install from the tar file

Appendix 1.a. Network mount

You might be able to mount the DVD on one system and use network services to make it available on other systems.

Please note that the SPEC CPU2006 license agreement does not allow you to post the DVD on any public server. If your institution has a SPEC CPU2006 license, then it's fine to post it on an internal server that is accessible only to members of your institution.

Whether you attempt a network mount will probably depend on:

If your network environment allows easy cross-system mounting, you can use a network mount for the installation. Otherwise, you can fall back on the tar file.

Note: if you insert the DVD on a system running Unix or Linux, you may need to share it using nfs commands. This Windows installation guide does not attempt to give hints about how to do Unix nfs commands, although you will find some hints in the corresponding appendix of install-guide-unix.html. Instead, let's assume that you are using two Windows systems. System A is a Windows system with a DVD drive; System B is a Windows system where you would like to do the installation.

To do the installation:

  1. At System A, insert the DVD.

  2. Then, bring up a Windows Explorer window (for example, by double clicking on the My Documents icon). Click the plus sign next to My Computer and you should see the DVD drive. Let's suppose that it is drive F:.

  3. Right-click on the DVD drive and select "Sharing and Security..."

  4. In the box that comes up, under the "Sharing" tab, you may see a warning To protect your computer from unauthorized access, sharing the root of a dive is not recommended. If you understand the risk but still want to share the root of the drive, click here. This most informative warning is displayed for your consideration and you can proceed to consider it. If you decide that it is safe to share your DVD drive, then click where indicated.

  5. Select "Share this folder"

  6. Now, move to System B.

  7. Bring up a Windows Explorer window (for example, by double clicking on the My Documents icon). Select Tools -> Map Network Drive. The Drive letter may offer a default, such as Z:. In the box for Folder, type two backslashes, the name of system A, a backslash, and its shared drive letter - for example \\SystemA\F

  8. Continue with Step 2 above. When you get to Steps 5 and 6, remember to use the drive letter as it is known on System B - from the dialog box of a moment ago - for example

    D:\Documents and Settings\Saturos\> Z:
    Z:\> install.bat  C:\cpu2006
       

Appendix 1.b. Tar file

If the DVD drive is on a system other than the one where you wish to do the installation, and if you do not wish to try to get a network mount working, then the final fallback is to use the compressed tarfile. If you choose this option, please carefully observe the warnings.

  1. Go to the system with the DVD drive ("System A"). Insert the SPEC CPU2006 DVD.

  2. From a command window (aka terminal window), cd to the top level directory on the DVD.

  3. You are going to retrieve five things from the DVD. First, find the large tarfile and its corresponding md5 file:

    cd install_archives 
    dir cpu2006.tar.xz*
    

    or, if System A is a Unix system, then:

    cd install_archives 
    ls -l cpu2006.tar.xz*
    

    In either case, you should see one moderately large file > 500MB, cpu2006.tar.xz, and a small file associated with it that contains a checksum, cpu2006.tar.xz.md5.

    If you don't see the above files, try looking for cpu*tar*. The name might change if, for example, a maintenance update of CPU2006 changes the name slightly to indicate an updated version.

    Do whatever is required in order to transfer both files intact to the system where you wish to do the installation ("System B"). If you use ftp, do not forget to use image (binary) mode. For example:

    ftp> bin   <-------- important
    200 Type set to I.
    ftp> put cpu2006.tar.xz
    ftp> put cpu2006.tar.xz.md5
    

    Please note that the SPEC CPU2006 license agreement does not allow you to post the above file on any public ftp server. If your institution has a SPEC CPU2006 license, then it's fine to post it on an internal server that is accessible only to members of your institution.

  4. Next, you are going to retrieve specxz.exe, specmd5sum.exe, and spectar.exe from the DVD.

    Please do not use Windows Zip utilities, as these will not preserve line endings and will cause difficult-to-diagnose benchmark miscompares.

    Please do not use other tar utilities, as these may not handle long path names. Many commonly-supplied tar utilities cannnot.

    If you have GNU tar and the genuine xz, then you can use those; otherwise, look around on the DVD to find the SPEC-supplied versions, like so:

    F:\> cd tools
    
    F:\tools> cd bin
    
    F:\tools\bin> dir
     Volume in drive F is SPEC_CPU2006
     Volume Serial Number is 5699-379E
    
     Directory of F:\tools\bin
    
    07/12/2011  09:51 AM    <DIR>          .
    07/12/2011  09:51 AM    <DIR>          ..
    04/25/2011  06:38 AM    <DIR>          aix5L-ppc
    04/25/2011  06:38 AM    <DIR>          aix5L-ppc64
    04/27/2011  07:36 AM    <DIR>          hpux11iv3-ipf
    06/01/2011  03:58 PM    <DIR>          hpux11iv31-parisc
    04/18/2011  08:50 AM    <DIR>          irix6.5-mips
    04/25/2011  06:47 PM    <DIR>          linux-debian31-ppc
    04/25/2011  06:48 PM    <DIR>          linux-redhat72-ia32
    04/19/2011  10:09 AM    <DIR>          linux-rhas4r4-ia64
    04/19/2011  10:06 AM    <DIR>          linux-sles9-ia64
    07/12/2011  09:51 AM    <DIR>          linux-suse10-amd64
    04/15/2011  03:13 PM    <DIR>          linux-suse10-ia32
    04/25/2011  06:46 PM    <DIR>          linux-suse10-ppc64
    04/19/2011  06:57 AM    <DIR>          macosx
    04/19/2011  06:55 AM    <DIR>          macosx-ppc
    04/15/2011  02:10 PM    <DIR>          solaris-sparc
    04/15/2011  03:27 PM    <DIR>          solaris-x86
    04/25/2011  07:28 AM    <DIR>          solaris10-sparc
    04/15/2011  08:14 PM    <DIR>          solaris10-x86
    06/13/2011  02:33 PM    <DIR>          tru64-alpha
    05/10/2011  02:12 PM    <DIR>          windows-i386
                   0 File(s)              0 bytes
                  22 Dir(s)               0 bytes free
    
    F:\tools\bin> cd windows-i386
    
    F:\tools\bin\windows-i386> dir
     Volume in drive F is SPEC_CPU2006
     Volume Serial Number is 5699-379E
    
     Directory of F:\tools\bin\windows-i386
    
    05/10/2011  02:12 PM    <DIR>          .
    07/12/2011  09:51 AM    <DIR>          ..
    03/29/2011  12:49 PM                16 order
    05/10/2011  02:12 PM           104,061 specmd5sum.exe
    05/10/2011  02:12 PM           500,673 spectar.exe
    05/10/2011  02:12 PM           183,822 specxz.exe
    05/10/2011  02:12 PM        11,914,184 tools-windows-i386.tar.xz
                   5 File(s)     12,702,756 bytes
                   2 Dir(s)               0 bytes free
    
    
    

    Once you've found these versions of specxz.exe, specmd5sum.exe, and spectar.exe, transfer them to system B using the same methods that you used for the big tarfile.

  5. On system B, use specmd5sum to check that the file transfer worked correctly. In this example, we assume that you have placed all 5 of the files mentioned above in the \kits\ directory on drive C::

    C:\kits\> specmd5sum -c cpu2006.tar.xz.md5
    cpu2006.tar.xz: OK
    
  6. Pick a disk with 8GB free, go there, and unpack the tarfile, like so:

    C:\kits\> H:
    H:\> mkdir cpu2006
    H:\> cd cpu2006
    H:\cpu2006\> C:\kits\specxz -d C:\kits\cpu2006.tar.xz 
    H:\cpu2006\> C:\kits\spectar -xf C:\kits\cpu2006.tar 
    

    Be patient: it will take bit of time to unpack! It might take 15 minutes, depending on the speed of your processor and disks. Go for a coffee break.

  7. Now, type install, without any arguments afterwards. That is, unlike the instructions in step 6 above, you do not need to mention a device or directory if you are installing from the tarfile. You will see output similar, though not identical, to that shown in the example installation -- the messages about Unpacking xxxx are not printed, because you already did the unpacking with your spectar command.

  8. Continue with step 6, editing the shrc.bat file, above.

Appendix 2: Uninstalling SPEC CPU2006

At this time, SPEC does not provide an uninstall utility for SPEC CPU2006. Confusingly, there is a file named uninstall.sh in the top directory, but it does not remove the whole product; it only removes the SPEC tool set, and does not affect the benchmarks (which consume the bulk of the disk space).

To remove SPEC CPU2006 on Windows systems, select the top directory in Windows Explorer and delete it.

To remove SPEC CPU2006 on Unix systems, use rm -Rf on the directory where you installed the suite, for example:

  rm -Rf /home/cs3000/saturos/spec/cpu2006

If you have been using the output_root feature, you will have to track those down separately. Therefore, prior to removing the tree,, you might want to look for mentions of output root, for example:

Windows:
    cd %SPEC%\config
    findstr output_root *cfg

Unix:
    cd $SPEC/config
    grep output_root *cfg

Note: instead of deleting the entire directory tree, some users find it useful to keep the config and result subdirectories, while deleting everything else.

Appendix 3: Useful Tips and Techniques

Appendix 3.a. About Temporary Space (%temp)

It has occasionally been reported that installation attempts fail if there is not a directory that can be used to hold temporary files. To check this point, print the %temp% environment variable, and try writing a small file to it, like this:

C:\Users\kumar> echo %temp%
C:\Users\kumar\AppData\Local\Temp

C:\Users\kumar> echo "hi" > %temp%\test-hi.txt

C:\Users\kumar> type %temp%\test-hi.txt
"hi"

C:\Users\kumar> del %temp%\test-hi.txt

If %temp% is not set, the first echo command above will just print:
    %temp%
If %temp% is set to a directory that is not writeable, the second command will print:
    Access is denied
If either of these happen, you should set it to the full path (with drive letter) of a directory that can be used as scratch space. For example, if Kumaran would like to use a temporary directory underneath his directory on drive K:, he could type:

C:\> set temp=K:\KUMARAN\TEMP

Appendix 3.b. About Text Files and Windows/Unix Compatibility

There are many files in the SPEC CPU2006 kit that contain text. Unfortunately, Unix systems and Windows systems have different conventions for storing text files. Sometimes, a text file formatted for Windows will appear on Unix as if it has extra Control-M characters. Sometimes, a text file formatted for Unix will appear on Windows as if all the lines were joined together.

There are at least three ways for Windows users to correctly view and edit text files that originated on a Unix system:

  1. Use WordPad. WordPad can commonly be found by
    Start-->All Programs-->Accessories-->WordPad

  2. Use the MS-DOS Editor. Open a Command Prompt and type "Edit". This alternative does not work on 64-bit Windows systems. The program only recognizes files with 8 characters or fewer, a dot, and then 3 characters or fewer. If you are trying to use it with a longer file name, you can discover that there is an "8 dot 3" synonym for it by typing: "dir /x".

  3. Use the editor "vi". Although vi originated on Unix systems, there are also Windows versions. "UNIX Compatibility" products for Windows often include a version of vi, and there are independently-distributed versions, such as "Vi IMproved" (at http://www.vim.org/).

Note that SPEC does not "endorse" any of these solutions, although it is hoped that at least one of them will be useful for you.


Copyright 1999-2011 Standard Performance Evaluation Corporation
All Rights Reserved