Re: [Haskell] repa not running in parallel?

2013-11-07 Thread Claude Heiland-Allen
Hi Alexander, On 07/11/13 09:40, Alexander Herz wrote: Hi, I'm new to haskell and I tried to reproduce the perfomance values from the paper "Regular, Shape-polymorphic, Parallel Arrays in Haskell". I modified the repa-mmult example from the repa-example package to use the mmultP from Data.Arra

Re: [Haskell] repa not running in parallel?

2013-11-07 Thread Alexander Herz
Problem solved! Sorry for using the wrong list. Alex On 11/07/2013 10:40 AM, Alexander Herz wrote: Hi, I'm new to haskell and I tried to reproduce the perfomance values from the paper "Regular, Shape-polymorphic, Parallel Arrays in Haskell". I modified the repa-mmult example from the repa-e

Re: [Haskell] repa not running in parallel?

2013-11-07 Thread Tikhon Jelvis
I think you need to specify how many cores to use when you call your ./Main program. Something like "./Main -random 4096 4096 -random 4096 4096 +RTS -N4" (given that you have 4 cores). You'll also need to add -rtsopts when you're compiling your code with ghc. On Thu, Nov 7, 2013 at 1:40 AM, Alexa

Re: [Haskell] repa not running in parallel?

2013-11-07 Thread Roman Cheplyaka
Try adding +RTS -N at the end of your ./Main command line. * Alexander Herz [2013-11-07 10:40:59+0100] > Hi, > > I'm new to haskell and I tried to reproduce the perfomance values > from the paper "Regular, Shape-polymorphic, Parallel Arrays in > Haskell". > > I modified the repa-mmult example f

[Haskell] repa not running in parallel?

2013-11-07 Thread Alexander Herz
Hi, I'm new to haskell and I tried to reproduce the perfomance values from the paper "Regular, Shape-polymorphic, Parallel Arrays in Haskell". I modified the repa-mmult example from the repa-example package to use the mmultP from Data.Array.Repa.Algorithms.Matrix. Then I compile it with "gh