<html>#2444: Make it possible to disable OpenMP in the `cctk_Loop.h` loop macros
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Erik Schnetter</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>enhancement</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>The looping macros defined in <code>cctk_Loop.h</code> use OpenMP unconditionally. If a thorn is not using OpenMP, or is using OpenMP in a manner incompatible with <code>cctk_Loop.h</code>, then this can lead to segfaults. For example, <code>cctk_Loop.h</code> uses <code>omp single</code> (that prevents certain code from executing) or <code>omp for</code> (which parallelizes part of the loops). There should be a mechanism to disable this OpenMP parallelization.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2444/make-it-possible-to-disable-openmp-in-the'>https://bitbucket.org/einsteintoolkit/tickets/issues/2444/make-it-possible-to-disable-openmp-in-the</a></p>
</html>