Typical Parallel Bugs
Problem: Not saving values from parallel regions
- Symptom: Bad Answers, core dump. Assure uninitialized reads
- Fix: Lastlocal? / Transfer from local into shared.
Problem: Unsynchronized access
- Symptom: Bad Answers. Assure storage conflicts.
- Fix: Critical Section? / Barrier / Local accumulation.
Problem: Numerical inconsistency
- Symptom: Run-to-run variation in answers
- Fix: Different scheduling mechanisms / Ordered sections / Consistent parallel reductions