Announcement

Collapse
No announcement yet.

Problem running PTS gui in OpenSolaris

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem running PTS gui in OpenSolaris

    Hi,
    I'm having difficulty running tests from the PTS gui. From the command line I can run, e.g.
    :?suite/installed-tests/scimark2$ ./scimark2
    ** **
    ** SciMark2 Numeric Benchmark, see //math.nist.gov/scimark **
    ** for details. (Results can be submitted to pozo) **
    ** **
    Using 2.00 seconds min time per kenel.
    Composite Score: 399.45
    FFT Mflops: 211.68 (N=1024)
    SOR Mflops: 917.60 (100 x 100)
    MonteCarlo: Mflops: 81.34
    Sparse matmult Mflops: 340.45 (N=1000, nz=5000)
    LU Mflops: 446.19 (M=100, N=100)

    But from the gui running this test gives errors

    ====================================
    Test Configuration: SciMark
    ====================================



    ====================================
    SciMark (Run 1 of 4)
    ====================================

    sh: -c: is not an identifier
    sh: -c: is not an identifier

    ====================================
    SciMark (Run 2 of 4)
    ====================================

    sh: -c: is not an identifier
    sh: -c: is not an identifier

    ====================================
    SciMark (Run 3 of 4)
    ====================================

    sh: -c: is not an identifier
    sh: -c: is not an identifier

    ====================================
    SciMark (Run 4 of 4)
    ====================================

    sh: -c: is not an identifier
    sh: -c: is not an identifier

    ####################################
    SciMark:
    Computational Test: Composite


    Average: 0.00 Mflops
    ####################################


    The scripts in the phoronix directory have shebang lines #!/bin/sh,
    on my Open Solaris distribution this points to the korn shell (ksh). Could this be the cause of the problem? Has anyone had experience with this or could anyone recommend a fix?

    On a perhaps unrelated note, After downloading tests, I had to go to the test instalation dir, unzip the downloaded file, and gmake the test.

    Cheers

  • #2
    Hi,

    Hmmm, it's likely due to the link against the korn shell causing the problem.

    What tests did you need to use gmake with?
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Originally posted by Michael View Post
      Hi,

      Hmmm, it's likely due to the link against the korn shell causing the problem.

      What tests did you need to use gmake with?
      Hi,
      I downloaded a CPU test suite and got the following test directories

      build-mysql compress-pbzip2 encode-mp3 graphics-magick photo-sample specviewperf9 timed-audio-encode
      build-php c-ray ffmpeg java-environment povray sqlite timed-build
      byte encode-flac gnupg openssl scimark2 sunflow video-sample

      All of the directories had compressed files in them, scimark2 is just one I picked to try out.

      Comment

      Working...
      X