ok. Thanks.<br><br><div class="gmail_quote">On Sun, Apr 3, 2011 at 9:27 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 21:18 -0500, Jonathan Monette wrote:<br>
> Actually in the app call.<br>
><br>
><br>
> myapp @infile @outfile @outfile_are @metadata<br>
<br>
</div>Nope. It doesn't have to be. It can very well be empty (i.e. just<br>
"myapp;") as long as swift is concerned. It will still try to stage in<br>
all arguments and stage out all returns.<br>
<div><div></div><div class="h5">><br>
> On Sun, Apr 3, 2011 at 9:17 PM, Mihael Hategan <<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>><br>
> wrote:<br>
> On Sun, 2011-04-03 at 21:05 -0500, Jonathan Monette wrote:<br>
> > Ok. I thought the if the file was an app return it had to<br>
> be used so<br>
> > it will be closed and staged out.<br>
><br>
><br>
> Define "used"<br>
><br>
><br>
> ><br>
> > On Sun, Apr 3, 2011 at 9:03 PM, Mihael Hategan<br>
> <<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>><br>
> > wrote:<br>
> > On Sun, 2011-04-03 at 20:59 -0500, Jonathan Monette<br>
> wrote:<br>
> > > Yea but how would I get it back through the app?<br>
> Would<br>
> > something<br>
> > > like<br>
> > > app ( Image outfile, Image outfile_area )<br>
> myapp( Image<br>
> > infile<br>
> > > Meta metadata)<br>
> > > {<br>
> > > myapp @infile @outfile @metadata;<br>
> > > }<br>
> > > work? Even though it is not a file used in the<br>
> app would<br>
> > the app call<br>
> > > still map to it? Or do I use the regexp mapper<br>
> after the<br>
> > app call?<br>
> ><br>
> ><br>
> > Swift will try to stage that file out if it's one of<br>
> the app<br>
> > returns.<br>
> > That is irrespective of whether it appears on the<br>
> command line<br>
> > or not.<br>
> > So yes, your example above should work.<br>
> ><br>
> > Mihael<br>
> ><br>
> > ><br>
> > > On Sun, Apr 3, 2011 at 8:56 PM, Mihael Hategan<br>
> > <<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,<br>
> Jonathan Monette<br>
> > wrote:<br>
> > > > Hello,<br>
> > > > I have a situation that I am not sure<br>
> how to<br>
> > 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<br>
> infile<br>
> > Meta<br>
> > > metadata)<br>
> > > > {<br>
> > > > myapp @infile @outfile<br>
> @metadata;<br>
> > > > }<br>
> > > ><br>
> > > ><br>
> > > > Howerver, myapp creates two files. It<br>
> creates a<br>
> > file with<br>
> > > @outfile as<br>
> > > > the filename and creates another file<br>
> that is<br>
> > @outfile_area<br>
> > > as the<br>
> > > > file name. How in swift do I map to the<br>
> > @outfile_area file<br>
> > > since it<br>
> > > > is created just based on the name of<br>
> outfile?<br>
> > Currently, I<br>
> > > don't map<br>
> > > > the file so the file is not staged out<br>
> so it is<br>
> > deleted<br>
> > > presumably<br>
> > > > when my jobs have finished executed.<br>
> This file is<br>
> > not<br>
> > > necessary for<br>
> > > > my workflow to complete but it is<br>
> another metadata<br>
> > 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<br>
> 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<br>
> not sure<br>
> > how to<br>
> > > resolve. I<br>
> > > > have an app that is similar to<br>
> this.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > --<br>
> > > > Any intelligent fool can make<br>
> things<br>
> > bigger and more<br>
> > > > complex... It takes a touch of<br>
> genius -<br>
> > and a lot of<br>
> > > courage<br>
> > > > to move in the opposite<br>
> direction.<br>
> > > > - Albert Einstein<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > --<br>
> > > > Any intelligent fool can make things<br>
> bigger and<br>
> > more<br>
> > > complex... It<br>
> > > > takes a touch of genius - and a lot of<br>
> courage to<br>
> > move in<br>
> > > the opposite<br>
> > > > direction.<br>
> > > > - Albert Einstein<br>
> > > ><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>
> > > ><br>
> ><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<br>
> more<br>
> > complex... It<br>
> > > takes a touch of genius - and a lot of courage to<br>
> move in<br>
> > the opposite<br>
> > > direction.<br>
> > > - Albert Einstein<br>
> > ><br>
> > ><br>
> > ><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>
><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>