On Tue, Oct 14, 2008 at 11:49 PM, Bruno Postle <[EMAIL PROTECTED]> wrote: > > On Tue 14-Oct-2008 at 02:20 +0200, Tomas Klacko wrote: >> >>Let there be network-reachable machines that donate their CPU >>to (not necessarily) anybody, and permit only certain set of programs >>to be executed (hugin being the one allowed). When a user with a >>less-powerfull >>machine wishes to compute his/her panorama he/she simply types 'make', >>and then, depending on the configuration, it takes places either on >>the localhost >>or on the available remote machines (preferrably). > > So you intend a custom version of make that takes each rule and copies > the prerequisites to the designated worker-machine, then runs each > command in the rule remotely, and copies back the target files after > the rule completes?
No I don't. I am (the framework is) concerned only with the search for machines (nodes) that satisfy specified conditions. My hugin use-case is meant to show how this can be used for distributed hugin computation (panorama stitching), and that there is no need to modify hugin source code or generated makefiles. I have yet another use-case but that is a bit different story. Basically, I need use-cases to demonstrate some of framework's capabilities and based on that comment on some more. I can afford not to modify anything since I can replace the NONA and other makefile variables with values from the environment. These commands basically use the framework's API to do the job. Again, the framework itself is not a modification of 'make' or 'distmake' programs. It just searches for nodes, nothing more. It doesn't even provide remote command execution, since this is a security issue and there already is software that deals with it (ssh being one example). (in the ideal world, this search for nodes should be a peer to peer thing - pretty non-trivial to do :) > Can you just run the command via ssh?: > > ssh [EMAIL PROTECTED] nona -o foo ... Yes you can, in fact, it is what my commands invoked from makefile by make do, after they ask the framework to give them node suitable for the computation. ssh is one possibility of secure remote execution. Another one would be to use ssh just to secure the communication channel to the remote machine and from there ask another application to allow me to execute my code/program on that machine. Tomas Klacko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/hugin-ptx -~----------~----~----~----~------~----~------~--~---
