Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.LANG.HASKELL
how to run ping-multi in real multi node rather than localhost nodes on
From
meInvent bbird
@21:1/5 to
All
on Mon Jul 25 00:10:37 2016
1.
node A1 103.11.88.82
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 103.11.88.83
root@ubuntu:~/threadscope/parconc-examples-0.4.3/distrib-ping# ./ping-multi slave 103.11.88.83 55000
ping-multi: bind: unsupported operation (Cannot assign requested address) root@ubuntu:~/threadscope/parconc-examples-0.4.3/distrib-ping# ./ping-multi slave 103.11.88.83 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
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Bob Worm
Fri Apr 26 15:47:21 2024
from
Wales, Uk
via
Telnet
Bob Worm
Fri Apr 26 10:09:36 2024
from
Wales, Uk
via
Telnet
Bob Worm
Fri Apr 26 08:24:20 2024
from
Wales, Uk
via
Telnet
Bob Worm
Fri Apr 26 06:40:30 2024
from
Wales, Uk
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
296
Nodes:
16 (
2
/
14
)
Uptime:
78:30:03
Calls:
6,658
Calls today:
4
Files:
12,203
Messages:
5,332,975
Posted today:
1