Hello,
On a M2 Mac Mini, running this command gives me a long list of compiler directives:
g++ -E -dM -Ofast -DNDEBUG -Ofast -DHAVE_CXX0X -march=native -fpic -ftree-vectorize - < /dev/null
the full list is here. But as soon as I add the -openmp flag, all the output disappears:
g++ -E -dM -Ofast -DNDEBUG -Ofast -DHAVE_CXX0X -march=native -fpic -ftree-vectorize -openmp - < /dev/null
Why? And using -fopenmp gives me this error:
clang: error: unsupported option ‘-fopenmp’
can anyone explain this to me? I have:
└─[$] g++ --version [14:52:49]
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
M.