[Mesa-users] System crashes when evolving beyond zams

Warrick Ball W.H.Ball at bham.ac.uk
Fri Apr 16 15:01:38 UTC 2021


Hi,

If it is a lack of RAM, you can start by restarting your run from a photo.  If you haven't changed the options, the `photos/` directory will contain files that are either `x` followed by a 3-digit number or just a 4-digit number. e.g. `x050` or `1000`.  You can try restarting from one of these towards the end of your run, before the crash.  You say you reached model 1011, so try

     ./re x950

or perhaps

     ./re 1000

If that gets further than the original run with `./rn`, it's probably because you don't have enough RAM.  To keep your runs going, you can try using the "garbage collector" by adding e.g.

     num_steps_for_garbage_collection = 100 ! every 100 steps; you might need to adjust this

to `&star_job` and perhaps

     report_garbage_collection = .true. ! instead of the default .false.

to see that the garbage collection is working.

The garbage collector works by de-allocating the EoS handles.  Those that are still needed for the evolution are automatically reloaded, so in effect this drops those handles that aren't still required, thereby freeing some memory.

This isn't guaranteed to work.  There might be a situation where the model simply needs more EoS tables than you have RAM, but this might let you squeeze by.

All that said, if the model still crashes at the same point after a restart, it might not be the RAM and you need to send more information: inlists to reproduce the error and the full error message.

Cheers,
Warrick

___________

Warrick Ball
Postdoc, School of Physics and Astronomy
University of Birmingham, Edgbaston, Birmingham B15 2TT
W.H.Ball at bham.ac.uk
+44 (0)121 414 4552

On Fri, 16 Apr 2021, mesa-users at lists.mesastar.org wrote:

> Hi
> My name is Yash Mehta, I am running mesa-r15140 on my virtual machine with 7000MB RAM. (I am running ubuntu16.04 on my windows10 home, 8gb Dell XPS 15)
> Evolving a star upto zams is causing no issues, but when trying to evolve a 15M_sun star with initial z=0.0001 beyond zams, the system crashes somewhere midway (typically after 1011th iteration; zams is reached at 938th iteration)
> Right before the system crashes, the terminal shows (after the data about the 1011th iteration):
> "write /home/yash/Downloads/mesa-r15140/data/eosDT_data/cache/mesa-FreeEOS_00z10x.bin"
> "write /home/yash/Downloads/mesa-r15140/data/eosDT_data/cache/mesa-FreeEOS_02z10x.bin"
> Is the issue simply lack of RAM or could it be something else? Also, is there a way out?
> 
>


More information about the Mesa-users mailing list