Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
7693 Discussions

icc with Intel® Parallel Studio XE for Linux

ddiane
Beginner
315 Views

Hi, I have installed Intel® Parallel Studio XE for Linux which include C++ compiler. I sourced the "compilervars" script. But when I want to use "icc file.c", there is this message error: -bash: icc: command not found. Indeed, when I use "which icc" it indicates that there is no icc but I don't understand why and what I can do to correct this and set my C++ compiler.

0 Kudos
1 Reply
TimP
Black Belt
315 Views
I continually fall in the pothole of failing to request an acceptable library combination. One would think such libraries would be included in the c++ install selection and not present a separate option to leave them out. If you review your selections before proceeding, you should see for example that c++ selection will uncheck if you don't also select tbb. Return to your install menu with Modify and check this.
Reply