Closed ryanvarley closed 9 years ago
I haven't tried building the package on a Mac myself, but geoffgrimwood sorted this out with his Macbook by adding -mno-avx
to f90flags. That is,
python setup.py config_fc --fcompiler=gnu95 --opt="-Ofast" --f90flags="-cpp -fopenmp -march=native -mno-avx" build
If this still doesn't work, remove -march=native
and set -Ofast
to -O3
(or lower.)
running the new command without -march=native worked and the tests pass.
python setup.py config_fc --fcompiler=gnu95 --opt="-Ofast" --f90flags="-cpp -fopenmp -mno-avx" build
thanks!
Running the compile command in the readme
I get
Any ideas?