Re: [GHC] #1101: Parallel/smp Runtime
#1101: Parallel/smp Runtime ---+ Reporter: humasect | Owner: igloo Type: merge | Status: new Priority: normal | Milestone: 6.6.1 Component: GHCi |Version: 6.6 Severity: normal | Resolution: Keywords: smp parallel runtime threaded | Difficulty: Unknown Testcase: | Architecture: Unknown Os: Multiple | ---+ Changes (by simonmar): * owner: = igloo * type: bug = merge * os: MacOS X = Multiple Comment: Fixed, you can now say 'ghci -threaded'. The `-threaded` option doesn't actually do anything, because as you say, what matters is what RTS GHCi itself is linked against, and by default it is linked against the threaded RTS. To merge: {{{ Tue Jan 16 12:04:09 GMT 2007 Simon Marlow [EMAIL PROTECTED] * allow 'ghci -threaded' (fixes #1101) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1101 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] #1101: Parallel/smp Runtime
#1101: Parallel/smp Runtime ---+ Reporter: humasect | Owner: igloo Type: merge | Status: closed Priority: normal | Milestone: 6.6.1 Component: GHCi |Version: 6.6 Severity: normal | Resolution: fixed Keywords: smp parallel runtime threaded | Difficulty: Unknown Testcase: | Architecture: Unknown Os: Multiple | ---+ Changes (by igloo): * resolution: = fixed * status: new = closed Comment: Merged to the 6.6 branch. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1101 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] #1101: Parallel/smp Runtime
#1101: Parallel/smp Runtime ---+ Reporter: humasect | Owner: igloo Type: merge | Status: closed Priority: normal | Milestone: 6.6.1 Component: GHCi |Version: 6.6 Severity: normal | Resolution: fixed Keywords: smp parallel runtime threaded | Difficulty: Unknown Testcase: | Architecture: Unknown Os: Multiple | ---+ Comment (by humasect): Excellent, works great, thank you both! -- Ticket URL: http://cvs.haskell.org/trac/ghc/ticket/1101 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] #1101: Parallel/smp Runtime
#1101: Parallel/smp Runtime ---+ Reporter: humasect | Owner: Type: bug| Status: new Priority: normal | Milestone: 6.6.1 Component: GHCi |Version: 6.6 Severity: normal | Resolution: Keywords: smp parallel runtime threaded | Difficulty: Unknown Testcase: | Architecture: Unknown Os: MacOS X| ---+ Changes (by simonmar): * milestone: = 6.6.1 * type: feature request = bug Comment: Looks like the error message is misleading; you can indeed use `+RTS -N2` with GHCi (althogh I don't think I've ever tried it!). -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1101 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] #1101: Parallel/smp Runtime
#1101: Parallel/smp Runtime ---+ Reporter: humasect | Owner: Type: bug| Status: new Priority: normal | Milestone: 6.6.1 Component: GHCi |Version: 6.6 Severity: normal | Resolution: Keywords: smp parallel runtime threaded | Difficulty: Unknown Testcase: | Architecture: Unknown Os: MacOS X| ---+ Comment (by humasect): Yes, I almost thought this would do it, there is no error when executing GHCi this way. But actually: 4.12.1. Options to enable SMP parallelism In order to make use of multiple CPUs, your program must be linked with the -threaded option (see Section 4.10.7, “Options affecting linking”). Then, to run a program on multiple CPUs, use the RTS -N option cut Would this only mean that GHC needs to be instead built with -threaded +RTS -Nx for this ability? We need the computing power over here. -- Ticket URL: http://cvs.haskell.org/trac/ghc/ticket/1101 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