24小时热门版块排行榜    

查看: 1792  |  回复: 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 的主题更新
信息提示
请填处理意见