Re: [Gems-users] Hello, how to run benchmark.


Date: Wed, 18 Nov 2009 09:17:13 -0600
From: Polina Dudnik <pdudnik@xxxxxxxxx>
Subject: Re: [Gems-users] Hello, how to run benchmark.
Please contact Simics with this question. 

On Tue, Nov 17, 2009 at 9:52 PM, 조정욱 <jmanbal@xxxxxxxxx> wrote:

Hello, I used simics3.0 and didn't use gems now.
My question didn't fit this gems_users.

I want to run benchmark in simics.

Simics environments
1. LInux on x86-64 440BX(AMD Hammer)
2. Fedora Core 5 Linux
3. Linux Kernel 2.6.15
4. gcc version 4.1.0


I used simicsfs to mount host disk and then tried to run runspec.
However it didn't work properly.

This work run very well at host PC.


The error message said
runspec v6152 - Copyright 1999-2008 Standard Performance Evaluation Corporation
Using 'linux-suse101-AMD64' tools
Reading MANIFEST... 18335 files
Loading runspec modules................
Locating benchmarks...found 31 benchmarks in 6 benchsets.
Reading config file '/host/home/cho/test_bench/config/default.cfg'
Benchmarks selected: 401.bzip2
Compiling Binaries
  Building 401.bzip2 base amd64-m64-gcc41-nn default: (
Notice: Unusable path detected in build directory list file.
  /host/home/cho/test_bench/benchspec/CPU2006/401.bzip2/build/list
references one or more paths which will be ignored, because they are
not subdirectories of this build directory.  This condition may be a
result of having moved your SPEC benchmark tree.  If that's what happened,
and if you don't need the old build directories, you can just remove
them, along with the list file.  (Usually it's safe to delete old
build directories, as they are automatically re-created when needed.)


build_base_amd64-m64-gcc41-nn.0001)
specmake clean 2> make.clean.err | tee make.clean.out
specmake: Warning: File `/host/home/cho/test_bench/benchspec/Makefile.defaults' has modification time 6.1e+07 s in the future
rm -rf bzip2
rm -rf bzip2.exe
rm -rf *.o  byoudoin.jpg.out input.combined.out input.program.out
find . \( -name \*.o -o -name '*.fppized.f*' \) -print | xargs rm -rf
rm -rf core
rm -rf 
specmake: warning:  Clock skew detected.  Your build may be incomplete.
specmake build 2> make.err | tee make.out
specmake: Warning: File `/host/home/cho/test_bench/benchspec/Makefile.defaults' has modification time 6.1e+07 s in the future
/usr/bin/gcc-4.1 -c -o spec.o -DSPEC_CPU -DNDEBUG    -O2       -DSPEC_CPU_LP64         spec.c
/usr/bin/gcc-4.1 -c -o blocksort.o -DSPEC_CPU -DNDEBUG    -O2       -DSPEC_CPU_LP64         blocksort.c
/usr/bin/gcc-4.1 -c -o bzip2.o -DSPEC_CPU -DNDEBUG    -O2       -DSPEC_CPU_LP64         bzip2.c
bzip2.c: In function 'compressStream':
bzip2.c:487: warning: assignment makes integer from pointer without a cast
bzip2.c: In function 'uncompressStream':
bzip2.c:614: warning: assignment makes integer from pointer without a cast
/usr/bin/gcc-4.1 -c -o bzlib.o -DSPEC_CPU -DNDEBUG    -O2       -DSPEC_CPU_LP64         bzlib.c
/usr/bin/gcc-4.1 -c -o compress.o -DSPEC_CPU -DNDEBUG    -O2       -DSPEC_CPU_LP64         compress.c
/usr/bin/gcc-4.1 -c -o crctable.o -DSPEC_CPU -DNDEBUG    -O2       -DSPEC_CPU_LP64         crctable.c
/usr/bin/gcc-4.1 -c -o decompress.o -DSPEC_CPU -DNDEBUG    -O2       -DSPEC_CPU_LP64         decompress.c
/usr/bin/gcc-4.1 -c -o huffman.o -DSPEC_CPU -DNDEBUG    -O2       -DSPEC_CPU_LP64         huffman.c
/usr/bin/gcc-4.1 -c -o randtable.o -DSPEC_CPU -DNDEBUG    -O2       -DSPEC_CPU_LP64         randtable.c
/usr/bin/gcc-4.1   -O2  -DSPEC_CPU_LP64        spec.o blocksort.o bzip2.o bzlib.o compress.o crctable.o decompress.o huffman.o randtable.o                     -o bzip2
/usr/bin/ld: unrecognized option '--hash-style=both'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
specmake: *** [bzip2] Error 1
Error with make 'specmake build': check file '/host/home/cho/test_bench/benchspec/CPU2006/401.bzip2/build/build_base_amd64-m64-gcc41-nn.0001/make.err'
  Command returned exit code 2
  Error with make!
*** Error building 401.bzip2

Build errors: 401.bzip2(base; CE)

Setting Up Run Directories
Running Benchmarks
Error: 1x401.bzip2
Producing Raw Reports
mach: default
  ext: amd64-m64-gcc41-nn
    size: ref
      set: int
        format: raw -> /host/home/cho/test_bench/result/CINT2006.008.ref.rsf
Doing flag reduction: done
        format: ASCII -> /host/home/cho/test_bench/result/CINT2006.008.ref.txt
      set: fp

The log for this run is in /host/home/cho/test_bench/result/CPU2006.008.log
The debug log for this run is in /host/home/cho/test_bench/result/CPU2006.008.log.debug

runspec finished at Tue Apr 18 00:12:07 2006; 24 total seconds elapsed



And I wander how do you run benchmark in simics???
It would be appreciated if you let me know the way of running benchmark in simics.

Best regards,
JungWook



_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.



[← Prev in Thread] Current Thread [Next in Thread→]