SUSE Linux Enterprise Desktop 11 SP2 安装intel FORTRAN 编译

在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

相关推荐