Python-Sapelo2

From Research Computing Center Wiki
Jump to navigation Jump to search

Category

Programming

Program On

Sapelo2

Version

2.7.14, 2.7.15, 2.7.16, 3.7.4, 3.8.2

Author / Distributor

The Python Software Foundation

Description

Python is a programming language.

Running Program

Also refer to Running Jobs on Sapelo

We have a set of pythons installed on Sapelo2:

ml spider Python

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Python:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      Python is a programming language that lets you work more quickly and integrate your systems more effectively.

     Versions:
        Python/2.7.14-GCCcore-6.4.0-bare
        Python/2.7.15-fosscuda-2018b
        Python/2.7.16-GCCcore-8.3.0
        Python/3.7.4-GCCcore-8.3.0
        Python/3.8.2-GCCcore-8.3.0
     Other possible modules matches:
        Biopython  Boost.Python  GitPython  IPython  bx-python  netcdf4-python  openslide-python

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  To find other possible module matches execute:

      $ module -r spider '.*Python.*'

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  For detailed information about a specific "Python" package (including how to load the modules) use the module's full name.
  Note that names that have a trailing (E) are extensions provided by other modules.
  For example:

     $ module spider Python/3.8.2-GCCcore-8.3.0
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Example

To use Python 2.7.14, you can use the following in the first line of your Python code:

#!/usr/local/apps/eb/Python/2.7.14-foss-2016b/bin/python

Or use the following line in the first line of your Python code:

#!/usr/bin/env python

an then you run your program as:

module load Python/2.7.14-foss-2016b

python myProgram.py

Documentation

Please see http://www.python.org/

Installation

EasyBuild recipes

System

64-bit Linux