Install IntelFortranXE in Ubuntu10.10

Source: Internet
Author: User
Some time ago, Ubuntu had a problem. I re-installed Version 10.10, which is different from the previous advantages and disadvantages. I will not repeat it here. I will try again later on 11.04release. Now I will briefly introduce the installation steps: 1. Install Ubuntu. The steps are relatively simple. I am not a professional programmer engaged in network clusters, but will simply install them with dummies. There is just a-year-old Chinese version of the notebook, idle for a while, just to play with Ubuntu, it is also a waste of money. The minimum configuration and recommended configuration listed on the official website.

Some time ago, Ubuntu had a problem. I re-installed Version 10.10, which is different from the previous advantages and disadvantages. I will not repeat it here. I will try again later on 11.04release. Now I will briefly introduce the installation steps:

1. Install Ubuntu. The steps are relatively simple. I am not a professional programmer engaged in network clusters, but will simply install them with dummies. There is just a-year-old Chinese version of the notebook, idle for a while, just to play with Ubuntu, it is also a waste of money. I personally think the minimum configuration listed on the official website and recommended configuration is a bit exaggerated. Ubuntu does not save much of the resources it says on the Internet. Gnome and KDE are really not fuel-efficient lamps. For more information, consider XFCE for low configuration, its 4.6.0VER has also come out. If you are interested, you can test it. It seems that you can use the same low configuration to achieve better results. Well, let's talk less, and start the second step.

2. download the latest Fortran compiler from Intel official website. The current name is XE and the version number is 12.0.2. we recommend that you download the non commercial version, that is, to process some data. This version is more than enough. You can use a pro version for professional Fortran programming.

3. cd to the directory where your compiler is located, find the compressed package ending with tar. gz, and unbind it with the tar-xzvf command to get a folder.

4. Install the support library. the Ubuntu library teaches new users and f is old. You can use the following command to install it directly (ensure that your software source settings are not barrier)

Sudo apt-get install build-essential

Sudo apt-get install libstdc ++ 5

5. cd to the folder, you can sudo./install. sh. During this period, you need to enter the 7-digit capital letter password provided by the website and enter it.

6. Prompt after installation

7. If the installation is complete, you need to set the environment variable every time you enable it.

That is, source/opt/intel/bin/ifortvars. sh ia32 (other versions may have different paths ).

8. Check whether the installation is successful.

Use which ifort to see the installation path. Use the ifort-v command to see the Version number. Your Version is Version 12.0.2. In addition, you can edit a hello world applet to test the program, as shown in.

9. If you do not want to set the variable every time you enable it, you only need to modify the. bashrc file, that is, add source/opt/intel/bin/ifortvars. sh ia32 to the last line.

The end

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.