I have installed Intel® Parallel Studio XE for Linux and added path to the ~/.bashrc (/opt/intel/composer_xe_2013/bin). At this point, i can compile given code, and get executable file - run. After starting (./run 4 4 img2.bmp 001template.bmp 002template2.bmp), i got this:
error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory.
Ok, i have solved that by exporting LD_LIBRARY_PATH (export D_LIBRARY_PATH=/opt/intel/composer_xe_2013/lib/intel64:$LD_LIBRARY_PATH).
I hope that at this point, i have managed to set everything properly.
After running executable file run, i get CORE DUMPED error.
Does anyone have similar problem?