Python-Teaching

From Research Computing Center Wiki
Revision as of 11:35, 10 August 2018 by Yhuang (talk | contribs)
Jump to navigation Jump to search

Category

Programming

Program On

Teaching

Version

3.5.2

Author / Distributor

Python

Description

"Python is a programming language that lets you work more quickly and integrate your systems more effectively." More details are at Python

Running Program

The last version of this application is at /usr/local/apps/eb/Python/3.5.2-foss-2016b

To use this version, please loads the module with

ml Python/3.5.2-foss-2016b 

Here is an example of a shell script, sub.sh, to run on at the batch queue:

#!/bin/bash
#SBATCH --job-name=j_Python
#SBATCH --partition=batch
#SBATCH --mail-type=ALL
#SBATCH --mail-user=username@uga.edu
#SBATCH --ntasks=1
#SBATCH --mem=10gb
#SBATCH --time=08:00:00
#SBATCH --output=Python.%j.out

cd $SLURM_SUBMIT_DIR
ml Python/3.5.2-foss-2016b

[options]

In the real submission script, at least all the above underlined values need to be reviewed or to be replaced by the proper values.

Please refer to Running_Jobs_on_the_teaching_cluster, Run X window Jobs and Run interactive Jobs for more details of running jobs at Teaching cluster.


Here is an example of job submission command:

sbatch ./sub.sh 

Documentation

ml Python/3.5.2-foss-2016b 
  

Back to Top

Installation

Source code is obtained from Python

System

64-bit Linux