[Mesa-users] Problems at ./mk stage
Francis Timmes
fxt44 at mac.com
Tue Jan 25 21:58:29 UTC 2022
> nowadays I save models ... by calling `call star_write_model`.
whew! thanks mathieu.
fxt
> On Jan 25, 2022, at 2:39 PM, Mathieu Renzo via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>
> Hi Emma,
>
> I am not sure this is related to your issue, but back then I found a dirty workaround to save photos and models from the run_star_extras.f. For anyone reading now, this is not the recommended way to do this.
>
> To be able to save a model at a physical point of the evolution not known a priori from the run_star_extras.f, I copied `write_mode.mod` and `kuma.mod` from `$MESA_DIR/star/make` into `$MESA_DIR/include`. This allows me to call `output_star_model` in the subroutine `output_to_file`. This is described at the bottom of page 28 (bottom of right column) of the paper associated to those simulations.
>
> It might be that this is giving you issues when compiling (because the run_star_extras calls a function which is not accessible by default). My apologies for the cumbersomeness!
>
> Also, depending on the science application you have in mind, you might not need the very high resolution I used (especially on the main-sequence) for that paper, and you might be able to save a lot of CPUh without sacrifising much accuracy decreasing it.
>
> For those interested, nowadays I save models from the run_star_extras without the need to copy *.mod files in $MESA_DIR/include by calling `call star_write_model`.
>
> Hope this helps!
> Mathieu
More information about the Mesa-users
mailing list