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 file:
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.
The installation is now complete and you are now ready to run the examples and write your own Habanero-Scala programs.