The current release of Habanero-Scala has been tested with Scala version 2.910.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.24 ├── 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 │ │ │ │ └── FibFutureAppImplicitFibFutureApp.scala │ │ ├── helloworld │ │ │ │ ├──└── HelloWorldApp.scala │ │ ├── isolated │ │ │ ├── CounterApp.scala │ │ │ └── CounterAppDepthFirstSearchApp.scala │ │ ├── phasers │ │ │ │ ├── ForallPhasedApp.scala │ │ │ │ ├── IterativeAveragingAccumulatorApp.scala │ │ │ │ ├── IterativeAveragingPhaserApp.scala │ │ │ │ ├── SimplePhaserApp.scala │ │ │ │ └── SumReduceApp.scala │ │ └──├── places │ │ │ └── PlacePrimer.scala │ └── swing │ └── HabaneroSwingApp.scala └── lib ├── habanero-scala-0.1.24.jar ├── jsr166y*.jar └── native/* |
Set the HSCALA_HOME
environment variable to point to the habanero-scala
directory.
Add ${HSCALA_HOME}/bin
to your path.
...
Code Block | ||
---|---|---|
| ||
$> hscala -version Habanero-Scala version 0.1.24 -- 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