wiki:application_pages/tutorial_apps/python/increment

Application Name

Increment

Summary

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

Description

Increment is an application that takes three different values and increases them a number of given times. The purpose of this application is to show parallelism between the different increments.

Execution instructions

Usage: runcompss --lang=python /home/compss/tutorial_apps/python/increment/increment.py <N> <initValue1> <initValue2> <initValue3>

where:

  • - N: Number of times to increase the counters
  • - initValue1: Initial value for counter 1
  • - initValue2: Initial value for counter 2
  • - initValue3: Initial value for counter 3

Execution Example

runcompss --lang=python /home/compss/tutorial_apps/python/increment/increment.py 10 1 2 3

Build

No build is required

Last modified 7 years ago Last modified on 11/08/16 15:21:57

Attachments (3)

Download all attachments as: .zip