I'm trying to do some simple experiements with Data Parallel Haskell running, but I clearly have some options wrong. even when I try something very simple like
sumP [:1.0,2.0:]
I get an exception
Exception indexParr: out of bounds parallel array index; idx = 0, arr len = 0
Assume I have something set up wrongly - but ...
I get this same error both when trying to use GHCi, and when running a executable generated with GHC.
You might be running into some of the limitations specified by the DPH project status. Specifically
If you're just looking to make use of regular data parallelism, you can probably get away with repa (which is also recommended by the DPH page).