wiki:application_pages/tutorial_apps/python/wordcount_merge

Application Name

Word Count

Summary

  • Name: Word Count
  • Contact Person: support-compss@bsc.es
  • Access Level: public
  • License Agreement: Apache2
  • Platform: COMPSs
  • Repository: Word Count

Description

Wordcount is an application that counts the number of words for a given set of files.

To allow parallelism every file is treated separately and merged afterwards.

Execution instructions

Usage: runcompss --lang=python /home/compss/tutorial_apps/python/wordcount/workcount.py <datasetPath>

where:

  • - datasetPath: Absolute path of the file to parse

Execution Example

runcompss --lang=python /home/compss/tutorial_apps/python/wordcount/wordcount.py /sharedDisk/wordcount/

Build

No build is required

Last modified 7 years ago Last modified on 01/18/17 11:47:35