计算化学公社

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

[ORCA] Linux上运行ORCA报错显示核数不足

[复制链接 Copy URL]

4

帖子

0

威望

491

eV
积分
495

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
输入文件为

4

帖子

0

威望

491

eV
积分
495

Level 3 能力者

2#
 楼主 Author| 发表于 Post on 2021-10-16 16:13:48 | 只看该作者 Only view this author
对不起,粘贴时不小心发送了(
! BLYP D3 def2-TZVP def2/J noautostart miniprint nopop
%maxcore  3000
%pal nprocs  50 end
* xyz   0   1
...
*
输出为
[DESKTOP-R1SD9RA:56123] pmix_mca_base_component_repository_open: unable to open mca_pnet_tcp: perhaps a missing symbol, or compiled for a different version of OpenPMIx (ignored)
[DESKTOP-R1SD9RA:56123] pmix_mca_base_component_repository_open: unable to open mca_pnet_test: perhaps a missing symbol, or compiled for a different version of OpenPMIx (ignored)
--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 50
slots that were requested by the application:

  /orca/orca_gtoint_mpi

Either request fewer slots for your application, or make more slots
available for use.

A "slot" is the Open MPI term for an allocatable unit where we can
launch a process.  The number of slots available are defined by the
environment in which Open MPI processes are run:

  1. Hostfile, via "slots=N" clauses (N defaults to number of
     processor cores if not provided)
  2. The --host command line parameter, via a ":N" suffix on the
     hostname (N defaults to 1 if not provided)
  3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
  4. If none of a hostfile, the --host command line parameter, or an
     RM is present, Open MPI defaults to the number of processor cores

In all the above cases, if you want Open MPI to default to the number
of hardware threads instead of the number of processor cores, use the
--use-hwthread-cpus option.

Alternatively, you can use the --oversubscribe option to ignore the
number of available slots when deciding the number of processes to
launch.
--------------------------------------------------------------------------
[file orca_tools/qcmsg.cpp, line 458]:
  .... aborting the run

mpi版本为4.1.1,ORCA版本为5.0.1,均是按照卢天老师的教程安装的

1万

帖子

0

威望

9892

eV
积分
22140

Level 6 (一方通行)

3#
发表于 Post on 2021-10-16 17:32:12 | 只看该作者 Only view this author
carboniumion 发表于 2021-10-16 09:13
对不起,粘贴时不小心发送了(
! BLYP D3 def2-TZVP def2/J noautostart miniprint nopop
%maxcore  3000 ...

把nprocs减小到小于等于你机器的物理核数的数目,再试。
如果不知道怎么看你的机器有多少个物理核,谷歌一下就知道
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
本团队长期招收研究生,有意者可私信联系

6万

帖子

99

威望

6万

eV
积分
125189

管理员

公社社长

4#
发表于 Post on 2021-10-16 19:39:18 | 只看该作者 Only view this author
carboniumion 发表于 2021-10-16 16:13
对不起,粘贴时不小心发送了(
! BLYP D3 def2-TZVP def2/J noautostart miniprint nopop
%maxcore  3000 ...

有别人回复之前若需要对帖子进行修改、补充,应直接编辑原帖,不要通过回帖进行补充,这点在置顶的新社员必读贴里明确说了。
北京科音自然科学研究中心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

1562

帖子

0

威望

5007

eV
积分
6569

Level 6 (一方通行)

5#
发表于 Post on 2021-10-16 21:18:43 | 只看该作者 Only view this author
本帖最后由 牧生 于 2021-10-18 11:08 编辑

搜一下,自己的CPU有多少核。最笨的办法,就是如下:

%pal nprocs  50 end

把这个50,往小了改,最低可以改成1,再试试。






又菜又爱玩

739

帖子

0

威望

1715

eV
积分
2454

Level 5 (御坂)

6#
发表于 Post on 2021-10-17 02:43:59 | 只看该作者 Only view this author
核心减到12个,每个核心分配的内存尽可能大。你这是由于 内存不够崩溃引起的。一开始我经常碰到这种情况。

如果通过减小处理器核心数目仍旧不行。要考虑你的结构是否合理。除了这两种情况,其他情况很少。

本版积分规则 Credits rule

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

GMT+8, 2026-2-26 07:34 , Processed in 0.189213 second(s), 26 queries , Gzip On.

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