The current release of Habanero-Scala has been tested with Scala version 2.10.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:
Code Block | ||
---|---|---|
| ||
habanero-scala-0.1.4
├── bin
│ ├── hscala
│ └── hscalac
├── examples
│ ├── edu
│ │ └── rice
│ │ └── habanero
│ │ └── impl
│ │ └── HabaneroSwingHelper.scala
│ └── 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
│ │ └── ImplicitFibFutureApp.scala
│ ├── helloworld
│ │ └── HelloWorldApp.scala
│ ├── isolated
│ │ ├── CounterApp.scala
│ │ └── DepthFirstSearchApp.scala
│ ├── phasers
│ │ ├── ForallPhasedApp.scala
│ │ ├── IterativeAveragingAccumulatorApp.scala
│ │ ├── IterativeAveragingPhaserApp.scala
│ │ ├── SimplePhaserApp.scala
│ │ └── SumReduceApp.scala
│ ├── places
│ │ └── PlacePrimer.scala
│ └── swing
│ └── HabaneroSwingApp.scala
└── lib
├── habanero-scala-0.1.4.jar
├── *.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 shell should produce the following output:
Code Block | ||
---|---|---|
| ||
$> hscala -version
Habanero-Scala version 0.1.4 -- 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
- habanero-scala-0.1.4 (Scala 2.10.1 compatible)
- habanero-scala-0.1.3 (Scala 2.9.1 compatible)
- habanero-scala-0.1.2