[ONLINE] Parallel and GPU Programming in Python @SURF

CET
[ONLINE]

[ONLINE]

Description

Would you like to obtain the best performance from your Python codes and get good scalability even in a supercomputer?

In this course you will learn about parallel programming using Python, a language has become more and more popular among researchers for its simplicity and the availability of specific programming libraries. In large compute systems it is essential to exploit heterogeneous architectures correctly, and here you will understand the different challenges and how to overcome them with different Python features for CPU and GPU platforms that have direct application for scientific computing.

What?

In this course you will:

- Understand the limits and merits of parallel programming and its use with Python

- Implement code using different libraries for parallel programming on CPU and GPU, including numba, PyCUDA or mpi4py.

- Experience how to achieve high performance with Python using the supercomputing facilities at SURF

Who?

- Everyone interested in learning how to get high performance for Python codes

Requirements:

- Basic knowledge of Linux

- Basic knowledge of Python and use of Jupyter notebooks

You should have:

- Your own laptop with an up-to-date browser and a terminal emulator. The use of the operating systems Linux and macOS is preferred, but not mandatory. For Windows users we recommend to download MobaXterm (portable version) as terminal emulator.

    • 9:00 AM 9:45 AM
      Welcome & Introduction
    • 9:45 AM 11:00 AM
      Introduction to Python and parallel computing
    • 11:00 AM 11:15 AM
      Coffee break 15m
    • 11:15 AM 12:00 PM
      Hands-on: Introduction to efficient Python CPU programming
    • 12:00 PM 1:00 PM
      Lunch 1h
    • 1:00 PM 2:00 PM
      Parallel programming for CPU architectures in Python I
    • 2:00 PM 2:15 PM
      Coffee break 15m
    • 2:15 PM 3:15 PM
      Parallel programming for CPU architectures in Python II
    • 3:15 PM 3:30 PM
      Coffee break 15m
    • 3:30 PM 5:00 PM
      Hands-on: distributed memory programming with mpi4py
  • Wednesday, May 4
    • 9:00 AM 10:00 AM
      Introduction to the GPU computing
    • 10:00 AM 10:15 AM
      Coffee break 15m
    • 10:15 AM 11:15 AM
      GPU programming with Python
    • 11:15 AM 12:15 PM
      Hands-on: GPU programming with Python
    • 12:15 PM 1:15 PM
      Lunch 1h
    • 1:15 PM 2:45 PM
      Advanced GPU programming with Python
    • 2:45 PM 3:00 PM
      Coffee break 15m
    • 3:00 PM 5:00 PM
      Hands-on: Advanced GPU computing with Python