English | 中文 | Русский | Français
2,598 Posts served
8,347 Conversations started
Did you know that Intel® Parallel Advisor Lite offers you the ability to prototype (model) parallelism in your serial application? It lets you scope the effort of parallelizing your application while continuing to use your existing test system and debugging tools as you make source modifications to avoid data sharing issues.
To model potential parallelism, you insert Parallel Advisor Lite annotations into your source code to mark your tentative decisions about your program's parallel task structure. Annotations are textual hints that will not cause compilation or link-time errors when you are not building for Parallel Advisor Lite or when the Parallel Advisor Lite libraries are not found on your system. By using annotations, you avoid having dependencies on particular compilers or parallel constructs.
How to proceed…


Once you achieve a clean Correctness Modeling run, you have the choice of replacing annotations with the parallel constructs (creating a parallel program) or looking for another region to prototype. You will be able to exploit the full potential of the Intel® Parallel Studio tools now that you have parallelized your application, such as using Intel(R) Parallel Amplifier to improve concurrency or Intel(R) Parallel Inspector to check for threading errors.
For more information about where and when to insert annotations can be found in our Parallel Advisor Lite help Task Organization and Annotations and in our Annotation Reference sections.

Note: Our annotate.h includes windows.h. This is due to combining what would typically be found in an annotate.h/.cpp file pair into a single file. Unfortunately, this inclusion can result in unexpected compilation errors when your application already includes windows.h. You can sidestep this issue by defining “WIN32_LEAN_AND_MEAN” as shown below

