- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Can you post more detailed description of the error if possible?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Do not you have any error messages thrown by the Windows?
Can you search IACA directory for any log files?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
You can also try to run IACA under windows debugger.If you need assistance please inform me.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
No messages thrown or Logs unfortunately!!
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thank you guys for all your advices.
I will come back to you when done
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Ok I am waiting for your answer.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi I have forgotten to add that you can create IACA proces memory dump directly from task manager or process explorer.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Maybe posting on different forum will be more helpful?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
do you run in Windows or Linux?
If this is Linux you should run using iaca.sh script
Thanks,
Tal
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
@Tal
I think that @Mahieddine is running Windows.
"Well when I run iaca -o output.txt apps.exe "
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks for clarifying that cryptic error message.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I see exactly same problem as mentioned above by Protonu B. I try to run with gdb which gives error code 015.
Any suggestion?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable