Fortran Issues
Using ellc 1.8.5 with Python 3.8.8 through allesfitter. Followed the special install instructions provided on the allesfitter page however I'm running into an issue with (I assume) Fortran.
From iPython console:
Python 3.8.8 (default, Apr 13 2021, 19:58:26)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.22.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import ellc
In [2]: ellc.__version__
Out[2]: '1.8.5'
In [3]: from ellc import rv
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-3-185994bda8e0> in <module>
----> 1 from ellc import rv
~/anaconda3/lib/python3.8/site-packages/ellc/rv.py in <module>
19 import numpy as np
20
---> 21 from ellc import ellc_f
22
23 def rv(t_obs, radius_1=None, radius_2=None, sbratio=None, incl=None,
ImportError: /home/a268p582/anaconda3/lib/python3.8/site-packages/ellc/ellc_f.cpython-38-x86_64-linux-gnu.so: undefined symbol: _gfortran_os_error_at
Unfortunately I know very little about Fortran so I hope you can shed some light on this!
This is an installation problem, not a fortran problem.
An installation problem with ellc?
Yes. The installation script using f2py to compile the fortran source code into libraries that can be loaded into python. Something has gone wrong with the the creation of the libraries and/or the setup of the python that enables it to find them