24小时热门版块排行榜    

Znn3bq.jpeg
汕头大学海洋科学接受调剂
查看: 1336  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 296求调剂 +5 汪!?! 2026-04-08 5/250 2026-04-15 14:38 by 黑科技花岗岩
[考研] 药学305求调剂 +7 玛卡巴卡boom 2026-04-11 7/350 2026-04-15 13:21 by 西北望—风沙
[考研] 药学求调剂 +10 RussHu 2026-04-12 12/600 2026-04-15 12:02 by zhping515
[考研] 271求调剂 +31 2261744733 2026-04-11 31/1550 2026-04-15 10:50 by shenshen207
[考研] 296求调剂 +10 汪!?! 2026-04-09 11/550 2026-04-15 09:17 by fenglj492
[考研] 26药学专硕105500求调剂 +6 喽哈加油 2026-04-13 6/300 2026-04-14 16:40 by zhouxiaoyu
[考研] 求调剂 +16 雪逢冬 2026-04-10 16/800 2026-04-14 14:27 by 逆水乘风
[考研] 一志愿211 0703化学 346分求调剂 +26 土豆er? 2026-04-09 29/1450 2026-04-13 15:15 by 独醉梦孤城
[考研] 一志愿厦大生物学332求调剂 +11 池池池池池池 2026-04-08 11/550 2026-04-13 14:10 by 科研论
[考研] +10 李多米lee. 2026-04-12 11/550 2026-04-12 22:58 by yuyin1233
[考研] 一志愿华中农微生物,288分,三年实验经历 +11 代fish 2026-04-09 11/550 2026-04-12 10:21 by Hayaay
[考研] 280求调剂 +7 兮兮夜夜 2026-04-09 10/500 2026-04-12 00:33 by 蓝云思雨
[考研] 0854调剂 +5 音像店听花鼓戏 2026-04-10 5/250 2026-04-11 10:49 by qingpingzhu
[考研] 机械专硕270求调剂,接受跨专业 +12 老师看看我吧aba 2026-04-09 14/700 2026-04-11 10:21 by laoshidan
[考研] 342电子信息专硕求调剂 +9 你让我怎么荔枝 2026-04-10 10/500 2026-04-11 08:33 by zhq0425
[考研] 263能源动力专硕求调剂 +4 加大号饭盒袋 2026-04-10 4/200 2026-04-10 20:52 by gong120082
[考研] 计算机类求调剂,22408-274分 +7 上岸de小虫 2026-04-09 8/400 2026-04-10 19:56 by fxue1114
[考研] 已调剂 +18 柴郡猫_ 2026-04-09 19/950 2026-04-09 22:10 by 柴郡猫_
[考研] 083200 初试305分 求调剂 暂不考虑跨专业 +15 Claireyyyy 2026-04-09 15/750 2026-04-09 16:11 by zhuimr
[考研] 考研求调剂 +4 雯??? 2026-04-08 4/200 2026-04-08 21:44 by 土木硕士招生
信息提示
请填处理意见