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

ifort: command not found

$ source /opt/intel/bin/compilervars.sh intel64
~$ ifort
ifort: command not found

Can anyone tell me why?  Many thanks

I had installed the parallel_studio_xe_2016_update2 successfully on Ubuntu 14.04 TLS 

0 Kudos
6 Replies
Highlighted
21 Views

Is ifort present in /opt

Is ifort present in /opt/intel/bin ? Did you have ifort working with an earlier install?

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

Thank you, Steve.

Thank you, Steve.

it seems that there is ifort in /opt/intel/bin

/opt/intel/bin$ ls -l ifortvars.sh
lrwxrwxrwx 1 root root 52 Mar  1 17:37 ifortvars.sh

I have the ifort working with the earlier install (you are powerful). I just reinstalled the Ubuntu 14.04 yesterday.

Thanks

 

 

 

 

 

0 Kudos
Highlighted
21 Views

You show ifortvars.sh but not

You show ifortvars.sh but not "ifort". So you reinstalled Ubuntu - did you also make sure that you have the required gcc/g++ installed?

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

Thanks, Steven. 

Thanks, Steven. 

You are right. Ifort is also here.

/opt/intel/bin$ ls -l ifort
lrwxrwxrwx 1 root root 52 Mar  1 17:37 ifort ->

 I have the gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.1)

$ gcc -v

Shall I update it?

 

 

 

 

0 Kudos
Highlighted
21 Views

The "source" command should

The "source" command should have added the /opt/intel/bin directory to "path". I suggest you look at that to see if it got added.

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

After adding the following

After adding the following sentence, it woks now. Many thanks

$ ifort
ifort: command line error: no files specified; for help type "ifort -help"

source /opt/intel/bin/compilervars.sh intel64
export PATH=$PATH:/opt/intel/bin

 

0 Kudos