High-Performance Python – Compiled Code and Fortran Interface

Summary

Fortran code is accessible by Python a number of ways, ranging from C wrappers for Fortran functions to dedicated tools that all are pretty simple to use. F2py is the most popular tool, although I have had trouble using it with non-GFortran compilers.

In the next article, I present a few of the many Python libraries that allow you to use GPUs. I think you will be pleasantly surprised at the state of GPU computing in Python.