More work on improving docs.
[pyutils.git] / examples / parallelize_config / .remote_worker_records
1 # This file is a record of remote workers that @parallelize(method=Method.REMOTE)
2 # may send work to.  Each must have the same version of python installed and the
3 # cloudpickle package available.  "username" (see below) must be able to ssh into
4 # each machine non-interactively (e.g. with a public/private trusted key, see ssh
5 # documentation).  "weight" should be used to indicate the speed of a CPU on the
6 # target machine and "count" should be used to indicate how many parallel jobs
7 # (max) to schedule on that machine.
8 {
9     "remote_worker_records": [
10         {"username": "scott", "machine": "machine_one", "weight": 24, "count": 5},
11         {"username": "scott", "machine": "machine_two", "weight": 10, "count": 2},
12         {"username": "scott", "machine": "machine_three", "weight": 14, "count": 1},
13         {"username": "scott", "machine": "machine_four", "weight": 9, "count": 2},
14         {"username": "scott", "machine": "machine_five", "weight": 9, "count": 2},
15     ]
16 }