First go to the intel web site "http://software.intel.com", click on 'Downloads',
click on 'Free Non-commercial Downloads',
click on 'accept',
click on 'intel fortran compiler professional edition for linux',
provide an email address where you will receive the serial number,
download the suitable file, for instance 'l_cprof_p_11.0.081.tgz'.
On terminal write the following commands and follow the instructions:
1- sudo apt-get install rpm build-essential
2- sudo apt-get install libstdc++6
3- sudo apt-get install ia32-libs
go to the folder which contains the downloaded file and then
4- tar xvzf l_cprof_p_11.0.081.tgz
5- cd l_cprof_p_11.0.081
6- sudo ./install.sh
Follow the installation instructions:
7. choose Option 1 to install Intel Fortran,
8. choose Option 1 to proceed with a serial number.
9. type in the serial number (case-sensitive) given in the email. (XXXX-XXXXXXXX). Choose 1 for a default install.
10. Press Enter to read the license agreement. The spacebar speeds through this quickly. Type 'accept' to accept the license agreement.
11. At some point the installation may stop to ask for some 'optional' packages to be installed. Skip this warning.
After the installation is finished go to the terminal and:
13- nano .bashrc
the nano editor will open ".bashrc" file,
go to the end of this file and add the following lines:
Note: The lines above are for 64 if you use 32 replace 'intel64' by 'intel32'. As the versions of the compiler change the installation path will change so make sure that you enter the right path in the lines above.
Exit the file by saving the changes.
let the system read the updated paths by the command:
14- source .bashrc
The installation is finished.
Now you can compile (on terminal) your code by the command:
and run the created executable ('a.out' in this case) by
A useful reference thread, which has been used for the preparation of the current thread:
Further information: http://software.intel.com/en-us/arti...x-with-ubuntu/