+ Reply to Thread
Results 1 to 2 of 2

Thread: Stream with openmp support and O2 flags

  1. #1
    Join Date
    Jun 2008
    Posts
    36

    Default Stream with openmp support and O2 flags

    I tried the steam benchmark today and found it was build without optimizations and without openmp support, so single threaded.

    So I modified the install.sh abit
    Code:
    #!/bin/sh
    
    tar -xvf stream-2009-04-11.tar.gz
    cc stream.c -O2 -fopenmp -o stream-bin
    echo \$? > ~/test-exit-status
    
    echo "#!/bin/sh
    export OMP_NUM_THREADS=\$NUM_CPU_CORES
    ./stream-bin > \$LOG_FILE 2>&1
    echo \$? > ~/test-exit-status" > stream
    chmod +x stream
    Here's a comparison (also including an icc 11.1 version)
    http://global.phoronix-test-suite.co...97-19942-27576

  2. #2

    Default

    Thanks, pushed in Git.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts