You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

The current release of Habanero-Scala has been tested with Scala version 2.9.1.
You will need to have the scalac and scala commands available in your path.

Download the latest Habanero-Scala distribution and unzip the contents.
You should have the following directory structure after unzipping:

habanero-scala-0.1.2
├── bin
│   ├── hscala
│   └── hscalac
├── examples
│   └── primers
│       ├── actors
│       │   ├── Chameneos.scala
│       │   └── Pi.scala
│       ├── asyncs
│       │   ├── AsyncFinishPrimer.scala
│       │   ├── ForallApp.scala
│       │   ├── ForallChunkedApp.scala
│       │   ├── ForallIterableApp.scala
│       │   ├── ForeachApp.scala
│       │   ├── ForeachChunkedApp.scala
│       │   ├── ForeachIterableApp.scala
│       │   └── InterleavedAsync.scala
│       ├── futures
│       │   ├── DdfApp.scala
│       │   ├── FibDdfApp.scala
│       │   └── FibFutureApp.scala
│       ├── helloworld
│       │   ├── HelloWorldApp.scala
│       ├── isolated
│       │   └── CounterApp.scala
│       ├── phasers
│       │   ├── ForallPhasedApp.scala
│       │   ├── IterativeAveragingAccumulatorApp.scala
│       │   ├── IterativeAveragingPhaserApp.scala
│       │   ├── SimplePhaserApp.scala
│       │   └── SumReduceApp.scala
│       └── places
│           └── PlacePrimer.scala
└── lib
    ├── habanero-scala-0.1.2.jar
    ├── jsr166y.jar
    └── native/*

Set the HSCALA_HOME environment variable to point to the habanero-scala directory.
Add ${HSCALA_HOME}/bin to your path.

After you have set up the path, running hscala -version on the sheel should produce the following output:

$> hscala -version
Habanero-Scala version 0.1.2 -- Copyright Rice University

The installation is now complete and you are now ready to run the examples and write your own Habanero-Scala programs.

Release History

  • No labels