Loughborough University
Leicestershire, UK
LE11 3TU
+44 (0)1509 222222
Loughborough University

IT Services : High Performance Computing

OpenMP


Introduction

This is primarily available for C, C++ and Fortran and uses a series of directives in the code to create threads to do things like perform loops for vector algebra in parallel (see vectorisation), and other tasks similar to threading.

The big advantage of OpenMP is that it is much easier to write code for OpenMP than for threaded applications, and easy to turn it off and turn the application back into a single threaded one.

A further advantage is that it is converging with OpenACC.

OpenMP is limited to the number of cores on a single machine.