Ada : Python

Description

Python is an interpreted object-oriented programming language.

Versions installed

Python 2 2.7.10
(default version)
2.7.12 2.7.13
Available
packages
basemap-1.0.7
cdat_lite-6.0rc2
Cython-0.22.1
distribute-0.7.3
funcsigs-0.4
ipython-3.2.1
line_profiler-1.0
matplotlib-1.4.3
mock-1.3.0
mpi4py-1.3.1
netCDF4-1.2.1
nose-1.3.6
numexpr-2.4.3
numpy-1.9.2
pbr-1.3.0
Pillow-2.9.0
pip-7.1.2
Pygments-2.0.2
PyNIO-1.4.1
pyparsing-2.0.3
pysqlite-2.6.3
python-dateutil-2.4.2
pytz-2015.4
readline-6.2.4.1
requests-2.7.0
rpy2-2.6.1
ScientificPython-2.8.1
scipy-0.15.1
scons-2.3.5
setuptools-18.0.1
singledispatch-3.4.0.3
six-1.9.0
tables-3.2.1
You can use
pip list
or
pip freeze
to see the installed modules
You can use
pip list
or
pip freeze
to see the installed modules
Links with
other
products
NetCDF-4.3.3.1
HDF5-1.8.14
Geos-3.4.2
R-3.2.1
NetCDF-4.3.3.1
HDF5-1.8.14
Geos-3.4.2
R-3.2.1
NetCDF-4.3.3.1
HDF5-1.8.14
Geos-3.4.2
R-3.2.1
Python 3 3.3.2 3.4.3 3.5.2 3.6.1
Available
packages
ipython-0.13.2
numpy-1.7.0
scipy-0.12.0
matplotlib-1.2.0
basemap-1.0.6
mpi4py-1.3
pip-7.1.2
basemap-1.0.7
Cython-0.22.1
distribute-0.7.3
funcsigs-0.4
ipython-3.2.1
line_profiler-1.0
matplotlib-1.4.3
mock-1.3.0
mpi4py-1.3.1
netCDF4-1.1.7.1
nose-1.3.6
numexpr-2.4.3
numpy-1.9.2
pbr-1.3.0
Pygments-2.0.2
pyparsing-2.0.3
python-dateutil-2.4.2
pytz-2015.4
readline-6.2.4.1
requests-2.7.0
rpy2-2.6.1
scipy-0.15.1
setuptools-18.0.1
singledispatch-3.4.0.3
six-1.9.0
tables-3.2.0
basemap-1.0.7
Cython-0.25.2
ipython-5.1.0
line_profiler-2.0
matplotlib-1.5.3
mpi4py-2.0.0
netCDF4-1.2.6
nose-1.3.7
numexpr-2.6.11
numpy-1.11.2
pbr-1.10.0
Pygments-2.1.3
pyparsing-2.1.10
python-dateutil-2.6.0
pytz-2016.10
readline-6.2.4.1
rpy2-2.8.4
scipy-0.18.1
setuptools-31.0.0
six-1.10.0
tables-3.3.0
You can use
pip list
or
pip freeze
to see the installed modules
Links with
other
products
NetCDF-4.3.3.1
HDF5-1.8.14
Geos-3.4.2
R-3.2.1
NetCDF-4.3.3.1
HDF5-1.8.14
Geos-3.4.2
R-3.2.1
NetCDF-4.3.3.1
HDF5-1.8.14
Geos-3.4.2
R-3.2.1

Characteristics

The LAPACK and BLAS libraries of the Intel MKL were used for module compilation.

Utilisation

Python is accessible through the module command:

module load python

In order to use one of the other available versions instead of the 2.7.10 default version, use the module command followed by the version number. You must also load the environment used during the installation.

For Python 2.7.12

module load gcc/4.9.3
module load python/2.7.12

For Python 2.7.13

module load intel/2016.4 gcc/4.9.4
module load python/2.7.13

For Python 3.6.1

module load intel/2017.2 gcc/4.9.4
module load python/3.6.1

To see the list of installed modules, two commands are possible.

pip list
pip freeze

Comments

There isn't ascending code compatibility between Python 2.x.x and Python 3.x.x. An adaptation of the Python 2 codes is necessary, therefore, in order to function in Python 3.

Documentation

Documentation is available on the official Web site of Python: http://www.python.org