24小时热门版块排行榜    

查看: 2154  |  回复: 8

xiaowandouer

木虫 (正式写手)

[求助] Gaussian 09 安装:source .bashrc文件遇到问题,急求援助!!!

source .bashrc文件遇到问题:
/home/gauss/g09/bsd/g09.profile: line 43: /home/gauss/g09/gau-machine: Argument list too long
/home/gauss/g09/bsd/g09.profile: line 83: /home/gauss/g09/bsd/g09.profile: Argument list too long

貌似是g09.profile的问题?

我找到g09.profile,发现第43行的内容为:mach=”$(gau-machine),这是该文件本来就有的东西
第83行:. $g09root/g09/bsd/g09.profile,这是我后来加的


咋回事啊这是,看不出毛病啊,麻烦高虫给指点下啊!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

fubest

铁杆木虫 (正式写手)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
gkf高: 金币+2 2013-11-07 20:29:08
你直接把其他机子上的.bashrc文件拷进去就是啦,不用改试一试吧!我的就是
2楼2013-11-07 16:37:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xiaowandouer

木虫 (正式写手)

服务器最近都病了, 看不了,可不可以把你的贴出来我参考一下啊
3楼2013-11-07 17:42:28
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xiaowandouer

木虫 (正式写手)

引用回帖:
2楼: Originally posted by fubest at 2013-11-07 16:37:21
你直接把其他机子上的.bashrc文件拷进去就是啦,不用改试一试吧!我的就是

服务器最近都病了, 看不了,可不可以把你的贴出来我参考一下啊
4楼2013-11-07 17:42:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

molucule

木虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
我记得在03下是get-machine吧,是获得机器名相关的脚本吧。
5楼2013-11-07 18:57:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xiaowandouer

木虫 (正式写手)

引用回帖:
5楼: Originally posted by molucule at 2013-11-07 18:57:41
我记得在03下是get-machine吧,是获得机器名相关的脚本吧。

这是文件里本来就带的东西啊,应该不会错的吧
看Argument list too long,应该是argument list太长,咋整捏?
6楼2013-11-08 09:03:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

fubest

铁杆木虫 (正式写手)

引用回帖:
4楼: Originally posted by xiaowandouer at 2013-11-07 17:42:52
服务器最近都病了, 看不了,可不可以把你的贴出来我参考一下啊...

# Sample .bashrc for SuSE Linux
# Copyright (c) SuSE GmbH Nuernberg

# There are 3 different types of shells in bash: the login shell, normal shell
# and interactive shell. Login shells read ~/.profile and interactive shells
# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all
# settings made here will also take effect in a login shell.
#
# NOTE: It is recommended to make language settings in ~/.profile rather than
# here, since multilingual X sessions would not work properly if LANG is over-
# ridden in every subshell.

# Some applications read the EDITOR variable to determine your favourite text
# editor. So uncomment the line below and enter the editor of your choice :-)
#export EDITOR=/usr/bin/vim
#export EDITOR=/usr/bin/mcedit

# For some news readers it makes sense to specify the NEWSSERVER variable here
#export NEWSSERVER=your.news.server

# If you want to use a Palm device with Linux, uncomment the two lines below.
# For some (older) Palm Pilots, you might need to set a lower baud rate
# e.g. 57600 or 38400; lowest is 9600 (very slow!)
#
#export PILOTPORT=/dev/pilot
#export PILOTRATE=115200

test -s ~/.alias && . ~/.alias || true

g09root=~
. $g09root/g09/bsd/g09.profile
7楼2013-11-08 11:10:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

sandf

木虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
不要去改g09.profile文件,很可能是你的 g09root 变量设置有问题。安装gaussian基本只要做下面的source用的脚本文件即可:

#for csh
setenv g03root /home/xxxxx/calcsoft/g03d0x
source $g03root/g03/bsd/g03.login


#for bash
export g09root=/public/software/g09
source $g09root/g09/bsd/g09.profile
努力呀努力,不要成为奴隶。
8楼2013-11-08 11:45:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

molucule

木虫 (小有名气)

【答案】应助回帖

建议不要用g09.profile,直接把需要的变量写在.bashrc里面。

[ 发自手机版 http://muchong.com/3g ]
9楼2013-11-09 22:35:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 xiaowandouer 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 关于filecode +4 布布和一二 2026-08-07 7/350 2026-08-07 22:55 by zhanghaozhu
[基金申请] 娱乐 +6 Tide man 2026-08-03 6/300 2026-08-07 22:40 by 铁帽子农民
[基金申请] 化学口download_prp&fileCode的固定段好像这几天一直没变,有变的大神么? +3 Tide man 2026-08-07 4/200 2026-08-07 22:39 by Tide man
[基金申请] 关于代码变化问题,想知道的进来 +9 且听虎啸 2026-08-07 12/600 2026-08-07 21:53 by 理想三旬2025
[基金申请] 基金中了 +13 laoda193707 2026-08-06 13/650 2026-08-07 20:33 by tchen18
[基金申请] 固定端突然变了,今天 +6 archvillain 2026-08-06 10/500 2026-08-07 16:03 by 医学老男孩
[基金申请] 听说今天filecode变了 +24 布布和一二 2026-08-06 47/2350 2026-08-07 16:02 by zhiyanjiang
[基金申请] filecode与中标关系的预测 +3 布布和一二 2026-08-07 3/150 2026-08-07 15:09 by gltch
[基金申请] filecode变化情况 +6 布布和一二 2026-08-07 22/1100 2026-08-07 14:45 by 且听虎啸
[基金申请] 大家散了吧,后缀研究没有意义,别浪费时间了,过好目前的每一天,不要焦虑 +5 Tide man 2026-08-06 7/350 2026-08-07 13:11 by 医学老男孩
[基金申请] 关于豆爷回答的JTJC与%2F数量 +4 yang182083 2026-08-06 6/300 2026-08-07 12:43 by 虫友是什么虫
[基金申请] filecode +14 等待解的谜 2026-08-06 19/950 2026-08-07 12:20 by wlwhappy
[基金申请] filecode +8 布布和一二 2026-08-06 11/550 2026-08-06 20:41 by tangpu318
[基金申请] 求各位大神看下 100+6 hpkpkpkp 2026-08-05 33/1650 2026-08-06 14:49 by zhiyanjiang
[基金申请] 影响面上的因素 +8 布布和一二 2026-08-05 11/550 2026-08-06 10:41 by 宝贝虫子
[基金申请] 好消息?这个有何含义??? +8 Tide man 2026-08-05 10/500 2026-08-05 16:14 by xmuxiaoyu
[基金申请] 有没有H口的?有收到消息的吗? +3 超级海虾 2026-08-04 3/150 2026-08-04 17:26 by 学教育滴
[基金申请] 纯娱乐,不喜欢勿喷 +7 Tide man 2026-08-04 10/500 2026-08-04 15:10 by loufangrui
[基金申请] 面上提前没消息,有中的吗 +14 archvillain 2026-08-02 18/900 2026-08-04 14:42 by archvillain
[基金申请] 什么时候能放榜呀? +3 Jacob678 2026-08-03 3/150 2026-08-03 16:14 by gltch
信息提示
请填处理意见