odes
odes copied to clipboard
Installation issues Mac
Hello. I am trying to install scikits.odes on Mac OS 10.14. I am using Python 3.6 and 3.7 and SUNDIALS 3.1.1.
Both when using pip install and python setup.py install after cloning, I run into
/usr/local/bin/gfortran [... lots of linking] -lgfortran -o build/lib.macosx-10.9-x86_64-3.7/scikits/odes/ddaspk.cpython-37m-darwin.so
Undefined symbols for architecture x86_64:
"_PyArg_ParseTupleAndKeywords", referenced from:
_f2py_rout_ddaspk_ddaspk in ddaspkmodule.o
[... more stuff like this]
"__Py_NoneStruct", referenced from:
_f2py_rout_ddaspk_ddaspk in ddaspkmodule.o
_cb_res_in_ddaspk__user__routines in ddaspkmodule.o
_create_cb_arglist in ddaspkmodule.o
_cb_jac_in_ddaspk__user__routines in ddaspkmodule.o
_fortran_getattr in fortranobject.o
_fortran_setattr in fortranobject.o
_array_from_pyobj in fortranobject.o
...
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
and then
error: Command "/usr/local/bin/gfortran [... lots of linking] -lgfortran -o build/lib.macosx-10.9-x86_64-3.7/scikits/odes/ddaspk.cpython-37m-darwin.so" failed with exit status 1
Could you please guide me how to resolve this problem?