计算化学公社

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

[Material Studio] 求助:Linux版本中forcite模块如何提交任务

[复制链接 Copy URL]

21

帖子

0

威望

139

eV
积分
160

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
各位老师好!
请问如何将win版本Ms软件中forcite模块的任务提交到Linux版本中去。
提交任务时需要 xsd 和pl 文件,可是我在我的win版本中找不到pl文件。请问应该在哪里得到?
谢谢赐教!

22

帖子

0

威望

119

eV
积分
141

Level 2 能力者

2#
发表于 Post on 2021-7-9 09:37:59 | 只看该作者 Only view this author
Run Forcite/Forcite Plus Batch Jobs:
First, prepare the .xsd file that contains the structure of the system you want to simulate and .pl file that contains MaterialsScript to execute Forcite:

The .pl file can be created by the following way:

Choose Files -> New… from toolbar and “Perl Script” and click OK.
New script file will be created. Rename the file to such as “TestForcite.pl”
In testForcite.pl file, add the following three lines after the “use MaterialsScript qw(:all);”
my %Args;
GetOptions(\%Args, "Structure=s");
my $doc = $Documents{"your_file.xsd"};
(Here “your_file.xsd” must be changed to your xsd filename)

Open the xsd file.
Open Forcite calculation dialogue and setup configuration as you do usually.
Click on the small down-arrow part that is on the right next to the Run button, and click “Copy Script”.
Open the TestForcite.pl file and right-click on the last blank line and choose “Paste”.
You will have something like this:
#!perl
use strict;
use Getopt::Long;
use MaterialsScript qw(:all);
my %Args;
GetOptions(\%Args, "Structure=s");
my $doc = $Documents{"your_file.xsd"};

my $results = Modules->Forcite->Dynamics->Run($doc, Settings(
        CurrentForcefield => "COMPASSII",
        ChargeAssignment => "Forcefield assigned",
        Ensemble3D => "NVT",
        NumberOfSteps => 50000,
        TrajectoryFrequency => 10000));
my $outTrajectory = $results->Trajectory;
This example reflects the Forcite configuration and setting, it may differ from your script.

Once xsd and perl script files are prepared, which should be in the folder of the “New Projects” you define in Tools -> Options -> Locations. Transfer them from this location to the HPC server using scp or FileZilla on your PC.

Next, run the following commands on any HPC login server:
> cd /hpctmp2/
> qsub perl_script

评分 Rate

参与人数
Participants 1
eV +5 收起 理由
Reason
highlight + 5 well done!

查看全部评分 View all ratings

1

帖子

0

威望

9

eV
积分
10

Level 1 能力者

3#
发表于 Post on 2022-4-18 14:32:47 | 只看该作者 Only view this author
楼主现在解决linux中forcite模块的任务提交了嘛,我现在也在做这一块,不知道如何提交

4

帖子

0

威望

721

eV
积分
725

Level 4 (黑子)

4#
发表于 Post on 2023-6-29 15:52:04 | 只看该作者 Only view this author
请问楼主是否解决了Linux中Forcite任务的提交,是否有脚本编写的教程可以分享一下呢,感谢您

1

帖子

0

威望

47

eV
积分
48

Level 2 能力者

5#
发表于 Post on 2025-1-12 15:11:59 | 只看该作者 Only view this author
请问楼主是否解决了Linux中Forcite任务的提交,我用了自带的RunMatScript.sh文件,但告诉我没有MatServe.pl权限

本版积分规则 Credits rule

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

GMT+8, 2026-2-20 07:20 , Processed in 0.211041 second(s), 27 queries , Gzip On.

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