Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29302 Discussions

Install Intel fortran compiler for Linux

PF59
Novice
6,158 Views

Hi,  I was provided with the website and downloaded the following package:: Intel® Parallel Studio XE Professional Edition for Fortran and C++ Linux*.  I then installed using the "install.sh" and the installation went smoothly since I chose all the defaults.  BTW, there is another installation file, "install_GUI.sh".  I did not run the _GUI file.

I tried to compile and run a test fortran file, which  I was able to run on another machine with ubuntu/Intel fortran compiler, but it fails.  The new laptop does not recognize what "ifort" command is.

Have I achieved my goal: install the fortran compiler in my ubuntu machine?  Or  what have I installed?  Where can I see the installed files? Is there anything I still need to do?

Thanks.

PF59

0 Kudos
3 Replies
mecej4
Honored Contributor III
6,154 Views
0 Kudos
PF59
Novice
6,118 Views

I followed the instructions.  Did the following:

source compilervars.sh intel64 

source /opt/intel/parallel_studio_xe_2018/bin/psxevars.csh intel64

 

Then I generated a local fortran test file, "hello.f90"

print *," Hello"

end

ifort -o hello hello.f90

The following error messages showed up:

ld: cannot find -lm
ld: cannot find -lpthread
ld: cannot find -lc

 

Anything I missed in configuring the installation?

0 Kudos
jimdempseyatthecove
Honored Contributor III
6,108 Views
0 Kudos
Reply