Skip to content

f90wrap

f90wrap is a tool to automatically generate Python extension modules which interface to Fortran code that makes use of derived types. It builds on the capabilities of the popular f2py utility by generating a simpler Fortran 90 interface to the original Fortran code which is then suitable for wrapping with f2py, together with a higher-level Pythonic wrapper that makes the existance of an additional layer transparent to the final user.

homepage: https://github.com/jameskermode/f90wrap

Available installations

f90wrap version Supported CPU targets Supported GPU targets EESSI version Module
0.2.13 generic: aarch64, x86_64
Arm: a64fx, neoverse_n1, neoverse_v1, nvidia/grace
AMD: zen2, zen3, zen4
Intel: haswell, skylake_avx512, sapphirerapids, icelake, cascadelake
(none) 2023.06 f90wrap/0.2.13-foss-2023a