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

Ubuntu LTS 12.04: installing l_fcompxe_2011.10.319

riccardo_m
Beginner
1,372 Views
Hi everybody,

as stated in the Title I'm trying to install l_fcompxe_2011.10.319 package on my new 64-bit notebook, which is now running Ubuntu 12.04 OS. Before attempt the installation, I run these commands:

apt-get install build-essential
apt-get install gcc-multilib
apt-get install rpm
apt-get install openjdk-6-jre-headless

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

Everything is ok until step 4, where I get this message:

Step no: 4 of 6 | Options > Missing Optional Pre-requisite
--------------------------------------------------------------------------------
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++ (including libstdc++6)
glibc
libgcc
Without these libraries, the compiler will not function properly. Please refer
to Release Notes for more information.

I'm not new of Ubuntu but still not expert... do I still need version 5 of libstdc++? can someone please help me someway?

lots of thanks

Riccardo
0 Kudos
1 Solution
Hubert_H_Intel
Employee
1,372 Views
Riccardo,
It's the ia32-libs package that needs to be installed on Ubuntu 64-bit ($ sudo apt-get install ia32-libs) when you want to use the 32-bit compiler. If not, you can ignore this message.
Hubert.

View solution in original post

0 Kudos
10 Replies
mecej4
Honored Contributor III
1,372 Views
I am not familiar with Ubuntu, but in essence what you need before a successful installation of Intel Fortran is the capability to build and run C/C++ programs from source code. The specific package(s) that give you that capability depend on the "distro"; it is often called GCC 32-bit compatibility package or something similar.
0 Kudos
Hubert_H_Intel
Employee
1,373 Views
Riccardo,
It's the ia32-libs package that needs to be installed on Ubuntu 64-bit ($ sudo apt-get install ia32-libs) when you want to use the 32-bit compiler. If not, you can ignore this message.
Hubert.
0 Kudos
riccardo_m
Beginner
1,372 Views
Mecej4 and Hubert,

thank you very much for your help and attention, I'll then proceed with installation.

ciao

R
0 Kudos
riccardo_m
Beginner
1,372 Views
Hubert,

installation have been completed successfully, but when I invoke "ifort mycode.f" in the terminal it gives me:

fortcom: File o directory non esistente
ifort: error #10273: Fatal error in fortcom, terminated by 0x64

I tried:

/(my installation path)/Intel/bin/ifort mycode.f

and it works. I tried to fix the problem using:

[...]
13- nano .bashrc
the nano editor will open ".bashrc" file,
go to the end of this file and add the following lines:

PATH="/opt/intel/Compiler/11.0/081/bin/intel64:$PATH"
export PATH
LD_LIBRARY_PATH="/opt/intel/Compiler/11.0/081/lib/intel64:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
[...]

from http://ubuntuforums.org/showthread.php?t=1082782&highlight=ifort, but it didn't work. Note that instead of /opt/intel/Compiler/11.0/081/bin/intel64 I wrote:

/(my installation path)/Intel/composer_xe_2011_sp1.10.319/compiler/lib/intel64

The compiler seems to work, now it's just a matter of convenience: every time I need the ifort command I have to type its entire path...

thank you again

Riccardo
0 Kudos
Hubert_H_Intel
Employee
1,372 Views

Riccardo,

Doesn't look like that you invoked the compiler source script, default:
$ source /opt/intel/bin/compilervars.sh intel64

Hubert.

0 Kudos
riccardo_m
Beginner
1,372 Views
Hubert,

this is what I have in my /opt/intel directory:

gaucho@koala:/opt/intel$ ls
ActivationTool intel_sdp_products.db licenses
gaucho@koala:/opt/intel$

I did not install the compiler in the default path because of limited hard disk space in the system partition. It's in the home directory:

/home/gaucho/Programmi/intel/...

Riccardo
0 Kudos
TimP
Honored Contributor III
1,372 Views
If you want the compilervars script sourced automatically, you can add that to the startup script for opening windows under the shell you use. This is mentioned in the docs.
0 Kudos
ofan
Beginner
1,372 Views
maybe you can put this in your .bashrc , it will did like what Hubert mean
source /home/gaucho/Programmi/intel/bin/compilervars.sh intel64
0 Kudos
Vakho_Makarashvili
1,372 Views
Hello, guys.

I'm having the same problem. I'm trying to install Intel Fortran Composer XE 2011 on 64bit Ubuntu LTS 12.04 and the installer is complaining about missing 32bit pre-requisites:

Step no: 4 of 6 | Options > Missing Optional Pre-requisite
--------------------------------------------------------------------------------
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++ (including libstdc++6)
glibc
libgcc
Without these libraries, the compiler will not function properly. Please refer
to Release Notes for more information.

Riccardo, how did you bypass this step in the installation?

Hubert, I did apt-get install ia32-libs but it didn't help. I'm still getting the same message.

I started the installation with running:

apt-get install build-essential
apt-get install gcc-multilib
apt-get install rpm
apt-get install openjdk-6-jre-headless

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

Can you please advise.

Thank you.

Vakho

0 Kudos
Ron_Green
Moderator
1,372 Views
Vakho,

There is another option: don't install the 32bit compiler and just install the 64bit compiler.

The IRC has 4 packages you can download. If you choose the "Product for 32-bit/64-bit (x64) development" that kit will install the 32bit compiler and requires a full 32bit gcc and libraries to be installed on your system.

Many distros are not shipping the 32bit dev tools by default.

IF you only want or care about 64bit development, go to https://registrationcenter.intel.com and download the kit "Product for 64bit (x64) development" and install it. It does NOT require the 32bit dev environment.

ron
0 Kudos
Reply