24小时热门版块排行榜    

查看: 1058  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 材料学硕,求调剂 6+3 糖葫芦888ll 2026-03-22 7/350 2026-03-24 17:11 by hello七七
[考研] 080500求调剂 +3 zzzzfan 2026-03-24 3/150 2026-03-24 16:38 by barlinike
[考研] 0856材料专硕353求调剂 +5 NIFFFfff 2026-03-20 5/250 2026-03-24 11:46 by 544594351
[考研] 材料调剂 +5 匹克i 2026-03-23 5/250 2026-03-24 08:50 by dick_runner
[考研] 284求调剂 +3 yanzhixue111 2026-03-23 6/300 2026-03-23 22:58 by pswait
[考研] 361求调剂 +3 Glack 2026-03-22 3/150 2026-03-23 22:03 by fuyu_
[考研] 一志愿重庆大学085700资源与环境,总分308求调剂 +7 墨墨漠 2026-03-23 8/400 2026-03-23 20:36 by Creta
[考研] 一志愿中国石油大学(华东) 本科齐鲁工业大学 +4 石能伟 2026-03-17 4/200 2026-03-23 17:51 by 17862566385
[考研] 306求调剂 +9 chuanzhu川烛 2026-03-18 9/450 2026-03-23 13:17 by luoyongfeng
[考研] 070300,一志愿北航320求调剂 +3 Jerry0216 2026-03-22 5/250 2026-03-23 09:16 by 。。堂堂
[考研] 一志愿070300浙大化学358分,求调剂! +4 酥酥鱼.. 2026-03-21 4/200 2026-03-23 08:12 by Iveryant
[考研] 307求调剂 +11 冷笙123 2026-03-17 11/550 2026-03-22 20:16 by edmund7
[考研] 287求调剂 +8 晨昏线与星海 2026-03-19 9/450 2026-03-22 17:01 by i_cooler
[基金申请] 山东省面上项目限额评审 +4 石瑞0426 2026-03-19 4/200 2026-03-22 08:50 by Wei_ren
[考研] 一志愿华中科技大学071000,求调剂 +4 沿岸有贝壳6 2026-03-21 4/200 2026-03-22 07:21 by ilovexiaobin
[考研] 一志愿重庆大学085700资源与环境专硕,总分308求调剂 +3 墨墨漠 2026-03-18 3/150 2026-03-21 00:39 by JourneyLucky
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +4 晨昏线与星海 2026-03-19 4/200 2026-03-20 22:15 by JourneyLucky
[考研] A区线材料学调剂 +5 周周无极 2026-03-20 5/250 2026-03-20 21:33 by laoshidan
[考研] 一志愿西安交通大学 学硕 354求调剂211或者双一流 +3 我想要读研究生 2026-03-20 3/150 2026-03-20 20:13 by JourneyLucky
[考研] 085410人工智能专硕317求调剂(0854都可以) +4 xbxudjdn 2026-03-18 4/200 2026-03-20 09:07 by 不168
信息提示
请填处理意见