[Swift-devel] array_mapper hangs

Sarah Kenny skenny at uchicago.edu
Fri Mar 19 16:40:36 CDT 2010


i'm trying to run the following code:

app (file physD[]) maptest(){
        touch @filename(physD[0]) @filename(physD[1]);
}

string conditions[] = ["rest1","emblem"];

string outfilenames[];
foreach cond,c in conditions{
        outfilenames[c] = @strcat(cond,"_physio.dat");
        trace(outfilenames[c]);
}

file f[] <array_mapper;files=outfilenames>;
f = maptest();

but when i try to run it it hangs indefinitely...in my experience this
*usually* means 'bad mapping' somewhere...not sure if i just have some
syntactical error here or if something's up with the array_mapper (?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20100319/b02a87f9/attachment.html>


More information about the Swift-devel mailing list