Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • Caroline D (Intel)May 26, 2009 9:47 AM PDT   
    Intel® Parallel Advisor Lite

    Welcome to the Intel® Parallel Advisor Lite discussion thread!  We have started this thread to help us communicate with you about this new parallel programming technology developed by Intel’s software groups.

    Intel® Parallel Advisor Lite is a technology preview that accelerates parallel application design by providing unique insight into how parallelism will benefit your application. Parallel Advisor Lite is an add-on to the Intel® Parallel Studio suite of development tools for C/C++ developers using Microsoft Visual Studio*.

    We are interested in your feedback. Please take a moment to download, install, and let us know what you think.

    •  
      • How does this tool and its methodology compare with other techniques you have used?
      • What features of Intel® Parallel Advisor Lite did you like? What did you find difficult to use or to understand?
      • What is the biggest obstacle that has prevented you from implementing multi-core support in your application? Does Parallel Advisor Lite address this obstacle?
      • Did Parallel Advisor Lite expose something unexpected in your program, such as a different location to parallelize? Or a data observation? 
      • What information did Parallel Advisor Lite provide that helped you the most?


    gkotechaAugust 7, 2009 5:19 PM PDT
    Rate
     
    Re: Intel® Parallel Advisor Lite


    Hi,
    I was trying to use Advisor on one application which was using std::max function.

    After including annotate.h in the target file compiler gave error on the std::max function. Without this header file it compiles fine.

    Following is a test case:

    #include <iostream>
    #include <annotate.h> //after commenting this it compiles fine


    int main()
    { int a=15;
    int b=18;
    int c=std::max(a,b);

    }

    Are you aware of this issue? how should i fix this?

    Caroline D (Intel)August 10, 2009 1:38 PM PDT
    Rate
     
    Re: Intel® Parallel Advisor Lite

    Quoting - gkotecha

    Hi,
    I was trying to use Advisor on one application which was using std::max function.

    After including annotate.h in the target file compiler gave error on the std::max function. Without this header file it compiles fine.

    Following is a test case:

    #include <iostream>
    #include <annotate.h> //after commenting this it compiles fine


    int main()
    { int a=15;
    int b=18;
    int c=std::max(a,b);

    }

    Are you aware of this issue? how should i fix this?

    Hi!  
    Yes, we know - this is an unfortunate side effect of our combining what would typically be found in a pair of files (annotate.h and annotate.cpp), into the single file: annotate.h. THEN having annotate.h include windows.h.

    Generally, you can work around these compilation errors caused by annotate.h including windows.h by inserting
                     #define WIN32_LEAN_AND_MEAN
    before the
                     #include "annotate.h"


    In your case, you are may also need to specify
                     #define NOMINMAX

    Very annoying. We are looking at alternatives – suggestions are welcome!

    Regards,
    -Caroline


Forum jump:  

Intel Software Network Forums Statistics

16,374 users have contributed to 46,349 threads and 163,996 posts to date.

In the past 24 hours, we have 12 new thread(s) 80 new posts(s), and 55 new user(s).

In the past 3 days, the most popular thread for everyone has been Formula for the intersection of straight lines The most posts were made to Take a look at John Burkhard&# The post with the most views is \"-check none\" generates error

Please welcome our newest member workh19


For more complete information about compiler optimizations, see our Optimization Notice.