Hi,
I am currently trying out the parallel search features of Mozart, and
am having some difficulty getting it working correctly. I have put
together the following simple test script:
---------------------
declare
functor Tester
export
Script
define
proc {Script Root}
choice Root=1
[] Root=2
[] Root=3
[] Root=4
[] Root=5
[] Root=6
[] Root=7
[] Root=8
[] Root=9
end
(Root>5)=true
end
end
in
local E Ans in
E={New Search.parallel init(banana:1#ssh grapefruit:1#ssh)}
{E trace(true)}
Ans={E all(Tester $)}
{Browse Ans}
end
---------------------
Using just "grapefruit:1#ssh" (the local machine), just
"banana:1#ssh" (a remote machine) and even "grapefruit:2#ssh", the
solutions are returned as expected.
However, when trying to use the two machines together, the search hangs
without producing any solutions. The trace shows that the remote
machine evaluates two nodes and the local machine zero nodes before
hanging. I have left it run for several hours but no solutions are
produced.
Does anyone have any idea what might be causing this? Is there
something wrong in the above code, or perhaps a configuration problem
with my machines which would cause this behaviour?
Thanks very much,
Ryan
--
Ryan Kelly
http://www.rfk.id.au | This message is digitally signed. Please visit
[EMAIL PROTECTED] | http://www.rfk.id.au/ramblings/gpg/ for details
signature.asc
Description: This is a digitally signed message part
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
