24小时热门版块排行榜    

查看: 975  |  回复: 3

星愿123

金虫 (初入文坛)

[求助] MS-DMol3批处理

在MS的DMol3模块中如何进行批处理???
回复此楼

» 收录本帖的淘帖专辑推荐

计算MS等 xuexijisuan

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注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 的主题更新
信息提示
请填处理意见