Intel® Advisor XE

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 threading errors & performance scaling on systems with more cores

Data Driven Threading Design

Intel® Advisor XE is a threading prototyping tool for C, C++, C# and Fortran software architects. Quickly model and compare the performance scaling of different threading designs without the cost and disruption of implementation. Find and eliminate data sharing issues during design when they are less expensive to fix. Model the performance impact of any added synchronization and project the scaling on systems with larger core counts.

Intel Advisor XE's suitability analysis
Intel Advisor XE'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.

Case Studies

  • Pexip Speeds Enterprise-Grade Videoconferencing
    Pexip, a Norway-based developer of a software-based videoconferencing solutions used Intel® Parallel Studio XE to boost video encoding performance by 2.5 times. This case study covers the issues they were facing, the methodology to identify issues and how they added vectorization into code that matters for better performance.


"Intel® Advisor XE has been extremely helpful in identifying the best pieces of code for parallelization. We can save several days of manual work by targeting the right loops. At the same time, we can use Advisor to find potential thread safety issues to help avoid problems later on."
Carlos Boneti, HPC software engineer, Schlumberger

“Intel® Advisor XE has allowed us to quickly prototype ideas for parallelism, saving developer time and effort, and has already been used to highlight subtle parallel correctness issues in complex multi-file, multi-function algorithms which may eventually have caused lengthy debugging activities later in our code development. We plan to continue to use the tool as we extend our research into more complex algorithms and begin to take further advantage of the thread parallelism and performance of the Intel Xeon and Xeon Phi product family.”
Simon Hammond, Senior Member of Technical Staff, Scalable Computer Architectures, Sandia National Laboratories

“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

Intel Advisor XE'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).

Workflow For Effective Design

1. Survey – Search for Parallel Sites

Start by measuring your app to see where it will benefit from parallelism.

Survey – Search for Parallel Sites

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.

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 projects scalability and helps you evaluate alternative threading designs. Understand potential load imbalance, lock contention and the impact of runtime overhead.

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.

5. Implement - Choose A Parallel Programming Model

Intel Advisor XE gives you a choice of open and industry standard parallel programming models. OpenMP is compatible with legacy code.

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

Parallel Programming Models

C, C++

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


  • Microsoft TPL*


  • OpenMP


Ideally Intel Advisor XE 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.

Explore Alternatives Before Implementation

Looping through this design process lets you quickly explore alternatives and make tradeoffs. Intel Advisor XE 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 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 provides cut and paste templates to implement threading using a one of several parallel programming models.

Productive Parallel Programming Models

The Intel® Parallel 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.

Technical Specifications

For additional details, please see the release notes

What’s New

Iteration Space Modeling & Info Zone
Move the sliders to see what happens when you change the number and duration of tasks. It shows a high-level break-down of parallelism performance losses: imbalance, contention and parallel runtime overheads.

Target Platforms option
Model how an application will scale on Intel® Xeon® processors AND Intel® Xeon Phi™ coprocessors.

Videos to help you get started.

Introduction to Intel® Advisor XE

Register for future Webinars

Previously recorded Webinars:

  • Vectorize or Die – unlock performance secrets with data driven software design
  • Remodel your code with Intel® Advisor XE
  • A detailed demonstration of Intel® Advisor XE, a threading prototyping tool for software architects
  • Design and prototype scalable threading using Intel® Advisor XE
  • Prototype and Test Your Threading Design Using Intel Advisor XE
  • Fortran
  • Intel® Advisor XE teaches threading at Slippery Rock University

Supplemental Documentation

Aucun contenu trouvé
S’abonner à Articles de la Zone des développeurs Intel

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

127 Error in Intel Parallel Studio XE 2013 for icc compiled code
Par Amol K.1
I've a simple c program for which I want to use Advisor Studio XE 2013. Code is something like #include "stdio.h" #include<omp.h> int main (int argc, char *argv[]) { double tic=omp_get_wtime(); long unsigned int i,bn=100000000; for (i = 0; i < bn; i += 1) { printf("%lu ",i); } printf("\nTime = %lfs",omp_get_wtime()-tic); return 0; }I've set variables in $PATH and $LD_LIBRARY_PATH and also I did something like : source /opt/intel/composerxe/bin/ intel64 source /opt/intel/vtune_amplifier_xe/ source /opt/intel/inspector_xe/ For compiling code (I know I'm repeating -I option): /opt/intel/bin/icc counter.c -o $ctr_icc -openmp -O2 -ldl -g -I "/opt/intel/advisor_xe_2013/include" -I "/opt/intel/include/" It worked very well and gave ctr_icc file which runs perfectly well on terminal. Now I'm using advisor gui and importing ctr_icc with working directory and output directory. But its giving me error code 127 (which stands for Pat...
License issue
Par Veithen D.4
  I have installed Intel C++ Studio XE for Windows I have a valid serial number expiring April 01, 2015 When I try to activate the product in Intel Software Manager, I get an invalid serial number error I have browse the support site, but could not find anything related Do you have a clue what may be ging wrong ?   Daniel Veithen, Softkinetic  
Advisor does not let my program read external files.
Par Dominique V.2
I have a program that must read a configuration file when it starts but whenever I start this program inside advisor the program does not read this external configuration file. If I execute the program outside of advisor the program loads this file fine. Is there something I can do so that my program reads the config file? I had this problem with inspector and I fixed it by going to properties and changing the working directory but I cant find any properties dialog box. Thanks
Invitation to join the Intel(r) Software Development Tools 2015 Beta Program
Par Holly Wilper (Intel)1
Hello Intel® Advisor XE User Forum, Try out the new Intel® Software Development Tools 2015 Beta and help make our product better. Registration is easy through the site. Additional information can be found at This suite of products brings together exciting new technologies along with improvements to Intel’s existing software development tools (more details below): •Expanded Standards and Platform Support - Intel® Composer XE 2015 Beta, including full language support for C++11 (/Qstd=c++11 or -std=c++11) and Fortran 2003, Fortran 2008 BLOCK, and OpenMP* 4.0 (except user-defined reductions). Also includes offload to Intel® Graphics Technology, new icl compilers for OS X* for improved Clang*/LLVM* compatibility, and new optimization reporting. •Optimized Cluster Sparse Solver - New Parallel direct sparse Solvers for clusters (CPARDISO) and optimizations for the latest Intel® Architectures w...
Advisor XE GUI support for 32 bit
Par Sangamesh B.3
I’m using Intel Parallel Studio XE 2013 on a 32bit VM machine on my laptop. But the advisor XE does not have GUI support for 32 bit. # ls /opt/intel/advisor_xe_2013/bin32/ advixe-cl  advixe-feedback  advixe-runss  advixe-runtc  dicer_transform_helper2  libadvixe_pythonhelpers_embed_1.5.a  pin  pinbin # ls /opt/intel/advisor_xe_2013/bin64/ advixe-cl        advixe-gui    advixe-runtc  dicer_transform_helper2             libadvixe_pythonhelpers_embed_1.5.a  pinbin advixe-feedback  advixe-runss  crashreport   libadvixe_discdialogs_common_1.0.a  pin                         # Does any old version of Advisor support GUI on 32 bit OS? Thanks in advance
Advisor not loaded correctly in Visual Studio 2010
Par jirina6
I have problems using Advisor on my computer. After I open a Fortran solution, I get a message "The 'Intel Advisor XE 2013' package did not load correctly". If I click "Yes" to continue to show this error, it appear 2-3 times before the solution is opened and parsing files is finished. The solution then opens successfully, but Advisor toolbar icons are grayed and Advisor cannot be used. The same message is displayed if I select Help - About Visual Studio in the Visual Studio main menu. I am running Windows 7 Professional 64-bit, Service Pack 1, with latest updates. I use Microsoft Visual Studio 2010 Professional, Service Pack 1, with latest updates. After installing Visual Studio, I added the plugin VisualHG (Mercurial Source Control) and Visual Studio Color Theme Editor (I changed the color scheme from the default one to Windows Aero). Advisor is XE 2013, Update 5. I uninstalled Advisor and everything was OK. After I installed it again (and I always restart my computer even though ...
Problems with additional-annotations.h
Par Harsh12
I use VS 2012 as my build environment on Win 7.However my VS never recogonizes the annotations header file,though it loads it.Can anybody suggest a workaround for this issue?
Obtaining accurate time measurement on Survey Report
Par Leonardo Solis V.1
Hello,  I am using Intel Advisor XE 2013 (build 270011) on Linux. I am using the Survey analysis to profile my program (compiled with gcc and flags: -g and -O3). However, every time that I run the analysis I get different execution percentages for a loop of interest, although everytime I am using the same input data and parameters. The total execution time of my program is around 0.72 s. I want to ask you: Is it expected to have different execution percentages when profiling using Advisor? Are there any needed compiler/linker flags that I forgot? Should I increase the execution time of my program? Should I decrease the sampling time? Thank you very much!
S’abonner à Forums

Intel® Advisor XE Frequently Asked Questions

Choose a topic:

  • What is Intel® Advisor XE?
  • Intel Advisor XE is a set of tools that helps software architects and lead designers add effective parallelism to an application in order to improve performance on multi-core systems. It lets you quickly prototype a parallel design, project its scalability and identify synchronization issues.
  • Does Intel Advisor XE automatically parallelize my code?
  • No. However, it does help you get to the point where you can parallelize code confidently and effectively.

  • What are some key things I can learn about my program using Intel Advisor XE workflow?
  • Intel Advisor XE 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. A number of our users report this as one of the biggest benefits. A good forecast of where investment in parallelism will pay off lets you focus development on places with the most impact. Of course you could approximate some of this manually using a profiler, but Intel Advisor XE projects scalability across a large number of core counts, models the cost of synchronization and finds synchronization errors. You get a better forecast with less work.
  • Why do I need Intel Advisor XE? OpenMP, Intel® VTune™ Amplifier XE and Intel® Inspector XE seem good enough.
  • Intel Advisor XE 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 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 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 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 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 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 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 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 to answer their questions instead of asking you), but your entire team becomes more productive too.
    • Analyze scalability. Intel Advisor XE 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 be used on applications for Intel® Many Integrated Core Architecture (Intel® MIC Architecture)?
  • Yes. Intel Advisor XE 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 was created.

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

    Intel Advisor XE 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 methodology on this code you can determine if additional parallel opportunity is present which you might be able to exploit. Intel Advisor XE does not analyze your MPI API usage, it basically ignores it. To use Intel Advisor XE 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 model memory bandwidth and cache behavior?
  • No, Intel Advisor XE does not model memory bandwidth or cache behavior.

    Intel Advisor XE 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 helps you with the first of these steps, and then you transition to using Intel VTune Amplifier XE, and Intel Inspector XE 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 evaluates the theoretical upper bound of available parallelism taking only code partitioning into independent tasks into account. With this partitioning, Intel Advisor XE 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. At this point you evaluate your newly written parallel application using Intel VTune Amplifier XE 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 deal with already parallel applications? How do OpenMP/MPI co-exist with Intel Advisor XE annotations?
  • Intel Advisor XE 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 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. 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 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 model an already parallel region?
  • Intel Advisor XE 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 model a Parallel Framework accurately?
  • No, but it does use the information to estimate scheduling and synchronization overhead. Intel Advisor XE's job is not to perfectly predict the performance of your final parallel program after you finish the refactoring. Intel Advisor XE'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 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 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 use annotations as its modeling language instead of parallel framework syntax?
  • An advantage of Intel Advisor XE'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 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, 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 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 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 find all threading errors in my program when using correctness analysis?
  • Though it is likely that Intel Advisor XE 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 will find all threading errors in your program.

  • Do I have to recompile and rebuild my programs to use Intel Advisor XE?
  • As part of the Intel Advisor XE 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 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 attach to or detach from my running process?
  • No, current Intel Advisor XE does not support process attach or detach. In order to find multithreaded bugs in your process, Intel Advisor XE has to monitor synchronization events and related annotations from the start of the program.

    Of course, you can always stop Intel Advisor XE 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.

Intel® Advisor XE 2016 Beta:
Getting Started with the Intel® Advisor XE 2016
Vectorization Advisor FAQ

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.


Release Notes - View Release Notes online!

Documentation & Tutorials

Windows* | Linux*
Product Documentation for all products - View documentation online!