Results 1 to 2 of 2

Thread: pts/hpgc install fail on Power

  1. #1
    Join Date
    Jan 2014
    Location
    Austin, TX
    Posts
    4

    Default pts/hpgc install fail on Power

    What is the reason for adding -march=native to the hpgc build?
    That option is not available for the version of mpicxx available in Fedora 17 for Power64.

    /usr/lib64/openmpi/bin/mpicxx -c -fopenmp -O3 -march=native -ffast-math -ftree-vectorize -I./src testing/main.cpp -o testing/main.o
    g++: error: unrecognized command line option '-march=native'
    make: *** [testing/main.o] Error 1


    mpicxx version:

    /usr/lib64/openmpi/bin/mpicxx --version
    g++ (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2)


    Ed Swarthout

  2. #2

    Default

    Quote Originally Posted by else58 View Post
    What is the reason for adding -march=native to the hpgc build?
    Just for optimizing for the CPU its building against for best performance. Are you able to locally then remove the -march=native flag? The issue hasn't been encountered on the x86/ARM-based testing.

Posting Permissions

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