[Swift-user] output file array
Mihael Hategan
hategan at mcs.anl.gov
Mon Dec 22 17:14:16 CST 2014
Hi,
I don't think 0.95 supports dynamic arrays output from apps. You will
need trunk/0.96 for that.
Mihael
On Mon, 2014-12-22 at 15:37 -0600, Ketan Maheshwari wrote:
> 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
> >
> >
> >
More information about the Swift-user
mailing list