Difference between revisions of "Python"
From HPC users
Jump to navigationJump to search
Albensoeder (talk | contribs) |
Albensoeder (talk | contribs) |
||
Line 18: | Line 18: | ||
* PyClimate | * PyClimate | ||
== Usage of Python | == Usage of Python and MPI == | ||
For parallel scripts the Python installtion contains the package mpi4py. To launch an parallel Python script inside an [[SGE Job Management (Queueing) System| SGE]] script please use command line | For parallel scripts the Python installtion contains the package mpi4py. To launch an parallel Python script inside an [[SGE Job Management (Queueing) System| SGE]] script please use command line |
Revision as of 10:35, 13 August 2013
Up to now there only one Python releases as module available on FLOW and HERO. The relase is available by
module load testing/python
With this command the corresponding Intel compilers and Intel MPI will be automatically loaded.
Note: The release will be replaced by an official release soon.
Additional installed packages
The actual release contains following additional packages:
- numpy
- scipy
- nose_cov
- distribute
- ScientificPython
- PyClimate
Usage of Python and MPI
For parallel scripts the Python installtion contains the package mpi4py. To launch an parallel Python script inside an SGE script please use command line
mpirun -bootstrap sge -np $NSLOTS -env I_MPI_FABRICS shm:ofa python SCRIPTNAME SCRIPT_CMDLINE_OPTIONS
to enable SGE to control all processes of your script.
The corresponding parallel environment in the SGE submission script is specified by
#$ -pe impi41 NUMBER_OF_CORES #$ -R y