Announcement

Collapse
No announcement yet.

pts/hpgc install fail on Power

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

  • 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
    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.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment

    Working...
    X