Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Export path on Ubuntu 16.04

milenko1976
Beginner
579 Views

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
579 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.

0 Kudos
milenko1976
Beginner
579 Views

Yes,works perfect now!

0 Kudos
Reply