Lalit Pant
Posts: 51
Nickname: litan
Registered: Jun, 2007
Lalit Pant is a freelance programmer based out of Dallas, Texas
Parallel Folds: Sample Code
Posted: Jul 4, 2008 12:32 AM
This post originated from an RSS feed registered with Scala Buzz
by Lalit Pant.
Original Post: Parallel Folds: Sample Code
Feed Title: All Things Runnable / Scala
Feed URL: http://feeds.feedburner.com/lalitpant/scala
Feed Description: Scala related posts on Lalit Pant's Blog
Latest Scala Buzz Posts
Latest Scala Buzz Posts by Lalit Pant
Latest Posts From All Things Runnable / Scala
Advertisement
To enable easy access to the sample source code for my previous blog post on Clustered Scala Actors , I have set up a GitHub project at: http://github.com/litan/clustered-fold/tree/master If you don't want to mess with Git, the sample files can be downloaded (as a gzipped tarball) from: http://github.com/litan/clustered-fold/tarball/master I have been playing with this code using Java 1.6.0_05, Scala 2.7.1, and Terracotta 2.6.1 After downloading and extracting the files, and navigating to the root of extracted directory tree, here's what you need to do to run the sample: Console 0Run Terracotta Server Console 1:# modify run.sh and run-cclient.sh: set M2_REPO and SCALA_HOME appropriately mvn compile cd target/classes run.sh -c Console 2:cd target/classes run.sh -c Console 3: cd target/classes run-cclient.sh Enjoy!
Read: Parallel Folds: Sample Code