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

Ifort and glibc 2.7

dima_vin
Beginner
793 Views
compilation of ifort fails because it can't find glibc 2.7,
when I tried inserting glibc 2.7 to the path where ifort is looking (install_fc.sh),
it didn't find libstdc++.so.5 (or something like that..).

I need to install for a x64 bit system.
how to do that?
System spec:
Fedora core 8 x64
glibc 2.7.2
ifort 10.1.008
Intel Core2 Duo Processor E6850, LGA775 Package 3.00GHz

PS: does ifort support glibc 2.7?
thx all.
0 Kudos
4 Replies
TimP
Honored Contributor III
793 Views
You may be confusing the question of whether you installed 32-bit C++ libraries with the glibc version question. You need the 32-bit libstdc++. If there is no "compatibility" (32-bit run-time support) library option in your distro install, install all the libstdc++.so .rpms directly, both 32- and 64-bit.
No, ifort doesn't officially support FC8, but it should work if you install all relevant glibc components. Check previous posts on the subject.
0 Kudos
dima_vin
Beginner
793 Views
thx for answer.

according to package manager
i have
glibc 2.7-2.x86_64
glibc 2.7-2i686
libstdc++ 4.1.2-33.x86_64
libstdc++ 4.1.2-33.i386

as i understood i do have 32 support ... am i right?

0 Kudos
TimP
Honored Contributor III
793 Views
Yes, it looks OK. ifort should be using
g++ -print-search-dirs
(running as root, if you chose the normal option) to find the glibc installation. If it doesn't use
g++ -m32 -print-search-dirs
to find the 32-bit library, it would be looking in the /lib/ path corresponding to the 64-bit library path. From your comments, you may have installed glibc in some unusual path.
If you got the question "do you want an unsupported installation?" the answer would be yes.
0 Kudos
dima_vin
Beginner
793 Views
i got glibc with fedora, i did not install it separatly.
i will try unsupported installation.
0 Kudos
Reply