"parallel-2.0.2" has been submitted for upload (uuencoded :-).
There were 3 bug-reports (one of them only off-list) on
non-functionality of the original 'parallel' part with more than one
server and one bug-report on a crash (I'll give the other reporters
the link to here). Several bugs have been fixed so that these problems
should be solved now (the crash also). Basic tests are now passing for
me with Octave-3.2.4:
octave:1> hosts = ["host1"; "host2"; "host1"]; # (hostnames changed)
octave:2> sockets = connect (hosts)
sockets =
0 0 0
6 3 1234
7 5 1234
octave:3> reval ("send (sum (1:50), sockets(1, :))", sockets(2, :))
octave:4> reval ("send (sum (51:100), sockets(1, :))", sockets(3, :))
octave:5> recv (sockets(2, :))
ans = 1275
octave:6> recv (sockets(3, :))
ans = 3775
octave:7> send (10, sockets(2, :))
octave:8> reval ("send (recv (sockets(1, :)), sockets(3, :))", sockets(2, :))
octave:9> reval ("send (recv (sockets(2, :)), sockets(1, :))", sockets(3, :))
octave:10> recv (sockets(3, :))
ans = 10
octave:11> scloseall (sockets)
octave:12>
Note that the duplication of a machine, as done here for convenience,
is not possible except at the last position.
My impression is that the code is not very robust (if wrong machine
names are supplied, e.g.), so I anticipate further bug reports for
special cases. I've started to find this part of the 'parallel'
package really interesting, but further bug-fixes might not be
immediate.
_Warning_ (again): secure port 12502 (for 'reval'), and possibly also
port 12501 (for 'send' and 'recv') against un-authorized access.
Olaf
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev