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
Next revision
Previous revision
guide:python [2010/09/20 18:38]
wikiadmin
guide:python [2015/05/19 09:16]
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 
- 
-Most of these modules invoke low-level C and Fortran to do the heavy lifting. 
  
/var/www/wiki/data/pages/guide/python.txt · Last modified: 2015/05/19 09:16 by andyr