Ok. I thought the if the file was an app return it had to be used so it will be closed and staged out.<br><br><div class="gmail_quote">On Sun, Apr 3, 2011 at 9:03 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sun, 2011-04-03 at 20:59 -0500, Jonathan Monette wrote:<br>
> Yea but how would I get it back through the app? Would something<br>
> like<br>
> app ( Image outfile, Image outfile_area ) myapp( Image infile<br>
> Meta metadata)<br>
> {<br>
> myapp @infile @outfile @metadata;<br>
> }<br>
> work? Even though it is not a file used in the app would the app call<br>
> still map to it? Or do I use the regexp mapper after the app call?<br>
<br>
</div>Swift will try to stage that file out if it's one of the app returns.<br>
That is irrespective of whether it appears on the command line or not.<br>
So yes, your example above should work.<br>
<font color="#888888"><br>
Mihael<br>
</font><div><div></div><div class="h5">><br>
> On Sun, Apr 3, 2011 at 8:56 PM, Mihael Hategan <<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>><br>
> wrote:<br>
> Might the regular expression mapper work?<br>
><br>
> Mihael<br>
><br>
><br>
> On Sun, 2011-04-03 at 19:44 -0500, Jonathan Monette wrote:<br>
> > Hello,<br>
> > I have a situation that I am not sure how to resolve. I<br>
> have an<br>
> > app that has this interface.<br>
> > myapp infile outfile metadata<br>
> ><br>
> ><br>
> > The Swift app declaration i have is<br>
> > app ( Image outfile) myapp( Image infile Meta<br>
> metadata)<br>
> > {<br>
> > myapp @infile @outfile @metadata;<br>
> > }<br>
> ><br>
> ><br>
> > Howerver, myapp creates two files. It creates a file with<br>
> @outfile as<br>
> > the filename and creates another file that is @outfile_area<br>
> as the<br>
> > file name. How in swift do I map to the @outfile_area file<br>
> since it<br>
> > is created just based on the name of outfile? Currently, I<br>
> don't map<br>
> > the file so the file is not staged out so it is deleted<br>
> presumably<br>
> > when my jobs have finished executed. This file is not<br>
> necessary for<br>
> > my workflow to complete but it is another metadata file that<br>
> helps in<br>
> > the approximation of the final image.<br>
> ><br>
> ><br>
> ><br>
> > On Sun, Apr 3, 2011 at 7:38 PM, Jonathan Monette<br>
> > <<a href="mailto:jon.monette@gmail.com">jon.monette@gmail.com</a>> wrote:<br>
> > Hello,<br>
> > I have a situation that I am not sure how to<br>
> resolve. I<br>
> > have an app that is similar to this.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Any intelligent fool can make things bigger and more<br>
> > complex... It takes a touch of genius - and a lot of<br>
> courage<br>
> > to move in the opposite direction.<br>
> > - Albert Einstein<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Any intelligent fool can make things bigger and more<br>
> complex... It<br>
> > takes a touch of genius - and a lot of courage to move in<br>
> the opposite<br>
> > direction.<br>
> > - Albert Einstein<br>
> ><br>
> ><br>
> ><br>
><br>
> > _______________________________________________<br>
> > Swift-user mailing list<br>
> > <a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
> > <a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-user" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-user</a><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Any intelligent fool can make things bigger and more complex... It<br>
> takes a touch of genius - and a lot of courage to move in the opposite<br>
> direction.<br>
> - Albert Einstein<br>
><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction.<br>- Albert Einstein<br>
<br><br>