The Artima Developer Community
Sponsored Link

Scala Buzz
Parallel Folds: Sample Code

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
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
Reply to this message Reply

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 0
Run 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

Topic: Traits in Scala: a Powerful Design Tool Previous Topic   Next Topic Topic: Everyday monads

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use