Closed elnjensen closed 3 years ago
Hi Eric, Thanks! The correct solution is to set that flag and the results will be fine.
It's not really an exoplanet issue - it'll happen with any Theano code on recent(ish) versions of macOS! But, if you run within a PyMC3 context, this won't happen because PyMC3 automatically adds this flag and there's an open issue to fix it directly within Theano.
For now, your best bet is to provide that flag yourself and perhaps we should add something to the exoplanet docs.
Thank you! I appreciate the quick response, and I'm enjoying exploring the code.
When running the transit-fitting demo on OS X, I cannot compute a LimbDarkLightCurve model without errors unless I explicitly pass a flag to theano to suppress compiler warnings.
The final error looks like this:
and is preceded by several instances of errors like this:
This appears to be the same issue reported in this Stack Overflow post, and the workaround described there (
theano.config.gcc.cxxflags = "-Wno-c++11-narrowing"
) results in successful compilation and allows the code to run.To Reproduce Run the tutorial transit-fitting code under OS X (may depend on compiler used?)
Your setup:
Additional context It's possible that suppressing the errors in this way results in correct code and results, but I don't know enough about the internals to judge that.