24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1304  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 材料考研求调剂总分280 +11 mkjlz1 2026-04-06 11/550 2026-04-06 21:17 by Equinoxhua
[考研] 考研调剂一志愿北矿安全科学与工程学硕316 +3 Wwwwwww哇 2026-04-06 3/150 2026-04-06 20:55 by lbsjt
[考研] 一志愿北交大材料工程总分358求调剂 +10 cs0106 2026-04-05 12/600 2026-04-06 19:41 by 无际的草原
[考研] 277求调剂 数一104分 +9 瓶子PZ 2026-04-05 11/550 2026-04-06 17:07 by 蓝云思雨
[考研] 一志愿国科大信工所,英二数二408总分293分求调剂 +3 ilcyuan 2026-04-02 4/200 2026-04-06 16:35 by likeihood
[考研] 301求调剂 +13 121. 2026-04-04 13/650 2026-04-06 14:20 by lqwchd
[考研] 一志愿211,化学学硕,310分,本科重点双非,求调剂 +13 努力奋斗112 2026-04-04 13/650 2026-04-06 07:13 by jj987
[考研] 288求调剂 一志愿哈工大 材料与化工 +13 洛神哥哥 2026-04-03 13/650 2026-04-05 17:27 by zzx2138
[考研] 一志愿北交大材料工程总分358求调剂 +6 cs0106 2026-04-05 6/300 2026-04-05 16:34 by imissbao
[考研] 求调剂 +4 晟功? 2026-04-03 4/200 2026-04-04 21:58 by hemengdong
[考研] 283分求调剂 +7 小聂爱学习 2026-04-03 7/350 2026-04-04 21:51 by hemengdong
[考研] 331求调剂 +3 niby 2026-04-02 3/150 2026-04-04 19:56 by 蓝云思雨
[考研] 387求调剂 +4 爱吃片豆土 2026-04-03 5/250 2026-04-04 08:10 by 岸上的一条鱼
[考研] 265求调剂 +20 梁梁校校 2026-04-01 21/1050 2026-04-04 00:38 by userper
[考研] 材料考研调剂 +10 Gs大王 2026-04-02 10/500 2026-04-03 09:47 by 遗忘消失的灆
[考研] 261求B区调剂 +5 明仔· 2026-04-01 7/350 2026-04-02 11:17 by 邹尉尉
[考研] 材料专硕322分 +11 哈哈哈吼吼吼哈 2026-04-01 11/550 2026-04-02 10:52 by lnilvy
[考研] 材料调剂 +12 一样YWY 2026-04-01 12/600 2026-04-02 09:15 by olim
[考研] 08生物与医药专硕初试346找调剂 +6 dianeeee 2026-04-01 7/350 2026-04-02 08:23 by guoweigw
[考研] 土木304求调剂 +5 顶级擦擦 2026-03-31 5/250 2026-04-01 08:15 by fdcxdystjk¥
信息提示
请填处理意见