Changes between Version 2 and Version 3 of application_pages/tutorial_apps/python/wordcount_merge
- Timestamp:
- 01/18/17 11:47:35 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
application_pages/tutorial_apps/python/wordcount_merge
v2 v3 16 16 17 17 == Description == 18 Wordcount is an application that counts the number of words of a given file.18 Wordcount is an application that counts the number of words for a given set of files. 19 19 20 To allow parallelism the file is divided in blocks that aretreated separately and merged afterwards.20 To allow parallelism every file is treated separately and merged afterwards. 21 21 22 22 23 23 == Execution instructions == 24 24 Usage: 25 runcompss --lang=python /home/compss/tutorial_apps/python/wordcount/workcount.py < filePath> <resultPath> <blockSize>25 runcompss --lang=python /home/compss/tutorial_apps/python/wordcount/workcount.py <datasetPath> 26 26 27 27 where: 28 * - filePath: Absolute path of the file to parse 29 * - resultPath: Absolute path to the result file 30 * - blockSize: Size of each block 28 * - datasetPath: Absolute path of the file to parse 31 29 32 30 33 31 == Execution Example == 34 runcompss --lang=python /home/compss/tutorial_apps/python/wordcount/wordcount.py /sharedDisk/wordcount/ compss.txt /home/compss/tutorial_apps/python/wordcount/result.txt 30032 runcompss --lang=python /home/compss/tutorial_apps/python/wordcount/wordcount.py /sharedDisk/wordcount/ 35 33 36 34