[Swift-user] Re: mapping question

Jonathan Monette jon.monette at gmail.com
Sun Apr 3 20:59:21 CDT 2011


Yea but how would I get it back through the app?  Would something like
      app ( Image outfile, Image outfile_area ) myapp( Image infile Meta
metadata)
       {
           myapp @infile @outfile @metadata;
       }
work?  Even though it is not a file used in the app would the app call still
map to it?  Or do I use the regexp mapper after the app call?

On Sun, Apr 3, 2011 at 8:56 PM, Mihael Hategan <hategan at mcs.anl.gov> wrote:

> Might the regular expression mapper work?
>
> Mihael
>
> On Sun, 2011-04-03 at 19:44 -0500, Jonathan Monette wrote:
> > Hello,
> >    I have a situation that I am not sure how to resolve.  I have an
> > app that has this interface.
> >       myapp infile outfile metadata
> >
> >
> > The Swift app declaration i have is
> >       app ( Image outfile) myapp( Image infile Meta metadata)
> >       {
> >           myapp @infile @outfile @metadata;
> >       }
> >
> >
> > Howerver, myapp creates two files.  It creates a file with @outfile as
> > the filename and creates another file that is @outfile_area as the
> > file name.  How in swift do I map to the @outfile_area file since it
> > is created just based on the name of outfile?  Currently, I don't map
> > the file so the file is not staged out so it is deleted presumably
> > when my jobs have finished executed.  This file is not necessary for
> > my workflow to complete but it is another metadata file that helps in
> > the approximation of the final image.
> >
> >
> >
> > On Sun, Apr 3, 2011 at 7:38 PM, Jonathan Monette
> > <jon.monette at gmail.com> wrote:
> >         Hello,
> >            I have a situation that I am not sure how to resolve.  I
> >         have an app that is similar to this.
> >
> >
> >
> >
> >         --
> >         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.
> >         - Albert Einstein
> >
> >
> >
> >
> >
> >
> > --
> > 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.
> > - Albert Einstein
> >
> >
> >
> > _______________________________________________
> > Swift-user mailing list
> > Swift-user at ci.uchicago.edu
> > http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
>
>
>


-- 
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.
- Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20110403/8e9c8409/attachment.html>


More information about the Swift-user mailing list