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.