Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Trouble with installation of Intel Compiler Suite for Linux

hyv
Beginner
308 Views
I have installed the Intel 64 FORTRAN and C++ compiler suite onto my Linux machine (Fedora). I can compile sample FORTRAN codes, but not the C++ ones (there has been no error of missing GXX libraries). I added the following to my ~/.bash_profile as follows:
INTEL_COMPILE=/opt/intel/Compiler/11.1/064/bin/intel
export INTEL_COMPILE
PATH=$PATH:$INTEL_COMPILE
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INTEL_COMPILE
export PATH
export LD_LIBRARY_PATH
I also add the following to ~/.bashrc to call the compilers:
alias ifort='/opt/intel/Compiler/11.1/064/bin/intel64/ifort'
alias icc='/opt/intel/Compiler/11.1/064/bin/intel64/icc'
Is there something that I am missing?
Thank you very much in advance,
Hezky
0 Kudos
2 Replies
TimP
Honored Contributor III
308 Views
It looks like you probably made a normal installation, so source'ing either the ifortvars or iccvars script in the /bin/ would set the paths correctly.
0 Kudos
hyv
Beginner
308 Views
Thanks. I put in the script corrections and my library and path is corrected.
0 Kudos
Reply