How to compile/link f90 programs?

How to compile/link f90 programs?

Bild des Benutzers s.alyahyai

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?

4 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Tim Prince

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.

Bild des Benutzers jindalkshah

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

Bild des Benutzers Martyn Corden (Intel)

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

Melden Sie sich an, um einen Kommentar zu hinterlassen.