[mesa-users] Termination codes
Choi, Jieun
jieun.choi at cfa.harvard.edu
Fri Sep 30 10:28:52 EDT 2016
Hi Hannah,
http://mesa.sourceforge.net/controls_defaults.html#when_to_stop lists the
different options for terminating your run. You can, of course, set your
own stopping criterion using run_star_extras.f.
However, the case you've brought up --- STOP debug1: do_kap_for_cell --- is
not like the other termination codes, such as the maximum number of models
or max age reached, because this appears to be an actual problem.
If I grep 'debug1' in mesa/star/private, I can see that the statement is
being printed from opacities.f90.
In the subroutine do_kap_for_cell, I see
if (is_bad_num(s% opacity(k))) then
!$omp critical (star_kap_get)
call show_stuff
stop 'debug1: do_kap_for_cell'
!$omp end critical (star_kap_get)
end if
So the opacity in one or more of your cells is likely a NaN. Without more
information on the models you're running, it's hard for me to tell what's
going on. Maybe others will have better insights!
There are so many of these STOP debug statements that it's hard to list
them all. Try grepping 'stop' in star/private to see just how many there
are!
Cheers,
Jieun
On Fri, Sep 30, 2016 at 8:06 AM, Hannah Brinkman <brinkmanhe at gmail.com>
wrote:
> Dear all,
>
> for my master thesis, I am working with MESA to evolve binary systems.
> Mostly, my simulations are ended because the maximum amount of models I've
> allowed is reached, but sometimes I get another termination code. Is there
> a list of these termination codes which explains what they mean?
> Especially the following termination code confuses me:
> STOP debug1: do_kap_for_cell
> I hope someone can explain this to me.
>
> With kind regards,
> Hannah
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
On Fri, Sep 30, 2016 at 8:06 AM, Hannah Brinkman <brinkmanhe at gmail.com>
wrote:
> Dear all,
>
> for my master thesis, I am working with MESA to evolve binary systems.
> Mostly, my simulations are ended because the maximum amount of models I've
> allowed is reached, but sometimes I get another termination code. Is there
> a list of these termination codes which explains what they mean?
> Especially the following termination code confuses me:
> STOP debug1: do_kap_for_cell
> I hope someone can explain this to me.
>
> With kind regards,
> Hannah
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20160930/0c8693f4/attachment.html>
More information about the Mesa-users
mailing list