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

Installation of Fortran and C++ compilers on Core-i7 using Cent OS Linux

deutschf
Beginner
823 Views
Dear all,
I am very new to this and hope that someone would have an answer for me.
I have been trying to install Fortran and C++ compilers on my Linux (Cent OS).
Following the instruction for download and unpack the compilers, I have successfully followed up until the installation part.
When I used the ./install.sh The screen indicated that the architecture is not supported or different.
My computer is run on core-i7, so I am not sure if this is the problem with the core-i7 or the Cent OS Linux.
Or if there is any library or required files to be installed prior to these compilers.
Anyone have any idea? Please help....
0 Kudos
4 Replies
mecej4
Honored Contributor III
823 Views
The compilers and Centos can be either 32-bit or 64-bit versions. Each OS/compiler combination has to meet a few simple prerequisites that are described in the release notes and installation instructions for the compilers.

Once in a while a user tries to install an IA64 version of the compiler on an AMD64/EM64T/Intel64 system, having confused IA64 with X64.

Please report the output of uname -a on your Centos system, the output of rpm -qa glibc* , and the name of the downloaded Intel compiler distribution file, e.g., l_cprof_p_11.1.073.tgz .
0 Kudos
deutschf
Beginner
823 Views
Dear mecej4
I have done what you suggsted.
- Linux localhost.localdomain 2.6.18-194.17.1.el5PAE # 1 SMP Wed Sep 29 13:31:51 EDT 2010 i686 i686 i386 GNU/LINUX
- glibc-2.5.-49.el5_5_5
- l_cprof_p_11.1.073_intel64
- l_cproc_p_11.1.073_intel64
Actually I have tired both version, IA64 and intel64
But both doesn't work saying that the system architecture are not correct or something like that.
0 Kudos
TimP
Honored Contributor III
823 Views
Under the 32-bit CentOS you have installed, only the ia32 version of ifort will work. You could change your OS to similar x86_64 version, then both the intel64 and ia32 ifort will work, the first with a g++ (64-bit) development system installed, the latter requiring also the g++ 32-bit (possibly called "legacy" development system). "Compatibility" libstdc++-33 libraries, both 32- and 64-bit, also are required, until the next major release of ifort.
Additional possible complications for installation of the gui debugger idb: you may have to remove a symlink, if 'java -version' is linked to gcj, and then install the 32-bit Sun jre (64-bit jre if you change to 64-bit OS), with certain CentOS versions. While it may not be clear, failing to install the jre prerequisite will not interfere with running the compiler and command line debugger idbc.
0 Kudos
deutschf
Beginner
823 Views
Thank you very much. I will try to reinstall Cent OS for x64 version and try to install compilers again.
Very appreciate your answer :)
0 Kudos
Reply