When executing the sjmServer.py script, use the keyword set, to define the pool of servers available to receive jobs.
You can also use set to set the maximum number of jobs that can be executed in parallel. After execution, the set command displays the server properties.
| Option | Function |
|---|---|
| -a <name> |
This is a compulsory option, required when you use the keyword set, that points to the application you are using. For example, mfg-msim-moldflow2018 If you don't know the exact name, use the query operation to obtain the precise spelling. |
| -d <file> |
Use this option to define the pool of servers. This is particularly relevant for Design-of-Experiment, Runner Balance and Optimization studies where child studies may be formed and launched during their execution. <file> is the name of a text file you create, that contains the list of hostnames, or IP addresses, to be used for the distribution pool. Use one line per server, and specify the local machine as "LOCALHOST". |
| -n # | Use this option to set the maximum number of jobs that can be executed in parallel. Replace # with an integer. |
| -s <host> | Use this option to specify the machine to query. You can use either the machine's hostname or its IP address. If you don't specify a server, then localhost is queried. |
Examples:
$ sjmServer.py set -d pool.txt –a mfg-msim-moldflow2018
LOCALHOST 192.168.1.3
$ sjmServer.py set –a mfg-msim-moldflow2018 –n 5
$ sjmServer.py set –a mfg-msim-moldflow2018 –n 8 –s 192.168.1.3