<html>#2407: Cactus math work-arounds break CarpetX reduction operators
<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>open</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>bug</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>Comment (by Roland Haas):</p>
<p>The patch as of git hash <a data-is-external-link="true" href="https://bitbucket.org/cactuscode/cactus/commits/62bc14ab1b8abd0cf0e8e710301fd94d77146b5c" rel="nofollow">62bc14ab</a> "Remove C++ math work-arounds" of <a data-is-external-link="true" href="https://bitbucket.org/cactuscode/cactus" rel="nofollow">cactus</a> breaks compilation on QueenBee with</p>
<div class="codehilite language-plaintext"><pre><span></span>COMPILING EinsteinEvolve/NewRad/src/extrap.cc
In file included from /home/rhaas/ET_trunk/configs/sim/bindings/include/GenericFD.h(4),
                 from /home/rhaas/ET_trunk/arrangements/EinsteinEvolve/NewRad/src/extrap.cc(8):
/home/rhaas/ET_trunk/arrangements/KrancNumericalTools/GenericFD/src/GenericFD.h(78): error: more than one instance of overloaded function &quot;signbit&quot; matches the argument list:
In file included from /home/rhaas/ET_trunk/configs/sim/bindings/include/GenericFD.h(4),
                 from /home/rhaas/ET_trunk/arrangements/EinsteinEvolve/NewRad/src/extrap.cc(8):
            function &quot;signbit(double)&quot;
In file included from /home/rhaas/ET_trunk/configs/sim/bindings/include/GenericFD.h(4),
                 from /home/rhaas/ET_trunk/arrangements/EinsteinEvolve/NewRad/src/extrap.cc(8):
            function &quot;std::signbit(double)&quot;
In file included from /home/rhaas/ET_trunk/configs/sim/bindings/include/GenericFD.h(4),
                 from /home/rhaas/ET_trunk/arrangements/EinsteinEvolve/NewRad/src/extrap.cc(8):
            argument types are: (CCTK_REAL8)
In file included from /home/rhaas/ET_trunk/configs/sim/bindings/include/GenericFD.h(4),
                 from /home/rhaas/ET_trunk/arrangements/EinsteinEvolve/NewRad/src/extrap.cc(8):
    int s = signbit(x);
</pre></div>


<p>The current choice being between breaking the existing ET on QueenBee (old but in the official list of supported machines) and breaking CarpetX I would rather keep CarpetX broke until QueenBee’s option list etc has been updated.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2407/cactus-math-work-arounds-break-carpetx'>https://bitbucket.org/einsteintoolkit/tickets/issues/2407/cactus-math-work-arounds-break-carpetx</a></p>
</html>