Debugging Strategies

Debugging a parallel program tends to be more difficult than debugging a serial program. Use of Intel® Cilk™ Plus is designed to simplify the challenge of parallel debugging as much as possible. Start by debugging the serialization first.

Follow these guidelines to minimize the problem of debugging parallel programs:

It may be simpler to debug programs built without optimizations. Debugging without optimizations turns off inlining, resulting in a more accurate call stack; additionally, the compiler does not attempt to reorder instructions and optimize register usage.


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.