[Mesa-users] STELLA output files

Jared Goldberg goldberg at physics.ucsb.edu
Tue Mar 30 21:43:40 UTC 2021


A more thorough answer: This is failing after the STELLA run, when the
stella_extras post-processing script (which makes the most useful output
files stored in res/) is initialized. There are two files within res/ that
you may need to alter when moving the STELLA directory:
res/makefile and res/stella_extras.f90.

In res/makefile, there is the line:

MESA_DIR = ../..
include $(MESA_DIR)/utils/makefile_header

Here you can comment out MESA_DIR = ../.. so you don't reset your
environment variable, or you can hard-code in your preferred MESA
directory. E.g.
MESA_DIR = /home/aurimontem/mesa-r15140/

In res/stella_extras.f90, there is a line that says
   my_mesa_dir = '../..'
Here, I find it best just to hard-code in your MESA directory, e.g.
my_mesa_dir = '/home/aurimontem/mesa-r15140/'

It's also useful because the version of stella_extras is compiled with a
given mesa revision's dependencies, so it is best not to use an old stella/
directory with a different mesa revision anyway.

If this isn't the issue, happy to look into it further.

Cheers,
~Jared

On Tue, Mar 30, 2021 at 2:03 PM Jared Goldberg <goldberg at physics.ucsb.edu>
wrote:

> Hi Anna,
>
> The ../../ in the error message suggests local references to being inside
> mesa aren't working. Did you move or copy the stella/ folder to a
> different working directory?
> If so, you should check that any references to variables called mesa_dir
> and my_mesa_dir in res/stella_extras.f have been updated to point to the
> proper mesa directory.
>
> Cheers,
>
> ~Jared
>
> On Tue, Mar 30, 2021 at 1:01 PM Annastasia Haynie via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
>
>> Hi MESA Team,
>>
>> MESA Version: 15140
>> Mac OS 11.1
>>
>> I have been successfully running STELLA using the mesa.abn and .hyd files
>> created from make_pre_ccsn_IIp/ and ccsn_IIP/ only adjusting the default
>> initial masses and length of the run (TcurlB). However, it seems as though
>> STELLA is not following up the "normal stop" with the post-processing
>> script stella_extras.f90 and creating many of the useful output files. I
>> get the following message after the normal stop:
>>
>> STOP  Normal stop of stella
>> makefile:7: ../../utils/makefile_header: No such file or directory
>> make: *** No rule to make target `../../utils/makefile_header'.  Stop.
>>
>>
>> Let me know if it would be helpful to provide any of the code. Thanks so
>> much in advance!
>>
>> Best,
>> Anna Haynie
>> --
>> Annastasia Haynie
>> PhD Student | GASP Vice President
>> Department of Physics and Astronomy
>> University of Southern California
>> ahaynie at usc.edu | she/her
>> _______________________________________________
>> 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/20210330/043f3d41/attachment.htm>


More information about the Mesa-users mailing list