Closed chengs closed 7 years ago
You can explicitly set the number of nodes, so giving nodes=0
when you create the pool should work. You can also modify this after pool creation, as pool.nodes
. Note also you can manually tweak the pool.servers
after creation as well.
I'm closing this due to staleness in the comments. Please reopen it if you have further follow-up.
Hello
I am trying the ParallelPool part in Pathos. I open a remote ppserver on my remote node and build an SSH tunnel to connect the server. Here is my code
I get the following results:
I see that localhost:63044 is the tunnel for the remote server. However, there is also a local node which handles most of the requests, even I don't add it in the servers variable. Could you please tell me why? How can I stop the creation of this local node?
BTW, pathos is a very effective tool. The multiprocess part is very helpful.