[Mesa-users] Giving MESA parameters from the command line
Francis Timmes
fxt44 at mac.com
Tue Jan 28 13:56:56 EST 2020
also maybe checkout the collected guidance on running many mesa models on a cluster at
http://cococubed.asu.edu/mesa_market/guides.html
fxt
> On Jan 28, 2020, at 11:51 AM, Adam Jermyn via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>
> Hi Jeremy,
>
> You can write a wrapper script to start up MESA runs with specific parameters. I usually make a ‘prototype’ MESA directory with inlists containing the parameters I’ll be changing. In the prototype directory I set those to some placeholder like <<MASS>>. At runtime I copy the prototype directory and then use sed to replace each placeholder with the value I want.
>
> If you want to get output directly from MESA without going through the history/profile files you can always add write statements to your run_star_extras.f. When I do this I usually add an identifiable string before the output so that I can easily search for the lines I need.
>
> Hope this helps,
>
> -Adam
> On Jan 28, 2020, 1:45 PM -0500, Jeremy Sakstein <sakstein at hawaii.edu>, wrote:
>> Hi Everyone,
>>
>> I am planning on using MESA as part of an MCMC chain and will likely have 100+ instances running in parallel.
>>
>> It would be a great help if it were possible to
>>
>> 1) Give MESA parameters form the command line rather than altering an inlist and
>> 2) Having MESA spit out one or two outputs that I need (I only need three or four quantities from the first time step)
>>
>> Has anyone had any experience with this before? Is this possible or do I need to generate a bunch of inlists?
>>
>> Cheers,
>>
>> Jeremy
>> _______________________________________________
>> 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
>
More information about the Mesa-users
mailing list