[Mesa-users] Can't get astero module to work outside test_suite
TUCHOW, NOAH WOLFE
nxt5109 at psu.edu
Fri Feb 1 16:45:53 EST 2019
I managed to get it to work. I neglected to look at the primary inlist and instead looked in inlist3. In 'inlist' there was a line setting mesa_dir='../../..', so I just commented it out.
Noah Tuchow
Noah Tuchow
Penn State University
Department of Astronomy and Astrophysics
532C Davey Lab
University Park, PA 16802
On Fri, Feb 1, 2019 at 3:55 PM Noah Tuchow <nxt5109 at psu.edu<mailto:nxt5109 at psu.edu>> wrote:
Hello,
I've been having a problem getting the astero module to work outside of the MESA test suite directory. I copied the example_astero folder and put it somewhere else on my computer so that I could modify it and play around with changing the parameters. However, while the example seems to work when I run it in the test_suite directory, it won't run in the new directory. I looked at the makefile for the example and saw that it contained a relative path for MESA_DIR, and I deleted that line because MESA_DIR is already defined as my system mesa directory. Now the makefile just contains the line "include $(MESA_DIR)/star/astero/makefile"
However, this doesn't appear to resolve the issue. When I make the example, I get the warning:
/data/nxt5109/mesa-r10398/star/astero/src/gyre_support.f:171:0:
filename = TRIM(fgong_prefix)//TRIM(num_string(s%model_number))//TRIM(fgong_postfix)
Warning: '.filename' may be used uninitialized in this function [-Wmaybe-uninitialized]
Running the example anyways gives the following error:
read inlist_astero_search_controls
open failed for ../../../data/version_number
please check that mesa_dir is set correctly
failed in stardata_init
star_init ierr 2
Is there some other file with a relative path that I need to change? How can I modify this example to get it to work outside the test suite? Have other people been able to get the astero module to work outside of the mesa test_suite or astero/work directories?
I'm using MESA r-10398 on CentOS linux.
Thanks,
Noah Tuchow
Noah Tuchow
Penn State University
Department of Astronomy and Astrophysics
532C Davey Lab
University Park, PA 16802
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190201/0fc393b9/attachment.html>
More information about the Mesa-users
mailing list