Scientific Python

From MetaCentrum
Jump to: navigation, search


ScientificPython is a collection of Python modules that are useful for scientific computing. In this collection you will find modules that cover basic geometry (vectors, tensors, transformations, vector and tensor fields), quaternions, automatic derivatives, (linear) interpolation, polynomials, elementary statistics, nonlinear least-squares fits, unit calculations, Fortran-compatible text formatting, 3D visualization via VRML, and two Tk widgets for simple line plots and 3D wireframe models. There are also interfaces to the netCDF library (portable structured binary files), to MPI (Message Passing Interface, message-based parallel programming), and to BSPlib (Bulk Synchronous Parallel programming).


Program is currently available in versions 2.6 and 2.9.4 with different compilations. Available modules:





Load module example:

module add scientificpython-py2.6-mpi

"-py-2.x" is determining Python version with which is module build. Module "load" automatically all others required files.

Notice: This application supports parallel computing (MPI, OpenMP) which can have weird consequences. For more details about parallel computing visit the page How to compute/Parallelization.

Example of running

skirit$ module add scientificpython-py2.6-mpi
skirit$ mpirun -mca btl ^gm -np 2 mpipython -V
Python 2.6.2

By option "-mca btl ^gm", warnings about unavailable myrinet (at machine without myrinet) will be switched off.


On-line manual is available

Program administrator