#7254: Parallel processing and the -Nn flag
------------------------------+---------------------------------------------
 Reporter:  mcandre           |          Owner:                  
     Type:  feature request   |         Status:  new             
 Priority:  normal            |      Component:  Runtime System  
  Version:  7.0.3             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  Runtime crash     |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------

Comment(by mcandre):

 parcs is correct; I just tested -N by itself on Windows. However,
 specifying too many cores with -N results in the program stalling
 indefinitely. Perhaps the Haskell runtime can detect this mistake and
 inform the user before attempting to run the program. The equivalent in
 Perl would look like:

 {{{
 die "The system does not have that many cores." unless $N <= $cores;
 run_program;
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7254#comment:2>
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