Default value for numCapabilities?

Dimitry Golubovsky golubovsky at
Tue Apr 27 22:02:08 EDT 2010


Interesting: my program is compiled with -threaded, and when I run it
with +RTS -N I get:

<program name>: forking not supported with +RTS -N<n> greater than 1

This is probably about forkProcess rather than forkIO/forkOS, but why
this limitation? rawSystem works fine from within a thread started by
forkIO, but why cannot I use forkProcess?

On Tue, Apr 27, 2010 at 12:35 PM, Bryan O'Sullivan <bos at> wrote:

> With 6.12.1 and newer, no "-N" argument implies 1 core, "-Nk" implies
> k cores, and "-N" without an argument means "use all".

Dimitry Golubovsky

Anywhere on the Web

More information about the Glasgow-haskell-users mailing list