Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th August 2012, 04:38 PM
robwill Offline
Registered User
 
Join Date: Aug 2012
Location: U.S.A.
Posts: 3
linuxfedorafirefox
Problem using phoronix-test-suite 3.8.0 with Fedora 16/17

I could not get the Phoronix test suites (that have to be compiled) to work on Fedora 16.
So I installed a Fedora 17 system and have the same problem. This example is the "scimark2" suite. I can do the compile myself ("make" as per the README instructions) and the actual test runs just fine. The run is done by an ordinary user-id (not root).

Suggestions appreciated. Thanks.

Details of the situation:

Attempted install of phoronix test suite "scimark2"

Note: "phts" is my alias for "phoronix-test-suite"

-----------------------------------------------------------------------------

$ phts install scimark2

Phoronix Test Suite v3.8.0

To Install: pts/scimark2-1.1.1

Determining File Requirements ..........................................
Searching Download Caches ..............................................

1 Test To Install
1 File To Download [0.01MB]
1MB Of Disk Space Is Needed

pts/scimark2-1.1.1:
Test Installation 1 of 1
1 File Needed [0.01 MB]
Downloading: scimark2_1c.zip [0.01MB]
Downloading .................................................. ......
Installation Size: 0.04 MB
Installing Test @ 14:43:04
The installer exited with a non-zero exit status.
Installation Log: /home/bobe/.phoronix-test-suite/installed-tests/pts/scimark2-1.1.1/install-failed.log


The following tests failed to install:

- pts/scimark2-1.1.1

---------------------------------------------------------------------------

*** install-failed.log for scimark2 ***

Archive: scimark2_1c.zip
inflating: scimark2_files/array.h
inflating: scimark2_files/constants.h
inflating: scimark2_files/FFT.h
inflating: scimark2_files/kernel.h
inflating: scimark2_files/LU.h
inflating: scimark2_files/MonteCarlo.h
inflating: scimark2_files/Random.h
inflating: scimark2_files/scimark2.h
inflating: scimark2_files/SOR.h
inflating: scimark2_files/SparseCompRow.h
inflating: scimark2_files/Stopwatch.h
inflating: scimark2_files/array.c
inflating: scimark2_files/FFT.c
inflating: scimark2_files/kernel.c
inflating: scimark2_files/LU.c
inflating: scimark2_files/MonteCarlo.c
inflating: scimark2_files/Random.c
inflating: scimark2_files/scimark2.c
inflating: scimark2_files/SOR.c
inflating: scimark2_files/SparseCompRow.c
inflating: scimark2_files/Stopwatch.c
inflating: scimark2_files/Makefile
inflating: scimark2_files/README
/tmp/pts-compiler-mask-scimark21.1.1//g++: fork: retry: No child processes
/tmp/pts-compiler-mask-scimark21.1.1//g++: fork: retry: No child processes
/tmp/pts-compiler-mask-scimark21.1.1//g++: fork: retry: No child processes
/tmp/pts-compiler-mask-scimark21.1.1//g++: fork: retry: No child processes
/tmp/pts-compiler-mask-scimark21.1.1//g++: fork: Resource temporarily unavailable

------------------------------------------------------------------------------

System is Fedora 17, with available maintenance installed (yum update).

Compiler: gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC)
Reply With Quote
  #2  
Old 19th August 2012, 06:26 PM
angryfirelord's Avatar
angryfirelord Offline
Registered User
 
Join Date: Dec 2006
Location: Pennsylvania
Posts: 319
linuxfedorakonqueror
Re: Problem using phoronix-test-suite 3.8.0 with Fedora 16/17

Do you have all of the dependencies installed? Make sure g++ is available.
Reply With Quote
  #3  
Old 19th August 2012, 08:25 PM
robwill Offline
Registered User
 
Join Date: Aug 2012
Location: U.S.A.
Posts: 3
linuxfirefox
Re: Problem using phoronix-test-suite 3.8.0 with Fedora 16/17

yum shows the following pkgs installed that have "gcc" or "c++" in their name:

gcc.i686 4.7.0-5.fc17
gcc-c++.i686 4.7.0-5.fc17
gcc-gfortran.i686 4.7.0-5.fc17
libgcc.i686 4.7.0-5.fc17
compat-libstdc++-33.i686 3.2.3-68.3
gnutls-c++.i686 2.12.17-1.fc17
libsigc++20.i686 2.2.10-2.fc17
libstdc++.i686 4.7.0-5.fc17
libstdc++-devel.i686 4.7.0-5.fc17

I have noticed that the commands "gcc" and "c++" both result in the same C compiler.
Reply With Quote
  #4  
Old 20th August 2012, 11:23 PM
angryfirelord's Avatar
angryfirelord Offline
Registered User
 
Join Date: Dec 2006
Location: Pennsylvania
Posts: 319
linuxfedorakonqueror
Re: Problem using phoronix-test-suite 3.8.0 with Fedora 16/17

What happens when you run this command?
Code:
ulimit
My suspicion is that it's either a bug or it's a hard setting in Fedora and it's somehow creating another instance of gcc when it won't let it do it.

Just for the heck of it, run it as root and see what happens.
Reply With Quote
  #5  
Old 21st August 2012, 08:08 PM
robwill Offline
Registered User
 
Join Date: Aug 2012
Location: U.S.A.
Posts: 3
linuxfirefox
Re: Problem using phoronix-test-suite 3.8.0 with Fedora 16/17

In response to previous questions:

(1) Running phoronix-test-suite as "root" has the same result as running as an ordinary user.

(2) result of ulimit command:

[joe@i5Fed17 ~]$ ulimit
unlimited
[joe@i5Fed17 ~]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 31513
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 1024
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Reply With Quote
  #6  
Old 7th September 2012, 11:36 PM
hlovdal's Avatar
hlovdal Offline
Registered User
 
Join Date: Sep 2012
Location: Mars
Posts: 2
linuxfirefox
Re: Problem using phoronix-test-suite 3.8.0 with Fedora 16/17

I also experience fork error messages when trying to run tests. The good news is that I have found the cause of the fork error message. I have not found the reason yet.

I debugged by running pts trough strace, and then wrote a perl script to show a tree with parent/child relations. The sinner is easy to spot at the bottom...

Code:
$ strace -o mylog -f -ff ./phoronix-test-suite install pts/disk
... // wait until fork errors occur in other terminal windows
^C
$ perl strace2tree.pl mylog 18491 | head -295
./phoronix-test-suite
 <pid 18492>
 <pid 18493>
 /usr/bin/php
  <pid 18495>
  /bin/sh
   /usr/bin/date
  /bin/sh
   /usr/bin/glxinfo
   /usr/bin/grep
  /usr/bin/glxinfo
  /bin/sh
   /usr/bin/lsb_release
    /usr/bin/getopt
    /usr/bin/getopt
    /usr/bin/basename
    /usr/bin/basename
    /usr/bin/basename
    /usr/bin/basename
    /usr/bin/basename
    /usr/bin/basename
    /usr/bin/basename
    /usr/bin/basename
    /usr/bin/basename
    /usr/bin/basename
    <pid 18516>
     /usr/bin/head
    <pid 18518>
     <pid 18519>
     /usr/bin/sed
    <pid 18521>
     <pid 18522>
     /usr/bin/sed
    <pid 18524>
     <pid 18525>
     /usr/bin/sed
    <pid 18527>
     <pid 18528>
     /usr/bin/sed
    <pid 18530>
     <pid 18531>
     /usr/bin/sed
    <pid 18533>
     <pid 18534>
     /usr/bin/tr
  /bin/sh
   /usr/bin/gconftool-2
  /bin/sh
   /usr/bin/gconftool-2
  /bin/sh
   /usr/bin/qdbus
  /bin/sh
   /usr/bin/gsettings
    <pid 18544>
  /bin/sh
   /usr/bin/gsettings
    <pid 18547>
  /usr/bin/xset
  /bin/sh
   /usr/bin/clang
  /bin/sh
   /usr/bin/llvm-link
  /bin/sh
   /usr/bin/stat
  /bin/sh
   /usr/bin/tput
  /bin/sh
   /usr/bin/sh
    /usr/bin/cat
    /usr/bin/chmod
  <pid 18561>
  <pid 18562>
  /bin/sh
   /usr/bin/sh
    /usr/bin/tar
     /usr/bin/gzip
    /usr/bin/tar
     /usr/bin/gzip
    /usr/bin/mkdir
    ./configure
     <pid 18571>
      <pid 18572>
     <pid 18573>
      <pid 18574>
     <pid 18575>
      <pid 18576>
     <pid 18577>
      <pid 18578>
     <pid 18579>
     <pid 18580>
     <pid 18581>
     /usr/bin/expr
     /usr/bin/expr
     /usr/bin/basename
     <pid 18585>
      /usr/bin/basename
     <pid 18587>
      /usr/bin/basename
     <pid 18589>
     <pid 18590>
      <pid 18591>
       <pid 18592>
       <pid 18593>
       <pid 18594>
      <pid 18595>
       <pid 18596>
        /usr/bin/expr
     <pid 18598>
      <pid 18599>
      <pid 18600>
      <pid 18601>
     /usr/bin/expr
     <pid 18603>
      /usr/bin/dirname
     <pid 18605>
     /usr/bin/expr
     /usr/bin/expr
     /usr/bin/rm
     /usr/bin/rm
     /usr/bin/mkdir
     <pid 18611>
     /usr/bin/ln
     /usr/bin/ln
     /usr/bin/rm
     /usr/bin/rmdir
     /usr/bin/mkdir
     <pid 18617>
      <pid 18618>
     <pid 18619>
     <pid 18620>
      <pid 18621>
       /usr/bin/sed
     <pid 18623>
      /usr/bin/sed
     <pid 18625>
     <pid 18626>
      <pid 18627>
     <pid 18628>
      <pid 18629>
     <pid 18630>
      <pid 18631>
       /usr/bin/hostname
      /usr/bin/sed
     /usr/bin/expr
     /usr/bin/expr
     <pid 18636>
     /usr/bin/ls
     <pid 18638>
      /usr/bin/ls
     <pid 18640>
      /usr/bin/dirname
     <pid 18642>
      <pid 18643>
     /usr/bin/cat
     /usr/bin/cat
      <pid 18646>
       <pid 18647>
        /usr/bin/hostname
       /usr/bin/sed
      <pid 18650>
       /usr/bin/uname
      <pid 18652>
       /usr/bin/uname
      <pid 18654>
       /usr/bin/uname
      <pid 18656>
       /usr/bin/uname
      <pid 18658>
       /usr/bin/uname
      <pid 18660>
       /bin/uname
      <pid 18662>
       /bin/arch
      <pid 18664>
       /usr/bin/arch
      <pid 18666>
       /usr/convex/getsysinfo
      <pid 18668>
       /usr/bin/hostinfo
      <pid 18670>
       /bin/machine
      <pid 18672>
       /usr/bin/oslevel
      <pid 18674>
       /bin/universe
     /usr/bin/cat
     /usr/bin/rm
     /usr/bin/cat
     /usr/bin/cat
     /usr/bin/cat
     /usr/bin/cat
     /usr/bin/cat
     /usr/bin/grep
     /usr/bin/grep
     /usr/bin/rm
     /usr/bin/mkdir
     <pid 18687>
     /usr/bin/install
     /usr/bin/rm
     /usr/bin/sleep
     <pid 18691>
      <pid 18692>
       /usr/bin/ls
      /usr/bin/rm
     <pid 18695>
      <pid 18696>
      /usr/bin/sed
     <pid 18698>
     /bin/sh
     /usr/bin/mkdir
     <pid 18701>
      <pid 18702>
      /usr/bin/sed
     /usr/bin/cat
     <pid 18705>
      /usr/bin/make
     /usr/bin/rm
     /usr/bin/rm
     /usr/bin/mkdir
     /usr/bin/rmdir
     <pid 18712>
     <pid 18713>
     <pid 18714>
     /usr/bin/cat
     /usr/bin/cat
     /usr/bin/cat
     <pid 18718>
      /usr/bin/make
      /usr/bin/grep
     /usr/bin/rm
     <pid 18723>
     <pid 18724>
      /tmp/pts-compiler-mask-sqlite1.8.0/gcc
       /tmp/pts-compiler-mask-sqlite1.8.0//gcc
        /tmp/pts-compiler-mask-sqlite1.8.0//gcc
         /tmp/pts-compiler-mask-sqlite1.8.0//gcc
          /tmp/pts-compiler-mask-sqlite1.8.0//gcc
           /tmp/pts-compiler-mask-sqlite1.8.0//gcc
            /tmp/pts-compiler-mask-sqlite1.8.0//gcc
             /tmp/pts-compiler-mask-sqlite1.8.0//gcc
              /tmp/pts-compiler-mask-sqlite1.8.0//gcc
               /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                 /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                  /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                   /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                    /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                     /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                      /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                       /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                        /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                         /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                          /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                           /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                            /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                             /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                              /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                               /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                 /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                  /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                   /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                    /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                     /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                      /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                       /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                        /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                         /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                          /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                           /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                            /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                             /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                              /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                               /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                 /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                  /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                   /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                    /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                     /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                      /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                       /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                        /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                         /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                          /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                           /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                            /tmp/pts-compiler-mask-sqlite1.8.0//gcc
     Deep recursion on subroutine "main::process_file" at strace2tree.pl line 32.
                                                        /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                              /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                               /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                                /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                                 /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                                  /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                                   /tmp/pts-compiler-mask-sqlite1.8.0//gcc
                                                                    /tmp/pts-compiler-mask-sqlite1.8.0//gcc
$
Attached Files
File Type: gz strace2tree.pl.gz (520 Bytes, 19 views)
Reply With Quote
  #7  
Old 8th September 2012, 12:10 PM
hlovdal's Avatar
hlovdal Offline
Registered User
 
Join Date: Sep 2012
Location: Mars
Posts: 2
linuxfirefox
Smile Re: Problem using phoronix-test-suite 3.8.0 with Fedora 16/17

The /tmp/pts-compiler-mask-sqlite1.8.0/gcc "stair" was caused by attempting to call "gcc --version" from a configure script. /tmp/pts-compiler-mask-sqlite1.8.0/gcc was generated to invoke /usr/lib64/ccache/gcc which then apparently invoked /tmp/pts-compiler-mask-sqlite1.8.0/gcc again, over and over. With just "--version" ccache does not have anything to do and tries to fall back to the real compiler, but this fails here. Maybe it is possible to make the custom pts compiler wrapper and ccache to play nice together (using CCACHE_PREFIX I assume), but I did not succed in my limited attempt.

However, just removing /usr/lib64/ccache from PATH before running ./phoronix-test-suite avoids the problem.

Last edited by hlovdal; 8th September 2012 at 12:11 PM. Reason: removed extra "the"
Reply With Quote
Reply

Tags
16 or 17, fedora, phoronixtestsuite, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokia Suite Fedora 14 ajayram EOL (End Of Life) Versions 2 26th January 2012 01:42 PM
New Phoronix Benchmark: Fedora vs Ubuntu vs BSD vs OpenSolaris ... simpleblue Linux Chat 2 23rd November 2010 04:46 AM
Trying out phoronix test suite LIVE trashed my system jimbux Reviews, Rants & Things That Make You Scream 8 11th November 2010 04:17 AM
Phoronix test suite gui on Fedora just a step away... Valent Using Fedora 0 27th October 2010 09:00 AM
yum / mythtv-suite problem voam Using Fedora 3 8th September 2005 10:47 AM


Current GMT-time: 21:07 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat