Chinaunix首页 | 论坛 | 博客
  • 博客访问: 56321
  • 博文数量: 13
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 151
  • 用 户 组: 普通用户
  • 注册时间: 2014-03-10 15:31
文章分类

全部博文(13)

文章存档

2014年(13)

我的朋友

分类: LINUX

2014-04-09 11:21:31


官方安装指南:

()

COMPATIBLE Intel Compiler Versions: In order to use Intel? Compilers (C++  or  Fortran) under the lastest release of Ubuntu, you will need newer versions of the Intel compiler(s).   Do NOT try to install older Intel Compilers such as 12.0, 11.x, 10.x, 9.x or 8.x under Ubuntu 12.xx or newer: they will not install easily and probably will not work - and they are NOT supported.  If you need an older Intel Compiler version, please read their ReleaseNotes and obtain an older, supported distribution (read this): 


Ubuntu 11.04 through Ubuntu 12.10  :

apt-get install build-essential
apt-get install gcc-multilib
apt-get install rpm
apt-get install ia32-libs  (only needed if you install the 32bit compiler)
apt-get install openjdk-6-jre-headless


UMASK before you install:  If you will install as root or use sudo for the installation, check the umask setting for your root user:
#   umask
or
sudo bash ; umask

the value should be 0022.  If not, set it to 0022 so that the files you install are readable by non-root users:
umask 0022

INSTALLATION:  
untar the package tarball in a scratch directory such as /tmp.  tar -zxvf l_fcompxe_2013.x.yyy[_intel64 | _ia32].tgz
cd into the extracted directory
./install.sh and follow the instructions.



during the install, you can ignore any warnings about the missing Java prerequisite - it may not recognize openjdk-6-jre-headless.

5、 cd 到l_cprof_p_11.1.072_ia32.tgz 文件所在的目录,然后解压。

!注:终端下可用命令:

tar -zxvf l_cprof_p_11.1.072_ia32.tgz  解压。

6、进入解压后的文件夹,运行:

sudo ./install.sh

7、选择1,typical安装

8、一路enter下去,有yes or no就输入yes,有accept or rejecet就输入accept

9、选择默认的安装路径即可,一路enter下去

10、若安装正常,应会提示安装成功;

11、将语句

source /opt/intel/Compiler/11.1/072/bin/ifortvars.sh ia32

加入到 ~/.bashrc(其他Linux是~/.bash_profile文件) 文件末尾,保存退出。
     (我添加的是source /opt/intel/composer_xe_2013_sp1.2.144/bin/ifortvars.sh ia32)

!注:终端下可执行 sudo gedit ~/.bashrc
  !必须重启使之生效。
  !另:For ifort 2011.084:
  !source /opt/intel/bin/compilervars.sh ia32

12、注销,使配置文件生效

13、测试,which ifort,会显示安装路径




终端显示:
(省略)
Step 6 of 7 | Installation
--------------------------------------------------------------------------------
Each component will be installed individually. If you cancel the installation,
some components might remain on your system. This installation may take several 
minutes, depending on your system and the options you selected.
--------------------------------------------------------------------------------
Installing Intel Fortran Compiler XE for IA-32 component... done
--------------------------------------------------------------------------------
Installing Intel Debugger for IA-32 component... done
--------------------------------------------------------------------------------
Installing Intel MKL core libraries for IA-32 component... done
--------------------------------------------------------------------------------
Installing Fortran 95 interfaces for BLAS and LAPACK for IA-32 component... done
--------------------------------------------------------------------------------
Installing GNU* Compiler Collection support for IA-32 component... done
--------------------------------------------------------------------------------
Installing GNU* GDB 7.5 on IA-32 (Provided under GNU General Public License v3) 
component... done
--------------------------------------------------------------------------------
Finalizing product configuration...
--------------------------------------------------------------------------------
Press "Enter" key to continue



Step 7 of 7 | Complete
--------------------------------------------------------------------------------
Thank you for installing and for using the Intel(R) Fortran Composer XE 2013 SP1
Update 2 for Linux*.




阅读(2345) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~