sjmServer.py 脚本是位于 Moldflow 安装的二进制文件夹中的一个工具,用于配置和查询运行中的 Simulation Job Manager (SJM) 进程的状态。必须在系统中安装 python 解释器才能使用此工具。
此工具已在 Linux 上经过测试,不过它是便携式工具,还应在 Windows 上运行。通过键入脚本的名称并且后跟以下三个关键字中的一个,执行 sjmServer.py 脚本:
后跟相应的选项(如果需要)。
使用关键字 -h 可查看适用于此脚本的选项。信息将输出到终端。例如:
$ ./sjmServer.py -h
Usage: ./sjmServer.py <Keyword> <Keyword-options>
Keyword must be one of: "query", "set" or "-h"
<query-options>:
-h : Print this message.
-s <host> : Query alternate <host> using hostname or IP.
Default: localhost.
<set-options>:
-a <name> : The SJM application to alter,
i.e. mfg-msim-moldflow2018.
-d <file> : A file with a node per line to use as a
distribution pool.
-h : Print this message.
-n # : Sets Batch Concurrent Job Limit to provided integer.
-s <host> : Query alternate <host> using hostname or IP.
Default: localhost.