When we try to use Parallel Octave with 3 (or more PC) Octave doesn't send
messages from Master PC and Slaves PC and vice-versa.
We have used these commands:
clear;
hosts = [ "labmat04"; "labmat03"; "labmat05" ];
sockets = connect(hosts);
psum = zeros(1,2);
reval( "send(sum([1:50]),sockets(1,:))", sockets(2,:));
reval( "send(sum([51:100]),sockets(1,:))", sockets(3,:));
psum(1) = recv(sockets(2,:));
psum(2) = recv(sockets(3,:));
sum(psum)
scloseall(sockets);
Where: labmat04, labmat03, labmat05 are our PC
With 2 PC we haven't had any problems.
We have used these commands
clear;
hosts = [ "labmat04"; "labmat03"];
sockets = connect(hosts);
reval( "send(sum([1:50]),sockets(1,:))", sockets(2,:));
A = recv(sockets(2,:));
scloseall(sockets);
Also, when we try to send-receive data like this:
reval( "send(q, sockets(1, 1:2));", sockets(2, 1:2));
we had seen, that sending-receiving operations finished correctly only if
'q' had the String data type. Otherwise, if 'q' was, for example, an
array, then all values of all elements had became 3.0387e-319.
We are using Linux Gentoo 2.6.31 with 2 x IBM PowerPC 970 2.2GHz.
Version of Parallel is 2.01 (latest), Octave 3.2.4
Best wishes, Lyutaev Dmitry
------------------------------------------------------------------------------
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