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: | 113 |
Nodes: | 8 (1 / 7) |
Uptime: | 51:25:41 |
Calls: | 2,470 |
Calls today: | 1 |
Files: | 8,638 |
Messages: | 1,897,184 |