Python 2.6 is available on all log in and compute nodes. To run Python 2.6 source the following file:
- if your shell is csh/tcsh
- if your shell is bash
The following packages are available:
If additional packages are needed, it is suggested that you create a virtualenv in your home directory and install packages to that virtualenv.
For more information about Python, see the online documentation.
Example and Reference Code
Some examples of using Python on the FSU HPC have been put together. Log into your HPC login node, then copy the desired examples. They are located at:
- trap: Port of the trap.c trapezoidal integration example program. Demonstrates using mpi4py. MOAB submission script included.
- lorenz96: Examples of speeding up Python. One using Cython (cython) and one using Cython to wrap a call to a C function (cython_c). Original code is also provided for comparison (fortran and matlab). See the README files and use the rebuild.sh scripts to build the Python extensions.