1.
node A1 192.168.1.1
root@ubuntu:~/threadscope/parconc-examples-0.4.3/distrib-ping# ./ping-multi master 55000
Mon Jul 25 07:02:35 UTC 2016 pid://localhost:55000:0:10: spawning on nid://localhost:44440:0
Mon Jul 25 07:02:35 UTC 2016 pid://localhost:55000:0:10: spawning on nid://localhost:44442:0
Mon Jul 25 07:02:35 UTC 2016 pid://localhost:55000:0:10: spawning on nid://localhost:55555:0
Mon Jul 25 07:02:35 UTC 2016 pid://localhost:55000:0:10: spawning on nid://localhost:55557:0
Mon Jul 25 07:02:35 UTC 2016 pid://localhost:55000:0:10: pinging pid://localhost:44440:0:12
Mon Jul 25 07:02:35 UTC 2016 pid://localhost:55000:0:10: pinging pid://localhost:44442:0:12
Mon Jul 25 07:02:35 UTC 2016 pid://localhost:55000:0:10: pinging pid://localhost:55555:0:14
Mon Jul 25 07:02:35 UTC 2016 pid://localhost:55000:0:10: pinging pid://localhost:55557:0:14
Mon Jul 25 07:02:35 UTC 2016 pid://localhost:44440:0:12: ping received from pid://localhost:55000:0:10
Mon Jul 25 07:02:35 UTC 2016 pid://localhost:44442:0:12: ping received from pid://localhost:55000:0:10
node A2 192.168.1.2
root@ubuntu:~/threadscope/parconc-examples-0.4.3/distrib-ping# ./ping-multi slave 192.168.1.2 55000
ping-multi: bind: unsupported operation (Cannot assign requested address) root@ubuntu:~/threadscope/parconc-examples-0.4.3/distrib-ping# ./ping-multi slave 192.168.1.2 55000
2.
finally, i would like to split a list into [[],[],[]...] and send to two slave nodes to run which master map function to each list and use mconcat to reduce to one result from two slave nodes
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 227:33:32 |
Calls: | 6,624 |
Calls today: | 6 |
Files: | 12,171 |
Messages: | 5,318,858 |