[Swift-devel] file declaration inside foreach

Ben Clifford benc at hawaga.org.uk
Tue Apr 24 15:11:29 CDT 2007


run with -debug and you should get a much longer output.

On Tue, 24 Apr 2007, Veronika  V. Nefedova wrote:

> I did some modifications to the dtm file, and now i get something different:
> 
> [nefedova at evitable fermi_bench]$ swift lqcd-genU.dtm
> Could not start execution.
>         Failed to convert .xml to .kml for lqcd-genU.dtm
> [nefedova at evitable fermi_bench]$ pwd
> /autonfs/home/nefedova/LQCD/fermi_bench
> [nefedova at evitable fermi_bench]$
> 
> Any idea what the problem could be?
> 
> Thanks,
> 
> Nika
> 
> At 01:39 PM 4/24/2007, Mihael Hategan wrote:
> > On Tue, 2007-04-24 at 13:32 -0500, Mihael Hategan wrote:
> > > Posting the kml file would be useful.
> > 
> > Riiight. The nonexistent kml file. Nevermind me.
> > 
> > >
> > > Mihael
> > >
> > > On Tue, 2007-04-24 at 13:23 -0500, Veronika V. Nefedova wrote:
> > > > Hi,
> > > >
> > > > I am wondering why this is not working?
> > > >
> > > > foreach i in range {
> > > > file in <simple_mapper;file=@strcat("lattice.",i);
> > > > file out <simple_mapper;file=@strcat("lattice.",i+1);
> > > > out=lqcd_exec(original,in);
> > > > }
> > > >
> > > > Swift complains about file declarations (mappers) inside foreach
> > statement:
> > > >
> > > > [nefedova at evitable fermi_bench]$ swift lqcd-genU.dtm
> > > > Could not compile SwiftScript source: line 11:1: unexpected token: file
> > > > [nefedova at evitable fermi_bench]$
> > > >
> > > > Please let me know how to make it working (-;
> > > >
> > > > Thanks!
> > > >
> > > > Nika
> > > >
> > > > _______________________________________________
> > > > Swift-devel mailing list
> > > > Swift-devel at ci.uchicago.edu
> > > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> > > >
> > >
> > > _______________________________________________
> > > Swift-devel mailing list
> > > Swift-devel at ci.uchicago.edu
> > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> > >
> 
> 
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> 
> 



More information about the Swift-devel mailing list