Warning message

Submissions for this form are closed.

Introduction to OpenMP and MPI

Introduction to OpenMP and MPI

The purpose of this course is to give a short overview of the most important aspects of OpenMP and MPI. The first half of the day will be focused on OpenMP and the second half of the day on MPI. There will also be a part on how to use profiling tools (VTune) to optimize your code.

If you are only interested in either OpenMP or MPI, it is possible to just attend the relevant part of the course.


THIS IS AN OLD COURSE AND EXAMPLE JOB SCRIPTS ARE NO LONGER VALID. THUS, THE ORIGINAL MATERIAL IS NO LONGER AVAILABLE FOR DOWNLOAD!

Please see the main course page for newer, similar courses which may have material available for download.


9:00 - 12:00: OpenMP

Topics: Parallel for loops, Reduction, Mutual exclusion (locks, barriers), Variables (private, shared, firstprivate), Tasks

13:00 - 17:00: MPI and profiling

Topics: Parallel programming - distributed memory, Getting started with MPI / Parallelizing thrugh Message Passing, Basic MPI routines

Preliminary Schedule

  • 09:00 Brief introduction to HPC2N's systems
  • 09:30 OpenMP - basic concepts
  • 10:30 Coffee break
  • 10:45 OpenMP examples
  • 11:00 Profiling tools (mainly VTune) and OpenMP
  • 11:30 Hands-on: Compiling and running OpenMP programs.
  • 12:00 LUNCH BREAK
  • 13:00 MPI - basic concepts
  • 14:00 MPI examples
  • 14:30 Coffee Break
  • 14:45 Profiling tools and MPI
  • 15:30 Hands-on: Compiling and running MPI programs. Using VTune for profiling.
  • 17:00 End of course

Small examples for running on HPC2N, MPI examples, and OpenMP examples can be found in /home/b/bbrydsoe/pfs/openmp-mpi-course for course participants or downloaded here as tarballs (hpc2n-intro.tar.gz | MPI.tar.gz | OpenMP.tar.gz).

Please bring your own laptop if you wish to participate in the hands-ons. Also, make sure you have an account at HPC2N before the course if you want to take part of the hands-on!

Lunch and coffee/tea will be provided.

Prerequisites: The participants are expected to have a basic knowledge of programming in C or Fortran.

Instructors: Jerry Eriksson, Pedro Ojeda-May, Birgitte Brydsö

Time and date: 26. March, 2018. 09:00 - 17:00.

Location: MIT-Huset, room MA166 (Local directions)

Deadline for registration: 19. March 2018.

Streaming information: We will attempt to stream the course. You can join on

https://connect.sunet.se/rbw3nf2bcuug/

Test your connection here:

https://connect.sunet.se/common/help/en/support/meeting_test.htm

Please register for the course using this form. All fields marked with * are mandatory. REGISTRATION HAS CLOSED FOR THE COURSE!

Updated: 2024-04-17, 14:47