[Mesa-users] advice for removing unwanted outputs in favor of speed

Rob Farmer robert.j.farmer37 at gmail.com
Fri Mar 26 14:23:20 UTC 2021


Hi,

One strategy I use a lot is to not save any profiles (except maybe the
final model). Then just rerun a handful of models that need lots of profile
output. This is more to help me keep down the amount of a disk space I use
when running many models. The other strategy is to think whether or not you
can "summarise" the profile data into a few numbers (say the location where
something interesting happens) in your run_star_extras, and then save it to
the history output (again so you don't need to write full profiles which
can take up alot of space).

I also find photos a hassle when running big grids (keeping track of which
models should be ./rn and which ones should be ./re), so unless I expect my
models to run for a long time (and thus might be killed by job schedulers
on a cluster) I completely turn off photos. If the models need to be rerun
I just start them from scratch.

I disagree slightly with Frank about the pgstar plots, i'd recommend not
turning them off. Saving the plots is cheap and is what I use to make sure
the models are proceeding on track. It saves me more time overall to have
the pgstar plots saved and to be able to see whether I need to kill a model
and run it again, than saving time from not writing pgstar plots but having
to wait till the models finish before realising they did something wrong.

Rob

On Wed, 24 Mar 2021 at 21:35, Francis Timmes via Mesa-users <
mesa-users at lists.mesastar.org> wrote:

> hi amber,
>
> broadly, minimize i/o. if all plots can be done post-process, eliminate
> the pgstar writes.
> eliminate or minimize what goes into a profile file and the writing of
> photos.
>
> fxt
>
>
>
> > On Mar 24, 2021, at 1:02 PM, amber lauer via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
> >
> > I am getting ready to run a larger group of runs, and it occurs to me
> that I am very specific in my output needs and that I might speed up the
> process by removing everything but the outputs I need, which are really
> few. For instance, I only need about 5 columns in the history.list, and
> have removed most of the others. I have set my plots to only output every
> 500 or so, as well as terminal and profile. Are there other things I might
> not realize can be turned off? Just looking for suggestions.
> > =================================
> > Dr. Amber Lauer-coles
> > Postdoctoral Researcher
> > Triangle Universities Nuclear Lab
> > Duke University
> > amber.lauer at tunl.duke.edu
> > _______________________________________________
> > mesa-users at lists.mesastar.org
> > https://lists.mesastar.org/mailman/listinfo/mesa-users
> >
>
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210326/c9dd39ef/attachment.htm>


More information about the Mesa-users mailing list