PyCOMPSs simple example (ran on macOS laptop, input generated by the code, INOUT file example)
**Contact Person:** support-compss@bsc.es
**Access Level:** public
**License Agreement:** Apache2
**Platform:** COMPSs
# Description
Simple is an application that takes one value and increases it by five units. The purpose of this application is to show how tasks are managed by COMPSs.
# Execution instructions
Usage:
```
runcompss --lang=python src/simple.py initValue
```
where:
* initValue: Initial value for counter
# Execution Examples
```
runcompss --lang=python src/simple.py 1
runcompss src/simple.py 1
python -m pycompss src/simple.py 1
```
# 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
-
simple.py
Size: 1765
Format: text/plain
-
complete_graph.svg
Size: 5647
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: 232
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: 121
Format: text/plain
-
ro-crate-info.yaml
Size: 1312
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: 639
-
pom.xml
Size: 4467
-
counter
Size: 1