24小时热门版块排行榜    

查看: 1054  |  回复: 3

星愿123

金虫 (初入文坛)

[求助] MS-DMol3批处理

在MS的DMol3模块中如何进行批处理???
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

星愿123

金虫 (初入文坛)

急求,自己顶
2楼2012-12-11 15:29:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

souledge

专家顾问 (著名写手)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
sunyang1988: 金币+2, 专家考核, 谢谢交流 2012-12-13 20:48:02
如果没有学过如何写Perl脚本来批量计算,那么可以用简单的批处理方法计算。
首先建立需要批量计算中的任意一个模型,设置好参数,Save Files,复制出其中的input文件。
根据自己要批量进行的参数设置(比如修改键长),基于已有的input文件,制作一批input文件。
写个简单的批处理(或者Linux下的脚本)来对每个input运行RunDMol3.bat(Windows下)或者RunDMol3.sh(Linux下)。
比如:
CODE:
RunDMol3.bat -np 1 1
RunDMol3.bat -np 1 2
...
RunDMol3.bat -np 1 N

详细的RunDMol3.bat或者RunDMol3.sh的使用语法参见说明:
引用回帖:
DESCRIPTION

   RunDMol3 scripts are used to run DMol3 as a standalone program in serial
   or parallel mode. RunDMol3.sh is provided for UNIX and LINUX servers,
   while RunDMol3.bat is provided for Windows servers.

  Usage:  
     RunDMol3.sh [-h] [ -q ]  [-nodelete] [-np ] (Unix)
  or
     RunDMol3    [-h] [-nodelete] [-np ] (Windows)

  ARGUMENTS

     -h        - displays this help text.

     -nodelete - retain all server and scratch files

     -np       - run in parallel on "number of processors".
                 Serial version of DMol3 is executed when the
                 -np option is missing. If the -np option is 1, then
                 parallel DMol3 is executed on one CPU.

      -q    - submit the job to the required queue. Gateway
                 has to be configured to use this queuing system.


     basename  - name of the DMol3 job. Input is read from "basename".input
                 and output is written to "basename".outmol

  EXAMPLE

    To run the case "h2o" on 2 processors use the command
      "D:\Program Files\Accelrys\Materials Studio\DMol3\bin\RunDMol3" -np 2 h2o

    This assumes that Materials Studio has been installed in the default
    location on your "D:\" drive.

思想重于技巧,内涵重于表象
3楼2012-12-13 12:36:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

星愿123

金虫 (初入文坛)

引用回帖:
3楼: Originally posted by souledge at 2012-12-13 12:36:02
如果没有学过如何写Perl脚本来批量计算,那么可以用简单的批处理方法计算。
首先建立需要批量计算中的任意一个模型,设置好参数,Save Files,复制出其中的input文件。
根据自己要批量进行的参数设置(比如修改键 ...

好的,谢谢
4楼2012-12-13 18:27:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 星愿123 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 279分求调剂 一志愿211 +18 chaojifeixia 2026-03-19 20/1000 2026-03-24 10:34 by dolphin_ycj
[考研] 一志愿211 初试270分 求调剂 +4 谷雨上岸 2026-03-23 5/250 2026-03-23 21:18 by 不惑可乐
[考研] 333求调剂 +3 ALULU4408 2026-03-23 3/150 2026-03-23 19:04 by macy2011
[考研] 336求调剂 +4 收到VS 2026-03-20 4/200 2026-03-23 19:02 by macy2011
[考研] 303求调剂 +4 元夕元 2026-03-20 4/200 2026-03-23 19:00 by macy2011
[论文投稿] 急发核心期刊论文 +3 贤达问津 2026-03-23 5/250 2026-03-23 17:13 by 妹子不好惹
[考研] 石河子大学(211、双一流)硕博研究生长期招生公告 +3 李子目 2026-03-22 3/150 2026-03-22 21:01 by 怎么释怀
[考研] 一志愿西安交通大学材料工程专业 282分求调剂 +11 枫桥ZL 2026-03-18 13/650 2026-03-22 20:26 by edmund7
[考研] 308求调剂 +3 墨墨漠 2026-03-21 3/150 2026-03-22 16:54 by i_cooler
[考研] 289求调剂 +7 怀瑾握瑜l 2026-03-20 7/350 2026-03-22 15:57 by ColorlessPI
[考研] 求调剂 +5 Zhangbod 2026-03-21 7/350 2026-03-22 13:13 by Zhangbod
[考研] 考研调剂 +4 来好运来来来 2026-03-21 4/200 2026-03-22 12:15 by 星空星月
[考研] 材料工程专硕 348分求调剂 +3 冬辞. 2026-03-17 5/250 2026-03-21 18:47 by 学员8dgXkO
[考研] 求调剂 +3 .m.. 2026-03-21 4/200 2026-03-21 16:25 by barlinike
[基金申请] 学校已经提交到NSFC,还能修改吗? 40+4 babangida 2026-03-19 9/450 2026-03-21 16:12 by babangida
[考研] 二本跨考郑大材料306英一数二 +3 z1z2z3879 2026-03-17 3/150 2026-03-21 02:29 by JourneyLucky
[考研] 求调剂一志愿南京航空航天大学289分 +3 @taotao 2026-03-19 3/150 2026-03-20 21:34 by JourneyLucky
[考研] 086500 325 求调剂 +3 领带小熊 2026-03-19 3/150 2026-03-20 18:38 by 尽舜尧1
[考研] 0856调剂,是学校就去 +8 sllhht 2026-03-19 9/450 2026-03-20 14:25 by 无懈可击111
[考研] 材料,纺织,生物(0856、0710),化学招生啦 +3 Eember. 2026-03-17 9/450 2026-03-18 10:28 by Eember.
信息提示
请填处理意见