24小时热门版块排行榜    

查看: 1061  |  回复: 3
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

星愿123

金虫 (初入文坛)

[求助] MS-DMol3批处理

在MS的DMol3模块中如何进行批处理???
回复此楼
已阅   回复此楼   关注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的回帖
查看全部 4 个回答

星愿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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 求调剂323材料与化工 +3 1124361 2026-03-24 3/150 2026-03-24 20:24 by peike
[考研] 材料考研调剂生 +3 黄粱一梦千年 2026-03-24 3/150 2026-03-24 17:00 by barlinike
[考研] 293求调剂 +6 加一一九 2026-03-24 6/300 2026-03-24 14:29 by JourneyLucky
[考研] 一志愿山东大学药学学硕求调剂 +3 开开心心没烦恼 2026-03-23 4/200 2026-03-24 00:06 by 开开心心没烦恼
[考研] 求材料,环境专业调剂 +3 18567500178 2026-03-18 3/150 2026-03-23 23:50 by 热情沙漠
[考研] 一志愿北京化工大学 070300 学硕 336分 求调剂 +7 vv迷 2026-03-22 7/350 2026-03-23 23:44 by Txy@872106
[考研] 361求调剂 +3 Glack 2026-03-22 3/150 2026-03-23 22:03 by fuyu_
[考研] 384求调剂 +3 子系博 2026-03-22 6/300 2026-03-23 21:45 by 子系博
[论文投稿] 急发核心期刊论文 +3 贤达问津 2026-03-23 5/250 2026-03-23 17:13 by 妹子不好惹
[考研] 一志愿华中农业071010,总分320求调剂 +5 困困困困坤坤 2026-03-20 6/300 2026-03-22 17:41 by hxsm
[考研] 308求调剂 +3 墨墨漠 2026-03-21 3/150 2026-03-22 16:54 by i_cooler
[考研] 0703化学297求调剂 +3 Daisy☆ 2026-03-20 3/150 2026-03-21 17:45 by ColorlessPI
[考研] 296求调剂 +4 www_q 2026-03-20 4/200 2026-03-21 17:26 by 学员8dgXkO
[考研] 求调剂 +3 .m.. 2026-03-21 4/200 2026-03-21 16:25 by barlinike
[考研] 求调剂 +3 白QF 2026-03-21 3/150 2026-03-21 13:12 by zhukairuo
[考研] 324分 085600材料化工求调剂 +4 llllkkkhh 2026-03-18 4/200 2026-03-21 01:24 by JourneyLucky
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +3 晨昏线与星海 2026-03-18 3/150 2026-03-21 00:46 by JourneyLucky
[考研] 295求调剂 +4 一志愿京区211 2026-03-18 6/300 2026-03-20 23:41 by JourneyLucky
[考研] 一志愿 南京航空航天大学大学 ,080500材料科学与工程学硕 +5 @taotao 2026-03-20 5/250 2026-03-20 20:16 by JourneyLucky
[考研] 一志愿吉林大学材料学硕321求调剂 +11 Ymlll 2026-03-18 15/750 2026-03-20 19:40 by 丁丁*
信息提示
请填处理意见