计算化学公社

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

[GROMACS] 利用./acpype.py -i Lig.mol2 -d 报错信息如下,说找不到amber/bin/mopac.sh

[复制链接 Copy URL]

10

帖子

0

威望

103

eV
积分
113

Level 2 能力者

以下报错代码后的内容:如果觉得多可以看图片 ,麻烦老师了
============================================================================
| ACPYPE: AnteChamber PYthon Parser interfacE v. 0 0 Rev: 0 (c) 2021 AWSdS |
============================================================================
DEBUG: Python Version 3.8.8
DEBUG: Max execution time tolerance is 10h
WARNING: no 'babel' executable, no PDB file as input can be used!
DEBUG: /home/cui/.app/amber20/bin/antechamber -i Lig.mol2 -fi mol2 -o tmp -fo ac -pf y
DEBUG:
Welcome to antechamber 21.0: molecular input file processor.

acdoctor mode is on: check and diagnose problems in the input file.
The atom type is set to gaff; the options available to the -at flag are
    gaff, gaff2, amber, bcc, and sybyl.
-- Check Format for mol2 File --
   Status: pass
-- Check Unusual Elements --
   Status: pass
-- Check Open Valences --
   Status: pass
-- Check Geometry --
      for those bonded   
      for those not bonded   
Warning: Close ( 0.71) nonbonded atoms (ID: 8, Name: N1) and (ID: 36, Name: H11).
Warning: Close ( 1.24) nonbonded atoms (ID: 8, Name: N1) and (ID: 39, Name: H14).
Warning: Close ( 0.88) nonbonded atoms (ID: 12, Name: C7) and (ID: 38, Name: H13).
-- Check Weird Bonds --
   Status: pass
-- Check Number of Units --
   Status: pass
acdoctor mode has completed checking the input file.

Info: Bond types are assigned for valence state (7) with penalty (1).

DEBUG: setResNameCheckCoords done
DEBUG: Net charge drift '0.000000'
==> ... charge set to 0
WARNING: Old version of antechamber. Strongly consider upgrading to AmberTools
WARNING: Setting mopac for antechamber
==> Executing Antechamber...
==> Debugging...
DEBUG: /home/cui/.app/amber20/bin/antechamber -i Lig.mol2 -fi mol2 -o Lig_bcc_gaff.mol2 -fo mol2 -c bcc -nc 0 -m 1 -s 2 -df 0 -at gaff -pf n
++++++++++start_quote+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Welcome to antechamber 21.0: molecular input file processor.

acdoctor mode is on: check and diagnose problems in the input file.
The atom type is set to gaff; the options available to the -at flag are
    gaff, gaff2, amber, bcc, and sybyl.
-- Check Format for mol2 File --
   Status: pass
Info: Finished reading file (Lig.mol2); atoms read (45), bonds read (47).
Info: Determining atomic numbers from atomic symbols which are case sensitive.
-- Check Unusual Elements --
   Status: pass
-- Check Open Valences --
   Status: pass
-- Check Geometry --
      for those bonded   
      for those not bonded   
Warning: Close ( 0.71) nonbonded atoms (ID: 8, Name: N1) and (ID: 36, Name: H11).
Warning: Close ( 1.24) nonbonded atoms (ID: 8, Name: N1) and (ID: 39, Name: H14).
Warning: Close ( 0.88) nonbonded atoms (ID: 12, Name: C7) and (ID: 38, Name: H13).
-- Check Weird Bonds --
   Status: pass
-- Check Number of Units --
   Status: pass
acdoctor mode has completed checking the input file.

Running: /home/cui/.app/amber20/bin/bondtype -j full -i ANTECHAMBER_BOND_TYPE.AC0 -o ANTECHAMBER_BOND_TYPE.AC -f ac
Info: Bond types are assigned for valence state (7) with penalty (1).

Running: /home/cui/.app/amber20/bin/atomtype -i ANTECHAMBER_AC.AC0 -o ANTECHAMBER_AC.AC -p gaff
Info: Total number of electrons: 195; net charge: 0
Info: The number of electrons is odd (195).
      Please check the total charge (-nc flag) and spin multiplicity (-m flag).

Running: /home/cui/.app/amber20/bin/mopac.sh
sh: 1: /home/cui/.app/amber20/bin/mopac.sh: not found
/home/cui/.app/amber20/bin/wrapped_progs/antechamber: Fatal Error!
Cannot properly run "/home/cui/.app/amber20/bin/mopac.sh".

++++++++++end_quote+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERROR: Antechamber failed
DEBUG: /home/cui/.app/amber20/bin/parmchk2 -i Lig_bcc_gaff.mol2 -f mol2 -o Lig_AC.frcmod
++++++++++start_quote+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Cannot open file (Lig_bcc_gaff.mol2) with mode (r).
No such file or directory
++++++++++end_quote+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERROR: Parmchk failed
ERROR: Tleap failed
ACPYPE FAILED: [Errno 2] No such file or directory: 'Lig_AC.prmtop'
  File "./acpype_new.py", line 3510, in <module>
    molecule.createMolTopol()
  File "./acpype_new.py", line 1222, in createMolTopol
    self.topFileData = open(self.acTopFileName, 'r').readlines()
Total time of execution: less than a second


运行届面代码 (1).png (808.1 KB, 下载次数 Times of downloads: 61)

运行届面代码 (1).png

Lig.mol2

4.57 KB, 下载次数 Times of downloads: 0

3

帖子

0

威望

549

eV
积分
552

Level 4 (黑子)

2#
发表于 Post on 2021-7-8 18:33:04 | 只看该作者 Only view this author
我用21版ambertools也出了这个问题 换18版的ambertools就好了

10

帖子

0

威望

103

eV
积分
113

Level 2 能力者

3#
 楼主 Author| 发表于 Post on 2021-7-8 20:14:55 | 只看该作者 Only view this author
akill 发表于 2021-7-8 18:33
我用21版ambertools也出了这个问题 换18版的ambertools就好了

请问一下,那老版本的ambertool 你是怎么处理的,可以同时共存两个版本吗?

6万

帖子

99

威望

6万

eV
积分
125153

管理员

公社社长

4#
发表于 Post on 2021-7-9 08:29:58 | 只看该作者 Only view this author
据说把acpype.py脚本里qprog = 'mopac'改成qprog = 'sqm'就可以兼容较新AmberTools,不过我没测试过
北京科音自然科学研究中心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

10

帖子

0

威望

103

eV
积分
113

Level 2 能力者

5#
 楼主 Author| 发表于 Post on 2021-7-10 09:55:42 | 只看该作者 Only view this author
sobereva 发表于 2021-7-9 08:29
据说把acpype.py脚本里qprog = 'mopac'改成qprog = 'sqm'就可以兼容较新AmberTools,不过我没测试过

老师您好,全文检索acpype脚本有三处qprog = 'mopac,都改了好像还是不行,不过我把amber20换成amber18就可以了.再次感谢!

105

帖子

2

威望

1874

eV
积分
2019

Level 5 (御坂)

6#
发表于 Post on 2022-1-4 18:05:22 | 只看该作者 Only view this author
崔智勇 发表于 2021-7-10 09:55
老师您好,全文检索acpype脚本有三处qprog = 'mopac,都改了好像还是不行,不过我把amber20换成amber18就 ...

可以的,我改了就能用了
分子模拟玩家

14

帖子

0

威望

115

eV
积分
129

Level 2 能力者

7#
发表于 Post on 2022-2-20 11:11:35 | 只看该作者 Only view this author
崔智勇 发表于 2021-7-10 09:55
老师您好,全文检索acpype脚本有三处qprog = 'mopac,都改了好像还是不行,不过我把amber20换成amber18就 ...

你好,请问你是怎么改的版本

1560

帖子

0

威望

5001

eV
积分
6561

Level 6 (一方通行)

8#
发表于 Post on 2022-2-20 11:41:20 | 只看该作者 Only view this author
lyjc19961209 发表于 2022-2-20 11:11
你好,请问你是怎么改的版本

现在有了更好用,更方便,更快捷,功能更丰富,更傻瓜化的sobtop,无需安装,解压即用,无脑都可以产生高质量的top文件,已经可以彻底放弃acpype了。

http://sobereva.com/soft/Sobtop/
又菜又爱玩

102

帖子

0

威望

632

eV
积分
734

Level 4 (黑子)

蛋白设计爱好者

9#
发表于 Post on 2022-3-1 23:11:44 | 只看该作者 Only view this author
lyjc19961209 发表于 2022-2-20 11:11
你好,请问你是怎么改的版本

我是直接conda新建一个环境,然后装老版本AmberTools18

本版积分规则 Credits rule

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

GMT+8, 2026-2-23 21:14 , Processed in 0.186589 second(s), 29 queries , Gzip On.

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