I think the general recommendation with OpenMP is that for nested loops the inner loops should not be parallelized. Or more precisely, only one level of parallelism, and usually the outermost is the ...
Examine the delicate branching patterns on a leaf or a dragonfly’s wing and you’ll see a complex network of nested loops. This pattern can be found scattered throughout nature and structural ...