با سلام
بعد از اینکه با توجه به لینک زیر ifort رو دانلود کردین وارد مرحله نصب میشیم.
قبل از آغاز نصب، پیشنیازهای زیر رو نصب کنید:
gcc,g++, build-essential, rpm ,
ia32-libs(برای 64بیتی ها),
libstdc++5(که باید از پکیجهای اوبونتو 9.4 استفاده کنینpackages.ubuntu.com ),
و در صورتی که میخواهید از دیباگر گرافیکی اینتل استفاده کنین بسته های زیر رو هم نصب کنین(اختیاری):
sun-java6-jre یا openjdk-6-jre-headless
نحوه نصب:
بعد از دانلود فایل،اونو از حالت فشرده خارج کنین
tar -zxvf l_cprof_p_11.1.072_ia32.tar.gz
توجه کنین که شماره ها با توجه به نسخه ای که دانلو میکنین تغییر میکنه!
بعد وارد پوشه زیر بشین
cd l_cprof_p_11.1.072_ia32/
سپس وارد کاربر ریشه بشین:
ahmad@ahmad-desktop:~/l_cprof_p_11.1.072_ia32$ sudo -s
[sudo] password for ahmad:
برای شروع نصب دستور زیر رو وارد کنین:
root@ahmad-desktop:~/l_cprof_p_11.1.072_ia32# ./install.sh
سپس با سوالات زیر مواجه میشین:
--------------------------------------------------------------------------------
Initializing, please wait...
--------------------------------------------------------------------------------
Step no: 1 of 7 | Welcome
--------------------------------------------------------------------------------
Welcome to the Intel(R) Fortran Compiler Professional Edition for Linux* version
11.1.
Intel(R) Fortran Compiler Professional Editions include not only the
high-performance Intel Fortran Compiler, but also Intel(R) Debugger and Intel(R)
Math Kernel Library (Intel(R) MKL) to create a strong foundation for building
robust, high performance parallel code at significant price savings.
--------------------------------------------------------------------------------
You will complete the steps below during this installation:
Step 1 : Welcome
Step 2 : License agreement
Step 3 : Activation option
Step 4 : Installation configuration
Step 5 : Configuration summary
Step 6 : Installation
Step 7 : Installation complete
--------------------------------------------------------------------------------
Press "Enter" key to continue or "q" to quit:
دکمهEnter رو بزنین!
Step no: 2 of 7 | License agreement
--------------------------------------------------------------------------------
To continue with the installation, you must accept the terms and conditions of
the End User License Agreement (EULA). The EULA will be displayed with the
"more" utility. While viewing the EULA, press the spacebar to page down or
press the "q" key to quit viewing the EULA. After viewing the EULA, you will
have the choice to either accept or decline the terms and conditions of the
EULA.
--------------------------------------------------------------------------------
1. View the license agreement (required) [default]
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]:
عدد یک رو وارد کنین تا وارد توافقنامه بشین بعد با زدن دکمه space به جلو حرکت کنین
--------------------------------------------------------------------------------
Do you agree to be bound by the terms and conditions of this license agreement?
Type "accept" to continue or "decline" to back to the previous menu:
در اینجا کلمه accept رو تایپ کنین!
در مرحله بعد باید نحوه اکتیو کردن برنامه رو انتخاب کنین که من چون به اینترنت دسترسی داشتم گزینه اول رو زدم(اگه سرعتتون پایینه نگران نباشین حجمش کمه)
Step no: 3 of 7 | Activation options
--------------------------------------------------------------------------------
Activation requires a serial number and internet connection. It is a secure and
anonymous one-time process which verifies your software licensing rights to
enable use of the product.
You can also choose to install the software for evaluation purposes or activate
at a later time. The software will time out in 30 days.
--------------------------------------------------------------------------------
1. I want to activate and install my product [default]
2. I want to evaluate my product or activate later
3. Alternative activation - necessary if you plan to activate remotely (
because
this system may not be set for successful Internet connection), or use a
license file, or use a license server
4. View additional information about software activation
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]: 1
در مرحله بعد هم گزینه یک رو انتخاب کنین و شماره سریالی که به ایمیلتون ارسال شده رو تایپ کنین
--------------------------------------------------------------------------------
Step no: 3 of 7 | Activation Options - Provide Your Serial Number
--------------------------------------------------------------------------------
If you have a serial number, please select option 1 below and provide your
serial number to activate and install your software.
--------------------------------------------------------------------------------
1. Provide your serial number [default]
2. View additional information about software activation
3. How do I find my serial number?
4. Where can I purchase a serial number?
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]: 1
Note: Press "Enter" key to back to the previous menu.
Please type your serial number (the format is XXXX-XXXXXXXX): NB3L-X8CC7Z65
--------------------------------------------------------------------------------
Activation completed successfully.
--------------------------------------------------------------------------------
Press "Enter" key to continue:
حالا باید نوع نصب رو معین کنید(من خودم همیشه گزینه custum رو انتخاب میکنم)
Step no: 4 of 7 | Installation Type
--------------------------------------------------------------------------------
Congratulations! Your software has been activated. Please continue the
installation by choosing Typical Install (default installation options) or
Custom Install to change the default installation options.
--------------------------------------------------------------------------------
1. Typical Install (Recommended) [default]
2. Custom Install (For Advanced Users)
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]: 2
وحالا نصب کامل یعنی گزینه اول رو انتخاب کنید:
Step no: 4 of 7 | Select components
--------------------------------------------------------------------------------
Intel(R) Fortran Compiler Professional Editions include not only the
high-performance Intel Fortran Compiler, but also Intel(R) Math Kernel Library
(Intel(R) MKL) to create a strong foundation for building robust, high
performance parallel code at significant price savings.
--------------------------------------------------------------------------------
1. Full Install of Intel(R) Fortran Compiler Professional Edition for Linux*
[default]
2. Custom Install - specify individual product components to install
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]: 1
در اینجا محلی که میخواهید کمپایلر رو نصب کنید تعیین میکنید(پیش فرض بهترین گزینه است)
Step no: 4 of 7 | Installation location
--------------------------------------------------------------------------------
Please provide the location where the Intel(R) Fortran Compiler Professional
Edition for Linux* version 11.1 will be installed.
--------------------------------------------------------------------------------
1. Install in the "/opt/intel/Compiler/11.1/072" directory [default]
2. Specify a custom installation directory
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]: 1
صبر کنید تا پیشنیازها چک شوند:
--------------------------------------------------------------------------------
Checking the prerequisites. It can take several minutes. Please wait...
--------------------------------------------------------------------------------
........................
اگه پیشنیازهایی که اول کار گفتم نصب کرده باشین با پیغام زیر مواجه میشین که درمورد عدم پشتیبانی از 10.4 وglibc و نسخه هسته هشدار میده!نگران نباشید شما میتونید با خیال راحت با انتخاب گزینه اول به نصب ادامه بدین!!!
Step no: 4 of 7 | Installation configuration - Missing Optional Pre-requisite
--------------------------------------------------------------------------------
There is one or more optional unresolved issues. It is highly recommended to fix
it all before you continue the installation. You can fix it without exiting from
the installation and re-check. Or you can quit from the installation, fix it and
run the installation again.
--------------------------------------------------------------------------------
Missing optional pre-requisite
-- operating system type is not supported.
-- system glibc or kernel version not supported or not detectable
--------------------------------------------------------------------------------
1. Skip missing optional pre-requisites [default]
2. Show the detailed info about issue(s)
3. Re-check the pre-requisites
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]:1
در اینجا هم تایید نهایی برای آغاز نصب:
Step no: 5 of 7 | Configuration summary
--------------------------------------------------------------------------------
Select option "1" below to begin installing files based on the information you
provided. Use the "b" option to go back to the previous screen(s) if you need
to change any of the information below.
--------------------------------------------------------------------------------
Activation Type:
Serial Number: NB3L-X8CC7Z65
Component(s):
Intel(R) Fortran Compiler Professional Edition for Linux*
Intel(R) Fortran Compiler for applications running on IA-32
Intel(R) Debugger for applications running on IA-32
Intel(R) Math Kernel Library for applications running on IA-32
Location:
/opt/intel/Compiler/11.1/072
Install Mode:
NONRPM
--------------------------------------------------------------------------------
1. Install [default]
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]:
نصب در حال اجرا میباشد:
Step no: 6 of 7 | Installation
--------------------------------------------------------------------------------
Each component will be installed individually. If you cancel the installation,
components that have been completely installed will remain on your system. This
installation may take several minutes, depending on your system and the options
you selected.
Installing, please wait...
--------------------------------------------------------------------------------
Installing Intel(R) Fortran Compiler for applications running on IA-32
component...
Intel(R) Fortran Compiler for applications running on IA-32 component installed
successfully.
--------------------------------------------------------------------------------
Installing Intel(R) Debugger for applications running on IA-32 component...
Intel(R) Debugger for applications running on IA-32 component installed
successfully.
--------------------------------------------------------------------------------
Installing Intel(R) Math Kernel Library for applications running on IA-32
component...
Intel(R) Math Kernel Library for applications running on IA-32 component
installed successfully.
--------------------------------------------------------------------------------
Press "Enter" key to continue
پایان نصب و خروج
Step no: 7 of 7 | Installation complete
--------------------------------------------------------------------------------
Thank you for installing and for using the
Intel(R) Fortran Compiler Professional Edition for Linux* version 11.1.
Your Subscription Service starts with your activation. Create your support
account now in order to access free product updates and upgrades. In addition
to product updates and upgrades, you will get access to interactive issue
management and communications, technical support, sample code, and
documentation.
Support services start from the time you install or activate your product, so
please be sure to create your support account now in order to take full
advantage of your product purchase.
To create your support account, please visit the Subscription Services web site
https://registrationcenter.intel.com/RegCenter/registerexpress.aspx?clientsn=NB3L-X8CC7Z65
--------------------------------------------------------------------------------
h. Help
q. Quit [default]
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [q]:
چند لحظه صبر کنین شما باید متغیر ifort رو به ترمینال بشناسونید، پس وارد home خودتون بشید و ctrl+h رو بزنید. حالا دنبال فایل bashrc. بگردید اونو باز کنید و خط زیر رو به انتهای اون اضافه کنید:
. /opt/intel/Compiler/11.1/072/bin/ifortvars.sh ia32
توجه: اول این عبارت یک نقطه سپس یک فاصله و بعد آدرس فایل ifortvars.sh و بعد مدل سیستم رو تعیین کنید.
توجه کنید که آٔرس فایل رو با توجه به محل نصب خودتون قرار بدین و ia32 هم یعنی سیستم من 32 بیتی میباشد.تمام