[mesa-users] de-testify test suite
Bill Paxton
paxton at kitp.ucsb.edu
Wed Sep 10 00:05:09 EDT 2014
Hi Rich,
On Sep 9, 2014, at 8:50 PM, Richard Townsend wrote:
> One thing worth noting: if mesa_dir is not defined in the inlist (or MESA_DIR in a makefile), then by default the environment variable MESA_DIR will be used to determine the top-level MESA directory. Using this functionality (after removing the mesa_dir definitions from inlists) would be a good way to avoid having to re-sed the tests each time you move them.
The explicit setting of mesa_dir to '../../..' in the test_suite inlists let's me work on multiple mesa's at once. So it is a convenience for me. I didn't anticipate wholesale copying of the test_suite to a different location! For a brief time I was being careful to have all of the test case inlists use '../inlist_test_suite' as an "extra" inlist --- e.g., this is in the agb/inlist &star_job section:
read_extra_star_job_inlist3 = .true.
extra_star_job_inlist3_name = '../inlist_test_suite'
Then inlist_test_suite would take care of setting mesa_dir for me instead of doing it in the various inlists. Then there would only be one place to change now. Unfortunately, my good intentions lost out to my more basic urges, so only a handful of the test cases work this way. But that might be a good project someday for someone.
-b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20140909/22ac5af0/attachment.html>
More information about the Mesa-users
mailing list