[Mesa-users] Error Code on MESA version mesa-r8845

Rob Farmer r.j.farmer at uva.nl
Mon Oct 9 08:07:59 EDT 2017


Hi

The problem is a real bug, what happens is this: you have a fixed abundance
xmin and xmax limits on your plots, so the plot range does not change as
the star looses its outer layers. As the star looses it outer layers the
labels on the abundance plot disappear as the outer layer moves inwards
beyond where they would be plotted. For this model though when the third
label should disappear we generate a NaN which is what crashes the run.

The quick solution is to replace these lines in your inlist_pgstar:

         Abundance_xmin = 0.0d0 ! only used if /= -101d0
         Abundance_xmax = 0.7d0 ! only used if /= -101d0

with:

         !Abundance_xmin = 0.0d0 ! only used if /= -101d0
         !Abundance_xmax = 0.7d0 ! only used if /= -101d0

This way the labels never disappear and we don't hit this bug.

In future please send a starting model we can start closer to the point
when mesa crashes, and not spend time waiting for the model to evolve.

Rob







On 9 October 2017 at 09:10, seblu humne via Mesa-users <
mesa-users at lists.mesastar.org> wrote:

> Dear all Mesa Users,
>
> I thanks all users, that to  exchange their ideas on  MESA manipulation
> for Astronomy and Astrophysics, especially on Stellar Evolution and
> Structure.
> Hence, I am doing on Binary stars and mass transfer in these systems. In
> dong so
> currently i am using mesa-r8845, so that when i was running the codes
> inside
> /home/usr/mesa-r8845/binary/test_suite/binary_both_stars, to find the
> mass transfer rate, the following errors are displayed:
>
>
> png/track2_002295.png/png
>  png/pbvsm1002295.png/png
>
> Program received signal SIGSEGV: Segmentation fault - invalid memory
> reference.
>
> Backtrace for this error:
> #0  0x7F4A9D3FBD37
> #1  0x7F4A9D3FAF30
> #2  0x7F4A9C4B0CAF
> #3  0x7F4A9E60614F
> #4  0x7F4A9E5E4C20
> #5  0x7F4A9E5E7C50
> #6  0x7F4A9E5E7958
> #7  0x7F4A9E5EDCF5
> #8  0x7F4A9E5FCD29
> #9  0x66D398 in abundance_line at pgstar_abundance.f90:338
> #10  0x66D838 in do_all at pgstar_abundance.f90:262
> #11  0x66E291 in plot at pgstar_abundance.f90:225
> #12  0x66E4A5 in __pgstar_abundance_MOD_do_abundance_plot at
> pgstar_abundance.f90:78
> #13  0x68BD6C in __pgstar_grid_MOD_grid_plot at pgstar_grid.f90:448
> #14  0x68E609 in __pgstar_grid_MOD_grid1_plot at pgstar_grid.f90:61
> #15  0x5604C1 in __pgstar_MOD_onscreen_plots at pgstar.f90:1427
> #16  0x56066F in __pgstar_MOD_do_pgstar_plots at pgstar.f90:1293
> #17  0x4423CD in __run_star_support_MOD_after_step_loop at
> run_star_support.f90:540
> #18  0x4143F2 in __run_binary_support_MOD_do_run1_binary at
> run_binary_support.f90:613
> #19  0x410ECD in __run_binary_MOD_do_run_binary at run_binary.f:21
> #20  0x410EDE in binary_run at binary_run.f:4
> ./rn: line 8: 17972 Segmentation fault      (core dumped) ./binary
> DATE: 2017-10-07
> TIME: 19:05:20
>  So how can i correct this problem, especial how to set   let say
> "saved_model_name = 'M1.9_3Gyr.mod" and the codes that i was used are
> attached as:
>
> Thanks in advance
> Cheers,
> Seblu Humne Negu
> PhD candidate At Ethiopian Space Science and Technology institute
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20171009/2585d5bf/attachment.html>


More information about the Mesa-users mailing list