[Mesa-users] Strange message on simulation

Warrick Ball W.H.Ball at bham.ac.uk
Mon Aug 5 03:08:45 EDT 2019


Hi Joe,

I can't say I know what's causing the error but it'll be easier for other 
users to help if you explain what you're trying to do and attach material 
(inlists, initial models if necessary, version number, etc) to reproduce 
the error.

A good start on any error message is to search through the source code for 
it. e.g.*

$ grep -ir approx21_dydt $MESA_DIR
...
/home/wball/mesa/11701/net/private/net_approx21_procs.inc:      subroutine approx21_dydt( &
/home/wball/mesa/11701/net/private/net_approx21_procs.inc:         stop 'approx21_dydt'
/home/wball/mesa/11701/net/private/net_approx21_procs.inc:      end subroutine approx21_dydt
...

So that's probably what's raising the error.  The stop statement is 
executed after the rates for each species are checked, so I presume that 
before the `STOP approx21_dydt` error that you reported, there's at least 
one line of the form `dydt(i)` followed by an integer and two floats. 
That's being output by

             write(*,*) 'dydt(i)', i, dydt(i), y(i)

and should tell you something about which rate is coming out bad, and 
therefore help provide a clue.

If there's no such line preceding the `STOP` then I'm stumped.

Cheers,
Warrick

* This is a very wide search so you can usually refine this for faster 
results.


------------
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 Mon, 5 Aug 2019, mesa-users at lists.mesastar.org wrote:

> Hello,
>
> I’m getting a message on STDERR.
>
> STOP approx21_dydt
>
> Any ideas what is causing this error?  Perhaps a rate approximation?
>
>
> Joe Hellmers
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users


More information about the Mesa-users mailing list