-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use limb darkening #302
Comments
I wanted to see if this was an issue with just this newest version of starry, so I went back and tried older versions of starry. Simply doing pip install starry==version with version spanning all the releases between 1.1.0 and 1.2.0 after doing the above installation, I get the same error messages with limb darkening. I was unable to even import starry==1.0.0 after a fresh install:
I know I was able to use limb darkening with some version of starry>0.3 before on my old Ubuntu laptop, but I can't now on macOS. I do have gcc and the other CommandLineTools packages installed FYI. |
Gaaah. Sorry about this. It's all in one way or another related to the fact that Theano is no longer maintained and is quickly becoming incompatible as its dependencies evolve (numpy, clang, etc). Thanks for all the debugging info -- that really helps. I'll look into this on Monday. |
(BTW, if I ever have free time again I would like to re-write starry in jax...) |
I can reproduce the original error is related to the fact that with recent versions of numpy(maybe?)
Older versions of starry/pymc/theano are probably a lost cause... |
That indeed works for me - added that line just before importing starry! Thanks @dfm! |
This is a bit of a tangent and I agree it's probably a lost cause to go to older versions, but I was able to install Starry 1.0 on a Silicon M1 mac with the following environment file (I was trying to compare some older results.) The instructions I wrote to myself are:
content of environment_starry1p0.yamlname: Starry1p0
channels:
- defaults
dependencies:
- blas=1.0=mkl
- ca-certificates=2021.10.26=hecd8cb5_2
- cctools_osx-64=949.0.1=hc7db93f_23
- certifi=2021.5.30=py36hecd8cb5_0
- clang=12.0.0=hecd8cb5_2
- clang-12=12.0.0=default_hfcad0e5_2
- clang_osx-64=12.0.0=h7ad7729_2
- clangxx=12.0.0=default_hfcad0e5_2
- clangxx_osx-64=12.0.0=he0c6f94_2
- compiler-rt=12.0.0=hd87ff74_2
- compiler-rt_osx-64=12.0.0=hfb26b64_2
- intel-openmp=2021.4.0=hecd8cb5_3538
- ld64_osx-64=530=h70f3046_23
- ldid=2.1.2=h2d21305_2
- libclang-cpp12=12.0.0=default_hfcad0e5_2
- libcxx=12.0.0=h2f01273_0
- libffi=3.3=hb1e8313_2
- libgfortran=3.0.1=h93005f0_2
- libllvm12=12.0.0=h9b2ccf5_3
- llvm-tools=12.0.0=h9b2ccf5_3
- mkl=2019.4=233
- mkl-service=2.3.0=py36h9ed2024_0
- mkl_fft=1.3.0=py36ha059aab_0
- mkl_random=1.1.1=py36h959d312_0
- ncurses=6.3=hca72f7f_2
- openssl=1.1.1l=h9ed2024_0
- pip=21.2.2=py36hecd8cb5_0
- python=3.6.13=h88f2d9e_0
- readline=8.1=h9ed2024_0
- setuptools=58.0.4=py36hecd8cb5_0
- six=1.16.0=pyhd3eb1b0_0
- sqlite=3.37.0=h707629a_0
- tapi=1000.10.8=ha1b3eb9_0
- theano=1.0.4=py36h04f5b5a_0
- tk=8.6.11=h7bc2e8c_0
- wheel=0.37.0=pyhd3eb1b0_1
- xz=5.2.5=h1de35cc_0
- zlib=1.2.11=h4dc903c_4
- pip:
- aesara-theano-fallback==0.0.4
- alabaster==0.7.12
- appnope==0.1.2
- argon2-cffi==21.3.0
- argon2-cffi-bindings==21.2.0
- arviz==0.11.1
- astropy==4.1
- async-generator==1.10
- attrs==21.4.0
- babel==2.9.1
- backcall==0.2.0
- bleach==4.1.0
- celerite2==0.2.0
- cffi==1.15.0
- cftime==1.5.1.1
- charset-normalizer==2.0.10
- colorama==0.4.4
- contextvars==2.4
- corner==2.2.1
- cycler==0.11.0
- dataclasses==0.8
- decorator==5.1.0
- defusedxml==0.7.1
- dill==0.3.4
- docutils==0.17.1
- entrypoints==0.3
- exoplanet==0.4.5
- exoplanet-core==0.1.2
- fastprogress==1.0.0
- idna==3.3
- imagesize==1.3.0
- immutables==0.16
- importlib-metadata==4.8.3
- ipykernel==5.5.6
- ipython==7.16.2
- ipython-genutils==0.2.0
- ipywidgets==7.6.5
- jedi==0.17.2
- jinja2==3.0.3
- jsonschema==3.2.0
- jupyter==1.0.0
- jupyter-client==7.1.0
- jupyter-console==6.4.0
- jupyter-core==4.9.1
- jupyterlab-pygments==0.1.2
- jupyterlab-widgets==1.0.2
- keyring==23.4.1
- kiwisolver==1.3.1
- markupsafe==2.0.1
- matplotlib==3.3.4
- mistune==0.8.4
- nbclient==0.5.9
- nbconvert==6.0.7
- nbformat==5.1.3
- nest-asyncio==1.5.4
- netcdf4==1.5.8
- notebook==6.4.6
- numpy==1.19.5
- packaging==21.3
- pandas==1.1.5
- pandocfilters==1.5.0
- parso==0.7.1
- patsy==0.5.2
- pexpect==4.8.0
- pickleshare==0.7.5
- pillow==8.4.0
- pkginfo==1.8.2
- prometheus-client==0.12.0
- prompt-toolkit==3.0.24
- ptyprocess==0.7.0
- pybind11==2.9.0
- pycparser==2.21
- pygments==2.11.1
- pymc3==3.10.0
- pymc3-ext==0.1.0
- pyparsing==3.0.6
- pyrsistent==0.18.0
- python-dateutil==2.8.2
- pytz==2021.3
- pyyaml==6.0
- pyzmq==22.3.0
- qtconsole==5.2.2
- qtpy==2.0.0
- requests==2.27.0
- scipy==1.5.4
- send2trash==1.8.0
- setuptools-scm==6.3.2
- snowballstemmer==2.2.0
- sphinx==4.3.2
- sphinxcontrib-applehelp==1.0.2
- sphinxcontrib-devhelp==1.0.2
- sphinxcontrib-htmlhelp==2.0.0
- sphinxcontrib-jsmath==1.0.1
- sphinxcontrib-qthelp==1.0.3
- sphinxcontrib-serializinghtml==1.1.5
- starry==1.0.0
- terminado==0.12.1
- testpath==0.5.0
- theano-pymc==1.0.11
- tomli==1.2.3
- tornado==6.1
- tqdm==4.62.3
- traitlets==4.3.3
- typing-extensions==3.10.0.2
- urllib3==1.26.7
- wcwidth==0.2.5
- webencodings==0.5.1
- widgetsnbextension==3.5.2
- xarray==0.16.2
- zipp==3.6.0
variables:
CONDA_SUBDIR: osx-64
prefix: /Users/everettschlawin/miniconda3/envs/BEMStarry1p0
|
Describe the bug
Trying to compute the flux of any star or system with a star that includes non-uniform limb darkening (any udeg > 0) gives me a lengthy traceback that says "Elliptic integral CEL did not converge." along with "error: cannot use 'throw' with exceptions disabled.".
To Reproduce
Any time I try to compute the flux of a limb-darkened star or system with a limb-darkened star (such as the cell below the comment "The effect of limb darkening is clear! Let's plot a transit across this object:" in the Basics.ipynb notebook) I get the following traceback. I get a similar such error for any udeg > 0 regardless of what I set the limb darkening parameters to. I also get errors anytime ffmpeg is called in the notebook but I just didn't bother to install that and am not worried about those errors.
Expected behavior
A clear and concise description of what you expected to happen.
Your setup (please complete the following information):
Additional context
I have also attached the theano_compilation_error_rlmejtd5 file mentioned in the traceback (as a .txt file so I can upload it)
theano_compilation_error_rlmejtd5.txt
The text was updated successfully, but these errors were encountered: