Solutions to the exercises found in OpenMP introductory slides from N. Trifonidis, used during the OpenMP course in MSc Computational Physics at AUTh, and the exercises set given by N. Stergioulas.
For simplicity in C/C++ versions the matrices are represented as simple 1d arrays/vectors.
Meaning that elements
Aij = A[i*n + j]
with A
a std::vector
, A.size()
equals n*m
.
TODO: Add validation to f90 files.
TODO: Solve and add 2019 homework set.
The slides are available in [1], [2] (written in Greek). Also, N. Stergioulas has a repo with some example programs that introduce OpenMP concepts.