I try to compile my code, and I get the following error:
(base) wiebe@sp-byods-145-109-11-34 fastchem_vulcan % make
cd model_main && /Applications/Xcode.app/Contents/Developer/usr/bin/make model_main_
compiling: main → model_main.cpp
clang: error: the clang compiler does not support ‘-march=native’
make[1]: *** […/obj/model_main.o] Error 1
make: *** [model_main_] Error 2
I looked up online, and supposedly from clang13 onwards, march=native should be supported on m1. However, I am on clang14, and it still does not work. My device is a MacBook Pro with an m1 pro chip. Any advice?