ORCA 错误解决:ORCA_ReadXYZFile::Error

ORCA 错误解决:ORCA_ReadXYZFile::Error

错误详情:
在这里插入图片描述
首先放一段orca的语法说明备用。

#井号后的内容是注释,你可以想写什么写什么
! {Keywords} 			#控制了方法、基组、工作类型
! moread 		#备选项:让程序从已有的分子轨道开始计算需要%moinp关键词
%moinp “MyInp.gbw” 		#备选项:在此处输入已有的轨道信息
%maxcore 4096 			#备选项:以MB为单位,限制使用内存的大小
%base “MyBaseName” 		#备选项:规定临时文件的文件名
* xyz {Charge} {Mult} 		#输入坐标类型,电荷和自旋多重度
C 1.23 16.481 -9.87 		#笛卡尔坐标的默认单位是埃
* 				#坐标输入区结束
$new_job
#可以新建一个任务,以此类推

直接说解决办法,在输入文件 .inp 文件最后加一行回车,多一行空白就行了,或者在最后一行 读取文件后面加一个“ *” 注意有空格。

问题详细描述:
该问题十分离奇,因为我的算例就是官方给的第一个算例:
Input and Output
Reading from external file
The geometry can also be read from an external .xyz file using the “xyzfile” flag. In the previous case, if one had a “hydroxide.xyz” file in the same folder as the input, the input would be:

!HF DEF2-SVP
* xyzfile 0 2 hydroxide.xyz

In this case, there is no need to close the section with a second star below. The “hydroxide.xyz” should look like:

2

O  0 0 0
H  0 0 0.9903

It starts with the number of atoms, then comes a blank or comment line and then the structure - with coordinates in Angstroem.

很简单就两个文件,但是就是会出现如上报错。正如前面所说把.inp文件修改成:

!HF DEF2-SVP
* xyzfile 0 2 hydroxide.xyz

或者

!HF DEF2-SVP
* xyzfile 0 2 hydroxide.xyz *

加一行空白行,或者" *" 就可以了。为什么这样修改就行我也不知道,我是试出来的。

  • 6
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值