I am compiling a C++ program using icc 10.1.013 to run on a Linux platform that does not have a path to the Intel library. When I try to execute the program, I get the message: libirc.so cannot be found. I don't need or want the PGO optimization - I just want to execute the program. How do I turn off the requirement for libirc.so? Using the -no-prof-gen option does not help.
-static-intel is the option to link .a copies of the Intel compiler run-time libraries. In case you are using -openmp and this doesn't switch that specific library, there are .a versions for those also. Read about it with icc -help or in the files present in the compiler installation /Documentation/