UL HPC School 2017
PS9: [Advanced] Prototyping with Python
UL High Performance Computing (HPC) Team
- C. Parisot
University of Luxembourg (UL), Luxembourg http://hpc.uni.lu
1 / 12
- C. Parisot (University of Luxembourg)
UL HPC School 2017
UL HPC School 2017 PS9: [Advanced] Prototyping with Python UL - - PowerPoint PPT Presentation
UL HPC School 2017 PS9: [Advanced] Prototyping with Python UL High Performance Computing (HPC) Team C. Parisot University of Luxembourg (UL), Luxembourg http://hpc.uni.lu C. Parisot (University of Luxembourg) UL HPC School 2017 1 / 12
UL High Performance Computing (HPC) Team
University of Luxembourg (UL), Luxembourg http://hpc.uni.lu
1 / 12
UL HPC School 2017
https://github.com/ULHPC/tutorials
http://hpc.uni.lu/hpc-school/
https://github.com/ULHPC/tutorials/tree/devel/advanced/Python/ 2 / 12
UL HPC School 2017
Introduction
1 Introduction 2 Python for [Fast] Scientific Prototyping 3 Using Python on UL HPC Clusters
3 / 12
UL HPC School 2017
Introduction
4 / 12
UL HPC School 2017
Python for [Fast] Scientific Prototyping
1 Introduction 2 Python for [Fast] Scientific Prototyping 3 Using Python on UL HPC Clusters
5 / 12
UL HPC School 2017
Python for [Fast] Scientific Prototyping
$> pip install <package>
# install <package>
6 / 12
UL HPC School 2017
Python for [Fast] Scientific Prototyping
$> pip install <package>
# install <package>
$> pip install -U pip
# upgrade on Linux/Mac OS
6 / 12
UL HPC School 2017
Python for [Fast] Scientific Prototyping
$> pip install <package>
# install <package>
$> pip install -U pip
# upgrade on Linux/Mac OS
$> pip freeze -l > requirements.txt
# as Ruby Gemfiles
6 / 12
UL HPC School 2017
Python for [Fast] Scientific Prototyping
# (rootdir)/.env : autoenv configuration file pyversion=‘head .python-version‘ pvenv=‘head .python-virtualenv‘ pyenv virtualenv --force --quiet ${pyversion} ${pvenv}-${pyversion} # activate it pyenv activate ${pvenv}-${pyversion}
7 / 12
UL HPC School 2017
Using Python on UL HPC Clusters
1 Introduction 2 Python for [Fast] Scientific Prototyping 3 Using Python on UL HPC Clusters
8 / 12
UL HPC School 2017
Using Python on UL HPC Clusters
9 / 12
UL HPC School 2017
Using Python on UL HPC Clusters
10 / 12
UL HPC School 2017
Using Python on UL HPC Clusters
11 / 12
UL HPC School 2017
Thank you for your attention...
http://hpc.uni.lu The UL High Performance Computing (HPC) Team University of Luxembourg, Belval Campus: Maison du Nombre, 4th floor 2, avenue de l’Université L-4365 Esch-sur-Alzette mail: hpc@uni.lu
1
Introduction
2
Python for [Fast] Scientific Prototyping
3
Using Python on UL HPC Clusters 12 / 12
UL HPC School 2017