Community
cancel
Showing results for 
Search instead for 
Did you mean: 
milenko1976
Beginner
99 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
Steven_L_Intel1
Employee
99 Views

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.

milenko1976
Beginner
99 Views

Yes,works perfect now!