Hi Daren,

Glad to know it is working to you. This information (including director in the actor) is in README file and module documentation. I'll update the docuement of the actor about it in the next release.

It would be great you can share your experience on involving in the Kepler project and improvement potentials with Kepler community. Thanks.

On 3/8/12 2:12 AM, Daren Thomas wrote:
Hi Jianwu,

Thank you. I did eventually find the hint about the director in the
README file for the source - or somewhere near that. This is good to
know. Eventually, it should be in the documentation of the actor
itself. If I have time at the end of my current project, I can draw up
a draft as a first step to becoming involved in the Kepler project. It
rocks! And has a lot of potential for improvement too.

Regards,
Daren Thomas

On Wed, Mar 7, 2012 at 8:52 PM, Jianwu Wang<jia...@sdsc.edu>  wrote:
Hi Daren,

    Please see my reply below.


On 3/6/12 8:38 AM, Daren Thomas wrote:

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.

   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.

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?

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?


      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'.

      If you have director in the DistributedCompositeActor, it will ensure
the actor will run distributed.



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...

     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.

Regards,
Daren Thomas



_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users


_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

Reply via email to