[ET Trac] #2794: TACC Stampede3-skx Compilation Failing [-Wincompatible-function-pointer-type]
vik@arizona.edu
trac-noreply at einsteintoolkit.org
Tue Apr 30 17:16:32 CDT 2024
#2794: TACC Stampede3-skx Compilation Failing [-Wincompatible-function-pointer-type]
Reporter: vik at arizona.edu
Status: submitted
Milestone: ET_2023_05
Version: ET_2023_05
Type: bug
Priority: blocker
Component: EinsteinToolkit thorn
Changes (by vik at arizona.edu):
I am failing to compile on the new TACC Stampede3 skx-nodes \(Intel Xeon Platinum 8160 \("Skylake"\), documentation [here](https://docs.tacc.utexas.edu/hpc/stampede3/)\). I am running into the following error that terminates the compilation:
```
/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]
67 | (cctkGH, handle, ReflectionSymmetry_Interpolate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/work2/09313/<user>/stampede3/einstein/Cactus/configs/vacuum/bindings/include/ReflectionSymmetry_Prototypes.h:56:19: note: passing argument to parameter 'symmetry_interpolate' here
56 | CCTK_INT (*const symmetry_interpolate)(const CCTK_POINTER_TO_CONST cctkGH ,
| ^
1 error generated.
```
I have attached the machine and option list being used for Stampede3-skx.
Comment (by vik at arizona.edu):
Modules being loaded:
```
intel/24.0
impi/21.11
python/3.9.18
hdf5/1.14.3
boost/1.85.0
papi/7.1.0
petsc/3.20-complex
```
Compile instructions used:
```
CPP = cpp
FPP = cpp
CC = icx
CXX = icpx
F90 = ifx
```
All details can be found in the attached machine and optionlist files. Let me know if there is anything else I can provide.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2794/tacc-stampede3-skx-compilation-failing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20240430/f4c9ae98/attachment.htm>
More information about the Trac
mailing list