<html>#2794: TACC Stampede3-skx Compilation Failing [-Wincompatible-function-pointer-type]
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>vik@arizona.edu</td></tr>
<tr><td style='text-align:right'> Status:</td><td>submitted</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2023_05</td></tr>
<tr><td style='text-align:right'> Version:</td><td>ET_2023_05</td></tr>
<tr><td style='text-align:right'> Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>blocker</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>
<p>Changes (by vik@arizona.edu):</p>
<p>I am failing to compile on the new TACC Stampede3 skx-nodes (Intel Xeon Platinum 8160 ("Skylake"), documentation <a data-is-external-link="true" href="https://docs.tacc.utexas.edu/hpc/stampede3/" rel="nofollow">here</a>). I am running into the following error that terminates the compilation:</p>
<div class="codehilite"><pre><span></span><code><span>/work2/09313/<user>/stampede3/einstein/Cactus/arrangements/CactusNumerical/ReflectionSymmetry/src/register.c:67:22: error: incompatible function pointer types passing 'CCTK_INT4 (const restrict CCTK_POINTER_TO_CONST, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const restrict CCTK_POINTER_TO_CONST *, const CCTK_INT4, const CCTK_INT4 *, const CCTK_INT4, const CCTK_INT4 *, const restrict CCTK_POINTER *, const CCTK_INT4)' (aka 'int (const void *const restrict, const int, const int, const int, const int, const int, const int, const void *const restrict *, const int, const int *, const int, const int *, void *const restrict *, const int)') to parameter of type 'CCTK_INT4 (*)(const CCTK_POINTER_TO_CONST, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const CCTK_POINTER_TO_CONST *, const CCTK_INT4, const CCTK_INT4 *, const CCTK_INT4, const CCTK_INT4 *, const CCTK_POINTER *, const CCTK_INT4)' (aka 'int (*)(const void *const, const int, const int, const int, const int, const int, const int, const void *const *, const int, const int *, const int, const int *, void *const *, const int)') [-Wincompatible-function-pointer-types]</span>
<span> 67 | (cctkGH, handle, ReflectionSymmetry_Interpolate);</span>
<span> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span>
<span>/work2/09313/<user>/stampede3/einstein/Cactus/configs/vacuum/bindings/include/ReflectionSymmetry_Prototypes.h:56:19: note: passing argument to parameter 'symmetry_interpolate' here</span>
<span> 56 | CCTK_INT (*const symmetry_interp
<p>Comment (by vik@arizona.edu):</p>
<p>Modules being loaded: </p>
<div class="codehilite"><pre><span></span><code><span>intel/24.0</span>
<span>impi/21.11</span>
<span>python/3.9.18</span>
<span>hdf5/1.14.3</span>
<span>boost/1.85.0</span>
<span>papi/7.1.0</span>
<span>petsc/3.20-complex</span>
</code></pre></div>
<p></p>
<p>Compile instructions used: </p>
<div class="codehilite"><pre><span></span><code><span>CPP = cpp</span>
<span>FPP = cpp</span>
<span>CC = icx</span>
<span>CXX = icpx</span>
<span>F90 = ifx</span>
</code></pre></div>
<p></p>
<p>All details can be found in the attached machine and optionlist files. Let me know if there is anything else I can provide.</p>
<p></p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2794/tacc-stampede3-skx-compilation-failing'>https://bitbucket.org/einsteintoolkit/tickets/issues/2794/tacc-stampede3-skx-compilation-failing</a></p>
</html>