[Mesa-users] Segmentation fault when running example_astero module
Warrick Ball
W.H.Ball at bham.ac.uk
Tue Dec 26 21:33:36 UTC 2023
Hi Shijie,
Thanks for reporting this. It looks like a real bug. I've just run a fresh copy of MESA r23.05.1 with MESA SDK 23.7.3 on Fedora 39 and encountered the same issue.
I presume you're also using SDK 23.7.3, in which case a temporary solution is to use SDK 22.6.1, which was current when MESA r23.05.1 was released.
You could also use GYRE to compute mode frequencies instead of ADIPLS by setting
oscillation_code = 'gyre' ! instead of 'adipls'
in `inlist_astero_search_controls`. (I've just tested that this works correctly.)
I've also just tested the latest development version of MESA with SDK version 23.7.3 and the test case runs correctly. I'll investigate more deeply in the New Year but it at least appears that this issue was already fixed when we resolved another issue with `astero` and ADIPLS.
So it should also be possible to extract the fix from the latest version and apply it, but I think the easiest solution is to downgrade the SDK, which worked for me.
Regards,
Warrick
___________
Warrick Ball
Senior Research Software Engineer
University of Birmingham
W.H.Ball at bham.ac.uk
On Tue, 26 Dec 2023, Shijie Li via Mesa-users wrote:
> CAUTION: This email originated from outside the organisation. Do not click
> links or open attachments unless you recognise the sender and know the
> content is safe.
> Hi Frank,
>
> Thanks for you reminder!The working example is in the
> $MESA_DIR/astero/test_suite/example_astero/
> I haven't modified any files in this example. Here attached the inlist files.
>
> Cheers and thanks,
>
> Shijie Li
>
>
>
>
> Original:
> * From:Frank Timmes <fxtimmes at gmail.com>
> * Date:2023-12-26 01:04:31(中国 (GMT+08:00))
> * To:Shijie Li <lishijie at dzu.edu.cn>
> * Cc:Frank Timmes <fxtimmes at gmail.com> , mesa-users
> <mesa-users at lists.mesastar.org>
> * Subject:Re: [Mesa-users] Segmentation fault when running example_astero
> module
>
> hi shijie,
>
> it would probably be useful to post a minimal working example that
> demonstrates the issue.
>
> fxt
>
>
>
>
> > On Dec 24, 2023, at 6:42 PM, Shijie Li via Mesa-users
> <mesa-users at lists.mesastar.org> wrote:
> > > Hello everyone,
> > I have been encountering a segmentation fault while running the
> example_astero module of MESA's test suite. The error is as follows (MESA
> version 23.05.1, Rocky 9.3 system):
> > > chi2_delta_nu > limit 650 38.47
> 20.00 62.48 56.28
> > save LOGS/profile13.data for model 650
> > save photos/x650 for model 650
> > chi2_delta_nu > limit 651 37.37
> 20.00 62.39 56.28
> > chi2_delta_nu > limit 652 35.73
> 20.00 62.26 56.28
> > chi2_delta_nu > limit 653 34.08
> 20.00 62.12 56.28
> > chi2_delta_nu > limit 654 32.02
> 20.00 61.94 56.28
> > chi2_delta_nu > limit 655 29.63
> 20.00 61.72 56.28
> > chi2_delta_nu > limit 656 27.66
> 20.00 61.54 56.28
> > chi2_delta_nu > limit 657 25.91
> 20.00 61.37 56.28
> > chi2_delta_nu > limit 658 24.09
> 20.00 61.19 56.28
> > chi2_delta_nu > limit 659 22.25
> 20.00 61.00 56.28
> > 660 7.348916 6078.106 0.666800 0.666800 1.271330
> 1.167062 0.000013 0.011089 0.266845 -0.178936 1791 0
> > 5.5971E+00 7.348916 0.284431 -32.824959 -0.632828 -99.000000
> 0.104268 0.981006 0.001823 0.019343 0.279486 10
> > 4.4415E+09 3.053392 0.658629 -99.000000 -99.000000 -6.976268
> 0.000000 0.000088 0.001866 0.018980 0.000E+00 lg_XH_cntr
> > rel_E_err 4.6277194367444370D-13
> > log_rel_run_E_err -9.2934594912445370
> > chi2_delta_nu > limit 660 20.84
> 20.00 60.84 56.28
> > redo with smaller timestep for "hot" limit 661 1.0000E+05
> > chi2_delta_nu > limit 661 20.50
> 20.00 60.81 56.28
> > chi2_delta_nu > limit 662 20.17
> 20.00 60.77 56.28
> > Program received signal SIGSEGV: Segmentation fault - invalid memory
> reference.
> > Backtrace for this error:
> > #0 0x7fab6e0237f2 in ???
> > #1 0x7fab6e022985 in ???
> > #2 0x7fab6dc54daf in ???
> > #3 0x443fbf in ???
> > #4 0x420646 in __adipls_support_MOD_run_adipls
> > at ../private/adipls_support.f90:411
> > #5 0x42c526 in __astero_support_MOD_get_one_el_info
> > at ../private/astero_support.f90:140
> > #6 0x436768 in get_radial
> > at ../private/extras_support.f90:550
> > #7 0x436768 in __extras_support_MOD_do_astero_extras_check_model
> > at ../private/extras_support.f90:331
> > #8 0x43930b in __extras_support_MOD_astero_extras_check_model
> > at ../private/extras_support.f90:909
> > #9 0x4ce9be in __run_star_support_MOD_do_evolve_one_step
> > at ../job/run_star_support.f90:216
> > #10 0x4cf195 in __run_star_support_MOD_run1_star
> > at ../job/run_star_support.f90:118
> > #11 0x42fed8 in __astero_run_support_MOD_eval1
> > at ../private/astero_run_support.f90:231
> > #12 0x4335d9 in __astero_run_support_MOD_do_run_star_astero
> > at ../private/astero_run_support.f90:177
> > #13 0x41c05f in __astero_lib_MOD_run_star_astero
> > at ../public/astero_lib.f90:63
> > #14 0x40aac3 in run
> > at ../src/run.f90:4
> > #15 0x40ab05 in main
> > at ../src/run.f90:2
> > ./rn1:line 6: 3184849 Segmentation fault (Core
> dumped)./star
> > DATE: 2023-12-25
> > TIME: 09:26:31
> > ******************************************************************
> > failed to create final.mod when running inlist_example_astero_header
> > ******************************************************************
> > > > Cheers and thanks,
> > > Shijie Li
> > > > > _______________________________________________
> > mesa-users at lists.mesastar.org
> > https://lists.mesastar.org/mailman/listinfo/mesa-users
> >
>
>
>
More information about the Mesa-users
mailing list