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





  • Posts   Search Threads
  • Caroline D (Intel)May 26, 2009 8: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 4: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 12: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

17,025 users have contributed to 48,317 threads and 172,754 posts to date.

In the past 24 hours, we have 9 new thread(s) 56 new posts(s), and 52 new user(s).

In the past 3 days, the most popular thread for everyone has been How to manage rounding by IVF ?? The most posts were made to Most likely, the issue is that The post with the most views is Optimalization of sine function\'s taylor expansion

Please welcome our newest member redfruit83


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