kdlucas / byte-unixbench

Automatically exported from code.google.com/p/byte-unixbench
GNU General Public License v2.0
1.27k stars 323 forks source link

CentOS 7.1 - Double-Precision Whetstone SEGFAULT #35

Closed chriskirkland closed 8 years ago

chriskirkland commented 8 years ago

UnixBench version: 5.1.3 Operating System: CentOS 7.1

I encounter a Segmentation Fault running UnixBench against CentOS 7.1:

$ ./Run
make all
make[1]: Entering directory `/home/fedora/byte-unixbench/UnixBench'
make distr
make[2]: Entering directory `/home/fedora/byte-unixbench/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[2]: Leaving directory `/home/fedora/byte-unixbench/UnixBench'
make programs
make[2]: Entering directory `/home/fedora/byte-unixbench/UnixBench'
make[2]: Nothing to be done for `programs'.
make[2]: Leaving directory `/home/fedora/byte-unixbench/UnixBench'
make[1]: Leaving directory `/home/fedora/byte-unixbench/UnixBench'
sh: 3dinfo: command not found

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   January 13, 2011                   johantheghost at yahoo period com

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1sh: line 1:  8478 Segmentation fault      (core dumped) "/home/fedora/byte-unixbench/UnixBench/pgms/whetstone-double" 2>&1 >> "/home/fedora/byte-unixbench/UnixBench/results/cb-chriskirkland-myopenstack-vm1-unixbench-ai-1-2016-07-20-04.log"

**********************************************
Run: "Double-Precision Whetstone": command returned status 35584; aborting

I can run the same version of UnixBench on Ubuntu 14.x successfully.

Here is the outputted logfile: unixbench-log.txt

chriskirkland commented 8 years ago
~$ uname -a
Linux HOSTNAME 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
gstrauss commented 8 years ago

Is the whetstone test crashing immediately, or after some period of time?

Potentially similar to #15, #18, #26

This might be due to improper time calculation.

Suggested solution is to modify Makefile $(PROGDIR)/whetstone-double: CFLAGS += -DDP -DUNIX -DUNIXBENCH to replace -DUNIX with -DGTODay and to make clean; make

Would you give that a try?

chriskirkland commented 8 years ago

This turned out to be user error; I copied the source code to a different machine without remembering to delete the existing executables.