Difference between revisions of "OpenMP"
Jump to navigation
Jump to search
m |
|||
Line 21: | Line 21: | ||
Please check the more detailed tutorials in the References. | Please check the more detailed tutorials in the References. | ||
− | == | + | == Materials == |
[https://doc.itc.rwth-aachen.de/download/attachments/35947076/01_IntroductionToOpenMP.pdf Introduction to OpenMP from PPCES (@RWTH Aachen) Part 1: Introduction] | [https://doc.itc.rwth-aachen.de/download/attachments/35947076/01_IntroductionToOpenMP.pdf Introduction to OpenMP from PPCES (@RWTH Aachen) Part 1: Introduction] | ||
Revision as of 11:08, 26 February 2019
OpenMP is an open standard for Shared Memory parallelization. Information on how to run an existing OpenMP program can be found in the "How to Use OpenMP"-Section.
General
OpenMP programming is mainly done with pragmas:
#include <stdio.h>
int main(int argc, char* argv[])
{
#pragma omp parallel
{
printf("Hallo Welt!\n");
}
return 0;
}
interpreted by a normal compiler as comments, these will only come into effect when a specific compiler (options) is utilized like detailed here.
Please check the more detailed tutorials in the References.
Materials
Introduction to OpenMP from PPCES (@RWTH Aachen) Part 1: Introduction
Introduction to OpenMP from PPCES (@RWTH Aachen) Part 2: Tasking in Depth
Introduction to OpenMP from PPCES (@RWTH Aachen) Part 3: NUMA & SIMD
Introduction to OpenMP from PPCES (@RWTH Aachen) Part 4: Summary