计算化学公社

 找回密码 Forget password
 注册 Register
Views: 12241|回复 Reply: 13
打印 Print 上一主题 Last thread 下一主题 Next thread

[新手求助] 输入的gjf文件提示错误,不知道哪里输入错误。

[复制链接 Copy URL]

259

帖子

0

威望

851

eV
积分
1110

Level 4 (黑子)

跳转到指定楼层 Go to specific reply
楼主
文件如下,但是执行计算后,显示error:segmentation violation
%chk=/home/test/t1.chk
%nproc=12
%mem=8GB
# opt hf/3-21g

Title Card Required

0 1
C                 -1.67763155    0.26315789    0.00000000
H                 -1.32097713   -0.74565211    0.00000000
H                 -2.74763155    0.26317107    0.00000000
C                 -1.16428934    0.98911416    1.25740497
H                 -0.09428936    0.98893159    1.25750243
H                 -1.52078439    1.99798049    1.25730739
F                 -1.22762376    0.89954813   -1.10227059
F                 -1.61449826    0.35286572    2.35967528

3097

帖子

29

威望

1万

eV
积分
17221

Level 6 (一方通行)

2#
发表于 Post on 2016-10-27 20:57:02 | 只看该作者 Only view this author
提供的信息没有意义,给出输出文件(默认为.out或.log)的末尾约150行。
HF/3-21G的结果对如此常规的分子可能还没有瞬间出结果的力场或半经验方法好,毫无意义。

259

帖子

0

威望

851

eV
积分
1110

Level 4 (黑子)

3#
 楼主 Author| 发表于 Post on 2016-10-27 21:30:54 | 只看该作者 Only view this author
liyuanhe211 发表于 2016-10-27 20:57
提供的信息没有意义,给出输出文件(默认为.out或.log)的末尾约150行。
HF/3-21G的结果对如此常规的分子 ...

log文件:
%chk=/home/erya123/test/t021.chk
%nprocshare=12
Will use up to   12 processors via shared memory.
%mem=4000MB
------------------------
# opt(catesian) hf/3-21g
------------------------
QPErr --- A syntax error was detected in the input line.
# opt(catesian) hf/3-21g
       '
Last state="OPT2"
TCursr=48310 LCursr=    6

4289

帖子

4

威望

9554

eV
积分
13923

Level 6 (一方通行)

MOKIT开发者

4#
发表于 Post on 2016-10-27 21:35:41 | 只看该作者 Only view this author
感觉你的gjf与log文件不对应啊,你这log是你说的gjf产生的么;另外,你打了catesian?是cartesian,有个r
自动做多参考态计算的程序MOKIT

259

帖子

0

威望

851

eV
积分
1110

Level 4 (黑子)

5#
 楼主 Author| 发表于 Post on 2016-10-27 21:51:45 | 只看该作者 Only view this author
zjxitcc 发表于 2016-10-27 21:35
感觉你的gjf与log文件不对应啊,你这log是你说的gjf产生的么;另外,你打了catesian?是cartesian,有个r

我试了其他方法可能输错了,应该是这样的:
Entering Gaussian System, Link 0=g09
Input=/home/erya123/test/t021.gjf
Output=/home/erya123/test/t021.log
Initial command:
/home/erya123/g09/l1.exe /home/erya123/scratch/Gau-33952.inp -scrdir=/home/erya123/scratch/
Entering Link 1 = /home/erya123/g09/l1.exe PID=     33954.
  
Copyright (c) 1988,1990,1992,1993,1995,1998,2003,2009,2011,
            Gaussian, Inc.  All Rights Reserved.
  
This is part of the Gaussian(R) 09 program.  It is based on
the Gaussian(R) 03 system (copyright 2003, Gaussian, Inc.),
the Gaussian(R) 98 system (copyright 1998, Gaussian, Inc.),
the Gaussian(R) 94 system (copyright 1995, Gaussian, Inc.),
the Gaussian 92(TM) system (copyright 1992, Gaussian, Inc.),
the Gaussian 90(TM) system (copyright 1990, Gaussian, Inc.),
the Gaussian 88(TM) system (copyright 1988, Gaussian, Inc.),
the Gaussian 86(TM) system (copyright 1986, Carnegie Mellon
University), and the Gaussian 82(TM) system (copyright 1983,
Carnegie Mellon University). Gaussian is a federally registered
trademark of Gaussian, Inc.
  
This software contains proprietary and confidential information,
including trade secrets, belonging to Gaussian, Inc.
  
This software is provided under written license and may be
used, copied, transmitted, or stored only in accord with that
written license.
  
The following legend is applicable only to US Government
contracts under FAR:
  
                    RESTRICTED RIGHTS LEGEND
  
Use, reproduction and disclosure by the US Government is
subject to restrictions as set forth in subparagraphs (a)
and (c) of the Commercial Computer Software - Restricted
Rights clause in FAR 52.227-19.
  
Gaussian, Inc.
340 Quinnipiac St., Bldg. 40, Wallingford CT 06492
  
  
---------------------------------------------------------------
Warning -- This program may not be used in any manner that
competes with the business of Gaussian, Inc. or will provide
assistance to any competitor of Gaussian, Inc.  The licensee
of this program is prohibited from giving any competitor of
Gaussian, Inc. access to this program.  By using this program,
the user acknowledges that Gaussian, Inc. is engaged in the
business of creating and licensing software in the field of
computational chemistry and represents and warrants to the
licensee that it is not a competitor of Gaussian, Inc. and that
it will not use this program in any manner prohibited above.
---------------------------------------------------------------
  

Cite this work as:
Gaussian 09, Revision C.01,
M. J. Frisch, G. W. Trucks, H. B. Schlegel, G. E. Scuseria,
M. A. Robb, J. R. Cheeseman, G. Scalmani, V. Barone, B. Mennucci,
G. A. Petersson, H. Nakatsuji, M. Caricato, X. Li, H. P. Hratchian,
A. F. Izmaylov, J. Bloino, G. Zheng, J. L. Sonnenberg, M. Hada,
M. Ehara, K. Toyota, R. Fukuda, J. Hasegawa, M. Ishida, T. Nakajima,
Y. Honda, O. Kitao, H. Nakai, T. Vreven, J. A. Montgomery, Jr.,
J. E. Peralta, F. Ogliaro, M. Bearpark, J. J. Heyd, E. Brothers,
K. N. Kudin, V. N. Staroverov, T. Keith, R. Kobayashi, J. Normand,
K. Raghavachari, A. Rendell, J. C. Burant, S. S. Iyengar, J. Tomasi,
M. Cossi, N. Rega, J. M. Millam, M. Klene, J. E. Knox, J. B. Cross,
V. Bakken, C. Adamo, J. Jaramillo, R. Gomperts, R. E. Stratmann,
O. Yazyev, A. J. Austin, R. Cammi, C. Pomelli, J. W. Ochterski,
R. L. Martin, K. Morokuma, V. G. Zakrzewski, G. A. Voth,
P. Salvador, J. J. Dannenberg, S. Dapprich, A. D. Daniels,
O. Farkas, J. B. Foresman, J. V. Ortiz, J. Cioslowski,
and D. J. Fox, Gaussian, Inc., Wallingford CT, 2010.

******************************************
Gaussian 09:  EM64L-G09RevC.01 23-Sep-2011
                27-Oct-2016
******************************************
%chk=/home/erya123/test/t021.chk
%nprocshare=12
Will use up to   12 processors via shared memory.
%mem=4000MB
--------------
# opt hf/3-21g
--------------
1/18=20,19=15,38=1/1,3;
2/9=110,12=2,17=6,18=5,40=1/2;
3/5=5,11=9,16=1,25=1,30=1,71=1/1,2,3;
4//1;
5/5=2,38=5/2;
6/7=2,8=2,9=2,10=2,28=1/1;
7//1,2,3,16;
1/18=20,19=15/3(2);
2/9=110/2;
99//99;
2/9=110/2;
3/5=5,11=9,16=1,25=1,30=1,71=1/1,2,3;
4/5=5,16=3/1;
5/5=2,38=5/2;
7//1,2,3,16;
1/18=20,19=15/3(-5);
2/9=110/2;
6/7=2,8=2,9=2,10=2,19=2,28=1/1;
99/9=1/99;
-------------------
Title Card Required
-------------------
Charge =  0 Multiplicity = 1
Symbolic Z-Matrix:
C                    -1.67763   0.26316   0.
H                    -1.32098  -0.74565   0.
H                    -2.74763   0.26317   0.
C                    -1.16429   0.98911   1.2574
H                    -0.09429   0.98893   1.2575
H                    -1.52078   1.99798   1.25731
F                    -1.22762   0.89955  -1.10227
F                    -1.6145    0.35287   2.35968
End of file in ZSymb.
Error termination via Lnk1e in /home/erya123/g09/l101.exe at Thu Oct 27 21:43:27 2016.
Job cpu time:  0 days  0 hours  0 minutes  5.7 seconds.
File lengths (MBytes):  RWF=      5 Int=      0 D2E=      0 Chk=      1 Scr=      1


1552

帖子

2

威望

6509

eV
积分
8101

Level 6 (一方通行)

给dalao们倒茶

6#
发表于 Post on 2016-10-27 22:10:15 | 只看该作者 Only view this author
你是不是gjf最后忘了空一行?我感觉像。
淡泊以明志,宁静以致远。

3097

帖子

29

威望

1万

eV
积分
17221

Level 6 (一方通行)

7#
发表于 Post on 2016-10-28 00:00:30 | 只看该作者 Only view this author
lufenghxu 发表于 2016-10-27 21:30
log文件:
%chk=/home/erya123/test/t021.chk
%nprocshare=12

你的输出和一楼的输入根本不对应,三楼的错误是因为cartesian打错了

评分 Rate

参与人数
Participants 1
eV +1 收起 理由
Reason
sobereva + 1

查看全部评分 View all ratings

3097

帖子

29

威望

1万

eV
积分
17221

Level 6 (一方通行)

8#
发表于 Post on 2016-10-28 00:00:41 | 只看该作者 Only view this author
lufenghxu 发表于 2016-10-27 21:51
我试了其他方法可能输错了,应该是这样的:
Entering Gaussian System, Link 0=g09
Input=/home/erya1 ...

在输入文件的最后打几个空行

评分 Rate

参与人数
Participants 1
eV +1 收起 理由
Reason
sobereva + 1

查看全部评分 View all ratings

259

帖子

0

威望

851

eV
积分
1110

Level 4 (黑子)

9#
 楼主 Author| 发表于 Post on 2016-10-30 22:18:13 | 只看该作者 Only view this author
liyuanhe211 发表于 2016-10-28 00:00
在输入文件的最后打几个空行

试了打了几个空行,可以。大侠,这是为什么呢?

259

帖子

0

威望

851

eV
积分
1110

Level 4 (黑子)

10#
 楼主 Author| 发表于 Post on 2016-10-30 22:19:46 | 只看该作者 Only view this author
978142355 发表于 2016-10-27 22:10
你是不是gjf最后忘了空一行?我感觉像。

为什么要空一行啊?

3097

帖子

29

威望

1万

eV
积分
17221

Level 6 (一方通行)

11#
发表于 Post on 2016-10-31 00:53:33 | 只看该作者 Only view this author
lufenghxu 发表于 2016-10-30 22:18
试了打了几个空行,可以。大侠,这是为什么呢?

Gaussian没读到用空行表示的paragraph结尾,在文件末尾存储时有个EOF不可见字符,Gaussian不知道在一个段落里有EOF是啥意思。

评分 Rate

参与人数
Participants 1
eV +1 收起 理由
Reason
sobereva + 1

查看全部评分 View all ratings

1552

帖子

2

威望

6509

eV
积分
8101

Level 6 (一方通行)

给dalao们倒茶

12#
发表于 Post on 2016-10-31 08:09:46 | 只看该作者 Only view this author
lufenghxu 发表于 2016-10-30 22:19
为什么要空一行啊?

楼上Li老师已经解释了。不过你问的这个问题,其实我也不知道,看了楼上的解释,也学习了。
淡泊以明志,宁静以致远。

93

帖子

0

威望

415

eV
积分
508

Level 4 (黑子)

13#
发表于 Post on 2020-4-1 19:42:14 | 只看该作者 Only view this author
不好意思请问一下,我也遇到类似的问题,也有空行,但是为什么报错呢?下面是我的输出文件:
  %chk=CIS6.chk
-----------------------------------------
# Opt=(cartesian,MaxCyc=120, readopt) PM3
-----------------------------------------
QPErr --- A syntax error was detected in the input line.
# Opt=(cartesian,MaxCyc=120, readopt) PM
                              '
Last state="OPT2"
TCursr=45611 LCursr=   29
Error termination via Lnk1e in /public1/home/sc50656/g09/l1.exe at Wed Apr  1 19:36:12 2020.
Job cpu time:  0 days  0 hours  0 minutes 10.4 seconds.
File lengths (MBytes):  RWF=      5 Int=      0 D2E=      0 Chk=     37 Scr=      1




下面是我的输入文件
%chk=CIS6.chk
# Opt=(cartesian,MaxCyc=120, readopt)  PM3

cis-6-decane  (cartesian,MaxCyc=120, readopt)

0 1
   N      0.94500       -2.27700        1.30200
   N      1.96300       -1.84800        0.71200
   H      2.14700        2.20400       -2.68500
   C      2.08700        1.37700       -1.98000
   C      3.05100        1.27100       -0.97100
……
   C     5.87500       -1.58700        6.73700
   H     6.91100       -1.51000        7.09000
   H     5.35500       -0.67100        7.04700
   H     5.40900       -2.42500        7.27100

noatoms atoms=1-36

                                         

6万

帖子

99

威望

6万

eV
积分
125179

管理员

公社社长

14#
发表于 Post on 2020-4-4 05:39:39 | 只看该作者 Only view this author
最爱喵星人 发表于 2020-4-1 19:42
不好意思请问一下,我也遇到类似的问题,也有空行,但是为什么报错呢?下面是我的输出文件:
  %chk=CIS6. ...

g16才有readopt
另外,用readopt的时候不要写cartesian
北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办极高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入北京科音微信公众号获取北京科音培训的最新消息,并避免错过网上有价值的计算化学文章!
欢迎加入人气极高、专业性特别强的理论与计算化学综合交流群思想家公社QQ群(群号见此链接),合计达一万多人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大、极为流行的量子化学波函数分析程序)
Google Scholar:https://scholar.google.com/citations?user=tiKE0qkAAAAJ
ResearchGate:https://www.researchgate.net/profile/Tian_Lu

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-2-25 18:13 , Processed in 0.165116 second(s), 21 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list