Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zhanghong_T_
Novice
50 Views

Question about Intel Software

Dear all,

I have some trouble in debugging my program: the output data by the program is not exactly the same at different runs when I input exactly the same data to this program. I don't know what lead to this problem. Is there any Intel software/suggestion to check this kindly of proglem?

I also tried to lauch two processes by mpiexec and so the proecesses are running at the same time and the output data by these two processes are also not exactly the same.  Is there any Intel Software which can compare all data of two processes launched by mpiexec any time (for example, insert some function to some location of the code and let the function to compare data of two processes)?

Thanks,

Zhanghong Tang

0 Kudos
3 Replies
Peter_W_Intel
Employee
50 Views

Usually use debugging tool to find program's logical error...

Use Intel(R) Inspector XE 2013 to detect errors, such as memory boundary check.

Use Inet(R) VTune(TM) Amplifier XE 2013 to gather performance data for two sessions, compare their workloads (clockticks) of hot functions, to find some clues. 

SergeyKostrov
Valued Contributor II
50 Views

>>...I have some trouble in debugging my program: the output data by the program is not exactly the same at different runs >>when I input exactly the same data to this program. You need to debug your program in order to understand why it happens. If you have some Tracing API that creates a log-file turn it on ( use it ) and it will show you a flow of execution for different runs. I don't think that any software could find logical errors of algorithms used in some program ( in binary codes! / not in sources ).
Bernard
Black Belt
50 Views

What debugger are you using?You need to collect your program dumps on every run and compare the stacks and context.

Reply