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

resolving dependencies during installation of ifc 10.0.023

bchristo
Beginner
749 Views
I am new to Linux. I have downloaded and installed l_fc_p_10.0.023 on a Debian 4.0 Linux with i686 architecture (Pentium D); however, it installs it as if my machine were IA-32 architecture. Any suggestions? I ran the installation with the '--nodeps' option. I understand the dependencies listed can have different names in the RPM database.

After a "successful install" I have had problems when using ifort - namely I will get different output or an error when using ifort as opposed to gfortran (for the same program).

I'm wondering if it is an issue having to do with my glibc. On the installation page for ifort, it mentions that glibc should be one of the following versions (for both the IA-32 and Intel 64): 2.2.93, 2.3.2 , 2.3.3, 2.3.4, 2.3.5 or 2.5. When I checked my version of glibc, I have version 2.3.6, I think (according to the below):

/lib/libc-2.3.6.so

Is this the problem? Is there a simple way to upgrade my glibc to 2.5?

According to the forums I've read here, I understand that additionally, it is important to have the correct library versions of gcc, g++, and libstdc++. So I went ahead and also checked the following (In general, is this how you determine the version of the various libraries?):

ll /usr/bin/gcc*

lrwxrwxrwx 1 root root 7 2007-03-16 12:25 /usr/bin/gcc -> gcc-4.1
-rwxr-xr-x 1 root root 84848 2007-01-01 14:36 /usr/bin/gcc-3.4
-rwxr-xr-x 1 root root 93712 2006-05-07 12:31 /usr/bin/gcc-4.0
-rwxr-xr-x 1 root root 183444 2006-12-10 07:46 /usr/bin/gcc-4.1
lrwxrwxrwx 1 root root 10 2007-03-16 12:25 /usr/bin/gccbug -> gccbug-4.1
-rwxr-xr-x 1 root root 16079 2007-01-01 14:29 /usr/bin/gccbug-3.4
-rwxr-xr-x 1 root root 16256 2006-05-07 12:28 /usr/bin/gccbug-4.0
-rwxr-xr-x 1 root root 16283 2006-12-10 07:44 /usr/bin/gccbug-4.1
-rwxr-xr-x 1 root root 2018 2006-12-19 19:02 /usr/bin/gccmakedep

ll /usr/bin/g++*
lrwxrwxrwx 1 root root 7 2007-03-16 12:26 /usr/bin/g++ -> g++-4.1
-rwxr-xr-x 1 root root 97136 2006-05-07 12:29 /usr/bin/g++-4.0
-rwxr-xr-x 1 root root 183444 2006-12-10 07:45 /usr/bin/g++-4.1

ll /lib/libc*
-rwxr-xr-x 1 root root 1147548 2007-02-21 08:13 /lib/libc-2.3.6.so
lrwxrwxrwx 1 root root 14 2006-06-04 08:28 /lib/libcap.so.1 -> libcap.so.1.10
-rw-r--r-- 1 root root 11024 2004-04-13 15:10 /lib/libcap.so.1.10
lrwxrwxrwx 1 root root 17 2006-10-16 14:23 /lib/libcfont.so.0 -> libcfont.so.0.0.0
-rw-r--r-- 1 root root 10644 2006-09-05 09:26 /lib/libcfont.so.0.0.0
-rw-r--r-- 1 root root 181684 2007-02-21 08:13 /lib/libcidn-2.3.6.so
lrwxrwxrwx 1 root root 16 2007-03-16 12:19 /lib/libcidn.so.1 -> libcidn-2.3.6.so
lrwxrwxrwx 1 root root 17 2007-03-16 12:20 /lib/libcom_err.so.2 -> libcom_err.so.2.1
-rw-r--r-- 1 root root 5820 2007-03-06 19:17 /lib/libcom_err.so.2.1
lrwxrwxrwx 1 root root 19 2006-10-16 14:23 /lib/libconsole.so.0 -> libconsole.so.0.0.0
-rw-r--r-- 1 root root 73540 2006-09-05 09:26 /lib/libconsole.so.0.0.0
-rw-r--r-- 1 root root 21868 2007-02-21 08:13 /lib/libcrypt-2.3.6.so
lrwxrwxrwx 1 root root 17 2007-03-16 12:19 /lib/libcrypt.so.1 -> libcrypt-2.3.6.so
lrwxrwxrwx 1 root root 13 2007-03-16 12:19 /lib/libc.so.6 -> libc-2.3.6.so
lrwxrwxrwx 1 root root 19 2006-10-16 14:23 /lib/libctutils.so.0 -> libctutils.so.0.0.0
-rw-r--r-- 1 root root 18380 2006-09-05 09:26 /lib/libctutils.so.0.0.0

ll /lib/libstdc++.so.5
ls: /lib/libstdc++.so.5: No such file or directory

ll /usr/lib/libstdc++.so.5
lrwxrwxrwx 1 root root 18 2007-03-16 12:29 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7

ll /usr/lib/libstdc++*
lrwxrwxrwx 1 root root 18 2007-03-16 12:29 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
-rw-r--r-- 1 root root 737624 2007-01-03 11:47 /usr/lib/libstdc++.so.5.0.7
lrwxrwxrwx 1 root root 18 2007-03-16 12:20 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.8
-rw-r--r-- 1 root root 909044 2006-12-10 07:45 /usr/lib/libstdc++.so.6.0.8

Also, how might I determine the version of my binutils?

Thanks for any help you can offer!
0 Kudos
1 Reply
Steven_L_Intel1
Employee
749 Views
You've asked a lot of questions, not all of which I have answers to.

First, Debian is not a supported distro for ifort 10.0. If you can get it to work, fine, but we can't help you if it doesn't. You asked about "upgrading glibc" - that's the least of your problems - see the post I made to the recent thread here about glibc 2.6.

It sounds to me as if the variant of Debian you have installed is the 32-bit version. You need the "Linux x64" version to be able to build and run 64-bit executables.

I would very strongly recommend, especially if you are new to Linux, that you stick with one of the specifically listed distributions and versions in order to use Intel Fortran. Many experienced Linux users manage to get ifort to run on other distros, including Debian, but it can be complicated.

You don't say anything specific about the difference you found between ifort and gfortran. Can you elaborate?
0 Kudos
Reply