[mesa-users] Bug: bad_num_history_columns in astero/work when adding history column

Warrick Ball wball at astro.physik.uni-goettingen.de
Mon Nov 14 06:00:43 EST 2016


Hi all,

Here's probably a relatively simple bug that I've stumbled upon.  To 
reproduce it, I created a new astero/work directory in r8845 (e.g. cp -R 
$MESA_DIR/star/astero/work ~/work/test_astero_column), then used 
how_many_extra_history_columns and data_for_extra_history_columns to add 
one extra history column (with name 'test' and value 0.0) in 
src/run_star_extras.f (my buggy run_star_extras.f is attached).  When I 
compile and run, I get

                                         OMP_NUM_THREADS           4


         540   6.613109   4506.158  -5.033526  -5.033526   1.310543   1.310543   0.745981   0.000839   0.237376   0.745981  -4.525112   1216      0
    3.983831  -0.071302   0.377258 -84.182503  -6.431321 -99.000000   0.000000   0.237376   0.007772   0.016643   0.237376   0.057262      2      0
  1.2926E+06  14.682537   0.323224 -99.000000   4.736375  -6.739390   0.000000   0.002864   0.001616  1.664E-02  1.664E-02 -0.166E-08  max increase

                                                       i           6
                               num_extra_history_columns           5
STOP bad num_extra_history_columns
DATE: 2016-11-14
TIME: 11:54:04

My guess is that the mistake is when the extra columns in astero/work are 
added to my extra column but nothing jumped out at me when I glanced at 
the source.  For the record, this kind of modification to 
run_star_extras.f works fine in a normal star/work directory.  The bug is 
only hitting me with star/astero/work directories.

Cheers,
Warrick


------------
Warrick Ball
Postdoc, Institut für Astrophysik Göttingen
wball at astro.physik.uni-goettingen.de
+49 (0) 551 39 5069
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_star_extras.f
Type: text/x-fortran
Size: 9696 bytes
Desc: 
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20161114/98d94004/attachment.bin>


More information about the Mesa-users mailing list