[Haskell-cafe] Using -Nx Option with GHC

2009-08-08 Thread Mark Wassell
Hi, I am trying to compile and run my program so that it utilises more than one core on my machine. I have looked at http://haskell.org/haskellwiki/Shootout/Parallel/BinaryTrees and am using parMap at a point in my code. I compile with ghc --make -O2 -threaded and run with the options

Re: [Haskell-cafe] Using -Nx Option with GHC

2009-08-08 Thread Neil Mitchell
Hi Mark, I compile with ghc --make -O2 -threaded That should work - try deleting all .o/.obj files and the executable and trying to compile again. Thanks Neil ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Using -Nx Option with GHC

2009-08-08 Thread Mark Wassell
That did it, thanks. Neil Mitchell wrote: Hi Mark, I compile with ghc --make -O2 -threaded That should work - try deleting all .o/.obj files and the executable and trying to compile again. Thanks Neil ___ Haskell-Cafe mailing list