This is an old revision of the document!
A fairly complete python 2.6.5 installation is available on both the login and compute nodes, at
/opt/gridware/python2.6.5/bin/python
I recommend you invoke your python scripts by explicitly invoking python as above — for example:
/opt/gridware/python2.6.5/bin/python /export/home/username/bin/myscript.py
Modules included with this are :-
| numpy scipy | Comprehensive scientific processing for python |
| PyNGL | Scientific visualisation |
| tables | HDF file reader and writer |
| mpl_toolkits matplotlib | Matplotlib — MATLAB-like plotting functions |
| Crypto | Cryptographic utilities |
| OpenSSL | Secure Sockets Layer |
| IPython | Interactive python, great for debugging |
| PyNIO | NetCDF file reader / writer |
| Polygon | Polygon manipulation routines |
| ANN | kdtree-based Approximate Nearest Neighbour routines |
Most of these modules invoke low-level C and Fortran to do the heavy lifting.