5.B.1 SimpleTechniques for Debugging
See list of typical bugs in Module 3.
Is sequential version different?
Check parallel P=1 results
Printing Tips --
- Put the prints in a critical section
- Add the thread or process id at the beginning
- Add iteration to check sequential consistency
- Checksum shared memory regions