This is the troubleshooting steps for installing intelfortran11forlinux in 64-bit Ubuntu, the reason for writing this is that some of the younger siblings did not install intelfortran on 64-bit systems (most of them should be dependent on it), so I tried to write a tutorial, record backup here. I installed it on Ubuntu only. The system of the apt package manager should be the same, but even if the package manager is changed to yum, there should be no difference.
This is a solution to the problem of installing intel fortran 11 for linux in 64-bit Ubuntu, the reason for writing this is that some of the younger siblings have not installed intel fortran on 64-bit systems (most of them should be dependent on it), so I tried to write a tutorial, record backup here.
I installed it on Ubuntu only. The system of the apt package manager should be the same, but even if the package manager is changed to yum, there should be no difference, change apt-get install to yum install ...... The following are some steps:
First, make sure that your system has the basic library required for compiling ifort. Such as gcc g ++. If it is normal, general systems have been installed.
If not, run the following command to install the SDK. During the installation process, you may be asked if you want apt-get to solve the dependency and leave all the problems to the computer.
Apt-get install gcc
Apt-get install build-essential
Apt-get install g ++
If you install 32-bit ifort on a 64-bit system like me, you will need to install 32-bit library support. However, according to some reports, even if you only install the amd64 compiler, you need these libraries (!), So no matter how it is installed, there is no difference between those hundred KB of space ...... These libraries have been installed here. If you do not have them, run the following command:
Apt-get install ia32-libs
You can install other 32-bit libraries. You may need to install the following libraries. If your machine has compiled a 32-bit program before, these libraries should have been installed:
Apt-get install libstdc ++ 5
Apt-get install lib32stdc ++ 6
Apt-get install libc6-dev-i386
Apt-get install gcc-multilib
Apt-get install g ++-multilib
However, if you are using ubuntu 9.10, you may find that libstdc ++ 5 is not provided in the library 9.10 (...... It is necessary to install the ifort library)
However, we can use the debian Library (come, debian users will scold ubuntu)
Http://packages.debian.org/stable/base/libstdc++5
Download deb packages for i386 and amd64
Cd to the directory where the deb package is located, and install the amd64 package directly:
Dpkg-I libstdc ++ 5_xxxxx_amd64.deb
The i386 package may be a little troublesome, because if you install this package directly (you may need to add the-force-architecture parameter ), the installer will overwrite the 32-bit database ......
Therefore, you may need to manually decompress the package:
Dpkg-extract libstdc ++ _ xxxxx_i386.deb ./
Copy the libstdc ++. so.5.xxx file in the lib directory to the 32-bit library of the system, and then link it to libstdc ++. so.5.
Cd usr/lib
Cp libstdc ++. so.5.xxx/usr/lib32
Cd/usr/lib32
Ln-s libstdc ++. so.5.xxx libstdc ++. so.5
If you want to Bypass intel's installer and install it by yourself (intel provides the rpm package), you may need to install rpm (if it is a Fedora system, you can directly install it ......)
Apt-get install rpm
If you want to use the graphical interface IDB (this should be a new feature of intel fortran 11.0), you need to install java support and install a jre. Here we will not discuss java (I hate java ...) :
Sudo apt-get install sun-java6-jre
Here we have probably solved the required dependencies. We can use the install. sh file provided by intel for normal installation (probably ).
There is not much to say, however, half of the installation may prompt you that the system does not support the cloud, usually only ubuntu 9.04 does not report this error, because 9.04 is in the list of official support. At least 9.10 of me will report the following error:
-Operating system type is not supported.
-System glibc or kernel version not supported or not detectable
-Binutils version not supported or not detectable
Wocould you like to perform an unsupported install of this product? And so on.
Regardless of whether the installation is successful, simply install it by force (Click yes. If the problem persists, the details are displayed when an error is reported. The missing libraries are usually listed and the dependency is manually resolved ......
After the installation is complete, input it in the command line (if you have two 32-bit and 64-bit versions as you are)
For 64-bit
Source/opt/intel/Compiler/11.x/ xxx/bin/ifortvars. sh intel64
Ifort-help
For 32-bit
Source/opt/intel/Compiler/11.x/ xxx/bin/ifortvars. sh ia32
Ifort-help
Check whether it can run.
If idb (and java support) is installed, you can also enter
Idb
Check whether the GUI of idb is available.