Python
Description
Python is a general-purpose high-level programming language. You may utililize its additional libraries like Scipy, Numpy and Scientific Python, which are also installed in MetaCentrum.
Usage
Upcoming modulesystem change alert!
Due to large number of applications and their versions it is not practical to keep them explicitly listed at our wiki pages. Therefore an upgrade of modulefiles is underway. A feature of this upgrade will be the existence of default module for every application. This default choice does not need version number and it will load some (usually latest) version.
You can test the new version now by adding a line
source /cvmfs/software.metacentrum.cz/modulefiles/5.1.0/loadmodules
to your script before loading a module. Then, you can list all versions of python and load default version of python as
module avail python/ # list available modules module load python # load (default) module
If you wish to keep up to the current system, it is still possible. Simply list all modules by
module avail python
and choose explicit version you want to use.
You can find more information about using Python libraries at Python - modules.
Some python libraries are also available as standalone modules:
module add numpy-1.7.1-py2.7
module add scipy-0.12.0-py2.7
module add pyfits-3.1.2-py2.7
module add sklearn-0.14.1-py2.7
module add py-pip/py-pip-19.3-intel-19.0.4-hudzomi
(pip for Debian 10 machines, compatible with modules python/python-3.7.7-gcc-8.3.0-t4loj4a
and python/python-3.7.7-intel-19.0.4-mgiwa7z
)
module add py-pip/py-pip-19.3-intel-19.0.4-kbepo3a
(pip for CentOS machines, compatible with modules python/python-3.7.7-gcc-8.3.0-52myba3
and python/python-3.7.7-intel-19.0.4-gkm3xwh
)
Documentation
Documentation is available on WWW server of program.