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:
Code Block | ||
---|---|---|
| ||
habanero-scala-0.1.23 ├── 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.23.jar ├── jsr166y.jar └── native/* |
...
Code Block | ||
---|---|---|
| ||
$> hscala -version Habanero-Scala version 0.1.23 -- Copyright Rice University |
The installation is now complete and you are now ready to run the examples and write your own Habanero-Scala programs.