Re: [GHC] #2972: ppc ghci segfaults at startup
#2972: ppc ghci segfaults at startup +--- Reporter: cemeyer | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 7.6.1 Component: GHCi | Version: 7.5 Keywords: | Os: Linux Architecture: powerpc | Failure: GHCi crash Difficulty: Unknown |Testcase: Blockedby: |Blocking: Related: | +--- Changes (by PHO): * cc: pho@… (added) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2972#comment:27 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #7091: DPH Matrix product memory usage
#7091: DPH Matrix product memory usage -+-- Reporter: mblanco | Owner: Type: bug | Status: new Priority: normal | Component: Data Parallel Haskell Version: 7.4.1| Keywords: Os: Linux| Architecture: x86 Failure: Runtime performance bug | Testcase: Blockedby: | Blocking: Related: | -+-- This report is from the post at Haskell-cafe DPH matrix product, I'm reporting it here so developers can define if it's a bug or not and its priority. On a (I think) standar implementation of matrix product on DPH I notice an excessive use of system memory. At execution time, on matrices of size 300*300 the program does finish (although it is very slow), but on 600*600 it consumes GBs of RAM until the process is aborted. This is the system information: - Ubuntu 12.04 32-bit - Intel® Core™2 Duo CPU T5270 @ 1.40GHz × 2 - 2.9 GiB RAM GHC version: - GHC 7.4.1 DPH libraries: - dph-base-0.6.1.1 - (dph-lifted-base-0.6.1.1) - (dph-lifted-vseg-0.6.1.2) - (dph-prim-interface-0.6.1.1) - (dph-prim-par-0.6.1.1) - (dph-prim-seq-0.6.1.1) Compilation flags: I'm using two combinations of flags, taken from different sources. In both cases results are identical: - From https://github.com/ghc/packages-dph: -rtsopts -threaded -fllvm -optlo-O3 -Odph -fcpr-off -fno-liberate-case -package dph-lifted-vseg - From dph-examples: -rtsopts -threaded -fllvm -Odph -package dph-lifted- vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000 Execution flags: +RTS -N Tests: - Computing the product of two 400*400 matrices takes 6.037993 seconds. - Computing the product of two 600*600 matrices yields out of memory (requested 1728053248 bytes). DPH code: {-# LANGUAGE ParallelArrays, ParallelListComp #-} {-# OPTIONS -fvectorise #-} module DPH_mmult_wrapper (matMult_wrapper, Matrix_wrapper) where import qualified Prelude import Data.Array.Parallel import Data.Array.Parallel.Prelude.Double as D import Data.Array.Parallel.Prelude.Int as I type MMultType = Double type Matrix = [:[:MMultType:]:] type MVector = [:MMultType:] type Matrix_wrapper = PArray (PArray MMultType) -- matMult_wrapper assumes mB is already transposed {-# NOINLINE matMult_wrapper #-} matMult_wrapper :: Matrix_wrapper - Matrix_wrapper - Matrix_wrapper matMult_wrapper mA mB = toPArrayP (mapP toPArrayP (matMult (fromNestedPArrayP mA) (fromNestedPArrayP mB))) matMult :: Matrix - Matrix - Matrix matMult mA mB = mapP (\row - mapP (\col - dotp row col) mB) mA dotp :: MVector - MVector - MMultType dotp row col = D.sumP (zipWithP (D.*) row col) I'm reporting this as I think it is the kind of problems intended to be solved in the last definition of the internal DPH structure (the one from Work Efficient Higher-Order Vectorisation paper). If there is any information missing, please comment and I will update the report. Thanks. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7091 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7022: Kind variable scoping problem in Iface file when using Template Haskell
#7022: Kind variable scoping problem in Iface file when using Template Haskell ---+ Reporter: goldfire | Owner: Type: bug | Status: new Priority: normal| Milestone: Component: Compiler |Version: 7.5 Resolution:| Keywords: TemplateHaskell PolyKinds Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: polykinds/T7022 | Blockedby: Blocking:|Related: ---+ Comment(by simonpj): Well that's odd. The code in the Description of this ticket works fine for me. It's even in the regression suite. Are you saying that the regression test fails for you (`polykinds/T7022`)? Can you say precisely what happens, including exactly the code you are compiling? Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7022#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7089: -fwarn-unused-do-bind with type families
#7089: -fwarn-unused-do-bind with type families -+-- Reporter: dag | Owner: Type: bug | Status: new Priority: normal| Milestone: Component: Compiler | Version: 7.4.1 Keywords:| Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: Incorrect warning at compile-time Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Comment(by dag): I'm unable to reproduce this without acid-state, so something more complicated is going on. Investigating. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7089#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7062: Spurious undefined reference to `openpty'
#7062: Spurious undefined reference to `openpty' -+-- Reporter: simonmar | Owner: Type: bug | Status: merge Priority: high | Milestone: 7.4.3 Component: Compiler | Version: 7.4.2 Keywords:| Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Comment(by pgj): For your information, the patch for this ticket breaks the build on systems where libgmp is in {{{EXTRA_LIBDIRS}}} (e.g. {{{/usr/local/lib}}} on FreeBSD). Please find a minor enhancement attached to address this defect. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7062#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs