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

ifort compiler is not showing though successfully installed

Supriya_R_
Beginner
865 Views

I have installed Intel(R) Cluster Studio XE 2013 SP1 Update 1 for a single node. It is also showing that successfully installed. But when I type "ifort" in the terminal, I get "command not found". Can you please tell me it is an issue related to installation or something else.

 

0 Kudos
4 Replies
TimP
Honored Contributor III
865 Views

You must run the compilervars.bat (preferably according to the installed Start menu shortcut) after opening a new terminal (if you didn't set it yourself for autostart).

0 Kudos
Steven_L_Intel1
Employee
865 Views

In the Start menu applications list under Intel Parallel Studio XE (I am not sure exactly what the name is for the version you are using), there will be Command Prompt shortcuts that establish the environment. As Tim says, if you are opening your own command prompt, you have to "call" compilervars.bat or ifortvars.bat (found in the compiler's Bin folder), with an argument of either ia32 or intel64, depending on which platform you want to build for. The compiler documentation has more on this. This link is for the 16.0 documentation, but the details haven't changed much. 

0 Kudos
Supriya_R_
Beginner
865 Views

Tim P. wrote:

You must run the compilervars.bat (preferably according to the installed Start menu shortcut) after opening a new terminal (if you didn't set it yourself for autostart).

Actually I am trying to install ifort in ubuntu. So I think I must source the shell script file.

So I used the following two commands

source /opt/intel/composer_xe_2013_sp1/bin/compilervars.sh ia32

/opt/intel/composer_xe_2013_sp1.2.144/bin/compilervars.sh ia32

Still not getting ifort in the command line.

 

0 Kudos
TimP
Honored Contributor III
865 Views
There's a separate forum for ifort linux so it was assuming you asked about windows. If you installed only the 64 bit ifort you would specify intel64 not ia32
0 Kudos
Reply