I was on
CentOS 7.3 on
perf compiled on the system itself from
Kernel 4.13.7 source. It worked without any issue and was able to profile whichever application I wanted to.
For some reason, system crashed and I had to re-configure it. I am back on
CentOS 7.3 with same kernel as it was before i.e.
3.10. Now, when I downloaded
Kernel 4.13.7 and compiled
perf, it gives me following error when I try to profile any benchmark.
error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
As far as I understand, this library belongs to
mkl which I don't need for
perf and is not present on my system. As per different forums and search, it also seems that this library should come with
Intel MKL, which is already configured on my system, but for sure system doesn't have this specific library.
To debug more, I have another spare system with
RHEL 6.9. On this system too compiling
perf as I did for system described above and then profiling same benchmarks gives me same library error.
I am clueless as to why this error is coming up now and wasn't there earlier before re-installing the operation system. I have updated the OS with all the latest packages.
I don't get this error when I run benchmark standalone (whether
RHEL) or with
numactl, and benchmarks do run-terminate successfully.
Any suggestion why this may be happening?