[Mesa-users] Segmentation fault error when running someone's inlists
Rob Farmer
r.j.farmer at uva.nl
Thu Apr 25 11:00:00 EDT 2019
Seems to be a typo on the website,
you want to find the line:
if (open_close_log) close(io) (not the line: if (write_flag) write
(io,*))
and replace it with:
if (open_close_log .and. write_flag) close(io)
in $MESA_DIR/star/private/history.f90
Then run ./mk in $MESA_DIR ( and run ./mk in your work folder)
Rob
On Thu, 25 Apr 2019 at 12:05, Rob Farmer <r.j.farmer at uva.nl> wrote:
> Hi,
>
> See this faq:
>
> http://mesa.sourceforge.net/faq.html#why-do-i-get-a-segfault-in-do_history_info
>
> Rob
>
> On Thu, 25 Apr 2019, 11:20 Warrick Ball via Mesa-users, <
> mesa-users at lists.mesastar.org> wrote:
>
>> Ah, my apologies: I didn't realise you were using a different `rn` script
>> from the one in `star/work`. Your previous email does demonstrate the
>> sequence of the inlists.
>>
>> W
>>
>> ------------
>> Warrick Ball
>> Postdoc, School of Physics and Astronomy
>> University of Birmingham, Edgbaston, Birmingham B15 2TT
>> W.H.Ball at bham.ac.uk
>> +44 (0)121 414 4552
>>
>>
>> On Thu, 25 Apr 2019, mesa-users at lists.mesastar.org wrote:
>>
>> > Hi Chris,
>> >
>> > I'm not sure this is quite enough to reproduce the problem. In what
>> order do
>> > you run the inlists that you've sent? i.e. what's in `inlist` when you
>> have a
>> > problem? Can you run an empty `star/work` folder without a problem?
>> >
>> > I notice that all the inlists have the line
>> >
>> > ```
>> > mesa_dir = '/Users/yami/surfdrive/mesa-r10398'
>> > ```
>> >
>> > in `&star_job`. Is this a valid location on your drive? Standard
>> practice
>> > AFAIK is to set the $MESA_DIR environment variable rather than setting
>> it in
>> > the inlist. Try commenting out this line in each of the inlists.
>> >
>> > FWIW, the last line in the error trace is an I/O line:
>> >
>> > ```
>> > $ sed -n '383p' ~/mesa/10398/star/private/history.f90
>> > if (open_close_log) close(io)
>> > ```
>> >
>> > Also, it's better to copy text output into your email rather than
>> attaching a
>> > screenshot.
>> >
>> > Cheers,
>> > Warrick
>> >
>> >
>> >
>> >
>> >
>> > ------------
>> > Warrick Ball
>> > Postdoc, School of Physics and Astronomy
>> > University of Birmingham, Edgbaston, Birmingham B15 2TT
>> > W.H.Ball at bham.ac.uk
>> > +44 (0)121 414 4552
>> >
>> >
>> > On Thu, 25 Apr 2019, mesa-users at lists.mesastar.org wrote:
>> >
>> >> Hello all,
>> >>
>> >> MESA version: r10398
>> >>
>> >> I am confused with why some inlists I'm using to run a planet model,
>> given
>> >> to me by my advisor, don't run properly on my machine. We're running
>> the
>> >> same version of MESA, although she's on a Mac and I'm
>> >> running Linux. Attached are the inlist files and my rn.sh
>> >>
>> >> Please let me know if any more information is needed! Sorry if I
>> didn't
>> >> provide everything.
>> >>
>> >> Thanks,
>> >> Chris
>> >>
>> >>
>> > _______________________________________________
>> > 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/20190425/f914a98f/attachment.html>
More information about the Mesa-users
mailing list