Go to the first, previous, next, last section, table of contents.

Using Parallel Haskell

[You won't be able to execute parallel Haskell programs unless PVM3 (Parallel Virtual Machine, version 3) is installed at your site.]

To compile a Haskell program for parallel execution under PVM, use the `-parallel' option, both when compiling and linking. You will probably want to `import Parallel' into your Haskell modules.

To run your parallel program, once PVM is going, just invoke it "as normal". The main extra RTS option is `-N<n>', to say how many PVM "processors" your program to run on. (For more details of all relevant RTS options, please see section See section RTS options for Concurrent/Parallel Haskell.)

In truth, running Parallel Haskell programs and getting information out of them (e.g., parallelism profiles) is a battle with the vagaries of PVM, detailed in the following sections.


Go to the first, previous, next, last section, table of contents.