We used parallel-2.0.2 and we have problems with such code:
clear;
hosts = [];
for i = 1:nargin
hosts = [hosts; argv(){i, 1}];
end
hosts
sockets = connect(hosts)
x = rand(50, 1000);
send(x, sockets(2, :));
reval("x = recv(sockets(1, :))", sockets(2, :));
scloseall(sockets);
Programm
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,:))"