Python-Teaching: Difference between revisions

From Research Computing Center Wiki
Jump to navigation Jump to search
(Created page with "Category:TeachingCategory:SoftwareCategory:Programming === Category === Programming === Program On === Teaching === Version === 2.7.12 === Author...")
 
No edit summary
Line 9: Line 9:


=== Version ===
=== Version ===
2.7.12
3.6.4
   
   
=== Author / Distributor ===
=== Author / Distributor ===
Line 21: Line 21:
=== Running Program ===
=== Running Program ===


The last version of this application is at /usr/local/apps/eb/Python/2.7.12-foss-2016b
The last version of this application is at /usr/local/apps/eb/Python/3.6.4-foss-2018a


To use this version, please loads the module with
To use this version, please loads the module with
<pre class="gscript">
<pre class="gscript">
ml Python/2.7.12-foss-2016b
ml Python/3.6.4-foss-2018a
 
 
</pre>  
</pre>  


Line 44: Line 42:
   
   
cd $SLURM_SUBMIT_DIR<br>
cd $SLURM_SUBMIT_DIR<br>
 
ml Python/3.6.4-foss-2018a<br>  
ml <!-- TEST_COMMAND BEGIN --><!-- TEST_COMMAND END --> <u>[options]</u><br>   
<u>[options]</u><br>   
</div>
</div>
In the real submission script, at least all the above underlined values need to be reviewed or to be replaced by the proper values or be reviewed .   
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]], [[Running_Jobs_on_the_teaching_cluster#Running_an_X-windows_application | Run X window Jobs]] and [[Running_Jobs_on_the_teaching_cluster#How_to_open_an_interactive_session | Run interactive Jobs]] for more details of running jobs at Teaching cluster.
Please refer to [[Running_Jobs_on_the_teaching_cluster]], [[Running_Jobs_on_the_teaching_cluster#Running_an_X-windows_application | Run X window Jobs]] and [[Running_Jobs_on_the_teaching_cluster#How_to_open_an_interactive_session | Run interactive Jobs]] for more details of running jobs at Teaching cluster.
Line 60: Line 58:
   
   
<pre  class="gcommand">
<pre  class="gcommand">
Python/2.7.12-foss-2016b
ml Python/3.6.4-foss-2018a
 


</pre>
</pre>

Revision as of 11:35, 10 August 2018

Category

Programming

Program On

Teaching

Version

3.6.4

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.6.4-foss-2018a

To use this version, please loads the module with

ml Python/3.6.4-foss-2018a 

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.6.4-foss-2018a

[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.6.4-foss-2018a 
  

Back to Top

Installation

Source code is obtained from Python

System

64-bit Linux