[Swift-user] output file array

Ketan Maheshwari ketan at mcs.anl.gov
Mon Dec 22 15:37:59 CST 2014


Hi Mihael,

This is with Swift 0.95.

Thanks,
Ketan

On Sun, Dec 21, 2014 at 2:40 PM, Hategan-Marandiuc, Philip M. <
hategan at mcs.anl.gov> wrote:

> Hi Ketan,
>
> Sorry for the delay. Is this trunk or 0.95?
>
> Mihael
>
> On Wed, 2014-12-17 at 14:26 -0600, Ketan Maheshwari wrote:
> > Hi,
> >
> > I am dealing with a workflow pattern where an app expects multiple output
> > files with a pattern.
> >
> > The app signature is:
> >
> > app (file[] _wrfout, file _out, file _err) wrf_app (file _wrf_in, file[]
> > _tbl, file[] _ozone, ...)
> > {
> >    wrf stdout=@_out stderr=@_err;
> > }
> >
> > The _wrfout files are the app result files which follows a pattern:
> wrfout_*
> >
> > So, I am invoking the application in a foreach loop as:
> >
> > foreach i in [0:2]{
> >   file[] wrfout<simple_mapper; location=strcat("outdir",i),
> > pattern="wrfout_*">;
> >   file wrfstdout<single_file_mapper; file=strcat("outdir", i,
> "/std.out")>;
> >   file wrfstderr<single_file_mapper; file=strcat("outdir", i,
> "/std.err")>;
> >
> >    (wrfout, wrfstdout, wrfstderr) = wrf_app (wrfin, tbl, ozone, tr, data,
> > gribmap, namelist, co2_trans, input_sounding);
> > }
> >
> > The script hangs at runtime with the following messages:
> >
> > No events in 1s.
> > Finding dependency loops...
> >
> > Waiting threads:
> > Thread: R-6-0-4, waiting on wrfout (declared on line 50)
> > swift:stageOut, wf.edison, line 134
> > swift:execute, wf.edison, line 123
> > wrf_app, wf.edison, line 242
> >
> > Thread: R-6-2-4, waiting on wrfout (declared on line 50)
> > swift:stageOut, wf.edison, line 134
> > swift:execute, wf.edison, line 123
> > wrf_app, wf.edison, line 242
> >
> > Thread: R-6-1-4, waiting on wrfout (declared on line 50)
> > swift:stageOut, wf.edison, line 134
> > swift:execute, wf.edison, line 123
> > wrf_app, wf.edison, line 242
> >
> > Any suggestions?
> >
> > Thanks,
> > Ketan
> > _______________________________________________
> > Swift-user mailing list
> > Swift-user at ci.uchicago.edu
> > https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20141222/e51539eb/attachment.html>


More information about the Swift-user mailing list