uqfoundation / pathos

parallel graph management and execution in heterogeneous computing
http://pathos.rtfd.io
Other
1.38k stars 89 forks source link

Exclude local computer from pool #226

Closed MarcelRobitaille closed 2 years ago

MarcelRobitaille commented 2 years ago

Is there any way to exclude the local computer from the pool? Sorry if I'm missing something obvious, but I really can't see a way to do this. I'm trying to use a pool of remote servers and I never want my local computer to be used in the pool. This was also very confusing to me, because it wasn't obvious at first.

mmckerns commented 2 years ago

From the docs on server configuration (in __init__):

           ncpus - the number of worker processes to start on the local \
                   computer, if parameter is omitted it will be set to \
                   the number of processors in the system

So, I believe, ncpus = 0 will use no local workers.

mmckerns commented 2 years ago

Please do reopen the issue if the above doesn't answer your question.

MarcelRobitaille commented 2 years ago

Thank you. Not sure how I missed "local"