[mesa-users] adding columns to the standard logs

Jeremy Goodman jeremy at astro.princeton.edu
Fri Jun 1 07:03:32 EDT 2012

Well, yes.  But I've defined that entry in "data_for_extra_log_columns". The real problem is that the latter subroutine isn't being called.  I guess I'll have to find check_model and figure out why it isn't calling the routines in run_star_extras.

On May 31, 2012, at 9:06 PM, Aaron Dotter wrote:

> Hi Jeremy,
> I think the cause is simply that MESA doesn't recognize your extra log entry, so don't add it to log_columns.list.  That's what the error message suggests.  Does that solve the problem?
> Aaron
> On Thu, May 31, 2012 at 8:16 PM, Jeremy Goodman <jeremy at astro.princeton.edu> wrote:
> I followed the directions at http://mesa.sourceforge.net/how_to_use_mesa_star.html#part6 to add one extra column (to compute an apsidal-motion constant), modifying my run_star_extras.f appropriately.
> The new code compiles, but it seems that the routines "how_many_extra_log_columns" and "data_for_extra_log_columns" are not being called when the code runs (I've added print statements).  Consequently, I get error messages like this: 
>>  read log_columns.list
>>  failed to recognize item for log columns apsidal_k
>> ERROR: error in log_columns_file
>>  star_set_log_columns ierr          -1
>> ERROR: error in log_columns_file
>>  do_star_job_controls_after ierr          -1
>> ERROR: error in log_columns_file
>> Thu May 31 19:30:21 EDT 2012
> Do I have to change something else (e.g. run.f) to make sure that module run_star_extras is used?
> Oddly, I successfully used a similar procedure last year with version 3290 to add profile columns. 
> I am now using version 4028.
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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/20120601/767ce3d6/attachment.html>

More information about the Mesa-users mailing list