您的位置:首页 > 运维架构 > Linux

CENTOS 4.* Linux OS 安装 PGI Fortran Workstation 2013.13.3

2013-04-03 13:27 423 查看
http://www.pgroup.com/download选择下载linux-64 PGI Fortran

上传pgilinux-2013-133.tar.gz到目录 /tmp/pgi

解压安装包 tar xvf pgilinux-2013-133.tar.gz

(root账户下) 运行安装包./install

Do you accept these Owership terms? Accept

Pleasechoose install option : network install

Install directory /opt/pgi

Common local directory on all hosts forshared objects: /usr/pgi/13.3/share_objects

Install the ACML? Y

Install CUDA Toolkit Components ? y

Install JAVA JRE

Do you wish to update/create links in the2013 directory? Y

Do you wish to install MPICH ? Y

Remote execution method? SSH

Do you wish to generate license keys?

1 generate a license key for this computer

2 configure and start a license server onthis computer

3 all of the above

4 I am not sure

What do you want to do ? 1

How does this computer access the internet? 1

Direct internet connection

Manual proxy configuration

Automatic proxy configuration

Please enteryour PGI account credentials

The PGI licensetool can be re-stared by running the script located at/opt/pgi/linux86-64/13.3/bin/pgi_license_tool

Do you want thefiles in the install directory to be read_only ? n

安装提示 installcompleted ….

步骤二:

配置环境变量

$ PGI=/opt/pgi;export PGI
$PATH=/opt/pgi/linux86-64/13.3/bin:$PATH; export PATH
$MANPATH=$MANPATH:/opt/pgi/linux86-64/13.3/man; export MANPATH
$LM_LICENSE_FILE=$LM_LICENSE_FILE:/opt/pgi/license.dat;export LM_LICENSE_FILE

注:1,这时候license.dat 并不存在;(试用版)需要到PGI官网登录(已注册的)账户获取一个试用版license.dat

获取license需要本机 hostid,运行如下命令获得:

# lmutil lmhostid

该命令返回两个Hostid, 形如"12345678abcd edcba9876543".

默认使用第一个ID号即可。

由于是试用版,license.dat内容如下:

SERVER ANY ANY # 即这里的user-name其实是任意值,但是后文hostid必须正确

将获取的license.dat 复制到PGI的安装目录

# Cplicense.dat /opt/pgi

完成上面的步骤,环境变量配置完成

执行下面命令, 生成lib

opt/pgi/linux86/13.3/bin/makelocalrc-x /opt/pgi/linux86/13.3 \
-net/usr/pgi/shared/13.3
/opt/pgi/linux86-64/13.3/bin/makelocalrc-x /opt/pgi/linux86-64/13.3 \
-net /usr/pgi/shared/13.3

# whichpgcc 查看已配置好的环境变量。

# pgf90 测试编译器安装是否chengg
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: