<div dir="ltr"><div>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? </div><div><br></div><div>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.</div><div><br></div><div>Thanks,</div><div>Bruno</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 24 mag 2024 alle ore 09:35 Giulia Conti <<a href="mailto:g.conti25@campus.unimib.it">g.conti25@campus.unimib.it</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">COMPILING CactusNumerical/ReflectionSymmetry/src/register.c</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><b>/Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/build/ReflectionSymmetry/register.c:</b> In function '<b>ReflectionSymmetry_Register</b>':</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><b>/Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/build/ReflectionSymmetry/register.c:68:22:</b> </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(202,51,35)"><b>error: </b></span><span style="font-variant-ligatures:no-common-ligatures">passing argument 3 of '<b>SymmetryRegisterGridInterpolator</b>' from incompatible pointer type [</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(202,51,35)"><b>-Wincompatible-pointer-types</b></span><span style="font-variant-ligatures:no-common-ligatures">]</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">   68 |     (cctkGH, handle, </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(202,51,35)"><b>ReflectionSymmetry_Interpolate</b></span><span style="font-variant-ligatures:no-common-ligatures">);</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(202,51,35)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">      |                      </span><span style="font-variant-ligatures:no-common-ligatures"><b>^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</b></span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      |                      </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(202,51,35)"><b>|</b></span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(202,51,35)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">      |                      </span><span style="font-variant-ligatures:no-common-ligatures"><b>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)}</b></span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">In file included from <b>/Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/bindings/include/ReflectionSymmetry/cctk_Functions.h:23</b>,</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                 from <b>/Users/giulia/coding/ET_2023_11_s/Cactus/src/include/cctk_core.h:174</b>,</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                 from <b>/Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/bindings/include/ReflectionSymmetry/cctk.h:5</b>,</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                 from <b>/Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/build/ReflectionSymmetry/register.c:1</b>:</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><b>/Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/bindings/include/ReflectionSymmetry_Prototypes.h:56:19:</b> </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(56,185,199)"><b>note: </b></span><span style="font-variant-ligatures:no-common-ligatures">expected '<b>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</b>' {aka '<b>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)</b>'} but argument is of type '<b>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)</b>' {aka '<b>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)</b>'}</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">   56 |  CCTK_INT (*const symmetry_interpolate)(const CCTK_POINTER_TO_CONST cctkGH ,</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[3]: *** [register.c.o] Error 1</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[2]: *** [make.checked] Error 2</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[1]: *** [/Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/lib/libthorn_ReflectionSymmetry.a] Error 2</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[1]: *** Waiting for unfinished jobs....</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Creating /Users/giulia/coding/ET_2023_11_s/Cactus/configs/sim/lib/libthorn_LocalReduce.a</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make: *** [sim] Error 2</span></p></div></blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><p><font color="#000000">Pr<font face="arial, sans-serif">of. Bruno Giacomazzo<br>Department of Physics<br>University of Milano-Bicocca<br></font></font><span style="color:rgb(0,0,0)"><font face="arial, sans-serif">Piazza della Scienza 3<br></font></span><span style="color:rgb(0,0,0)"><font face="arial, sans-serif">20126 Milano<br></font></span><span style="font-size:12.8px;color:rgb(0,0,0)">Italy</span></p><p><font color="#000000"><span style="font-size:12.8px">email: </span><span style="font-size:12.8px"><a href="mailto:bruno.giacomazzo@unimib.it" target="_blank">bruno.giacomazzo@unimib.it</a><br></span><span style="font-size:12.8px">phone: (+39) 02 6448 2321</span></font><br><font color="#000000"><span style="font-size:12.8px">web: </span></font><span style="color:rgb(0,0,0);font-size:12.8px"><a href="http://www.brunogiacomazzo.org/" style="font-size:12.8px" target="_blank">http://www.brunogiacomazzo.org</a></span></p><p><font color="#000000">---------------------------------------------------------------------<br><span style="font-size:12.8px">There are only 10 types of people in the world:<br></span><span style="font-size:12.8px">Those who understand binary, and those who don't<br></span><span style="font-size:12.8px">----------------------------------------------------------------------<br></span></font></p></div></div></div></div></div></div></div></div>