[以解决]软件仓库d02版gaussian安装问题: g03.login
其中的:
if (! $?PGI ) setenv PGI /usr/pgi
if (! $?PGIDIR ) then
if (-e ${PGI}/linux86-64/6.1) then
setenv PGIDIR ${PGI}/linux86-64/6.1
else if (-e ${PGI}/linux86-64/6.0) then
setenv PGIDIR ${PGI}/linux86-64/6.0
else if (-e ${PGI}/linux86/6.1) then
setenv PGIDIR ${PGI}/linux86/6.1
else if (-e ${PGI}/linux86/6.0) then
setenv PGIDIR ${PGI}/linux86/6.0
else
setenv PGIDIR "Portland Group Version 6.0 compiler not found."
endif
endif
最开始那句如果加上then, 就会出现syntax error near unexpected token: setenv
如果不加上then,就会出现syntax error near unexpected end of file
我只改过这里, 别的地方检察也没错误
有人有类似情况吗? 谢~~~~~~
改: 是我的路径没设好
设好就好,自责中
[ 本帖最后由 jsbach 于 2008-11-19 14:09 编辑 ]
搜索更多相关主题的帖子:
gaussian 安装错误