Hprc banner tamu.png

Difference between revisions of "SW:Python"

From TAMU HPRC
Jump to: navigation, search
(Python)
(Python)
Line 6: Line 6:
  
 
To check the available Python modules on a cluster. Please type the following command.  
 
To check the available Python modules on a cluster. Please type the following command.  
[NetID@cluster NetID]$ module spider Python
+
  [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 in use.
 +
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

Revision as of 14:36, 11 July 2018

Python

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 in use. 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