defaults for XXX_OPENMP_FLAGS differ between linux and darwin architectures

Issue #2588 new
Roland Haas created an issue

Cactus known-architectures files lib/make/known-architectures/linux and lib/make/known-architectures/darwin differ in whether they set defaults for XXX_OPENMP_FLAGS. Namely the Linux one contains:

ib/make/known-architectures/linux:       : ${CXX_OPENMP_FLAGS='-fopenmp'}
lib/make/known-architectures/linux:     : ${CXX_OPENMP_FLAGS='-openmp'}
lib/make/known-architectures/linux:     : ${CXX_OPENMP_FLAGS='-mp'}
lib/make/known-architectures/linux:     : ${CXX_OPENMP_FLAGS='-openmp'}
lib/make/known-architectures/linux:     : ${CXX_OPENMP_FLAGS='-qsmp=omp'}

while the darwin (macOS) one does not set any defaults. Other architectures (aix) set a them as well while yet others (all others) do not.

Ideally the defaults should be the same for all architectures (and nowadays probably -fopenmp). The value of OPENMP itself (ie if OpenMP is used) is not set by any architecture file.