GranSim User's Guide

Hans-Wolfgang Loidl
July 1996.

This user's guide describes how to use GranSim for simulating the parallel execution of (annotated) Haskell programs. In passing we will discuss how to write parallel, lazy functional programs and how to tune their performance. To this end, some visualisation tools for generating activity and granularity profiles of the execution will be discussed. A set of example programs demonstrates the use of GranSim.

GranSim is part of the Glasgow Haskell Compiler (GHC), in fact it is a special setup of GHC, which uses a slightly modified compiler (for instrumenting the code) and an extended runtime-system. For users who are already familiar with the GHC and parallel functional programming in general there is a quick introduction to GranSim available (see section A Quick Introduction to GranSim).

@Manual{gransim,
  title = 	 {GranSim's User Guide},
  author = 	 {Hans-Wolfgang Loidl},
  organization = {Department of Computing Science, University of Glasgow},
  edition = 	 {0.03},
  year = 	 {1996},
  month = 	 jul,
  URL = 	 {http://www.dcs.gla.ac.uk/fp/software/gransim/user\_toc.html}
}

Available in: html, ps, ps.gz


GPH Papers | GPH