[Users] compilation problem on Mac
Roland Haas
rhaas at illinois.edu
Thu May 30 09:00:12 CDT 2024
Hello Bruno, Giulia,
This is with gcc14 I assume?
Seems to be the same issue as in:
https://bitbucket.org/einsteintoolkit/tickets/issues/2794/tacc-stampede3-skx-compilation-failing
Note that fixing Reflections won't be the last such issue. Best would
be to switch to the development branch.
You will need at least also the fixes in:
https://bitbucket.org/einsteintoolkit/tickets/issues/2796/build-failure-using-gcc14-on-macos-2300
and disable PAPI (if in your thornlist).
Will be fixed in the upcoming release in June (won't make it in May).
Yours,
Roland
On Fri, 24 May 2024 12:17:19 +0200, Bruno Giacomazzo wrote:
> A master's student (Giulia Conti, in cc) is having problems compiling the
> Einstein Toolkit (ET_2023_11) on her Mac. There are problems compiling the
> ReflectionSymmetry thorn (see below). Has anyone else encountered a similar
> problem?
>
> She followed the instructions in the tutorial for new users regarding the
> packages that needed to be installed on Macs. Also other mac users here are
> having the same problem.
>
> Thanks,
> Bruno
>
> Il giorno ven 24 mag 2024 alle ore 09:35 Giulia Conti <
> g.conti25 at campus.unimib.it> ha scritto:
>
> > COMPILING CactusNumerical/ReflectionSymmetry/src/register.c
> >
> >
> > */Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/build/ReflectionSymmetry/register.c:*
> > In function '*ReflectionSymmetry_Register*':
> >
> >
> > */Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/build/ReflectionSymmetry/register.c:68:22:* *error:
> > *passing argument 3 of '*SymmetryRegisterGridInterpolator*' from
> > incompatible pointer type [*-Wincompatible-pointer-types*]
> >
> > 68 | (cctkGH, handle, *ReflectionSymmetry_Interpolate*);
> >
> > | *^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
> >
> > | *|*
> >
> > | *CCTK_INT4 (*)(const void * const restrict,
> > const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4,
> > const CCTK_INT4, const CCTK_INT4, const void * const restrict*, const
> > CCTK_INT4, const CCTK_INT4 *, const CCTK_INT4, const CCTK_INT4 *, void *
> > const restrict*, 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)}*
> >
> > In file included from
> > */Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/bindings/include/ReflectionSymmetry/cctk_Functions.h:23*
> > ,
> >
> > from
> > */Users/giulia/coding/ET_2023_11_s/Cactus/src/include/cctk_core.h:174*,
> >
> > from
> > */Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/bindings/include/ReflectionSymmetry/cctk.h:5*
> > ,
> >
> > from
> > */Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/build/ReflectionSymmetry/register.c:1*
> > :
> >
> >
> > */Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/bindings/include/ReflectionSymmetry_Prototypes.h:56:19:* *note:
> > *expected '*CCTK_INT4 (* const)(const void * const, const CCTK_INT4,
> > const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4,
> > const CCTK_INT4, const void * const*, const CCTK_INT4, const CCTK_INT4 *,
> > const CCTK_INT4, const CCTK_INT4 *, void * const*, const CCTK_INT4*'
> > {aka '*int (* const)(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)*'} but
> > argument is of type '*CCTK_INT4 (*)(const void * const restrict, const
> > CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const CCTK_INT4, const
> > CCTK_INT4, const CCTK_INT4, const void * const restrict*, const
> > CCTK_INT4, const CCTK_INT4 *, const CCTK_INT4, const CCTK_INT4 *, void *
> > const restrict*, 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)*'}
> >
> > 56 | CCTK_INT (*const symmetry_interpolate)(const
> > CCTK_POINTER_TO_CONST cctkGH ,
> >
> > make[3]: *** [register.c.o] Error 1
> >
> > make[2]: *** [make.checked] Error 2
> >
> > make[1]: ***
> > [/Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/lib/libthorn_ReflectionSymmetry.a]
> > Error 2
> >
> > make[1]: *** Waiting for unfinished jobs....
> >
> > Creating
> > /Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/lib/libthorn_LocalReduce.a
> >
> > make: *** [sim] Error 2
> >
>
>
--
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.einsteintoolkit.org/pipermail/users/attachments/20240530/38d13a60/attachment.sig>
More information about the Users
mailing list