On Fri, May 26, 2000 at 03:40:28PM -0400, Keith Wansbrough wrote:
> > Recently GPH was installed on my Universities beowulf cluster. PVM3 is
> > installed (as well as Lam MPI). Ghc appears to be correctly installed; it
> > compiles non-parallel programs fine. However when I try to compile (for
> > example) the fibonacci function given in the documentation it fails.
> [..]
> > Given the command:
> > ghc -parallel -O -o p  parallelfib.hs
> > 
> > The result is:
> > parallelfib.hs:2: Could not find valid interface file `Prelude'
> 
> It would appear that you don't have the parallel build of the compiler
> installed properly.
> 
> GHC is built with one or more `ways'.  The normal `way' is the default,
> but there are also `p' for profiling, `t' for ticky-ticky, and ... `mp'
> for parallel.  When compiling with a `way' other than the normal one, GHC
> looks for Foo.mp_hi, Foo.mp_o, and so on instead of Foo.hi, Foo.o.
> 
> So there should a file Prelude.mp_hi in one of the directories GHC is
> looking through.  GHC is complaining that it's not there.

Are there any prebuilt binaries of ghc which are compiled in the mp `way'
(for Linux)? Would it be possible to generate the .mp_* files and add them
to the normal installation? I am not the administrator and it isn't clear to
me whether the admin. compiled ghc or just installed the rpm.

Thanks for the reply,

Ben.



-- 
: Keith Wansbrough, MSc, BSc(Hons) (Auckland) -------------------:
: PhD Student, Computer Laboratory, University of Cambridge, UK. :
: Native of Antipodean Auckland, New Zealand: 174d47'E, 36d55'S. :
: http://www.cl.cam.ac.uk/users/kw217/ mailto:[EMAIL PROTECTED] :
:----------------------------------------------------------------:


Reply via email to