Jan 23 – 25, 2019
CSC - IT Center for Science
Europe/Helsinki timezone

Description

Python programming language has become popular in scientific computing due to many benefits it offers for fast code development. Unfortunately, the performance of pure Python programs is often sub-optimal, but fortunately this can be easily remedied. In this course we teach various ways to optimise and parallelise Python programs. Among the topics are performance analysis, efficient use of NumPy arrays, extending Python with more efficient languages (Cython), and parallel computing with  message passing (mpi4py) approach.

Learning outcome

After the course participants are able to

  • analyse performance of Python program and use NumPy more efficiently
  • optimize Python programs with Cython
  • utilize external libraries in Python programs
  • write simple parallel programs with Python

Prerequisites

Participants need some experience in Python programming, but expertise is not required. One should be familiar with

  • Python syntax
  • Basic builtin datastructures (lists, tuples, dictionaries)
  • Control structures (if-else, for, while)
  • Writing functions and modules

Some previous experience on NumPy will be useful, but not strictly required.

Agenda

Day 1, Wednesday 23.1

  • Efficient use of NumPy

  • Performance analysis

Day 2, Thursday 24.1

  • Optimisation with Cython

  • Interfacing with external libraries

Day 3, Friday 25.1

  • Parallel computing with mpi4py

Lecturers: 

Jussi Enkovaara (CSC), Martti Louhivuori (CSC)

Language:   English
Price:          Free of charge

Starts
Ends
Europe/Helsinki
CSC - IT Center for Science
CSC Training room Dogmi, 1st floor
LIfe Science Center, Keilaranta 14, Espoo, Finland

How to reach us

CSC is located in Keilaniemi, Espoo, 10 km west of the Helsinki City Center. Detailed information is available here.

Accommodation

We recommend choosing a few hotels that are most close to our premises. The nearest hotel is Radisson Blu Espoo, which is in a walking distance (only 500 m) from CSC. Another hotel close to the venue (1,8 km) is Sokos Hotel Tapiola Garden. Other hotels are located in Helsinki' downtown with a frequent and fast metro connection to Keilaniemi. Please note, that there is no special rates for the participants at any hotels.

If you have any questions, please click on the support link on the left to send an e-mail to the local organizers.