<div dir="ltr">DG,<div>  it could also be that there is a bug in the code, but other compilers are not affected by it. </div><div>My strategy is usually to make sure that I can reproduce the problem on the cluster when running just with one core. In this way it is easier to run within a debugger and spot the problem.</div><div><br></div><div>Best regards,</div><div>Bruno</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 29 apr 2022 alle ore 08:12 Garrison, David &lt;<a href="mailto:Garrison@uhcl.edu">Garrison@uhcl.edu</a>&gt; 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 style="overflow-wrap: break-word;">
It seems to be an error on a cluster I use but not on my Mac.  It may be an issue with how the cluster is configured.
<div><br>
</div>
<div>-DG<br>
<div><br>
<blockquote type="cite">
<div>On Apr 28, 2022, at 9:48 AM, Bruno Giacomazzo &lt;<a href="mailto:bruno.giacomazzo@unimib.it" target="_blank">bruno.giacomazzo@unimib.it</a>&gt; wrote:</div>
<br>
<div>
<div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
DG,<br>
<div>   thanks for the parameter file.</div>
<div><br>
</div>
<div>During today&#39;s call we also saw that you mentioned that you encountered a segmentation fault when using one ghost point. Do you have a backtrace? Did you try running the code in a debugger to check which variable is causing it?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Bruno</div>
</div>
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div class="gmail_quote" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="ltr" class="gmail_attr">Il giorno gio 21 apr 2022 alle ore 17:32 Garrison, David &lt;<a href="mailto:Garrison@uhcl.edu" target="_blank">Garrison@uhcl.edu</a>&gt; 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>
<div>I don’t use standard Einstein Toolkit thorns.  I also don’t use refinement levels in Carpet.  Please see attached for an example.  The error occurs when I change the ghost zone size to 1.
<div><br>
</div>
<div>-DG</div>
<div><br>
<div>
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">-- <br>
David Garrison, Ph.D. <br>
Associate Dean for the College of Science and Engineering, <br>
Professor and Founding Chair of Physics<br>
University of Houston-Clear Lake <br>
Bayou 3611/STEM 2252<br>
Houston, TX 77058 <br>
<br>
BAYOU: 281-283-3717<br>
STEM : 281-283-3796 <br>
<a href="https://www.uhcl.edu/science-engineering/faculty/garrison-david" target="_blank">https://www.uhcl.edu/science-engineering/faculty/garrison-david</a> <br>
<a href="http://www.uhcl.edu/physics" target="_blank">http://www.uhcl.edu/physics</a><br>
<br>
&quot;If we knew what it was we were doing, it would not be called research, would it?&quot; — Albert Einstein. <br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On Apr 21, 2022, at 9:24 AM, Bruno Giacomazzo &lt;<a href="mailto:bruno.giacomazzo@unimib.it" target="_blank">bruno.giacomazzo@unimib.it</a>&gt; wrote:</div>
<br>
<div>
<div dir="ltr">DG,<br>
<div>  if you could share the parameter file that would be useful in order to try reproducing the error with standard Einstein Toolkit thorns. I do not see any problem with the lines of code you posted in the email.</div>
<div><br>
</div>
<div>Do you get the same problem also when using Carpet without refinement levels?</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Bruno</div>
</div>
<br>
<div>
<div dir="ltr">Il giorno gio 31 mar 2022 alle ore 19:17 Garrison, David &lt;<a href="mailto:Garrison@uhcl.edu" target="_blank">Garrison@uhcl.edu</a>&gt; ha scritto:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Hello,
<div><br>
</div>
<div>It is a custom code so I am attaching the part I used to do the reductions instead.</div>
<div><br>
</div>
<div>
<div>handle = CCTK_ReductionHandle(&quot;average&quot;);</div>
<div>ierr = CCTK_Reduce(cctkGH, -1, handle, 1, CCTK_VARIABLE_REAL, &amp;scale_factor, 1, CCTK_VarIndex(&quot;MHD_Analysis::aa_out_avg&quot;));</div>
<div>ierr = CCTK_Reduce(cctkGH, -1, handle, 1, CCTK_VARIABLE_REAL, &amp;utime, 1, CCTK_VarIndex(&quot;MHD_Analysis::univ_age&quot;));</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-DG</div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On Mar 31, 2022, at 9:21 AM, Bruno Giacomazzo &lt;<a href="mailto:bruno.giacomazzo@unimib.it" target="_blank">bruno.giacomazzo@unimib.it</a>&gt; wrote:</div>
<br>
<div>
<div dir="ltr">DG,
<div>    could you share the parameter file you are using? So that we may have a better look at the problem.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Bruno</div>
<div><br>
</div>
</div>
<br>
<div>
<div dir="ltr">Il giorno mer 30 mar 2022 alle ore 20:52 Garrison, David &lt;<a href="mailto:Garrison@uhcl.edu" target="_blank">Garrison@uhcl.edu</a>&gt; ha scritto:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Hello,
<div><br>
</div>
<div>Whenever I set the number of ghost zones to 1, I get segmentation faults from my reduction operations.  This wasn’t an issue with Pugh or when I use 2 or more ghost zones with Carpet.  Has anyone else had this problem?</div>
<div><br>
</div>
<div>-DG</div>
<div><br>
<div>
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div dir="auto" style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">
<div style="text-align:start;text-indent:0px">-- <br>
David Garrison, Ph.D. <br>
Interim Associate Dean for the College of Science and Engineering, <br>
Professor and Founding Chair of Physics<br>
University of Houston-Clear Lake <br>
Bayou 3611/STEM 2252<br>
Houston, TX 77058 <br>
<br>
BAYOU: 281-283-3717<br>
STEM : 281-283-3796 <br>
<a href="https://www.uhcl.edu/science-engineering/faculty/garrison-david" target="_blank">https://www.uhcl.edu/science-engineering/faculty/garrison-david</a> <br>
<a href="http://www.uhcl.edu/physics" target="_blank">http://www.uhcl.edu/physics</a><br>
<br>
&quot;If we knew what it was we were doing, it would not be called research, would it?&quot; — Albert Einstein. <br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@einsteintoolkit.org" target="_blank">Users@einsteintoolkit.org</a><br>
<a href="https://urldefense.com/v3/__http://lists.einsteintoolkit.org/mailman/listinfo/users__;!!BCR0FSePrR4x!GUGB7CSrDExPdA7mPVZuCzM9_713wMhA6f8kQaO9C64EN4b4r13kCh02xdXjodRmQMcnuEwDpO-G513ivCR5jfsvfMFCBA$" rel="noreferrer" target="_blank">http://lists.einsteintoolkit.org/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
--<span> </span><br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<p><font>Pr<font face="arial, sans-serif">of. Bruno Giacomazzo<br>
Department of Physics<br>
University of Milano-Bicocca<br>
</font></font><span><font face="arial, sans-serif">Piazza della Scienza 3<br>
</font></span><span><font face="arial, sans-serif">20126 Milano<br>
</font></span><span style="font-size:12.8px">Italy</span></p>
<p><font><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><span style="font-size:12.8px">web: </span></font><span style="font-size:12.8px"><a href="https://urldefense.com/v3/__http://www.brunogiacomazzo.org/__;!!BCR0FSePrR4x!GUGB7CSrDExPdA7mPVZuCzM9_713wMhA6f8kQaO9C64EN4b4r13kCh02xdXjodRmQMcnuEwDpO-G513ivCR5jfvd-LgExw$" style="font-size:12.8px" target="_blank">http://www.brunogiacomazzo.org</a></span></p>
<p><font>----------------------------------------------------------------------<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&#39;t<br>
</span><span style="font-size:12.8px">----------------------------------------------------------------------<br>
</span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<div>
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
-- <br>
David Garrison, Ph.D.<br>
Interim Associate Dean for the College of Science and Engineering, Professor and Former Chair of Physics<br>
University of Houston-Clear Lake<br>
Bayou 3611<br>
Houston, TX 77058 <br>
<br>
Tel: 281-283-3796 <br>
Fax: 281-283-3709 <br>
<a href="http://sce.uhcl.edu/garrison" target="_blank">http://sce.uhcl.edu/garrison</a><br>
<a href="http://www.uhcl.edu/physics" target="_blank">http://www.uhcl.edu/physics</a><br>
<br>
&quot;If we knew what it was we were doing, it would not be called research,<br>
would it?&quot; ‹ Albert Einstein.<br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
--<span> </span><br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<p><font>Pr<font face="arial, sans-serif">of. Bruno Giacomazzo<br>
Department of Physics<br>
University of Milano-Bicocca<br>
</font></font><span><font face="arial, sans-serif">Piazza della Scienza 3<br>
</font></span><span><font face="arial, sans-serif">20126 Milano<br>
</font></span><span style="font-size:12.8px">Italy</span></p>
<p><font><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><span style="font-size:12.8px">web: </span></font><span style="font-size:12.8px"><a href="https://urldefense.com/v3/__http://www.brunogiacomazzo.org/__;!!BCR0FSePrR4x!DqdugUWohGBKF9_Wl__sHgXYw1vCqt6Rw0l_AuKu5GS6Xh14wzBgWopnoJL3cax3rxn42oIsJW6QCOoYgGoKOrxkYCB7dw$" style="font-size:12.8px" target="_blank">http://www.brunogiacomazzo.org</a></span></p>
<p><font>----------------------------------------------------------------------<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&#39;t<br>
</span><span style="font-size:12.8px">----------------------------------------------------------------------<br>
</span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<br>
</div>
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">--<span> </span></span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<p><font>Pr<font face="arial, sans-serif">of. Bruno Giacomazzo<br>
Department of Physics<br>
University of Milano-Bicocca<br>
</font></font><span><font face="arial, sans-serif">Piazza della Scienza 3<br>
</font></span><span><font face="arial, sans-serif">20126 Milano<br>
</font></span><span style="font-size:12.8px">Italy</span></p>
<p><font><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><span style="font-size:12.8px">web: </span></font><span style="font-size:12.8px"><a href="https://urldefense.com/v3/__http://www.brunogiacomazzo.org/__;!!BCR0FSePrR4x!De0kFnjWOdFfWZLrtJ1dyPjh8U0NRsUHBxUJCDlFCu258B4dtytsKJzPrQGeWiO6NI92DOTRQcQWsHCGTm7bD8H2p8VpCw$" style="font-size:12.8px" target="_blank">http://www.brunogiacomazzo.org</a></span></p>
<p><font>----------------------------------------------------------------------<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&#39;t<br>
</span><span style="font-size:12.8px">----------------------------------------------------------------------</span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <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&#39;t<br></span><span style="font-size:12.8px">----------------------------------------------------------------------<br></span></font></p></div></div></div></div></div></div></div>