24小时热门版块排行榜    

查看: 1232  |  回复: 17
当前主题已经存档。

hbzjdd

银虫 (小有名气)

[交流] 【求助】Gaussian03 linux下安装问题

小弟最近在linux下安装Gaussian03时遇到问题,急求各位大虾,我是按照Gaussian公司的提供的步骤来的,但是在% ./bsd/install 这之后出现如下内容:
[root@localhost ~/g03]$ ./bsd/install
Info: distribution path not specified on command line
Info: using current working directory: /root/g03/linda7.1
Info: using "/usr/bin/ranlib" to assure up to date archives
Info: executing "chmod a+r" on all files in ./common
Info: executing "chmod a+rx" on all directory files in ./common
Info: using "/root/g03/linda7.1/opteron-linux-I8/" as value of LINDA_PATH
Info: executing "chmod a+r" on all files in /root/g03/linda7.1/opteron-linux-I8
Info: executing "chmod a+rx" on all directory files in /root/g03/linda7.1/opteron-linux-I8
Info: executing "/usr/bin/ranlib" on .a files in directory: /root/g03/linda7.1/opteron-linux-I8/lib
Info: fixing LINDA_PATH in shell scripts in directory: /root/g03/linda7.1/opteron-linux-I8/bin
Info: fixed /root/g03/linda7.1/opteron-linux-I8/bin/ntsnet
Info: fixed /root/g03/linda7.1/opteron-linux-I8/bin/flc
Info: fixed /root/g03/linda7.1/opteron-linux-I8/bin/vntsnet
Info: fixed /root/g03/linda7.1/opteron-linux-I8/bin/pmbuild
Info: fixed /root/g03/linda7.1/opteron-linux-I8/bin/LindaLauncher
Info: executing "chmod a+rx" on all files in directory: /root/g03/linda7.1/opteron-linux-I8/bin
ln: ‘./clc’:文件已存在
ln: ‘./flc’:文件已存在
ln: ‘./ntsnet’:文件已存在

后来我还是在.login文件中设置了环境变量,但是提交作业时出现:bash: g03: command not found
……这是怎么回事?急求各位

[ Last edited by erylingjet on 2009-1-2 at 19:07 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
回帖支持 ( 显示支持度最高的前 50 名 )

wuhanhgf2002

金虫 (正式写手)


gwdavid(金币+1,VIP+0):谢谢
g03直接拷贝就可以了,不用安装,都是编译好的。拷贝后设置环境变量就可以了。
4楼2009-01-03 10:05:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通回帖

purplekey

铜虫 (初入文坛)

★ ★
gwdavid(金币+2,VIP+0):3q
./bsd/install如果不用linda没必要这步
你的环境变量设置有问题或者没有生效,才会出现bash: g03: command not found
环境变量应该设置在.bashrc或者.bash_profile中
2楼2009-01-02 17:30:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hbzjdd

银虫 (小有名气)

能否给点更加详细的答案。小弟感激涕零!
3楼2009-01-02 21:19:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hbzjdd

银虫 (小有名气)

怎么设置环境变量?
5楼2009-01-03 17:31:10
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

snoopyzhao

至尊木虫 (职业作家)

★ ★ ★
gwdavid(金币+3,VIP+0):谢谢
引用回帖:
Originally posted by hbzjdd at 2009-1-3 17:31:
怎么设置环境变量?

在 .bashrc 中写入这些,然后 logout 现 login 就可以了
当然,你需要作相应的调整,比如你的安装位置等……

G03ROOT=/home/userid/g03
GAUSS_EXEDIR=$G03ROOT
GAUSS_SCRDIR=/tmp/userid/g03
LD_LIBRARY_PATH=$G03ROOT/:$LD_LIBRARY_PATH
PATH=$G03ROOT/:$PATH
export G03ROOT GAUSS_EXEDIR GAUSS_SCRDIR LD_LIBRARY_PATH PATH
6楼2009-01-03 19:42:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

purplekey

铜虫 (初入文坛)

★ ★ ★
gwdavid(金币+3,VIP+0):谢谢
引用回帖:
在 .bashrc 中写入这些,然后 logout 现 login 就可以了
当然,你需要作相应的调整,比如你的安装位置等……

G03ROOT=/home/userid/g03
GAUSS_EXEDIR=$G03ROOT
GAUSS_SCRDIR=/tmp/userid/g03
LD_LIBRA ...

更正下错误的地方
写入.bashrc后不用注销,重新打开终端即可生效。
如果解压后的绝对路径是/opt/gaussian/g03/
那么环境变量应该设置成
export g03root=/opt/gaussian #g03解压缩后的上层目录
export GAUSS_SCRDIR=/tmp/gaussian #存放临时文件的目录,可以指定其他目录
source $g03root/g03/bsd/g03.profile #加载高斯设置
其他的无需设置。
如果不能运行出现权限错误在/opt/gaussian目录下执行
chgrp -R g03
是你要运行高斯的用户所在的用户组
搞定

[ Last edited by purplekey on 2009-1-5 at 10:37 ]
7楼2009-01-05 10:35:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hbzjdd

银虫 (小有名气)

chgrp -R g03 到这一步我都通过了,就是再接下来的: ./bsd/install 时出现下面一串,不知道是否正常:
Info: distribution path not specified on command line
Info: using current working directory: /root/g03/linda7.1
Info: using "/usr/bin/ranlib" to assure up to date archives
Info: executing "chmod a+r" on all files in ./common
Info: executing "chmod a+rx" on all directory files in ./common
Info: using "/root/g03/linda7.1/opteron-linux-I8/" as value of LINDA_PATH
Info: executing "chmod a+r" on all files in /root/g03/linda7.1/opteron-linux-I8
Info: executing "chmod a+rx" on all directory files in /root/g03/linda7.1/opteron-linux-I8
Info: executing "/usr/bin/ranlib" on .a files in directory: /root/g03/linda7.1/opteron-linux-I8/lib
Info: fixing LINDA_PATH in shell scripts in directory: /root/g03/linda7.1/opteron-linux-I8/bin
Info: fixed /root/g03/linda7.1/opteron-linux-I8/bin/ntsnet
Info: fixed /root/g03/linda7.1/opteron-linux-I8/bin/flc
Info: fixed /root/g03/linda7.1/opteron-linux-I8/bin/vntsnet
Info: fixed /root/g03/linda7.1/opteron-linux-I8/bin/pmbuild
Info: fixed /root/g03/linda7.1/opteron-linux-I8/bin/LindaLauncher
Info: executing "chmod a+rx" on all files in directory: /root/g03/linda7.1/opteron-linux-I8/bin
ln: ‘./clc’:文件已存在
ln: ‘./flc’:文件已存在
ln: ‘./ntsnet’:文件已存在
后来按各位说的方法设置环境变量也不行
8楼2009-01-05 12:15:18
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

purplekey

铜虫 (初入文坛)

★ ★ ★
lei0736(金币+3,VIP+0):谢谢
引用回帖:
Originally posted by hbzjdd at 2009-1-5 12:15:
chgrp -R g03 到这一步我都通过了,就是再接下来的: ./bsd/install 时出现下面一串,不知道是否正常:
Info: distribution path not specified on command line
Info: using current workin ...

这一步正常,但是看你的g03解压到了/root目录下,这样对于普通用户使用会有麻烦的,建议你安装到一个公共地方,比如可以设置/opt为公用目录,然后安装在/opt/gaussian中。设置.bashrc下的环境变量只对当前用户有效,切换其他用户需要重新设置。公用的环境变量需要在/etc/bashrc。

[ Last edited by purplekey on 2009-1-5 at 14:00 ]
9楼2009-01-05 13:52:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hbzjdd

银虫 (小有名气)

请问Gaussian 03 在红旗linux下能用吗?
10楼2009-02-13 17:12:29
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 hbzjdd 的主题更新
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见