Difference between revisions of "SW:Python"
(→Modules and Versions)
|Line 21:||Line 21:|
Revision as of 14:42, 11 July 2018
Python is an interpreted high-level programming language for general-purpose programming. Python has had many versions over the years. Most python programs run on Python 2 (example - 2.7.x) or Python 3 (example - 3.5.x).
Modules and Versions
To check the available Python modules on a cluster. Please type the following command.
[NetID@cluster NetID]$ module spider Python
This will show many version of python complied with different toolchains. The first part of the module name (Ex - Python/3.5.1) refers to the python language. The second part of the module name (Ex - -intel-2016a) refers to the toolchain use to compile the module. A toolchain on a TAMU HPRC cluster is a collection of tools used for building software. They typically include:
- a compiler collection providing basic language support (C/Fortran/C++)
- a MPI implementation for multi-node communication
- a set of linear algebra libraries (FFTW/BLAS/LAPACK) for accelerated math
Python/3.5.1-intel-2016a Python/3.5.2-foss-2017A Python/3.5.2-GCCcore-6.3.0-bare Python/3.5.2-intel-2016a Python/3.5.2-intel-2016b Python/3.5.2-intel-2017A Python/3.5.2-iomkl-2017A
Which Python to use ?
If your project requires a specific version of python language (Ex. 2.7.11) and compiler than use that particular version. If