4.A.2 OpenMP death-traps
- Are you using threadsafe libraries?
- I/O inside a parallel region can interleave unpredictably.
- Make sure you understand what your constructors are doing with private objects.
- Private variables can mask globals.
- Understand when shared memory is coherent. When in doubt, use FLUSH.
- NOWAIT removes implied barriers.