Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
Caroline D (Intel)
Total Points:
270
Status Points:
220
Green Belt
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?
gkotecha
Total Points:
20
Registered User
August 7, 2009 5:19 PM PDT
Rate
 
#1

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)
Total Points:
270
Status Points:
220
Green Belt
August 10, 2009 1:38 PM PDT
Rate
 
#2 Reply to #1
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




Intel Software Network Forums Statistics

8478 users have contributed to 31609 threads and 100661 posts to date.
In the past 24 hours, we have 30 new thread(s) 108 new posts(s), and 167 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member zhpn