Fortran call from Python

I was contacted a few months ago by the University of Bordeaux to redo the training that I had done in 2010 in Autrans https://calcul.math.cnrs.fr/2010-12-angd-python.html to call fortran routines from Python 2

I remember I learnt the Python language to prepare this training and to replace a colleague. It was an excellent thing so thanks to him.

Although I’m quite skeptical about the interest of such a training in 2020, I translate my slides written in LaTeX-beamer and create notebooks. The training session was supposed to take in march 2020 but it was cancelled due to the covid19 lockdown.

In these materials I show some other ways than F2PY to accelerate Python like Numba, Cython, Pythran and PyJulia. They are available on GitHub powered by Jupyterbook.

links