[Users] Segmentation Fault with CarpetReduce

Bruno Giacomazzo bruno.giacomazzo at unimib.it
Thu Apr 28 09:48:03 CDT 2022


DG,
   thanks for the parameter file.

During today'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?

Cheers,
Bruno

Il giorno gio 21 apr 2022 alle ore 17:32 Garrison, David <Garrison at uhcl.edu>
ha scritto:

> 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.
>
> -DG
>
> --
> David Garrison, Ph.D.
> Associate Dean for the College of Science and Engineering,
> Professor and Founding Chair of Physics
> University of Houston-Clear Lake
> Bayou 3611/STEM 2252
> Houston, TX 77058
>
> BAYOU: 281-283-3717
> STEM : 281-283-3796
> https://www.uhcl.edu/science-engineering/faculty/garrison-david
> http://www.uhcl.edu/physics
>
> "If we knew what it was we were doing, it would not be called research,
> would it?" — Albert Einstein.
>
>
>
> On Apr 21, 2022, at 9:24 AM, Bruno Giacomazzo <bruno.giacomazzo at unimib.it>
> wrote:
>
> DG,
>   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.
>
> Do you get the same problem also when using Carpet without refinement
> levels?
>
> Best regards,
> Bruno
>
> Il giorno gio 31 mar 2022 alle ore 19:17 Garrison, David <
> Garrison at uhcl.edu> ha scritto:
>
> Hello,
>
> It is a custom code so I am attaching the part I used to do the reductions
> instead.
>
> handle = CCTK_ReductionHandle("average");
> ierr = CCTK_Reduce(cctkGH, -1, handle, 1, CCTK_VARIABLE_REAL,
> &scale_factor, 1, CCTK_VarIndex("MHD_Analysis::aa_out_avg"));
> ierr = CCTK_Reduce(cctkGH, -1, handle, 1, CCTK_VARIABLE_REAL, &utime, 1,
> CCTK_VarIndex("MHD_Analysis::univ_age"));
>
>
> -DG
>
>
> On Mar 31, 2022, at 9:21 AM, Bruno Giacomazzo <bruno.giacomazzo at unimib.it>
> wrote:
>
> DG,
>     could you share the parameter file you are using? So that we may have
> a better look at the problem.
>
> Thanks,
> Bruno
>
>
> Il giorno mer 30 mar 2022 alle ore 20:52 Garrison, David <
> Garrison at uhcl.edu> ha scritto:
>
> Hello,
>
> 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?
>
> -DG
>
> --
> David Garrison, Ph.D.
> Interim Associate Dean for the College of Science and Engineering,
> Professor and Founding Chair of Physics
> University of Houston-Clear Lake
> Bayou 3611/STEM 2252
> Houston, TX 77058
>
> BAYOU: 281-283-3717
> STEM : 281-283-3796
> https://www.uhcl.edu/science-engineering/faculty/garrison-david
> http://www.uhcl.edu/physics
>
> "If we knew what it was we were doing, it would not be called research,
> would it?" — Albert Einstein.
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
> <https://urldefense.com/v3/__http://lists.einsteintoolkit.org/mailman/listinfo/users__;!!BCR0FSePrR4x!GUGB7CSrDExPdA7mPVZuCzM9_713wMhA6f8kQaO9C64EN4b4r13kCh02xdXjodRmQMcnuEwDpO-G513ivCR5jfsvfMFCBA$>
>
>
>
> --
>
> Prof. Bruno Giacomazzo
> Department of Physics
> University of Milano-Bicocca
> Piazza della Scienza 3
> 20126 Milano
> Italy
>
> email: bruno.giacomazzo at unimib.it
> phone: (+39) 02 6448 2321
> web: http://www.brunogiacomazzo.org
> <https://urldefense.com/v3/__http://www.brunogiacomazzo.org/__;!!BCR0FSePrR4x!GUGB7CSrDExPdA7mPVZuCzM9_713wMhA6f8kQaO9C64EN4b4r13kCh02xdXjodRmQMcnuEwDpO-G513ivCR5jfvd-LgExw$>
>
> ----------------------------------------------------------------------
> There are only 10 types of people in the world:
> Those who understand binary, and those who don't
> ----------------------------------------------------------------------
>
>
> --
> David Garrison, Ph.D.
> Interim Associate Dean for the College of Science and Engineering,
> Professor and Former Chair of Physics
> University of Houston-Clear Lake
> Bayou 3611
> Houston, TX 77058
>
> Tel: 281-283-3796
> Fax: 281-283-3709
> http://sce.uhcl.edu/garrison
> http://www.uhcl.edu/physics
>
> "If we knew what it was we were doing, it would not be called research,
> would it?" ‹ Albert Einstein.
>
>
>
>
>
>
> --
>
> Prof. Bruno Giacomazzo
> Department of Physics
> University of Milano-Bicocca
> Piazza della Scienza 3
> 20126 Milano
> Italy
>
> email: bruno.giacomazzo at unimib.it
> phone: (+39) 02 6448 2321
> web: http://www.brunogiacomazzo.org
> <https://urldefense.com/v3/__http://www.brunogiacomazzo.org/__;!!BCR0FSePrR4x!DqdugUWohGBKF9_Wl__sHgXYw1vCqt6Rw0l_AuKu5GS6Xh14wzBgWopnoJL3cax3rxn42oIsJW6QCOoYgGoKOrxkYCB7dw$>
>
> ----------------------------------------------------------------------
> There are only 10 types of people in the world:
> Those who understand binary, and those who don't
> ----------------------------------------------------------------------
>
>
>

-- 

Prof. Bruno Giacomazzo
Department of Physics
University of Milano-Bicocca
Piazza della Scienza 3
20126 Milano
Italy

email: bruno.giacomazzo at unimib.it
phone: (+39) 02 6448 2321
web: http://www.brunogiacomazzo.org

----------------------------------------------------------------------
There are only 10 types of people in the world:
Those who understand binary, and those who don't
----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20220428/c85237d3/attachment-0001.html 


More information about the Users mailing list