[问题]如何在ubuntu上安装pgi编译器,谢谢!
-
- 帖子: 19
- 注册时间: 2007-10-18 21:43
[问题]如何在ubuntu上安装pgi编译器,谢谢!
不知哪位高手安装了pgi编译器,请给告诉一下你安装的详细步骤,好吗?我的ubuntu装不上,我装的是pgi7.04,好像是arch not find ,好像是找不到安装路径。请哪位大虾顺便告知一下本人不胜感激!
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
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/
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/
-
- 帖子: 318
- 注册时间: 2007-06-21 2:52
终于从这里找到了安装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
虽然出现下面的警告,但不影响编译和与运行。
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
-
- 帖子: 16
- 注册时间: 2009-04-14 22:23
Re: [问题]如何在ubuntu上安装pgi编译器,谢谢!
source $g03root/g03/bsd/g03.profile
这一行有问题吧。我照你说的去做,结果一启动终端就出现
bash: /home/purplejack/g03/bsd/g03.profile: 没有该文件或目录
bash: C:找不到命令
这一行有问题吧。我照你说的去做,结果一启动终端就出现
bash: /home/purplejack/g03/bsd/g03.profile: 没有该文件或目录
bash: C:找不到命令