[问题]如何在ubuntu上安装pgi编译器,谢谢!

软件和网站开发以及相关技术探讨
回复
jianzhifu
帖子: 19
注册时间: 2007-10-18 21:43
送出感谢: 0
接收感谢: 0
联系:

[问题]如何在ubuntu上安装pgi编译器,谢谢!

#1

帖子 jianzhifu » 2007-11-06 22:28

不知哪位高手安装了pgi编译器,请给告诉一下你安装的详细步骤,好吗?我的ubuntu装不上,我装的是pgi7.04,好像是arch not find ,好像是找不到安装路径。请哪位大虾顺便告知一下本人不胜感激!
头像
oneleaf
论坛管理员
帖子: 10231
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04
送出感谢: 7 次
接收感谢: 103 次

#2

帖子 oneleaf » 2008-08-15 16:34

Install Gaussian 03 + PGI on Ubuntu
19 07 2008

1. PGI compiler program
-download PGI fortran workstation from pgroup.com
-install PGI (edit install file by replacing arch to `uname -m`)

$ tar xpfz PGIPGI.tar.gz
$ ./install
*follow instructions and use default target directory (/opt/pgi)

2. Gaussian 03
-copy the compiled g03 program to /home/USER/ (USER=$whoami)

3. Edit .bashrc

$ mkdir /home/USER/scratch
$ vi /home/USER/.bashrc
or $ vi /etc/bash.bashrc

-add 4 lines

export g03root=/home/USER
source $g03root/g03/bsd/g03.profile
export GAUSS_SCRDIR=/home/USER/scratch
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/pgi/linux86-64/7.1/libso

4. Check library file
-/opt/pgi/linux86-64/7.1-6/libso/libpgbind.so exist?

If not, copy it from other sources or
$ ln -s libpgbind_real.so libpgbind.so

5. Restart X

Ctrl + Alt + Backspace

来源: http://gangurru.wordpress.com/2008/07/1 ... on-ubuntu/
xhsh
帖子: 301
注册时间: 2007-06-21 2:52
送出感谢: 0
接收感谢: 0

#3

帖子 xhsh » 2008-09-03 10:51

终于从这里找到了安装pgi的方法。不过我的经历是,不需要安装在默认目录下也可以。


虽然出现下面的警告,但不影响编译和与运行。

Unknown glibc version (2.7); treating like 2.4
test: 614: ==: unexpected operator
test: 988: ==: unexpected operator
test: 988: ==: unexpected operator
test: 988: ==: unexpected operator
test: 988: ==: unexpected operator
Unknown glibc version (2.7); treating like 2.4
test: 614: ==: unexpected operator
test: 988: ==: unexpected operator
purplejack
帖子: 16
注册时间: 2009-04-14 22:23
送出感谢: 0
接收感谢: 0

Re: [问题]如何在ubuntu上安装pgi编译器,谢谢!

#4

帖子 purplejack » 2009-05-28 22:14

source $g03root/g03/bsd/g03.profile
这一行有问题吧。我照你说的去做,结果一启动终端就出现
bash: /home/purplejack/g03/bsd/g03.profile: 没有该文件或目录
bash: C:找不到命令
回复

回到 “软件/网站开发”