Q: GHC, Parallel libraries

Hal Daume III hdaume@ISI.EDU
Tue, 15 Oct 2002 07:13:22 -0700 (PDT)


Another (slightly more heavy-weight) option would be to use something like
hMPI (http://www-i2.informatik.rwth-aachen.de/~michaelw/hmpi.html).  It
doesn't work as per the web page on ghc 5.04; however, bringing it up to
date isn't very difficult and I have done it myself so I could give you
the updated source files.

 - Hal

--
Hal Daume III

 "Computer science is no more about computers    | hdaume@isi.edu
  than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume

On 15 Oct 2002, Jan Kybic 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
>