24小时热门版块排行榜    

查看: 1283  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 288求调剂 +4 奇点0314 2026-03-14 4/200 2026-03-14 23:04 by JourneyLucky
[考研] 材料与化工(0856)304求B区调剂 +7 邱gl 2026-03-10 11/550 2026-03-14 12:18 by 邱gl
[考研] 材料080500调剂求收留 +3 一颗meteor 2026-03-13 3/150 2026-03-14 10:54 by peike
[考研] 0703化学求调剂 +5 很老实人 2026-03-09 5/250 2026-03-14 02:57 by JourneyLucky
[考研] 求调剂 +5 鹤遨予卿 2026-03-09 5/250 2026-03-14 02:44 by JourneyLucky
[考研] 085600材料与化工 326 求调剂 +5 热爱生活ing 2026-03-09 5/250 2026-03-14 02:39 by JourneyLucky
[考研] 308求调剂 +3 是Lupa啊 2026-03-10 3/150 2026-03-14 00:30 by JourneyLucky
[考研] 材料工程,326分,求调剂 +6 KRSLSR 2026-03-10 6/300 2026-03-13 23:47 by JourneyLucky
[考研] 工科,求调剂 +3 我887 2026-03-11 3/150 2026-03-13 21:39 by JourneyLucky
[考研] (081700)化学工程与技术-298分求调剂 +12 11啦啦啦 2026-03-11 35/1750 2026-03-13 21:25 by JourneyLucky
[考研] 293求调剂 +3 世界首富 2026-03-11 3/150 2026-03-13 16:27 by JourneyLucky
[考研] 工科调剂 +4 Jiang191123! 2026-03-11 4/200 2026-03-13 15:15 by Miko19
[考研] 308求调剂 +3 是Lupa啊 2026-03-12 3/150 2026-03-13 14:30 by 求调剂zz
[考研] 304求调剂(085602一志愿985) +12 化工人999 2026-03-09 12/600 2026-03-13 12:02 by JourneyLucky
[考研] 材料调剂,307分 +13 张泳铭1 2026-03-09 17/850 2026-03-13 11:09 by 薛云鹏
[考研] 289求调剂 +3 李政莹 2026-03-12 3/150 2026-03-13 11:02 by 求调剂zz
[考研] 08食品或轻工求调剂,本科发表3篇sci一区top论文,一志愿南师大食品科学与工程 +3 我是一个兵, 2026-03-10 3/150 2026-03-13 10:21 by Yuyi.
[考博] 福州大学杨黄浩课题组招收2026年专业学位博士研究生,2026.03.20截止 +3 Xiangyu_ou 2026-03-12 3/150 2026-03-13 09:36 by duanwu655
[考研] 085600 材料与化工 295 求调剂 +10 dream…… 2026-03-10 12/600 2026-03-12 13:46 by dream……
[硕博家园] 木虫好像不热闹了,是不是? +4 偏振片 2026-03-10 4/200 2026-03-10 09:51 by longwave
信息提示
请填处理意见