I am trying to implement a basic pp example as shown below (SCRIPT1).
import pp
ppservers = ("*",) # autodiscovery mode on!
# create the job server
job_server = pp.Server(ppservers=ppservers)
for computer, cpu_count in job_server.get_active_nodes().iteritems():
print "Found {} with CPU count {}!".format(computer, cpu_count)
Environment Details
OS : windows10
python version : 2.7 (on machine 1 and machine 2)
machine1 IP : 192.168.1.4
machine2 IP : 192.168.56.1
Steps followed till now :
- machine1 and machine2 are connected in same network using wifi
- SCRIPT1 is placed on machine1 (machine1 is job server)
installed pp in machine2(worker node) and started server on machine2 (port 60000) using
python ppserver.py -a
triggered SCRIPT1 on machine1, machine 1 output is as shown below
Found local with CPU count 8!
But output at step4 is expected to also detect machine 2 and show output as
Found 192.168.56.1:60000 with CPU count 2!
Found local with CPU count 4!
A newbie to parrallel computing, how do i debug this ? Appreciate any kinda pointers for this.