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

Intel Fortran Compiler v11.0 on ubuntu 64-bit

fivos
Beginner
1,596 Views
Hi everyone,
I have downloaded the non-commercial version of the Intel Fortran Compiler to use it on my PC which runs Ubuntu 64-bit. I have followed the installation steps,till the point where theinstallation script searches for the prerequisites for the compiler. At this point the script tells me that I dot have several important libraries and thus installation cannot continue. To be specific I get the following message:

32-bit libraries not found on this system.
This product release requires the presence of 32-bit compatibility libraries
when running on Intel 64 architecture systems. One or more of these libraries
could not be found:
libstdc++
libstdc++5
glibc
libgcc
Without these libraries, the compiler will not function properly. Please refer
to Release Notes for more information.

After that I have searched for these libraries through the synaptic package manager, on the internet and also using the command sudoapt-get install. But :
-I could not find the librarieslibstdc++ and libgcc neither by using synaptic, nor by the command sudo apt-get install.
-The glibc library was found through synaptic, only in its 'source' form and I installed it.
-The libstdc++5 library seems to be installed according to the synapticpackage manager.

Does anyone have any ideas about what I can do with the missing libraries? Where can I find them and how can I install them?Also since I am a newbie in linux I would really appreciatedetailed instructions forthe libraries installation procedure.

Thanks in advance
0 Kudos
6 Replies
rreis
New Contributor I
1,596 Views

This will look for packages containing this word in the name or description

apt-cache search libstdc++

but has you are looking for files this can also be handy

apt-file update
apt-file search libstdc++


----
but if you are in 64 bit why don't just install the 64 bit version of the compiler or you want to crosscompile stuff to 32 bit also?

if you want to crosscompile I think the package you are looking for is

ia32-libs

>debian page for the package:
http://packages.debian.org/lenny/ia32-libs
0 Kudos
fivos
Beginner
1,596 Views
but if you are in 64 bit why don't just install the 64 bit version of the compiler or you want to crosscompile stuff to 32 bit also?
Because I dont have any other choice. The compiler needs the 32-bit libraries whether it works on 64-bit system or not. The message I get during installation is :

32-bit libraries not found on this system.
This product release requires the presence of 32-bit compatibility libraries
when running on Intel 64 architecture systems. (see my first post)

As far as I understand this message, the compiler needs these 32-bit libraries even on a 64-bit system. Besides even in the compiler's installation guide it is mentioned that these 32-bitlibraries are needed for 64-bit systems.
I will try the commands apt-cache search libstdc++etc. I also saw that the package ia32-libs you mentioned from
http://packages.debian.org/lenny/ia32-libs does not have these libraries :
libstdc++
glibc
libgcc
It has the libstdc++.so.5 which I already have (or at least synaptic says so).


0 Kudos
rreis
New Contributor I
1,596 Views
Quoting - fivos
but if you are in 64 bit why don't just install the 64 bit version of the compiler or you want to crosscompile stuff to 32 bit also?
Because I dont have any other choice. The compiler needs the 32-bit libraries whether it works on 64-bit system or not. The message I get during installation is :

32-bit libraries not found on this system.
This product release requires the presence of 32-bit compatibility libraries
when running on Intel 64 architecture systems. (see my first post)

As far as I understand this message, the compiler needs these 32-bit libraries even on a 64-bit system. Besides even in the compiler's installation guide it is mentioned that these 32-bitlibraries are needed for 64-bit systems.
I will try the commands apt-cache search libstdc++ etc. I also saw that the package ia32-libs you mentioned from
http://packages.debian.org/lenny/ia32-libs does not have these libraries :
libstdc++
glibc
libgcc
It has the libstdc++.so.5 which I already have (or at least synaptic says so).



some thoughts:

- the libraries you need are not the 64 bit ones, installed in the normal directories. in a debian like system, like Ubuntu, they will be installed in /emul/ia32-linux

- I have the impression that the dependence of the 32 libs was taken away in the last releases of the intel fortran compiler. what version did you download, the pure 64 one? for the last version it would be

l_cprof_p_11.0.083_intel64.tgz

but, off course I might be wrong because the machine I installed it has already those files. so these are the 32 libs I got in my 64 bit system (after dpkg -l | grep 32 ):

ii ia32-libs 2.7 ia32 shared libraries for use on amd64 and i
ii lib32asound2 1.0.19-1 shared library for ALSA applications (32 bit
ii lib32gcc1 1:4.3.3-5 GCC support library (32 bit Version)
ii lib32gfortran3 4.3.3-5 Runtime library for GNU Fortran applications
ii lib32gomp1 4.3.3-5 GCC OpenMP (GOMP) support library (32bit)
ii lib32ncurses5 5.7+20090228-1 shared libraries for terminal handling (32-b
ii lib32stdc++6 4.3.3-5 The GNU Standard C++ Library v3 (32 bit Vers
ii lib32z1 1:1.2.3.3.dfsg-13 compression library - 32 bit runtime
ii libc6-dev-i386 2.9-4 GNU C Library: 32bit development libraries f
ii libc6-i386 2.9-4 GNU C Library: 32bit shared libraries for AM

hope it helps.


0 Kudos
fivos
Beginner
1,596 Views
The fortran compiler I have downloaded is the l_cprof_p_11.0.083.tgz,namedProduct for IA-32/Intel 64 and as I can understand fromits size it contains both the versions for 32 bit and 64 bit. Anyway I have found some info here (http://ubuntuforums.org/showthread.php?t=1082782&highlight=Install+Intel+Fortran+11.0) on how I can install the compiler on ubuntu.
I hope it works. Thank you for your time.
0 Kudos
rreis
New Contributor I
1,596 Views
Quoting - fivos
The fortran compiler I have downloaded is the l_cprof_p_11.0.083.tgz,namedProduct for IA-32/Intel 64 and as I can understand fromits size it contains both the versions for 32 bit and 64 bit. Anyway I have found some info here (http://ubuntuforums.org/showthread.php?t=1082782&highlight=Install+Intel+Fortran+11.0) on how I can install the compiler on ubuntu.
I hope it works. Thank you for your time.

now it is explained :) you download the 32/64 bit version. if you had download the pure (only 64 bit) version you wouldn't have had such problems. that's what I was trying to tell you. my question was if you intend to compile binaries for 32 bit architectures in your 64bit machine.
0 Kudos
Ron_Green
Moderator
1,596 Views


I wrote an article on Ubuntu and Intel 11.0

http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/


This should cover everything, if not let me know

ron
0 Kudos
Reply