[ET Trac] #2588: defaults for XXX_OPENMP_FLAGS differ between linux and darwnin architectures

Roland Haas trac-noreply at einsteintoolkit.org
Tue Jan 18 16:29:41 CST 2022


#2588: defaults for XXX_OPENMP_FLAGS differ between linux and darwnin architectures

 Reporter: Roland Haas
   Status: new
Milestone: 
  Version: development version
     Type: bug
 Priority: trivial
Component: Cactus

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.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2588/defaults-for-xxx_openmp_flags-differ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20220118/7f36c904/attachment.html 


More information about the Trac mailing list