Actually in the app call. <div><br></div><div>myapp @infile @outfile @outfile_are @metadata<br><br><div class="gmail_quote">On Sun, Apr 3, 2011 at 9:17 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:05 -0500, Jonathan Monette wrote:<br>
> Ok. I thought the if the file was an app return it had to be used so<br>
> it will be closed and staged out.<br>
<br>
</div>Define "used"<br>
<div><div></div><div class="h5"><br>
><br>
> On Sun, Apr 3, 2011 at 9:03 PM, Mihael Hategan <<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 wrote:<br>
> > Yea but how would I get it back through the app? Would<br>
> something<br>
> > like<br>
> > app ( Image outfile, Image outfile_area ) 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 app would<br>
> the app call<br>
> > still map to it? Or do I use the regexp mapper after the<br>
> app call?<br>
><br>
><br>
> Swift will try to stage that file out if it's one of the app<br>
> returns.<br>
> That is irrespective of whether it appears on the 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, Jonathan Monette<br>
> wrote:<br>
> > > Hello,<br>
> > > I have a situation that I am not sure 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 infile<br>
> Meta<br>
> > metadata)<br>
> > > {<br>
> > > myapp @infile @outfile @metadata;<br>
> > > }<br>
> > ><br>
> > ><br>
> > > Howerver, myapp creates two files. It creates a<br>
> file with<br>
> > @outfile as<br>
> > > the filename and creates another file 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 outfile?<br>
> Currently, I<br>
> > don't map<br>
> > > the file so the file is not staged out so it is<br>
> deleted<br>
> > presumably<br>
> > > when my jobs have finished executed. This file is<br>
> not<br>
> > necessary for<br>
> > > my workflow to complete but it is 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 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<br>
> 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<br>
> bigger and more<br>
> > > complex... It takes a touch of genius -<br>
> 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<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>
> > > Swift-user mailing list<br>
> > > <a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><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 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>
> --<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>
</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>
</div>