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

lib problem in 64bit machine..

freemanty
Beginner
676 Views
I am trying to use ifort at AMD 64bit machine:

but got this error:
ld: /usr/lib/crt1.o: No such file: No such file or directory

anybody know how to solve this problem? Thanks a lot!
0 Kudos
5 Replies
TimP
Honored Contributor III
676 Views
You want to be certain that gcc is basically working, both in 64-bit mode (default) and 32-bit (gcc -m32). If not, you may have missed some part of the gcc development system installation, when installing linux.
You didn't say whether you were using 32- or 64-bit ifort, but both should work, if the corresponding gcc is working, with any reasonable choice of linux version.
If you had an extremely early version of 64-bit ifort, there are some setup problems which you would avoid by using a current version.
0 Kudos
freemanty
Beginner
676 Views
Thanks a lot! tim18

are 32- and 64-bit ifort from different packages? what I am using is just the free download versison for non-commercial user, and it is the lastest version..
or there is any option to choose 32 or 64-bit machine?
0 Kudos
TimP
Honored Contributor III
676 Views
As far as I know, the evaluation download will include 3 versions of ifort. If you install on an x86-64 64-bit linux, the default action would be to install both 32- and 64-bit ifort and idb, even though the 32-bit idb debugger doesn't work on 64-bit linux. You would have the option to install only one of the compilers, if you choose. Both 32-bit builds and 64-bit builds will run on x86-64 linux, but they can't be mixed together.
If there is a separate installer containing only the 64-bit compiler available under evaluation license, you would use your license to open an account on premier.intel.com and browse there to find it. That is always preferable, in case the compilers on premier.intel.com are newer than the one in the link you get with your evaluation license.
0 Kudos
njs8030
Beginner
676 Views
The default setup for Fedora Core 4 and 5 doesn't seem to install 32-bit libs for most development packages. There is a crt1.o lib located in /usr/lib64. Just use Intel's 64-bit fortran compiler (fce/9.0/bin/ifort) and things work fine.
0 Kudos
TimP
Honored Contributor III
676 Views
None of the Red Hat related 64-bit distros install 32-bit development system unless it is requested specifically, in addition to requesting installation of 64-bit gcc development system. So you are correct in pointing out that the minimum gcc development system would support only the 64-bit Intel fce compiler. Both the 64-bit and 32-bit Intel compilers require 32-bit compatibility libraries as well, as they are 32-bit applications, which could run on 32-bit linux.
0 Kudos
Reply