[ExM Users] app returning array of files

Ketan Maheshwari ketancmaheshwari at gmail.com
Wed Oct 30 17:44:10 CDT 2013


Hi,

Trying to write Blast app in Swift/T. I have an app that returns an array
of files. Is it possible to define it in Swift/T.

app (file parts[]) create_partitions (file infile, int num){
 create_partition @infile num;
}

/* call */
file parts[];
file infile<"in.dat">;

parts=create_partitions (infile, 100);

The create_partition call will write 100 files with names like part001.dat,
part002.dat, ...

Thanks,
-- 
Ketan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20131030/2f0d2f35/attachment.html>


More information about the ExM-user mailing list