PyCOMPSs Wordcount test, using files
**Name:** Word Count
**Contact Person**: support-compss@bsc.es
**Access Level**: public
**License Agreement**: Apache2
**Platform**: COMPSs
# 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 src/wordcount.py datasetPath
```
where:
* datasetPath: Absolute path of the file to parse (e.g. /home/compss/tutorial_apps/python/wordcount/data/)
# Execution Examples
```
runcompss --lang=python src/wordcount.py $(pwd)/data/
runcompss src/wordcount.py $(pwd)/data/
python -m pycompss src/wordcount.py $(pwd)/data/
```
# Build
No build is required
- Publisher
- [<#ROCrate::Organization https://ror.org/05sd8tv96 @properties={"@id"=>"https://ror.org/05sd8tv96", "@type"=>"Organization", "name"=>"Barcelona Supercomputing Center"}>]
- License
- Apache-2.0
Contents
-
wordcount.py
Size: 2897
Format: text/plain
-
complete_graph.svg
Size: 13430
Format: [["image/svg+xml", <#ROCrate::ContextualEntity https://www.nationalarchives.gov.uk/PRONOM/fmt/92 @properties={"@id"=>"https://www.nationalarchives.gov.uk/PRONOM/fmt/92", "@type"=>"WebSite", "name"=>"Scalable Vector Graphics"}>]]
-
App_Profile.json
Size: 569
Format: ["application/json", <#ROCrate::ContextualEntity https://www.nationalarchives.gov.uk/PRONOM/fmt/817 @properties={"@id"=>"https://www.nationalarchives.gov.uk/PRONOM/fmt/817", "@type"=>"WebSite", "name"=>"JSON Data Interchange Format"}>]
-
compss_submission_command_line.txt
Size: 284
Format: text/plain
-
ro-crate-info.yaml
Size: 1553
Format: ["YAML", <#ROCrate::ContextualEntity https://www.nationalarchives.gov.uk/PRONOM/fmt/818 @properties={"@id"=>"https://www.nationalarchives.gov.uk/PRONOM/fmt/818", "@type"=>"WebSite", "name"=>"YAML"}>]
-
README
Size: 778
-
pom.xml
Size: 4486
-
file0.txt
Size: 2868
-
file1.txt
Size: 2811
-
file2.txt
Size: 2961
-
file3.txt
Size: 2808