[Haskell-cafe] Control.Parallel seemingly randomly behaviour

Juan Luis Martty jmartty at hotmail.com
Wed Jan 18 22:52:44 UTC 2017


The program is attached in this mail, along with stack & cabal config. The machine is an old T400 with an Intel dual core.

Followin some advice, I checked the output of `+RTS -s` and apparently sometimes one of the sparks is fizzled which is what causes the unexpected behaviour


________________________________
From: Haskell-Cafe <haskell-cafe-bounces at haskell.org> on behalf of Johannes Waldmann <johannes.waldmann at htwk-leipzig.de>
Sent: Tuesday, January 17, 2017 3:56 PM
To: haskell-cafe at haskell.org
Subject: Re: [Haskell-cafe] Control.Parallel seemingly randomly behaviour

Hi Juan, I am interested in this because I use
Control.Parallel in teaching currently. But -

* what is your actual Main program / main function
  (it was not included in your message?)
* what is your actual cabal / stack config file?
* on what machine (OS, CPU) are you running this (it seems pretty slow)?
* have you looked at eventlogs with threadscope?

- J.
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Haskell-Cafe Info Page<http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe>
mail.haskell.org
This mailing list is for the discussion of topics related to Haskell. The volume may at times be high, as the scope is broader than the main Haskell mailing list.



Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170118/e3bf7d9b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: par.cabal
Type: application/octet-stream
Size: 1020 bytes
Desc: par.cabal
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170118/e3bf7d9b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack.yaml
Type: application/x-yaml
Size: 2173 bytes
Desc: stack.yaml
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170118/e3bf7d9b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.hs
Type: text/x-haskell
Size: 675 bytes
Desc: Main.hs
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170118/e3bf7d9b/attachment.hs>


More information about the Haskell-Cafe mailing list