Introduction to parallel programming with 'foreach'

Moderator: censix

Re: Introduction to parallel programming with 'foreach'

Postby cozymandias » Wed Oct 16, 2013 6:43 pm

Got it, yes, that sounds about right for 4 workers.
cozymandias
 
Posts: 6
Joined: Sat Aug 03, 2013 5:04 pm

Re: Introduction to parallel programming with 'foreach'

Postby tleitch » Sun Sep 14, 2014 4:26 am

I use foreach on a cluster of Macs and utilize the GPU's through nvBlas. When I look at the parallela, it seems there is no benefit since there is no optimized BLAS utilizing the epiphany co-processor. I can see that I could possibly run 2 foreach forks on the parallela because of the main processors dual core. Is this right? Is there any benefit relative to adding another i7 at 2.6 ghz with 4 cores/8 threads?
tleitch
 
Posts: 2
Joined: Sun Sep 14, 2014 4:22 am

Re: Introduction to parallel programming with 'foreach'

Postby 9600 » Sun Sep 14, 2014 9:44 am

tleitch wrote:Is there any benefit relative to adding another i7 at 2.6 ghz with 4 cores/8 threads?


Power consumption, for one.

Regards,

Andrew
Andrew Back (a.k.a. 9600 / carrierdetect)
User avatar
9600
 
Posts: 997
Joined: Mon Dec 17, 2012 3:25 am

Re: Introduction to parallel programming with 'foreach'

Postby tleitch » Sun Sep 14, 2014 10:03 pm

I can afford my electric bill, but my GARCH studies take 42 hours each (if nothing gets messed up) to run on 28 intel cores and I need to run 12 of them, so wondering whether I should keep buying more i7 based Macs or could I get more bang for the buck by building a parallela cluster? Right now, w/o epiphany optimization, my guess is stay with the i7.
tleitch
 
Posts: 2
Joined: Sun Sep 14, 2014 4:22 am

Re: Introduction to parallel programming with 'foreach'

Postby davewr2015 » Sat Aug 29, 2015 9:24 pm

David.S wrote:This blog post may be interesting to some of you. It's an introduction to parallel computation with the 'foreach'-package.
Looks like going parallel in R can be pretty straightforward once we have epiphany support.

http://www.exegetic.biz/blog/2013/08/the-wonders-of-foreach/



I think this post has moved to :
http://www.r-bloggers.com/the-wonders-of-foreach/

It's worth a look.
davewr2015
 
Posts: 7
Joined: Sat Aug 29, 2015 8:57 pm

Re: Introduction to parallel programming with 'foreach'

Postby sebraa » Tue Sep 01, 2015 12:11 pm

tleitch wrote:whether I should keep buying more i7 based Macs or could I get more bang for the buck by building a parallela cluster?
Well, I guess a i7-based PC is cheaper than an i7-based Mac...
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm

Previous

Return to R

Who is online

Users browsing this forum: No registered users and 1 guest