计算化学公社

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

[ORCA] Help to solve OUT OF MEMORY ERROR!

[复制链接 Copy URL]

206

帖子

0

威望

2251

eV
积分
2457

Level 5 (御坂)

跳转到指定楼层 Go to specific reply
楼主
Hi, I'm trying to do a scf calculation using Orca 5.0.1, my system is a DNA base pair (with the phosphate part) with a 1 nm gold nanoparticle (about 46 atoms), the system was previously optimized using: ! PBE D3 RI def2-SVP def2/J noautostart miniprint nopop opt
Now I'm trying to do scf using:
! PBE D3 def2-QZVP def2/J RIJCOSX noautostart miniprint nopop
%scf DirectResetFreq=1 end
%maxcore 10000


But I'm always getting this error:
[file orca_tools/qcmem.cpp, line 949]:  OUT OF MEMORY ERROR!

[file orca_tools/qcmsg.cpp, line 458]:
  .... aborting the run


I tried changing %maxcore using high values like 300000 so I don't know how to solve this, maybe if I change the basis to def2-TZVP.

Any advice to treat this problem?
Thanks in advance.

1万

帖子

0

威望

9900

eV
积分
22154

Level 6 (一方通行)

3#
发表于 Post on 2022-2-23 01:27:59 | 只看该作者 Only view this author
It may be counterintuitive, but sometimes you have to decrease maxcore to solve an out-of-memory error.
There are two kinds of out-of-memory errors: (these do not only apply to ORCA but more or less apply to other programs as well)
(1) The memory specified by maxcore is insufficient for the calculation. In this case you should increase maxcore.
(2) The amount of memory of the machine is smaller than what would be implied by the maxcore keyword. In this case ORCA erroneously assumes that there is a lot of memory, so it chooses memory-intensive but fast algorithms over memory-efficient but slow algorithms. But when ORCA actually does the calculation, it finds that the actual memory available to ORCA is not as much as what ORCA assumed, leading to program abort. In this case you should actually decrease maxcore, so that there is the chance that ORCA chooses the memory-efficient algorithm instead and avoids the memory bottleneck.
A quick method of checking whether you are in case (1) or case (2) is: multiply maxcore by nprocs. If this is larger than 80% times the physical memory of your machine, then case (2) is very likely.
Zikuan Wang
山东大学光学高等研究中心 研究员
BDF(https://bdf-manual.readthedocs.io/zh_CN/latest/Introduction.html)、ORCA(https://orcaforum.kofo.mpg.de/index.php)开发团队成员
Google Scholar: https://scholar.google.com/citations?user=XW6C6eQAAAAJ
ORCID: https://orcid.org/0000-0002-4540-8734
主页:http://www.qitcs.qd.sdu.edu.cn/info/1133/1776.htm
GitHub:https://github.com/wzkchem5
本团队长期招收研究生,有意者可私信联系

442

帖子

0

威望

1500

eV
积分
1942

Level 5 (御坂)

2#
发表于 Post on 2022-2-23 01:03:14 | 只看该作者 Only view this author
do not use full electron basis set for Au atom



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

GMT+8, 2026-2-28 02:24 , Processed in 0.156740 second(s), 21 queries , Gzip On.

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