歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> SUSE Linux Enterprise Desktop 11 SP2 安裝intel FORTRAN 編譯器

SUSE Linux Enterprise Desktop 11 SP2 安裝intel FORTRAN 編譯器

日期:2017/2/28 15:45:04   编辑:Linux教程

在intel官方網站上下載FORTRAN編譯器的免費版本(Non-Commercial Software Download)。
通過注冊獲得序列號(serial number)及license文件(NCOM_L_CMP_FOR_***.lic)

# tar xvf l_cprof_p_11.0.084.tgz
# ./install.sh

(以下僅記錄關鍵步驟...)

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

Please type your serial number (the format is XXXX-XXXXXXXX): N**M-V******N


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
-- cannot determine operating system type
-- system glibc or kernel version not supported or not detectable
-- binutils 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

安裝中途會遇到找不到共享庫libstdc++.so.5的問題,需要安裝該庫即可。

The following required for installation commands are missing:
libstdc++.so.5 (library)

# zypper install libstdc++.so.5


... error while loading shared libraries: libstdc++.so.5

# rpm -ivhU libstdc++33-3.3.3-27.4.x86_64.rpm


6、退出root用戶的登陸,然後以一個個人用戶登陸,
登陸以後修改用戶根目錄下的.profile文件,在最後一行加入這麼一行:

. /opt/intel/Compiler/11.0/084/bin/ifortvars.sh intel64
注:其中點號.之後有空格。

#vim .profile
#source .profile

Copyright © Linux教程網 All Rights Reserved