计算化学公社

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

[Amber] amber聯動orca多線程求助

[复制链接 Copy URL]

374

帖子

2

威望

1539

eV
积分
1953

Level 5 (御坂)

跳转到指定楼层 Go to specific reply
楼主
本帖最后由 wuzhiyi 于 2019-10-23 23:15 编辑

我想用amber/orca來做QMMM計算,如果將  num_threads = 1,就一切正常,但如果設成  num_threads = 16,就會在运行orca的過程中退出。

orc_job.dat中顯示的錯誤是

ORCA finished by error termination in GTOInt

Calling Command: mpirun -np 16  /opt/gridware/apps/orca/orca_4_2_0_linux_x86-64_openmpi314/orca_gtoint_mpi orc_job.int.tmp orc_job

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

.... aborting the run

但是我直接运行mpirun -np 16  /opt/gridware/apps/orca/orca_4_2_0_linux_x86-64_openmpi314/orca_gtoint_mpi orc_job.int.tmp orc_job則一切正常
而且amber单独运行一切正常,orca单独运行也一切正常。
附上amber输入文件
Minimize waters
&cntrl
  imin = 1,      ! Perform an energy minimization
  ntx = 1,       ! Read Coordinates, but no velocities
  irest = 0,     ! Do not restart the simulation
  ntmin = 1,     ! For NCYC cycles the steepest descent method is used then conjugate gradient is switched on
  nmropt = 0,    ! No nmr-type analysis will be done
  maxcyc = 2000, ! The maximum number of cycles of minimization.
  ncyc = 1000,   ! The method of minimization will be switched from steepest descent to conjugate gradient after NCYC cycles.
  ntpr = 100,    ! Frequency of printing of the energy and its components.
  ntwr = 250,    ! Every ntwr steps during dynamics, the “restrt” file will be written.
  cut = 10.0,    ! Non-bond cut off
  ifqnt = 1,     ! Use external QM
/
&qmmm
  qmmask=':12,127,158',
  qmcharge=0,
  spin = 1,
  qm_ewald = 0,
  qm_theory = 'EXTERN',
  qmcut = 10.0, ! just use 1 nm
  qmshake = 0,
  writepdb = 1,
/
&orc
  basis = '',
  method = 'B97-3c',
  num_threads = 1,
/


374

帖子

2

威望

1539

eV
积分
1953

Level 5 (御坂)

2#
 楼主 Author| 发表于 Post on 2019-10-26 17:32:02 | 只看该作者 Only view this author
好像发现只能二选一 要么orca跑16线程 要么sander跑16线程 不能两个都有跑16线程

28

帖子

0

威望

1217

eV
积分
1245

Level 4 (黑子)

3#
发表于 Post on 2022-10-11 20:48:25 | 只看该作者 Only view this author
wuzhiyi 发表于 2019-10-26 17:32
好像发现只能二选一 要么orca跑16线程 要么sander跑16线程 不能两个都有跑16线程

好像是存在这个问题,好像建议是sander用单线程的版本

You have to use the same MPI version that you used during compilation. There are exceptions to this rule, but in general this is required.

With OpenMPI versions that I tested, it is not possible to run both sander.MPI and Orca in parallel. It is likely that this will fail. You probably have to use the serial sander version. Typically this is not a big issue since the MM computation is much faster than ab inito or DFT QM.
http://archive.ambermd.org/201803/0026.html

本版积分规则 Credits rule

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

GMT+8, 2025-8-16 20:38 , Processed in 0.177603 second(s), 20 queries , Gzip On.

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