« Why XML is incompatible with big data | Main | How pie charts fail »

August 25, 2009

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a010534b1db25970b0120a572f627970c

Listed below are links to weblogs that reference Parallel programming with foreach and snow:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Hi there.

I have a question -
I wish to use the foreach with snow, to allow multicore on windows XP.


could you please give an example on how that might be done using the doSNOW ?

Thanks,
Tal

The trick to using doSNOW on Windows is to properly configure snow. Once you've done that, you can just create a socket cluster object with:

clusterobj <- makeSOCKcluster(3)

and then register it as in David's blog. You could try to create an MPI cluster, but I believe that that would be even harder to setup.

I don't use Windows much, and I've never used snow on Windows, but I believe that the main trick is to get ssh installed. I think you need to install both the ssh client and server, but it's possible that newer versions of snow don't require that.

Sorry I can't help you more. I primarily use Linux and Mac OS X.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment


R for the Enterprise

Got comments or suggestions for the blog editor?
Email David Smith.
Follow revodavid on Twitter Follow David on Twitter: @revodavid

Search Revolutions Blog