Scientific Python

Z MetaCentrum
Přejít na: navigace, hledání

Description

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).

Availability

Program is currently available in version 2.9.0 with different compilations. Available modules:

scientificpython-py2.6-mpi

Use

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.

Documentation

On-line manual is available

Program administrator

meta@cesnet.cz

Homepage

URL: http://dirac.cnrs-orleans.fr/plone/software/scientificpython