Software Archive
Read-only legacy content
17060 토론

Intel Architecture Code Analyzer Error

Mahieddine_D_
초급자
4,094 조회수

Hi everyone,

I am new here and it is my first post on this forum.

I just started using intel Architecture code analyzer (IACA) and when I tried to run it I had the following error as output:

"Initialization failed"

I looked in the Intel Documentation but I didn't find this error in their List.

Any kind of help will be really appreciated.

Many Thanks,

Mahieddine

0 포인트
18 응답
Bernard
소중한 기여자 I
4,094 조회수

 

Can you post more detailed description of the error if possible?

0 포인트
Mahieddine_D_
초급자
4,094 조회수

Hi,

Thanks for your interest.

Well when I run iaca -o output.txt apps.exe I get only :"Initilaization failed" without any other specifications, thing that make it harder to figure it where does this error come from.

By the way my application works correctly, so there is no problem form that side. I was wondering that my be I missed placed the marks:

IACA_START and IACA_END?

 

Thanks,

Mahieddine

0 포인트
Bernard
소중한 기여자 I
4,094 조회수

Do not you have any error messages thrown by the Windows?

Can you search IACA directory for any log files?

0 포인트
Bernard
소중한 기여자 I
4,094 조회수

You can also try to run IACA under windows debugger.If you need assistance please inform me.

0 포인트
Mahieddine_D_
초급자
4,094 조회수

No messages thrown or Logs unfortunately!!

 

0 포인트
Bernard
소중한 기여자 I
4,094 조회수

 

Looks like memory(maybe heap allocation) error.It is hard to know without any meaningful description beside that "Initialization failed" message

As I advised you earlier please try to run IACA under debugger.I hope that windbg could catch the error.Before doing that you can set all exception on in windbg command prompt.Use following command sxe and rerun the IACA if there is no break into debugger on first-Chance please use sxd command and rerun IACA now it should break into debugger on second-Chance exception.

 

0 포인트
Mahieddine_D_
초급자
4,094 조회수

Thank you guys for all your advices.

I will come back to you when done

0 포인트
Bernard
소중한 기여자 I
4,094 조회수

Ok I am waiting for your answer.

0 포인트
Bernard
소중한 기여자 I
4,094 조회수

 

Hi I have forgotten to add that you can create IACA proces memory dump directly from task manager or process explorer.

0 포인트
Bernard
소중한 기여자 I
4,094 조회수

Maybe posting on different forum will be more helpful?

0 포인트
Tal_U_Intel
직원
4,094 조회수

do you run in Windows or Linux?

 

If this is Linux you should run using iaca.sh script

Thanks,

Tal

0 포인트
Bernard
소중한 기여자 I
4,094 조회수

@Tal

I think that @Mahieddine is running Windows.

"Well when I run iaca -o output.txt apps.exe "

0 포인트
Tal_U_Intel
직원
4,094 조회수

I just tried both win32 and win64 release from whatif.intel.com and they worked for me

This error message usually mean the analyzer failed to load the correct dll.

check if you have any iaca directory in your path, if you have older versions of the analyzer on your computer it might have used an old dll.

 

 

Thanks,

Tal

0 포인트
Bernard
소중한 기여자 I
4,094 조회수

Thanks for clarifying that cryptic error message.

0 포인트
Mahieddine_D_
초급자
4,094 조회수

Hi all,

I am runing iaca on a linux platform.

and I am using the iaca command and no the iaca.sh. I followed those step to get it working :

Add the bin/ directory to the PATH environment variable.
Add the lib/ directory to the LD_LIBRARY_PATH environment variable.
Include include/iacaMarks.h in your code.

so now the iaca command is recognized by the prompt.

0 포인트
Protonu_B_
초급자
4,094 조회수

Hi I have a similar problem. I am getting the error "Initialization failed" as well.  I have added bin to PATH and the lib to LD_LIBRARY_PATH.I downloaded the binary and the libraries on my laptop, an Intel Westmere machine. IACA ran correctly on my laptop.

I then moved the binaries and libraries to the supercomputer Edison (http://www.nersc.gov/users/computational-systems/edison/), which has intel ivy bridge nodes. I set the environment variables on this machine as well.

Without an input file, the tool runs :

protonu@edison01:~> iaca
Intel(R) Architecture Code Analyzer Version - 2.1
Usage: iaca [options] <file-name>
-32 32-bit input file (default)
-64 64-bit input file
-arch <type> Architecture type: NHM, WSM, SNB, IVB, HSW (default)
-analysis <type> Analysis type: LATENCY, THROUGHPUT (default)
-o <file> Output file (default: stdout)
-graph <file> Analysis graph output file for use with graphviz
-mark <num> Show code section <num> when there are multiple marked code
sections. Use -mark 0 to show all.
-max32 Max generated 32-bit obj files
-max64 Max generated 64-bit obj files
-ignore <bool> Ignore added pop ebx / push ebx markers (default: true)
-nogather No gather bottleneck analysis
-no_interiteration No interiteration bottleneck analysis
-reduceout Output is reduced
-report Generate error report


When given an input, it fails, giving the message:

protonu@edison01:~/MicroStencilBench> iaca -64 run.125
Initialization failed

Any help will be very useful.

 

0 포인트
Pramod_K_
초급자
4,094 조회수

I see exactly same problem as mentioned above by Protonu B. I try to run with gdb which gives error code 015.

Any suggestion?

0 포인트
dkokron
초급자
4,094 조회수

I am seeing the same issue on pleiades at NASA/Ames using iaca-lin64.zip (downloaded on 5 Dec. 2014.

ldd /#/#/###/VectorIntrinsics/IACA/iaca-lin64/bin/iaca
    linux-vdso.so.1 =>  (0x00007ffe3fffe000)
    libiacaLoader.so => /#//##/###/VectorIntrinsics/IACA/iaca-lin64/lib/libiacaLoader.so (0x00007ffe3fdfa000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007ffe3fbb3000)
    libm.so.6 => /lib64/libm.so.6 (0x00007ffe3f93a000)
    libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007ffe3f633000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ffe3f41d000)
    libc.so.6 => /lib64/libc.so.6 (0x00007ffe3f0a1000)
    /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
pfe20> /#/##/###/VectorIntrinsics/IACA/iaca-lin64/bin/iaca -64 -arch SNB ./a.out
Initialization failed

 

 

0 포인트
응답