[Haskell] repa not running in parallel?

Roman Cheplyaka roma at ro-che.info
Thu Nov 7 09:44:30 UTC 2013


Try adding +RTS -N at the end of your ./Main command line.

* Alexander Herz <alexander.herz at mytum.de> [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 from the repa-example package to
> use the mmultP from Data.Array.Repa.Algorithms.Matrix.
> 
> Then I compile it with "ghc -threaded -fglasgow-exts -O Main.hs" but
> running it with two large matrices :
> 
> "./Main -random 4096 4096 -random 4096 4096" I can see that only one
> of my 4 cpus is utilized.
> 
> What am I doing wrong?
> 
> Note: The unmodified repa-example also does not run in parallel.
> 
> Thx,
> Alex
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/haskell/attachments/20131107/54b11a46/attachment.sig>


More information about the Haskell mailing list