I am using MKL library in Caffe and profiling the same in Vtunes on Ubuntu 14.04 SKY-H. When I run the script in Caffe, it works perfectly but when I give the same script to Vtunes it gives me the below error message:
error while loading shared libraries: libmkl_rt.so: cannot open shared object file: No such file or directory
I have modified the .bashrc file to include the path to libmkl_rt.so as :
Replace "compilers_and_libraries_2016.2.181" with whatever version you have.