User Tools

Site Tools


guide:python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
guide:python [2014/04/22 16:50]
wikiadmin
guide:python [2015/05/19 09:16] (current)
andyr
Line 1: Line 1:
 ====== Python on the Sun Cluster ====== ====== Python on the Sun Cluster ======
  
 +Modules are available for python
  
-A fairly complete python 2.6.5 installation is available on both the login and compute nodes, at+$ module avail 
 +shows the following :-
  
-''/​opt/gridware/​python2.6.5/bin/python''​+python/python-2.6.5 
 +python/2.7.3 
 +python/2.7.4 
 +python/2.7.5
  
-I recommend ​you invoke your python scripts by explicitly invoking python as above --- for example:+Use 2.7.5 if you are starting out.
  
-  /​opt/​gridware/​python2.6.5/​bin/​python /​export/​home/​username/​bin/​myscript.py+Ask helpdesk if you need other modules.
  
-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 | 
-| h5py            | interface to the HDF5 binary data format [see notes below] | 
- 
-Most of these modules invoke low-level C and Fortran to do the heavy lifting. 
- 
-====Notes==== 
- 
-===h5py=== 
- 
-The ''​h5py''​ module uses HDF5 library version 1.8.11, which is installed in ''/​opt/​gridware/​libraries/​hdf5/​1.8.11/''​. ​ 
  
  
/var/www/wiki/data/pages/guide/python.txt · Last modified: 2015/05/19 09:16 by andyr