wiki:application_pages/tutorial_apps/c/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=c /home/compss/workspace_c/increment/master/increment <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=c /home/compss/workspace_c/increment/master/increment 10 1 2 3

Build

buildapp increment

Last modified 9 years ago Last modified on 10/26/15 09:33:54

Attachments (2)

Download all attachments as: .zip