Intel® Advisor XE 2013

Threading design and prototyping tool for software architects

  • Analyze, design, tune and check your threading design before implementation
  • Explore and test threading options without disrupting normal development
  • Predict thread errors & performance scaling on systems with more cores

Buy Now

Or Download a Free 30-Day Evaluation Version

Simplify, Demystify and Speed Threading Design

Intel® Advisor XE is a threading prototyping tool for C, C++, C# and Fortran. Quickly model and compare the performance scaling of different threading designs without the cost and disruption of implementation. Find and fix data sharing issues during design when they are less expensive to fix.


Intel Advisor XE 2013’s suitability analysis gives you a performance estimate before you invest significant effort in implementation. Implement only the options that have a high return on investment.
  • Profiling identifies where an application will benefit most from parallelism
  • Compare the effort and benefit of alternatives before you invest in implementation
  • Guides resolution of key data conflicts. Assists in adding synchronization.

Quotes:

“Intel® Advisor XE can be invaluable in developing the understanding required to parallelize existing code. It assists with identifying opportunities, designing tests, modeling scenarios and revealing flaws.”
Matt Osterberg,
Senior Software Engineer,
Vickery Research Alliance

“It's powerful to have the performance and correctness analysis combined together in Intel Advisor XE. Experimenting with different parallelization techniques is much faster and more convenient.”
Arthur Yuldashev,
Senior Lecturer,
Ufa State Aviation Technical University

Workflow For Effective Design

Workflow For Effective Design

Intel Advisor XE 2013’s workflow panel guides you through the steps to successfully add effective threading to your application. Implementation is delayed until step 5. This lets you use the active code base and continue to release product updates during the design phase (steps 1-4).

Survey – Search for Parallel Sites

1. Survey – Search for Parallel Sites

Start by measuring you app to see where it will benefit from parallelism. There is no point in expending effort unless it will pay off with better performance.

2. Annotate Your Source

Insert annotations in your source code to quickly sketch out potential parallelism. Intel Advisor XE provides coding examples and lets you easily cut and paste them into your source.

Check Performance - Compare Alternative Designs

3. Check Performance - Compare Alternative Designs

Check the performance and scalability of the design you sketched out. Is it as fast as you thought? How will it scale on systems with more processors? Intel Advisor XE recommends possible changes and estimates their performance benefit.

Check Correctness

4. Check Correctness

Do you have any data sharing problems that can lead to deadlocks or races? Find and fix them now before you implement the parallelism.

Intel Advisor XE gives you a list of errors and shows you a snippet of the code at all the related code locations, with click-through navigation to the actual source location.

Parallel Programming Models

C, C++

  • Intel® TBB
  • Intel® Cilk™ Plus
  • OpenMP

C#

  • Microsoft TPL*

Fortran

  • OpenMP

5. Implement - Choose A Parallel Programming Model

Implement parallelism using a productive parallel programming model that yields scalable and reliable parallelism with fewer lines of code.

Intel® Threading Building Blocks (Intel® TBB) has a rich set of abstractions. Intel Cilk Plus is simple. OpenMP is compatible with legacy code. Microsoft TPL* is designed for C#.

Simplify

Ideally Intel Advisor XE 2013 would automatically add threading to your application and make it run faster. Unfortunately, the technology for doing this well is beyond the current state of the art. Instead, Intel Advisor XE is designed for a software architect or developer. It automates the analyses required and gives the developer the information needed to productively add effective threading to an existing application.

Automate Analysis

Intel Advisor XE 2013 runs a performance analysis to identify opportunities for loop, task and recursive parallelism. Next, use simple code annotations to quickly describe potential parallelism and let Intel Advisor XE 2013 estimate the performance and suggest changes. Then run a correctness report to discover critical synchronization issues.

Demystify

Intel Advisor XE 2013’s workflow window sequences and tracks the steps required for effective threading design. Whether you are new to threading or an experienced professional, this checklist approach keeps you organized.

Explore Alternatives Before Implementation

Looping through this design process lets you quickly explore alternatives and make tradeoffs. Intel Advisor XE 2013 helps you make better design decisions by accurately projecting performance and identifying synchronization errors. You get faster parallel performance while avoiding costly design errors.

Parallelize Without Adding Schedule Risk

The delayed implementation workflow means that the threading design, performance projection and error analysis can proceed in parallel with normal release development. Annotations describe your design to Intel Advisor XE 2013 letting it give you better performance and correctness information, but make no changes to your compiled code. You can continue to release product updates during the design of your parallelism. All your test cases continue to work. Verify that your application is stable and correct before you implement parallelism.

Cut and Paste Templates

Once the design is final, Intel Advisor XE 2013 provides cut and paste templates to implement threading using a one of several parallel programming models.

Productive Parallel Programming Models

All the Intel® Studio XE products include a selection of productive parallel models such as Intel® TBB and Intel® Cilk™ Plus. Implementing parallelism at a higher level yields scalable and reliable parallelism with fewer lines of code. Task-based algorithms, containers and synchronization primitives simplify parallel application development. The task scheduler for Intel® TBB and Intel® Cilk™ Plus dynamically maps tasks to threads to load balance, preserve cache locality and increase performance. This lets you develop faster and deliver more performance with less code to maintain.

Open Parallel Programming Models

Intel Advisor XE 2013 gives you a choice of open and industry standard parallel programming models.

  • Intel® TBB – commercial and open source
  • Intel® Cilk™ Plus – Intel® and GCC* compilers (currently in the development branch for GCC)
  • Intel® OpenMP – Industry standard
  • Microsoft TPL* - Microsoft* standard for C#

What’s New?

  • Linux* OS in addition to Windows* OS.
  • More languages: C, C++, C# and Fortran
  • More parallel models
  • Command line and standalone graphical user interface in addition to Visual Studio integration.

Technical Specifications

For additional details, please see the release notes

What’s New?

  • Linux* OS in addition to Windows* OS.
  • More languages: C, C++, C# and Fortran
  • More parallel models
  • Command line and standalone graphical user interface in addition to Visual Studio integration.

Open Parallel Programming Models

Intel Advisor XE 2013 gives you a choice of open and industry standard parallel programming models.

  • Intel® TBB – commercial and open source
  • Intel® Cilk™ Plus – Intel® and GCC* compilers (currently in the development branch for GCC)
  • Intel® OpenMP – Industry standard
  • Microsoft TPL* - Microsoft* standard for C#

Workflow For Effective Design

Workflow For Effective Design

Intel Advisor XE 2013’s workflow panel guides you through the steps to successfully add effective threading to your application. Implementation is delayed until step 5. This lets you use the active code base and continue to release product updates during the design phase (steps 1-4).

Survey – Search for Parallel Sites

1. Survey – Search for Parallel Sites

Start by measuring you app to see where it will benefit from parallelism. There is no point in expending effort unless it will pay off with better performance.

2. Annotate Your Source

Insert annotations in your source code to quickly sketch out potential parallelism. Intel Advisor XE provides coding examples and lets you easily cut and paste them into your source.

Check Performance - Compare Alternative Designs

3. Check Performance - Compare Alternative Designs

Check the performance and scalability of the design you sketched out. Is it as fast as you thought? How will it scale on systems with more processors? Intel Advisor XE 2013 recommends possible changes and estimates their performance benefit.

Check Correctness

4. Check Correctness

Do you have any data sharing problems that can lead to deadlocks or races? Find and fix them now before you implement the parallelism.

Intel Advisor XE 2013 gives you a list of errors and shows you a snippet of the code at all the related code locations, with click-through navigation to the actual source location.

Videos to help you get started.

  • Introduction

  • Series 1

  • Series 2

  • Series 3

  • Series 4

  • Series 5

Register for future Webinars


Previously recorded Webinars:

  • Design and prototype scalable threading using Intel® Advisor XE
  • Prototype and Test Your Threading Design Using Intel Advisor XE

  • Fortran

  • For Windows*
  • Loading Intel Software Documentation...

  • For Linux*
  • Loading Intel Software Documentation...

Supplemental Documentation

No Content Found
Subscribe to

You can reply to any of the forum topics below by clicking on the title. Please do not include private information such as your email address or product serial number in your posts. If you need to share private information with an Intel employee, they can start a private thread for you.

New topic    Search within this forum     Subscribe to this forum


RAVI (Intel)Wed, October 10th 2012 - 9:01
Intel® Advisor XE 2013 Update 3 is now available!0
Intel(R) Advisor XE 2013 Update 3 is now available for both Linux* and Windows*. You can learn more about the product at the Intel(R) Advisor XE Home Page. You can always access the product ...
chauvjoMon, October 15th 2012 - 16:03
We are unable to find registrations/downloads matching this request7
Not sure this is the right forum, but I am getting the following error message when I try and download the latest version (Version 2013 Initial Release or Update 1)  of Intel Advisor XE We are unable to find registrations/downloads matching this request. I have an education license for both Windows ...
newport_jTue, October 2nd 2012 - 10:16
Nested Loops3
  I have a subprogram in my software that has a parallel site that contains nested loops. I am uncertain as to how to annotate them. Can you direct me to some literature on this?   Any help appreciated. Thanks in advance.   Newport_j
newport_jMon, October 1st 2012 - 13:29
ANNOTATE_SITE_BEGIN() and ANNOTATE_TASK_BEGIN()3
When I annotated my first file based on the results of intel Advisor survey, I got the error: 'RRAY' undeclared (first use in this function) Each undeclared indentifier is reported only once for each function it appears in. Now in ANNOTATE_SITE_BEGIN(); and ANNOTATE_TASK_BEGIN(); What must be the ...

Pages

Subscribe to Forums

Intel® Advisor XE 2013 Frequently Asked Questions

Choose a topic:

  • What is Intel® Advisor XE 2013?
  • Intel Advisor XE 2013 is a set of tools that helps you add parallelism to your application in order to improve performance on multi-core systems. It guides you through a sequence of steps to analyze and transform your program for parallelism.

  • Does Intel Advisor XE 2013 automatically parallelize my code?
  • No. However, it does help you get to the point where you can parallelize code confidently and methodically.

  • What are some key things I can learn about my program using Intel Advisor XE 2013 workflow?
  • Intel Advisor XE 2013 helps you identify portions of your code which may be good candidates for parallelization. It can also help you determine when it is not a good idea to parallelize a piece of code.

  • Why do I need Intel Advisor XE 2013? OpenMP, Intel® VTune™ Amplifier XE 2013 and Intel® Inspector XE 2013 seem good enough.
  • Intel Advisor XE 2013 has several unique advantages because of its delayed implementation workflow:

    • Easier debugging. It works by annotating and modeling the "serial" code. Any change you make with Intel Advisor XE 2013 does not affect the correctness of your application. It will not crash due to "bugs" in your parallel implementation. If you use OpenMP directly, it's possible that "bugs" in your implementation may cause your program to behave incorrectly, generate the wrong answers, not converge and maybe even crash. Using a parallel break-point debugger on incorrect parallel programs is not an easy task. Many bugs are "random" in nature, and even when detected usually show you the symptom of the problem not the root cause.
    • Parallelize without adding schedule risk. Annotations describe your design to Intel Advisor XE 2013 letting it give you performance and correctness information, but make no changes to your compiled code. You can continue to release product updates during the design of your parallelism. All your test cases continue to work. Verify that your application is stable and correct before you go to the final step – implementing parallelism.
    • Performance estimates with less work. Intel Advisor XE 2013 minimizes the amount of work you need to do to get the first estimates of potential performance improvements. Due to Amdahl's law, we know that we must focus our parallelism on the parts of the application in which the most CPU time us used. Intel Advisor XE 2013 lets you quickly get this answer, whereas with OpenMP, your program may not run correctly, or may not even run at all, so you would need to spend significant time debugging just to get to the answer that you are starting at the wrong place in your application.
    • Compare optimizations. Intel Advisor XE 2013 can tell you how to improve your parallel model, based on sensitivity analysis of the model to 5 different kinds of parallel overhead. Intel Advisor XE 2013 by default gives you an evaluation of how your application may run under a default programming model. It also calculates how it would run under 5 different kinds of optimizations. If any of these optimizations give a substantially better answer, you know which aspect of your parallel model to tune, in order to try and achieve the benefits of the optimization.
    • Workflow guides people new to parallel design. You may be an expert, but others on your team may not. Intel Advisor XE 2013 gives you the opportunity to train your entire team on effective parallelization strategies so not only are you more productive (others can use Intel Advisor XE 2013 to answer their questions instead of asking you), but your entire team becomes more productive too.
    • Analyze scalability. Intel Advisor XE 2013 annotations allow you to see the performance of you proposed parallel solution for various core counts via the Suitability analysis. If you have the luxury of being in the design phase of adding parallelism, you can make sure your solution will scale to more cores when they are available. If you go straight to parallelism via OpenMP, TBB, etc. you will only see the performance on the hardware available but won’t have an indication of how your parallel implementation will scale.
  • Can Intel Advisor XE 2013 be used on applications for Intel® Many Integrated Core Architecture (Intel® MIC Architecture)?
  • Yes. Intel Advisor XE 2013 currently does not directly support applications compiled for Intel® MIC Architecture execution, but it can be a powerful tool in the process of creating these applications. The first step in creating an application for Intel® MIC Architecture is to identify the potential parallelism, and to validate that this parallelism is expressible on the host platform. This is exactly the problem for which Intel Advisor XE 2013 was created.

  • Can you run Intel Advisor XE 2013 on an MPI application?
  • Yes. Intel Advisor XE 2013 currently does not understand MPI parallelism, but can be used to add thread level parallelism to an MPI application.

    Intel Advisor XE 2013 is designed to analyze serial code to help you understand how to optimize it through parallelization. Each rank of an MPI program is really a serial application. Therefore by using the Intel Advisor XE 2013 methodology on this code you can determine if additional parallel opportunity is present which you might be able to exploit. Intel Advisor XE 2013 does not analyze your MPI API usage, it basically ignores it. To use Intel Advisor XE 2013 on an MPI program you annotate the sequential code between MPI API calls the same as you would any other serial code section. Then you launch the advixe-cl command-line tool via the mpirun command. Each MPI rank on which the advixe-cl command is applied will generate a separate output result. You can manually copy this output result back to your host machine and then use advixe-gui to open and view this result.

  • Does Intel Advisor XE 2013 model memory bandwidth and cache behavior?
  • No, Intel Advisor XE 2013 does not model memory bandwidth or cache behavior.

    Intel Advisor XE 2013 is meant as the first tool to help you understand the structure and behavior of your serial application as you work to refactor it into parallel form. This process is composed of multiple steps. Each of these steps is necessary to accomplish in order to have a successful result. Intel Advisor XE 2013 helps you with the first of these steps, and then you transition to using Intel VTune Amplifier XE 2013, and Intel Inspector XE 2013 for the final steps.

    In a practical parallel program you must identify sufficient computation to execute in parallel to achieve you performance goals. If you do not do this, then additional restrictions (such as problems caused by limited memory bandwidth, or limited cache size) are mostly irrelevant. Intel Advisor XE 2013 evaluates the theoretical upper bound of available parallelism taking only code partitioning into independent tasks into account. With this partitioning, Intel Advisor XE 2013 allows you to understand if this exposes sufficient parallelism to achieve reasonable performance, and helps you understand the sensitivity of your proposed parallel model to scheduling overhead found in parallel frameworks, and helps you understand if you need to fix any data declaration, or synchronization issues which would otherwise cause your application to generate incorrect results when run in parallel.

    Once you have a model of a parallel execution as expressed via annotations that is both suitable for possible performance, and for correctness, then you can express this via the parallel framework. With the code refactored to use a parallel framework, you no longer have a serial application, and you are done using Intel Advisor XE 2013. At this point you evaluate your newly written parallel application using Intel VTune Amplifier XE 2013 to see how it maps to actual parallel hardware (including memory bandwidth and cache size effects). And you can use Intel Inspector XE to evaluate correctness and synchronization issues that may not have been present in a model which was strictly defined by relaxed-sequential execution.

  • How does Intel Advisor XE 2013 deal with already parallel applications? How do OpenMP/MPI co-exist with Intel Advisor XE 2013 annotations?
  • Intel Advisor XE 2013 models serial code. In any application serial or parallel, almost all of the code executed is serial. For example, in an application that has multiple threads, each thread is actually equivalent to a serial program. Intel Advisor XE 2013 separates each of these "concurrent" threads of execution into a separate serial analysis.

    In practice, it is usually most effective and understandable to disable any explicit parallelization in your application before using Intel Advisor XE 2013. This is usually done by setting the number of threads to be 1, such that any existing parallelized code is mapped to a single thread of execution.

    If this can be done, then you really do have a serial program, and then your task in using Intel Advisor XE 2013 is in trying to identify a new opportunity which has not already been parallelized. This might be a serial code region between two already parallelized regions. Or it might be hierarchical parallelism, where you are adding another level of parallelism to an already parallelized region. For example, you might have parallelized an inner-loop in a function, but you find that it is also productive to parallelize an outer-loop to increase the resulting scalability of the function.

  • How does Intel Advisor XE 2013 model an already parallel region?
  • Intel Advisor XE 2013 does not model already parallel regions. It ignores the fact the program may already be parallel, and instead treats each sequential thread of execution separately.

  • Does Intel Advisor XE 2013 model a Parallel Framework accurately?
  • No, but it does use the information to estimate scheduling and synchronization overhead. Intel Advisor XE 2013's job is not to perfectly predict the performance of your final parallel program after you finish the refactoring. Intel Advisor XE 2013's purpose is to help you make decisions to guide you along the path to create an effective parallel program.

    In particular Intel Advisor XE 2013 is always using heuristics and simplifying assumptions to make what it does practical. For Suitability, it approximates the tasking structure to only focus on the critical (usually large tasks), and it uses statistics to model the smaller tasks. It uses a theoretical "ideal" model of a parallel machine in order to do a quick evaluation of your program to tell you if you are on the right track.

    Intel Advisor XE 2013 lets you choose a Parallel Framework because:

    • This lets you document your expectation of what Parallel Framework you will ultimately use.
    • We use the Parallel Framework to estimate scheduling and synchronization overhead.

    Different parallel frameworks typically have different costs due to the way they are implemented. The task dispatch cost in TBB is slightly higher than in Cilk because TBB cannot use special code-generate strategies that are possible with a language based approach such as Cilk. System API's (such as CreateThread, or POSIX routines like mutexes) may be much higher overhead than specially optimized routines in a parallel run-time.

    The main purpose of the Suitability view is to help you understand the sensitivity of your chosen parallelism model to various overhead. You see these results in two different ways:

    • When you use the check-marks (on/off), you either consider or do not consider 5 different types of overhead which apply to your parallel model.
    • When you switch to a different parallel framework, you choose a new set of overheads to apply to the models.

    Quite often, if your parallelism model is not sensitive to overhead, then you will see almost identical results from each of the framework choices.

    However, in the cases where it shows a big difference, this is either telling you that you should use a parallel framework with more efficient task-dispatch and synchronization, or you should continue to work to refine your parallelism model so that it is not as sensitive to the overhead of the parallel framework.

  • Why does Intel Advisor XE 2013 use annotations as its modeling language instead of parallel framework syntax?
  • An advantage of Intel Advisor XE 2013's modeling language is that it is a simplification over what would be required in a parallel framework to express a fully correct parallel application. You don't need to get it all right at the same time, you can use the annotations incrementally, starting with an incomplete, incorrect annotated parallel model, and over time refine it to be more accurate and complete. Intel Advisor XE 2013 also does not require extensive refactoring that might be necessary with Threading Building Blocks. Deferring this refactoring until you are confident you have a good solution proposed allows you to explore many different alternative solutions before picking the right one for your application.

    Annotations describe your design to Intel Advisor XE 2013, but make no changes to your compiled code. You can continue to release product updates during the design of your parallelism. All your test cases continue to work. Verify that your application is stable and correct before you go to the final step – implementing parallelism.

  • Does Intel Advisor XE 2013 automatically convert modeling annotations into parallel framework code?
  • No. This would be a good research topic in automatic code refactoring. Our focus with Intel Advisor XE 2013 is to automate the analysis that will help a developer productively add parallelism. We’d like to do it all “automatically”, but there are still some things people do better.

  • Will Intel Advisor XE 2013 find all threading errors in my program when using correctness analysis?
  • Though it is likely that Intel Advisor XE 2013 can find any memory or threading errors present in the code paths exercised in some applications at the highest levels of analysis, there is no guarantee that Intel Advisor XE 2013 will find all threading errors in your program.

  • Do I have to recompile and rebuild my programs to use Intel Advisor XE 2013?
  • As part of the Intel Advisor XE 2013 workflow, you will need to recompile and rebuild your programs after adding annotations and prior to running Suitability (a release build is recommended) and prior to running Correctness (a debug build is recommended). We recommend use of debug binaries or release binaries with debug information, so that error reports can be attributed to source code locations.

  • Does Intel Advisor XE 2013 correctness analysis run in a separate process?
  • No, the analysis related code/data is injected into your program’s address space at runtime.

  • Can Intel Advisor XE 2013 attach to or detach from my running process?
  • No, current Intel Advisor XE 2013 does not support process attach or detach. In order to find multithreaded bugs in your process, Intel Advisor XE 2013 has to monitor synchronization events and related annotations from the start of the program.

    Of course, you can always stop Intel Advisor XE 2013 manually at any time after analysis starts.

Intel® Advisor XE

Getting Started?

Click the Learn tab for guides and links that will quickly get you started.

Get Help or Advice

Search Support Articles
Forums - The best place for timely answers from our technical experts and your peers. Use it even for bug reports.
Support - For secure, web-based, engineer-to-engineer support, visit our Intel® Premier Support web site. Intel Premier Support registration is required.
Download, Registration and Licensing Help - Specific help for download, registration, and licensing questions.

Resources

Release Notes - View Release Notes online!
Product Documentation - View documentation online!