Scientific Programming in Python and Fortran - Lecture 8 - Mixed language programming

preview_player
Показать описание
Lecture on how to integrate Fortran and Python using F2PY

Рекомендации по теме
Комментарии
Автор

hello sir of course this google colab works fine...but i did not get the procedure to use f2py in my own pc..can you give some steps for this??

virendrasheoran
Автор

Hi, I've followed those steps in my computer unsuccesfully. After installing numpy.f2py in my python I ran those commands but some errors appeared. The main error was “error: Unable to find vcvarsall.bat” but as far as I searched, this is a general error for installation related issues. Specifically, the computer cannot find some fortran compilers like g77, f77 and so on. On my computer I only have downoloaded gfortran.exe but it seems that is not enough. I would appreciate if you could tell me all the requirements for this to work. Regards from Spain.

martindf
Автор

Thank you, it is very helpful. could you share the notebook?

owen