Python

From HPC users
Revision as of 13:28, 1 July 2013 by Albensoeder (talk | contribs)
Jump to navigationJump to search

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 adn 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


External links