- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. I have problem with analysis my aplication on Intel Xeon Phi. After analisys in result list i havent full information about problem. I use Intel Inspector xe 2015.
First: I compile program on host, with flags: icc -g -O0 -mmic ... -o main.cpp main.out
Second: After compilation I copy program to Intel Xeon Phi: scp ./main.out mic0:/tmp
Third: I create project. As Aplication i type ssh, as Aplication Parameters i type: mic0 '/tmp/matrix.out'
After do this, i run detect memory leak analisys and in result i get list of error, but without information about line of code that causes error. During the analysis, I see int terminal that the application do calculations.
Where is problem? Thanks.
- Tags:
- CC++
- Debugging
- Development Tools
- Fortran
- Intel® Inspector
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know how did you run Inspector on Intel(R) Xeon(R) Phi(TM) processor on your side.
I gave you my example, and result was expected:
# icc -g -O0 -mmic test_memory.c -o test_memory.MIC
# scp test_memory.MIC mic0:/root
test_memory.MIC 100% 12KB 11.5KB/s 00:00
# ssh mic0 /root/test_memory.MIC
test leak
test uninitialized
test overlap memory copy
# inspxe-cl -collect mi3 -- ssh mic0 /root/test_memory.MIC
test leak
test uninitialized
test overlap memory copy
5 new problem(s) found
2 Invalid partial memory access problem(s) detected
2 Memory leak problem(s) detected
1 Memory not deallocated problem(s) detected
# inspxe-cl -version
Intel(R) Inspector XE 2015 Update 1 (build 379161) Command Line tool
Copyright (C) 2009-2014 Intel Corporation. All rights reserved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This runs 'ssh' under IXE, not the MIC executable.
IXE does not currently support Xeon Phi executables directly. To analyze the executable with IXE, compile for (and run on) the host processor instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mark is right. The problem was located at ssh module.
# inspxe-cl -finalize --search-dir all:rp=. -r r001mi3/
5 new problem(s) found
2 Invalid partial memory access problem(s) detected
2 Memory leak problem(s) detected
1 Memory not deallocated problem(s) detected
# inspxe-cl -report problems
P1: Error: Memory leak: New
P1.15: Error: Memory leak: 38 Bytes: New
ssh!0x3217d: Error X22: Allocation site: Function [Unknown]: Module /usr/bin/ssh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page