Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
3 Views

Export path on Ubuntu 16.04

I have added path to my profile but still terminal can not find compiler

 

echo $PATH
/opt/intel/parallel_studio_xe_2016.3.067/compilers_and_libraries_2016/linux/bin/compilervars.sh

Let's go to directory

 

compilervars_arch.csh  compilervars.csh         compilervars_global.sh  ia32         iccvars.sh     ifortvars.sh  intel64_gfx  loopprofileviewer.jar
compilervars_arch.sh   compilervars_global.csh  compilervars.sh         iccvars.csh  ifortvars.csh  intel64       intel64_mi

 

How to edit my path?

0 Kudos
2 Replies
Highlighted
3 Views

You are supposed to use:

You are supposed to use:

source /opt/intel/bin/compilervars.sh intel64

You added the compilervars.sh itself to path rather than the bin folder, but there's more that needs to be done. Sourcing the script does what is needed.

Retired 12/31/2016
0 Kudos
Highlighted
Beginner
3 Views

Yes,works perfect now!

Yes,works perfect now!

0 Kudos