<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Daren,<br>
<br>
Please see my reply below.<br>
<br>
On 3/6/12 8:38 AM, Daren Thomas wrote:
<blockquote
cite="mid:CAGSXS+5BDu4JmWx52dpN_rRws_zcuzbir8pm2Y4DG8D=JCP0RQ@mail.gmail.com"
type="cite">
<pre wrap="">I just created a simple workflow (see attachment) that counts up to
100 using the DistributedCompositeActore. The composite contains a
simple +1 to the input port and i use a sequence delay on the local
(master) side to seed the loop.
This works. But it isn't being distributed. I know, because it works
even if I remove the network connection - *so*, everything is
happening locally. I tried removing "localhost" from the list of
available slaves, but this doesn't help. </pre>
</blockquote>
The reason that your workflow doesn't distribute is that there is
no director inside of the DistributedCompositeActor. If there is no
director, the actor will behavior as a normal composite actor.
Please put a director in your DistributedCompositeActor and try it
again.
<blockquote
cite="mid:CAGSXS+5BDu4JmWx52dpN_rRws_zcuzbir8pm2Y4DG8D=JCP0RQ@mail.gmail.com"
type="cite">
<pre wrap="">Also, my other pc doesn't
show up in the list - I have to add it manually. I know I'm doing
something wrong here, but what?</pre>
</blockquote>
<blockquote
cite="mid:CAGSXS+5BDu4JmWx52dpN_rRws_zcuzbir8pm2Y4DG8D=JCP0RQ@mail.gmail.com"
type="cite">
<pre wrap="">
Where do I register slaves? The master-slave pdf mentions a registry
service, but how do I set it up? Also, how can I ensure that a
component is run distributed?</pre>
</blockquote>
<br>
By default, each slave will not register itself. If you want to
enable slave registration, you need to change its configuration at
master-slave/resources/configurations/configuration.xml. Please
change the value of item 'registration->register' from 'false' to
be 'true'.<br>
<br>
If you have director in the DistributedCompositeActor, it will
ensure the actor will run distributed.<br>
<br>
<blockquote
cite="mid:CAGSXS+5BDu4JmWx52dpN_rRws_zcuzbir8pm2Y4DG8D=JCP0RQ@mail.gmail.com"
type="cite">
<pre wrap="">
Oh, and when we're done with that - can I have multiple slaves on the
same host? This would be great, since it would allow me to run a cpu
bound task on each of my cores...
</pre>
</blockquote>
Since DistributedCompositeActor is based on Java RMI and each
machine can only have one hostname, I don't think you run multiple
slaves on the same host.<br>
<blockquote
cite="mid:CAGSXS+5BDu4JmWx52dpN_rRws_zcuzbir8pm2Y4DG8D=JCP0RQ@mail.gmail.com"
type="cite">
<pre wrap="">
Regards,
Daren Thomas
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</blockquote>
</body>
</html>