计算化学公社

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

[ORCA] ORCA做metaDynamics二维采样报错Error: More than 64 arguments (73)

[复制链接 Copy URL]

86

帖子

3

威望

1751

eV
积分
1897

Level 5 (御坂)

跳转到指定楼层 Go to specific reply
楼主
各位老师好,我最近想使用ORCA做AIMD的metaDynamics,现在用经典的SN2反应进行尝试,发现设置二维采样后就跑不通了,使用ORCA 6.0.1,输入文件和输出文件见附件,显示如下报错:
  1. CSANParser::CreateImplicitCastSet(): Error: More than 64 arguments (73).

  2. Abort during parsing at orca_md/san_parser_tools.cpp:3358 in void CSANParser::CreateImplicitCastSet(std::vector<CSANImplicitCastSet> &, const std::vector<CSANInputElement *> &, const std::vector<CSANType> &) const.
复制代码

metaD.inp (1.01 KB, 下载次数 Times of downloads: 6)

metaD.out (20.35 KB, 下载次数 Times of downloads: 2)



1016

帖子

0

威望

2096

eV
积分
3112

Level 5 (御坂)

天上地下三山亖海五湖六合八荒九州之泛粤大典編輯委員會編外委員

2#
发表于 Post on 2025-4-13 22:40:00 | 只看该作者 Only view this author
我遇到同样的问题。算了好几个算例,如果算二维metadynamics就报错,但是删掉一个Colvar就没问题。不知道为什么。

我用了楼上的算例,除了没用并行之外其他没变,在超算上运行ORCA6.0.1
  1. ! wB97X-D3 TZVP RIJCOSX autoAux MD
  2. %maxcore 2000
  3. #%pal nprocs 10 end
  4. %md
  5.   Timestep 0.5_fs
  6.   Thermostat CSVR 298.15_K TimeCon 100.0_fs
  7.   InitVel 298.15_K
  8.   Dump Position Stride 1 Format xyz Filename "trajectory.xyz"
  9.   Manage_Colvar Define 1 Distance Atom 0 Atom 4
  10.   Metadynamics Colvar 1 Wall Lower 1.0 50.0 Upper 30.0 50.0 Range 0.0 35.0 350
  11.   Manage_Colvar Define 2 Distance Atom 0 Atom 5
  12.   Metadynamics Colvar 2 Wall Lower 1.0 50.0 Upper 30.0 50.0 Range 0.0 35.0 350
  13.   Metadynamics HillSpawn 50 0.5 0.5 Store 500
  14.   Constraint Add Center 0
  15.   # MetaDynamics WellTempered 6000_K
  16.   # MetaDynamics Lagrange 100.0 10.0 200.0_K 10.0_fs
  17.   # Restart IfExists
  18.   Run 2000
  19. end
  20. * xyz -1 1
  21. C                 -0.78767124    0.49657534    0.00000000
  22. H                 -0.43099840    1.00097353    0.87365150
  23. H                 -0.40717895    0.98370108   -0.87340376
  24. H                 -1.85726636    0.52199613   -0.01483424
  25. Cl                -0.24087034   -1.17615690    0.02399276
  26. Br                -1.58973594    2.95019143   -0.03519333
  27. *
复制代码
输出文件见附件,其中报错信息如下:
  1. Handling functions, iteration  1...
  2. ERROR       : MD Program returns an error
  3.               cannot continue the md simulation
  4. COMMAND     : HOME/orca_6_0_1/orca_md -orca /HOME/MTD/metaD
  5. RETURN CODE : 34304
  6. [file orca_main/main_driver_md.cpp, line 190]:
复制代码
不知道RETURN CODE:30304,以及line 190是什么意思,请各位老师看看。

metaD.out

18.87 KB, 下载次数 Times of downloads: 2

ORCA大法好!CP2K大法好!
嶺南粤音 泛粤典 https://jyutjam.org/

山河自落蒼梧月,風雨猶驅草木兵。
san huɔɞ ki lɔk tʰɔŋ ŋ ᵑgut,fʊŋ ʝi ʝiu kʰui tʰɔu ᵐbʊk pɪŋ

1016

帖子

0

威望

2096

eV
积分
3112

Level 5 (御坂)

天上地下三山亖海五湖六合八荒九州之泛粤大典編輯委員會編外委員

3#
发表于 Post on 2025-4-14 22:09:10 | 只看该作者 Only view this author
本帖最后由 chands 于 2025-4-14 22:10 编辑

查了ORCA FORUM,上面有类似问题。
https://orcaforum.kofo.mpg.de/vi ... metadynamics#p44393
省流:ORCA出bug了,但是ORCA 6.0.1没有及时更新,可能在ORCA 6.1。当前解决办法,在%MD部分每一行结尾加分号(;)。亲测有用。

原文:
Re: Help for too many arguments in %md block
Unread post by Brehministrator » Sun Nov 03, 2024 2:53 am

That is an internal error of the input interpreter which was not expected to happen. There is no such thing as a limit on the argument count in the MD input. It is just a bug. I am sorry for the inconvenience.

The bug is already fixed since months in my local developer version, but as the changes were made together with the addition of a few new features, the bugfix could unfortunately not make it into ORCA 6.0.1, which is strictly a bugfix release without new features.

In the meantime, please just end each line with a semicolon (";"), it should help. The next feature release (maybe ORCA 6.1) will have this issue fixed.

Best regards,
Martin

P.S.: If you should be interested in the underlying cause: The MD input language is very permissive with respect to syntax. You can have multiple function calls in one line, and no semicolons or parentheses around the function arguments are required. Therefore, the parser figures out by itself which tokens are still arguments to the last function call, or which tokens are separate function calls on their own. During this check, there was a stupid bug with this arbitrary 64 argument limit. With the semicolons at the line endings, the parser can be sure that the function call is finished there and no more arguments will follow on the next line. Therefore this workaround works.
ORCA大法好!CP2K大法好!
嶺南粤音 泛粤典 https://jyutjam.org/

山河自落蒼梧月,風雨猶驅草木兵。
san huɔɞ ki lɔk tʰɔŋ ŋ ᵑgut,fʊŋ ʝi ʝiu kʰui tʰɔu ᵐbʊk pɪŋ

86

帖子

3

威望

1751

eV
积分
1897

Level 5 (御坂)

4#
 楼主 Author| 发表于 Post on 2025-4-15 15:48:31 | 只看该作者 Only view this author
chands 发表于 2025-4-14 22:09
查了ORCA FORUM,上面有类似问题。
https://orcaforum.kofo.mpg.de/vi ... metadynamics#p44393
省流:OR ...

谢谢咯,一直想去FORUM上找找,但还没行动

本版积分规则 Credits rule

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

GMT+8, 2025-8-15 03:40 , Processed in 0.186464 second(s), 23 queries , Gzip On.

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