Hello World code

Script to run openmp codes on its network

Parallelizing simple for loops

Using reduction in an openmp code

Parallel code executed in a function - orphan control

Using reduction to calculate pi

Using scheduling to dynamically allocate thread tasks

Using static scheduling to allocate thread tasks + timings

Using sections to achieve functional parallelism

Calculating pi using a critical section

Calculating pi using an atomic directive

Example of calculating primes with and without OpenMP Sieve of Eratosthenes
Go back to CISC 7340 homepage