Open junglegobs opened 3 years ago
2*user1@host1
should work, and does so for me at least:
$ cat m
2 * fredrik@localhost
2 * localhost
$ julia --machine-file=m -E 'workers()'
[2, 3, 4, 5]
But I agree that the documentation needs to be improved.
Currently the section on Starting workers is quite brief. I guess all the information is there, but there is no example of a
machine-file
. For example, I currently do not understand how to specify the number of workers to start at each machine. Assuming user isuser1
and host ishost1
and I want to start 2 workers there, is it:This would be cleared up with a simple example in that section.