Install Odespy on Windows 64 bit using Fortran Solvers

I tried to install odespy ( https://github.com/hplgit/odespy ) on Windows 7 x64 with Anaconda Python version 3.4 distribution. If I start the installation with

python setup.py install --no-fortran

      

installation is not a problem. Since I need additional Fortran solvers and there is a message "Only MS compiler supported by gfortran on win64", I installed Visual Studio 2010. When I start compiling with

python setup.py build --compiler=msvc

      

I am getting errors from the linker like this:

_odepack.lib(opkda2.o) : error LNK2001: unresolved external symbol _gfortran_runtime_error_at_odepack.lib(solve_odepack.o) : error LNK2019: unresolved external symbol _gfortran_os_error referenced in function solve__odepack.lib(solve_odepack.o) : error LNK2019: unresolved external symbol _gfortran_compare_string referenced in function solve_

      

I have downloaded the full compilation output here: http://n.ethz.ch/~faheller/download/misc/output_compilation_odespy.txt

Does anyone know if there was a problem?

+3


source to share


1 answer


Odespy is not ported to Python3. Use Python27. ( https://github.com/hplgit/odespy/issues/5 )



0


source







All Articles