[ExM Users] app returning array of files

Justin M Wozniak wozniak at mcs.anl.gov
Mon Nov 4 10:28:33 CST 2013


See the new STC tests 316 and 317 for examples of this.

On 10/30/2013 05:44 PM, Ketan Maheshwari wrote:
> 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
>
>
>
> _______________________________________________
> ExM-user mailing list
> ExM-user at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/exm-user


-- 
Justin M Wozniak

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20131104/3205ad44/attachment.html>


More information about the ExM-user mailing list