wiki:application_pages/tutorial_apps/java/hello

Application Name

Hello World

Summary

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

Description

The hello application is a Hello World! application. Its purpose is only to show the differences between a sequential execution and a COMPSs execution.

Execution instructions

Usage: runcompss hello.Hello

where:

Execution Example

runcompss hello.Hello

Build

Option 1: Native java

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

Option 2: Maven

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

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

Attachments (2)

Download all attachments as: .zip