Kevin Stratford kevin@epcc.ed.ac.uk
Emmanouil Farsarakis farsarakis@epcc.ed.ac.uk
Contributing authors:
Neelofer Banglawala
Andy Turner
Arno Proeme
<img src="reusematerial.png"; style="float: center; width: 90"; >
Data analysis / Simulation / Numerical computation
There is a need to
"Tradiational" languages (C/C++/Fortran)
Python
Broadly two approaches:
Standard library includes
Interact with "outside world" including
General workflow:
Care with
Python style is typically to have
Fortran
How to proceed
In practice, for "modern" Fortran
What f90wrap does
Uses native compiler to
Uses f2py to generate
From python (script or shell)
Python to C/C++
Some provide a clean separation
Others allow patching code into python
Other still require "intermediate" language
http://docs.scipy.org/doc/scipy-0.14.0/reference/tutorial/weave.html
http://cython.org/
Many possibilities
Care required