I am just starting to play around with using OpenMP but I am finding some really weird behaviour.
This code works fine (but provides no benefit over the non-OpenMP ve