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

ifort under Suse 10.3

andreas42
Beginner
1,200 Views
I read that ifort is not supported for Suse 10.3, because of a too high version of glibc. I tried to use the latest version (10.0.026) for configuring lam-7.1.4, which didnt work. I got the following error message:

ifort -O conftestf.f conftest.o -o conftest
ld: /usr/lib/crt1.o: No such file: No such file or directory.

Is there a way to get it run under that distribution anyway, without beeing an absolute Linux-Geek? I was using Suse 10.1 before, but yast is broken there, which was one of the main reasons for updating.

Best Regards,
Andreas
0 Kudos
6 Replies
TimP
Honored Contributor III
1,200 Views
I have had no difficulty with ifort 10.0.026 on SuSE 10.3 32-bit. The non-support means simply that 10.3 is too new to have been tested during development of current ifort releases. Do you have a working g++ installation? glibc version number doesn't affect the presence of crt1.o
In fact, /usr/lib/crt1.o is present in my SuSE 10.3 installation, presumably as a result of selecting the gcc development package installation.
0 Kudos
divyen
Beginner
1,200 Views

I am getting the same error when I compiler the program with ifort

ld: / usr/lib/crt1.o: No such file: No such file or directory

I am using Open SUSE 10.3 and Installed the latest release of the Intel fortram compiler.

Did you get any solution for that?

Regards,
Divyen Patel

0 Kudos
adamais
Beginner
1,200 Views

I'm using Suse 11 on a 64 bit machine. I get the same error message:

ld: /usr/lib/crt1.o: No such file: No such file or directory.

I've located the file under

/usr/lib64/crt1.o

So, how do I change which configuration file?

Thx!

0 Kudos
Steven_L_Intel1
Employee
1,200 Views

We have seen on some distributions that building a 32-bit application on a 64-bit platform also requires installation of the Linux component glibc-devel.i386.

0 Kudos
adamais
Beginner
1,200 Views

Thank you for your quick answer!

I've just installed a package called "glibc-devel-32bit" with the YAST. But this has only partially solved the problem.

Now, I get another error message:

ld: /usr/lib64/gcc/x86_64-suse-linux/4.3/32/crtbegin.o: No such file: No such file or directory

Now, how do I proceed?

0 Kudos
TimP
Honored Contributor III
1,200 Views

We have seen on some distributions that building a 32-bit application on a 64-bit platform also requires installation of the Linux component glibc-devel.i386.

As Steve points out, if you want to use the fc 32-bit ifort on linux x86-64, you must have g++ fully working with the -m32 option, one of the prerequisites being that library. I didn't see a requirement to install any components separately from g++ in my own OpenSUSE 10.3 installation. Normally, you would use the fce 64-bit ifort on x86-64. You must use all 32-bit (or all 64-bit) compilers and libraries to build a given executable.

0 Kudos
Reply