Q: GHC, Parallel libraries

Phil Trinder trinder@macs.hw.ac.uk
Tue, 15 Oct 2002 17:03:23 +0100 (GMT Daylight Time)


Jan,

Simon's correct: the latest publicly-available version of Glasgow 
parallel Haskell is 4.06. We have a development version based on 5.02 that 
we're using locally and hope to merge it back into the main GHC repository 
soon - approximately a month from now. 

Alway happy to chat: When do you need it, and what parallel platform will you 
use? We get good results on x86 Linux Beowulf clusters, and Sun SMPs.

Phil 

 
On 15 Oct 2002 11:46:25 +0200 Jan Kybic <kybic@ieee.org> wrote:

> Hello,
>         I would like to parallelize my program in Haskell but I have
> difficulties getting started. I would therefore appreciate any
> help or pointers.
> 
> I am using ghc-5.04 on i386 Linux. I installed from a binary bundle on
> the ghc website. I thought I would just compile with
> --parallel and I would get acess to the 'par' primitive. But no, it
> seems that the parallel libraries are missing on my system. If I
> understood correctly, they are files with _mp in their name, right?
> I looked on the web for a precompiled binary version of those
> libraries, in vain. I found the GUM web page but it seems to be much
> outdated, based on the ghc-4.06. Is there any more recent version available?
> 
> Then, I tried to get the ghc-5.04.1 source distribution and compile it
> from source. I found the building guide on the ghc site but it talks
> only about fptools in general and does not mention the ghc specificities.
> The build (./configure --prefix=$HOME ; make) fails. First of all it
> could not find 'readline', which I solved by some config.mk hacking,
> now it fails with: Main.hs: can't locate import `Exception' 
> apparently because the binary bundle directory hierarchy is different
> from what the Makefile expects. 
> 
> I also tried to build only the libraries. It first failed with not
> being able to find the ghc-pkg-inplace, after changing this to the
> installed version it fails with 
> Reason: No such file or directory
> File: ../../ghc/driver/package.conf
> 
> Any help appreciated. Thanks,
> 
> Jan
> 
> -- 
> -------------------------------------------------------------------------
> Jan Kybic <kybic@ieee.org>      Odyssee, INRIA, Sophia-Antipolis, France
>        or <Jan.Kybic@sophia.inria.fr>,tel. work +33 492 38 7589, fax 7845
>                                                     http://kybic.host.sk/
> _______________________________________________
> Haskell mailing list
> Haskell@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell

--------------------------------------------------
Phil Trinder
School of Mathematical and Computer Sciences
Heriot-Watt University
Edinburgh, EH14 4AS

E-mail: trinder@macs.hw.ac.uk
Teleph: +44 (0)131 451 3435
Depart: +44 (0)131 451 3328
Fasmly: +44 (0)131 451 3327
Intrnt: http://www.macs.hw.ac.uk/~trinder