Jste zde

Introduction to OpenMP

Čt, 24.04.2014 9:30 - Pá, 25.04.2014 15:30
VŠB - Technical University Ostrava, CPI building, room PI332
Matthijs van Waveren (OpenMP ARB)
basic - intermediate


OpenMP® is the de facto standard for writing parallel applications for shared memory computers. With multi-core processors in everything from tablets to high-end servers, the need for multithreaded applications is growing and OpenMP is one of the most straightforward ways to write such programs.

OpenMP supports parallel programming in C, C++ and Fortran on a wide range of computer systems and operating systems, like Unix, Linux, and Windows. It is jointly defined by a group of major computer hardware vendors, software vendors, and software developers. The OpenMP API provides a portable, scalable programming model that gives shared-memory parallel programmers a simple and flexible interface for developing parallel applications for a wide variety of platforms.

In this workshop, we will cover the core features of the OpenMP 3.1 standard. This will be a hands-on workshop. We expect students to use their own laptops (with Windows, Linux, or OS/X). We will have access to the Anselm supercomputer with an OpenMP compiler. Students can also load an OpenMP compiler onto their laptops before the workshop. Information about OpenMP compilers is available at http://www.openmp.org.

Purpose of the course (benefits for the attendees)

The purpose of the course is that students have an overview of and experience with OpenMP, one of the most widely used parallel programming models.

The workshop is split in two days. Exercises will be given throughout the two days. The first day of the workshop contains an introduction to OpenMP, and will cover threads, synchronization, parallel loops, the master and worksharing constructs and locks, and the data environment.

The second day will cover tasks, the memory model, and threadprivate data. Students will program an actual application at the end of the workshop.


Thursday, April 24, 2014
10:00-11:30Introduction to OpenMP
11:30-12:30time for lunch
12:30-14:00Creating threads & synchronization
14:00-14:30coffee break
14:30-16:00Parallel loops, master, worksharing & locks
16:00-16:30coffee break
16:30-18:00Data environment
Friday, April 25, 2014
coffee break
11:00-12:30Memory model, and threadprivate data
12:30-13:30time for lunch
13:30-15:30Challenge problems


Notebook  and ability to program in Fortran, C or C++.  Anselm account recommended. (Temporary Anselm accounts will be created for the course participants.)


Obligatory registration - registration form here; prolonged deadline April 22, 2014 or exhausted course capacity.


30 attendees


  • Please note the last minute CHANGE IN VENUE:  CPI building, seminar room PI332 (instead of FEI building), c.f. the campus map below.
  • Do not forget your notebook.
  • Anselm training accounts will be distributed at the registration.
  • Anselm cluster documentation is available at http://support.it4i.cz/docs.