Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Installation of if 11 on fc 9

troelsfr
Beginner
731 Views

Hello,

I am trying to install ifort 11.0 on Fedora Core 9. I have been googling around for a bit without any luck. In step 4 I get the following message:

Step no: 4 of 7 | Installation configuration - Missing Critical Pre-requisite
--------------------------------------------------------------------------------
The following required for installation commands are missing:
libstdc++.so.5 (library)
--------------------------------------------------------------------------------
1. Finish with prerequisites and back to Critical Pre-requisites dialog
[default]
2. Back to Pre-requisite summary dialog

h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]:

However,

# locate libstdc++.so

gives

/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.10
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/libstdc++.so
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/32/libstdc++.so
/usr/lib64/libstdc++.so.5
/usr/lib64/libstdc++.so.5.0.7
/usr/lib64/libstdc++.so.6
/usr/lib64/libstdc++.so.6.0.10

What is wrong? I might be useful for you to know that

uname -a
Linux localhost.localdomain 2.6.25-14.fc9.x86_64 #1 SMP Thu May 1 06:06:21 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

Thanks in advance

0 Kudos
4 Replies
Steven_L_Intel1
Employee
731 Views

Are you perhaps trying to install the 32-bit compiler? Choose the "Intel 64" compiler instead.

0 Kudos
troelsfr
Beginner
731 Views

Are you perhaps trying to install the 32-bit compiler? Choose the "Intel 64" compiler instead.

Thanks for your suggestion but the one I have tried is:l_cprof_p_11.0.074_intel64.tgz which should be the 64 bit version.

0 Kudos
troelsfr
Beginner
731 Views
Quoting - troelsfr

Thanks for your suggestion but the one I have tried is:l_cprof_p_11.0.074_intel64.tgz which should be the 64 bit version.

The solution is to install libstdc++.so.5 in a 32-bit version. Reading the manual I see the Intel actually point this out. I do, however, not find it intuitive :) Sorry for not rtfm and I don't hope that anybody has wasted too much time on this post.

Just to point out exactly what I did:

  1. I made a fresh install of FC9
  2. yum installcompat-libstdc++-33
  3. yum installcompat-libstdc++-33.i386 (this was the part I miss by the time of this post)
  4. Install of ifort

And that's it :) As pointed out inhttp://forums.fedoraforum.org/showthread.php?t=202173 it is not enough to just make symbolic links from the 64 lib to the 32 lib.

0 Kudos
TimP
Honored Contributor III
731 Views
Quoting - troelsfr

Thanks for your suggestion but the one I have tried is:l_cprof_p_11.0.074_intel64.tgz which should be the 64 bit version.

Do you have a working installation of g++ active when you are root, so that the ifort installer can make use of it? 11.0 compilers for Intel64 use only 64-bit libraries, a change from 10.1. This message about missing libstdc++ causes people to look up comments about 10.1 install and get confused.

Although the 11.0 installer includes a 64-bit libstdc++:

l_cprof_p_11.0.074_intel64/pset/64/gcc-3.2/libstdc++.so.5

my compiler installation is using one provided by the linux distro:

/usr/lib64/libstdc++.so.5.0.7

These two are entirely different. Making a WAG, maybe the installer should try to see if its own libstdc++ will work, if it doesn't find one already installed, but it looks like it would do that only if gcc-3.2 is active.

The Intel64 compiler installation also has added its own libraries to the g++ search path, another new twist.

Executables built with ifort -lstdc++ will use yet another libstdc++, the one which belongs to the active g++ (libstdc++.so.6, for recent gcc installations).

0 Kudos
Reply