- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Can you post more detailed description of the error if possible?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Do not you have any error messages thrown by the Windows?
Can you search IACA directory for any log files?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
You can also try to run IACA under windows debugger.If you need assistance please inform me.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
No messages thrown or Logs unfortunately!!
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thank you guys for all your advices.
I will come back to you when done
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Ok I am waiting for your answer.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi I have forgotten to add that you can create IACA proces memory dump directly from task manager or process explorer.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Maybe posting on different forum will be more helpful?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
do you run in Windows or Linux?
If this is Linux you should run using iaca.sh script
Thanks,
Tal
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
@Tal
I think that @Mahieddine is running Windows.
"Well when I run iaca -o output.txt apps.exe "
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thanks for clarifying that cryptic error message.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I see exactly same problem as mentioned above by Protonu B. I try to run with gdb which gives error code 015.
Any suggestion?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite