wiki:application_pages/tutorial_apps/java/simple

Application Name

Simple

Summary

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

Description

Simple is an application that takes one value and increases it by one unit. The purpose of this application is to show how tasks are managed by COMPSs.

Execution instructions

Usage: runcompss simple.Simple <initValue>

where:

  • - initValue: Initial value for counter

Execution Example

runcompss simple.Simple 1

Build

Option 1: Native java

cd ~/tutorial_apps/java/simple/; javac src/main/java/simple/*.java cd src/main/java/; jar cf simple.jar simple/ cd ../../../; mv src/main/java/simple.jar jar/

Option 2: Maven

cd ~/tutorial_apps/java/simple/ mvn clean package

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

Attachments (3)

Download all attachments as: .zip