#3111: Can't find DPH
-------------------------------+--------------------------------------------
    Reporter:  colin-adams     |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:         
   Component:  Compiler        |      Version:  6.11   
    Severity:  normal          |   Resolution:         
    Keywords:                  |   Difficulty:  Unknown
    Testcase:                  |           Os:  Linux  
Architecture:  x86_64 (amd64)  |  
-------------------------------+--------------------------------------------
Changes (by simonpj):

  * difficulty:  => Unknown

Old description:

> I added the following to the top of my module:
>
> {-# LANGUAGE PArr, ParallelListComp #-}
> {-# OPTIONS -fvectorise #-}
>
> But when building I got:
>
> GHC error in desugarer lookup in main:Board:
>   Failed to load interface for `Data.Array.Parallel.Lifted.PArray':
>     no package matching `dph-par' was found
> ghc: panic! (the 'impossible' happened)
>   (GHC version 6.11.20090317 for x86_64-unknown-linux):
>         initDs IOEnv failure
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
>
> I hadn't done anything in particular to try to install DPH, so this is
> probably a user error, but as the panic occurred, i felt duty-bound to
> report the bug as requested.

New description:

 I added the following to the top of my module:
 {{{
 {-# LANGUAGE PArr, ParallelListComp #-}
 {-# OPTIONS -fvectorise #-}
 }}}
 But when building I got:
 {{{
 GHC error in desugarer lookup in main:Board:
   Failed to load interface for `Data.Array.Parallel.Lifted.PArray':
     no package matching `dph-par' was found
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.11.20090317 for x86_64-unknown-linux):
         initDs IOEnv failure

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}
 I hadn't done anything in particular to try to install DPH, so this is
 probably a user error, but as the panic occurred, i felt duty-bound to
 report the bug as requested.

Comment:

 What's gone wrong is that you need the DPH packages installed, else the
 DPH extensions won't work at all:
 http://haskell.org/haskellwiki/GHC/Data_Parallel_Haskell.

 Right, it's a bug that GHC crashes rather than giving a civilised error
 message.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3111#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to