Cool, thanks, that helps a lot - this is about the level of abstraction that it would be good to work with<br><br>- Tim<br><br><div class="gmail_quote">On Fri, Mar 11, 2011 at 3:30 PM, Mihael Hategan <span dir="ltr"><<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Fri, 2011-03-11 at 13:26 -0600, Tim Armstrong wrote:<br>
> Hi swift-devel,<br>
>   I'm looking currently at using swift to manage files (staging in and<br>
> out, etc) and execute tasks on behalf of another application.<br>
><br>
> Is it possible to programmatically construct and execute Swift app<br>
> tasks?<br>
<br>
</div>Yes. Swift runs on top of something that can do that.<br>
<br>
Here's an example:<br>
<a href="http://cogkit.svn.sourceforge.net/viewvc/cogkit/trunk/current/src/cog/modules/abstraction-common/src/org/globus/cog/abstraction/tools/execution/JobSubmission.java?revision=2969&view=markup" target="_blank">http://cogkit.svn.sourceforge.net/viewvc/cogkit/trunk/current/src/cog/modules/abstraction-common/src/org/globus/cog/abstraction/tools/execution/JobSubmission.java?revision=2969&view=markup</a><br>

<br>
Essentially you have a Task which has a Specification (which contains<br>
the executable and all the details), a provider (which is the mechanism<br>
used to submit the job - coasters for example), and a service (which may<br>
have a job manager).<br>
<br>
Swift profiles (such as coaster parameters) are directly put into the<br>
specification attributes.<br>
<div class="im"><br>
>  Would it make sense to just use the coasters module on its own<br>
> without the Swift runtime?<br>
<br>
</div>That I can't answer, but I can imagine certain problems for which that<br>
would be the case. You won't have scheduling, throttling, retries, and<br>
any of the high level management that swift does though.<br>
<font color="#888888"><br>
Mihael<br>
<br>
<br>
</font></blockquote></div><br>