[Mesa-users] Trouble parsing custom opacities in MESA 15140
Tryston Raecke
tcr4nn at virginia.edu
Mon Aug 16 18:34:41 UTC 2021
Hi all,
I currently have MESA 15140 installed and have been attempting to implement
some new custom opacity tables. After some trial and error in
troubleshooting the tables, there seems to be a bug in how this new version
of MESA parses the files in that it is expecting a
consistent grid, of sorts. My ~attempt~ to generally explain the issue is
as follows:
For every opacity (with form X_i & Z_k), as X is increased in steps across
the table (from 0.0 -> 0.2 -> 0.4, etc), a given entry Z_k must be present
for every entry X less than X_i. So if there is an opacity table for X_0.0
& Z_0.0, but not an entry for X_0.2 & Z_0.0, then you cannot introduce the
entry X_0.4 & Z_0.0. This causes errors for any special entries in an
opacity table especially when trying to resolve edge cases. Below, I have
made a rough visual as well with the entries which cannot be included
circled in red (this is not the actual custom table, but just meant to show
the form of the problem).
[image: Screen Shot 2021-08-16 at 2.14.56 PM.png]
As stated before, this was uncovered by initially implementing different
selections of the custom opacities. In an attempt to test it, fake tables
were inserted at any "missing" entries (like the X_0.2 & Z_0.0 case) which
stopped the error (allowing for MESA to read in X_0.4&Z_0.0 and
X_0.6&Z_0.0).
Would anyone have a quick fix load_kap or kap_ctrls_io which could work?
Are there any other recommendations? Is there something that I am missing?
Here is the generally requested MESA information:
MESA Version
15140
uname -a
Darwin Trystons-MBP 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8
05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64
gfortran -v
Using built-in specs.
COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/Applications/mesasdk/bin/../libexec/gcc/x86_64-apple-darwin20.3.0/10.2.0/lto-wrapper
Target: x86_64-apple-darwin20.3.0
Configured with: /opt/sdk2-tmp/build/gcc/configure CC=clang CXX=clang++
--build=x86_64-apple-darwin20.3.0 --host=x86_64-apple-darwin20.3.0
--target=x86_64-apple-darwin20.3.0 --prefix=/opt/sdk2-tmp/mesasdk
--with-gmp=/opt/sdk2-tmp/mesasdk --with-mpfr=/opt/sdk2-tmp/mesasdk
--with-mpc=/opt/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran
--disable-multilib --disable-nls --disable-libsanitizer
--with-sysroot=/opt/sdk2-tmp/mesasdk/sysroot
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (GCC)
$MESASDK_ROOT
/Applications/mesasdk
MESASDK version
x86_64-macos-21.4.1
$PATH
/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/Applications/mesasdk/bin
$MESA_DIR
/Users/trystonraecke/mesa-r15140
Thank you,
Tryston
Tryston Raecke
Owner & Creative Director | *Vrede*
Rodman | Blackburn | Questbridge Scholar
Mechanical Engineering & Astronomy-Physics
University of Virginia '21
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210816/0c85eac2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-08-16 at 2.14.56 PM.png
Type: image/png
Size: 117601 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210816/0c85eac2/attachment.png>
More information about the Mesa-users
mailing list