As Greg said, the total number of workers is one less than the number of 
available processes.
There is always one master process (with id = 1, and not considered a 
worker) and the remaining workers.

So for *julia -p 3 *you will get one master process and two workers.

The documentation may be misleading in this context, as it says:
Starting with julia -p n provides n worker processes on the local machine. 

But *nworkers()* is actually n-1.
However, if you do a *@everywhere*, the expression will be executed on all n
processes.

Reply via email to