Gwinel / likwid

Automatically exported from code.google.com/p/likwid
GNU General Public License v3.0
0 stars 0 forks source link

Illegal Instruction #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./likwid/likwid-bench copy

2. When I tried usinf likwid-perfctr with a hello world program still same 
problem occurs.
3.

What is the expected output? What do you see instead?
Illegal instruction

What version of the product are you using?
likwid-perfctr  3.1 

Please provide any additional information below.

Original issue reported on code.google.com by sur...@gmail.com on 11 Feb 2014 at 10:34

GoogleCodeExporter commented 9 years ago
Hi this is a build problem. Due to cross compile accidently RDTCSP support is 
enabled, though it is not available on Phi. I already added a fix.

Original comment by jan.trei...@gmail.com on 12 Feb 2014 at 9:42

GoogleCodeExporter commented 9 years ago

Original comment by jan.trei...@gmail.com on 12 Feb 2014 at 9:42

GoogleCodeExporter commented 9 years ago
Hello,
  I downloaded the version available using hg and I still have the same 
issue.

~/perf_anal $ ./likwid/likwid-bench copy
Read config from file
Illegal instruction

Original comment by sur...@gmail.com on 12 Feb 2014 at 11:16

GoogleCodeExporter commented 9 years ago
Hi, I did not usph it to google repo yet. Usually I link fix checkins to issue 
tickets. So as long as the ticket is still open it is not in the Google Repo 
yet.

I do some more testing on Phi now and then push the changes.

Jan

Original comment by jan.trei...@gmail.com on 12 Feb 2014 at 11:29

GoogleCodeExporter commented 9 years ago
If you want to pull the changes you need to checkout the v3.1 branch.

Original comment by jan.trei...@gmail.com on 12 Feb 2014 at 11:50

GoogleCodeExporter commented 9 years ago
Thank you, it works but i get this error which am not sure about.

~/perf_anal $ /home/snataraj/perf_anal/likwid/likwid-perfctr -g 
INSTRUCTIONS_EXECUTED:PMC0 -C 0-2 -O /home/snataraj/perf_anal/copy | 
tail -n 2 | head -n 1| cut -d , -f 2
ERROR: ld.so: object 
'/home/snataraj/perf_anal/likwid/lib/liblikwidpin.so' from LD_PRELOAD 
cannot be preloaded: ignored.
ERROR: ld.so: object 
'/home/snataraj/perf_anal/likwid/lib/liblikwidpin.so' from LD_PRELOAD 
cannot be preloaded: ignored.
10393529.000000

Original comment by sur...@gmail.com on 12 Feb 2014 at 2:14

GoogleCodeExporter commented 9 years ago
Hi, With -C he also tries to pin the threads. This only works out if your 
binary is dynamically linked. Also you must call make install as the path to 
the according library is hardcoded into likwid binaries.

Original comment by jan.trei...@gmail.com on 12 Feb 2014 at 3:37