set_nodes.py

jcmwave.set_nodes(nodes=None)

Sets nodes for a cluster parallelization of JCMsolve

Parameters:nodes (str) – comma separated list of nodes. The leading host must be ‘localhost’. Individual JCMROOT installation paths can be passed behind the host name with ‘::’ separators. A missing are empty nodes parameter reset the solver to non-cluster behavior.

Example:

jcmwave.set_nodes(‘localhost,maxwell2::/local/JCMsuite,maxwell3’)

Note

To run a job on a remote computer (nodes), or to distribute multiple jobs in parallel use the JCMsuite daemon tool.

Warning

All cluster nodes must be accessible by an password-free ssh-login