24小时热门版块排行榜    

查看: 3131  |  回复: 1

cquccc

铜虫 (正式写手)

[求助] G09 安装 段错误 已有1人参与

按照 http://dxli75.blog.163.com/blog/static/10676828920114103637628/
”Gaussian 软件安装方法整理成功版 “
安装后执行个09/tests/com/中的输入文件时,出现

“Problem with file /usr/g09/g09/l1.exe omode 33279 compare 7.
段错误””

请教是为什么?


安装步骤
   1. Obtain Gaussian 09
      Gaussian 09 is a commercial software product and must be purchased from Gaussian, Inc. Both source code and pre-compiled binary versions of Gaussian 09 are available.
注释:这一步没有执行
   2. Setup gaussian group and add authorized users to this group
      $ su
      # cd /etc
      # cp -p group group.bak
      # cp -p gshadow gshadow.bak
      # grep 499 group
      # groupadd -g 499 gaussian
      # usermod -a -G gaussian webmo
      # usermod -a -G gaussian smith
      # usermod -a -G gaussian jones
注释:以上后四行没有执行。因为执行倒数地四行时出现“bash: groupadd: command not found”
   3. Copy binary distribution from CD-ROM
      # mount /mnt/cdrom
      # cd /usr/local
      # cp -p /mnt/cdom/tar/*.TGZ .
      # umount /mnt/cdrom
注释:实际上是将压缩文件拷贝到/usr/g09/ 下
   4. Extract files
      # tar xzvf *.TGZ
      # chown -R :gaussian g09
      # exit
注释:执行倒数第二行时出现没有那样的用户名,将gaussian 改为我的用户名 xxx 后顺利执行
   5.    setup the envirmental parameters for G09 in /etc/bashrc file
        vi /etc/bashrc file
        ## Gaussian 09 setup
        export g09root=/usr/local
        export GAUSS_SCRDIR=/usr/local/g09/scratch
        export GAUSS_EXEDIR=/usr/local/g09
        export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/g09
        export PATH=/usr/local/g09:$PATH
        source $g09root/g09/bsd/g09.profile
注释:一切顺利
    6.    Setup the properties for some important files:
        chmod -R 710 ./g09
        chmod -R 777 ./g09/scratch/
        chmod -R 755 ./g09/bsd/g09.profile
        $ source /etc/bashrc


完成以上之后,cd 到 g09 安装目录 /g09/tests/com/
在提示符下  g09 test001.com 回车时出现 ““Problem with file /usr/g09/g09/l1.exe omode 33279 compare 7.
段错误””

[ Last edited by cquccc on 2011-10-10 at 22:28 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

sealanlan

铁虫 (正式写手)

【答案】应助回帖

环境变量在.bashrc中设定不对,我的高斯16设定如下:
export G16ROOT=/home/Jiangyk/apps/g16
export GAUSS_EXEDIR=${G16ROOT}
export GAUSS_SCRDIR=${G16ROOT}/tmp
export LD_LIBRARY_PATH=${G16ROOT}:${LD_LIBRARY_PATH}
export PATH=${G16ROOT}:${PATH}
. ${G16ROOT}/bsd/g16.profile

好不容易解决了,贴出来供大家参考
努力
2楼2020-07-24 00:52:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 cquccc 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 材料292调剂 +4 橘颂思美人 2026-03-23 4/200 2026-03-23 23:16 by peike
[考研] 一志愿211 初试270分 求调剂 +4 谷雨上岸 2026-03-23 5/250 2026-03-23 21:18 by 不惑可乐
[考研] 0703化学求调剂 +4 奶油草莓. 2026-03-22 5/250 2026-03-23 19:37 by pswait
[考研] 北科281学硕材料求调剂 +8 tcxiaoxx 2026-03-20 9/450 2026-03-23 12:16 by tcxiaoxx
[考研] 306求调剂 +5 来好运来来来 2026-03-22 5/250 2026-03-22 16:17 by BruceLiu320
[考研] 一志愿中南化学(0703)总分337求调剂 +9 niko- 2026-03-19 10/500 2026-03-22 16:08 by ColorlessPI
[考研] 305分求调剂(食品工程) +4 Sxy112 2026-03-21 6/300 2026-03-22 15:26 by 无懈可击111
[考研] 求调剂 +5 Zhangbod 2026-03-21 7/350 2026-03-22 13:13 by Zhangbod
[考博] 招收博士1-2人 +3 QGZDSYS 2026-03-18 4/200 2026-03-22 10:25 by QGZDSYS
[考研] 286求调剂 +10 Faune 2026-03-21 10/500 2026-03-21 23:34 by 314126402
[考研] 材料工程专硕 348分求调剂 +3 冬辞. 2026-03-17 5/250 2026-03-21 18:47 by 学员8dgXkO
[考研] 0703化学调剂 +4 妮妮ninicgb 2026-03-21 4/200 2026-03-21 18:39 by 学员8dgXkO
[考研] 材料学硕333求调剂 +3 北道巷 2026-03-18 3/150 2026-03-21 18:17 by 学员8dgXkO
[考研] 332求调剂 +4 ydfyh 2026-03-17 4/200 2026-03-21 02:20 by JourneyLucky
[考研] 317求调剂 +5 申子申申 2026-03-19 9/450 2026-03-20 22:26 by JourneyLucky
[考研] 材料与化工 322求调剂 +4 然11 2026-03-19 4/200 2026-03-20 22:12 by luoyongfeng
[考研] 一志愿苏州大学材料求调剂,总分315(英一) +5 sbdksD 2026-03-19 5/250 2026-03-20 22:10 by luoyongfeng
[考研] 290求调剂 +7 ^O^乜 2026-03-19 7/350 2026-03-20 21:43 by JourneyLucky
[考研] 一志愿西安交通大学 学硕 354求调剂211或者双一流 +3 我想要读研究生 2026-03-20 3/150 2026-03-20 20:13 by JourneyLucky
[考研] 085600材料与化工调剂 324分 +10 llllkkkhh 2026-03-18 12/600 2026-03-19 14:33 by llllkkkhh
信息提示
请填处理意见