To run from the command line using Intel® C++ Compiler, make sure that /usr/bin is your path. If you use a C shell, you can edit your .cshrc file and add
setenv PATH /usr/bin:<full path to Intel compiler>
Note
To use the Intel compiler, your makefile must include the setting CC=icc. Use the same setting on the command line to instruct the makefile to use the Intel compiler. If your makefile is written for gcc, the GNU* C compiler, you will need to change those command line options not recognized by the Intel compiler.
Then you can compile:
prompt>make -f my_makefile