计算化学公社

标题: orca 读取轨道错误 [打印本页]

作者
Author:
sunny88    时间: 2019-5-21 19:51
标题: orca 读取轨道错误
需要用orca进行多步计算并读取前一步生成的轨道,但一直提示错误:
[file orca_scf/scfguess.cpp, line 1757, Process 30]: Cannot open GBW file: h2o.gbw
   
ORCA finished by error termination in SCF
Calling Command: mpirun -np 40 /scratch/chemcalc/gerbig/bin/orca-4.1.2/orca_scf_mpi h2o_1.gbw h2o_1.scf.tmp b h2o_1
[file orca_tools/qcmsg.cpp, line 458]:
  .... aborting the run

输入文件是手册中的例子,第一步输入文件h2o.inp:

! SVP UseSym
%MaxCore 1000
%pal nprocs=40 end
* xyz 1 2
O 0.000000 0.000000 0.068897
H 0.000000 0.788011 -0.546765
H 0.000000 -0.788011 -0.546765
*
第二步输入文件h2o_1.inp:
%moinp  "h2o.gbw"
%scf rotate {3,4,90,1,1}
            end
     end
%MaxCore 200
%pal nprocs=40 end
* xyz 1 2
O 0.000000 0.000000 0.068897
H 0.000000 0.788011 -0.546765
H 0.000000 -0.788011 -0.546765
*
尝试换了好多个例子,好多种输入文件,只要一读取gbw就会出现这样的错误。请教大家有没有遇到过这种情况,应该怎么解决                  




作者
Author:
sobereva    时间: 2019-5-22 02:47
确保h2o.gbw已在当前目录下
作者
Author:
sunny88    时间: 2019-5-22 03:29
是的,确定h2o.gbw和h2o_1.inp是在同一个目录下,.gbw也不是空的。
作者
Author:
sobereva    时间: 2019-5-22 04:19
写成绝对路径试试
作者
Author:
sunny88    时间: 2019-5-22 21:55
写绝对路径可以了,非常感谢sob大神!
作者
Author:
guodx    时间: 2025-5-13 09:59
sunny88 发表于 2019-5-22 21:55
写绝对路径可以了,非常感谢sob大神!

请问绝对路径写法怎么加上去呢?我用orca也遇到过这个问题
作者
Author:
wzkchem5    时间: 2025-5-13 11:46
guodx 发表于 2025-5-13 09:59
请问绝对路径写法怎么加上去呢?我用orca也遇到过这个问题

(1)找到你orca装在哪个文件夹下,假设是/path1/path2/path3或者C:\path1\path2\path3
(2)计算过程中,只要涉及运行orca或orca.exe开头的命令,都把orca换成/path1/path2/path3/orca,或把orca.exe换成C:\path1\path2\path3\orca.exe
(3)上一条所谓的命令,不仅包括你手动敲的命令,也包括你调用的脚本(不管脚本本身是不是你写的)里的命令




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3