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

How to compile/link f90 programs?

s_alyahyai
Beginner
799 Views
Hi,
I just installed Intel Fortran Compiler for 32-bit applications, Version 7.0 ,
I don't know how to start compilation and linking the .f programs.
I used the folloign comand:
ifc hello.f ?o hello
but it gave the following error message

program HELLO_WORLD
4 Lines Compiled
ld: No such file or directory

no executable program has been created!!!

what should I do?

0 Kudos
3 Replies
TimP
Honored Contributor III
799 Views
ifc requires the basic linux development environment to have been installed (ld and certain libraries). Those may have been optional components in your linux installation.
0 Kudos
jindalkshah
Beginner
799 Views
Hello,

I am also running into the same problem. After installation i run ldconfig and it gives me error that some of the files (related to fortran compiler) are too small and hence not checked. And I still receive the error...ld no directory or file found. any help in this regard would be appreciated.

thanks
Jindal
0 Kudos
Martyn_C_Intel
Employee
799 Views
You might want to reinstall, if you have not already done so. Otherwise, the Intel compiler requires a compatible set of Linux tools, as described in the release notes. What versions of gcc, glibc, ld and the Linux kernel do you have, and which Linux distribution do they come from?

Martyn
0 Kudos
Reply