-parallel and error"failed to load interface for ..."
Hal Daume III
hdaume@ISI.EDU
Mon, 4 Nov 2002 07:19:02 -0800 (PST)
Hi all.
Valery: You unfortunately cannot just use -parallel with the normal GHC
compiler. You need to download one which is actually meant to be used in
parallel (namely GPH). You can find information about it here:
http://www.cee.hw.ac.uk/~dsg/gph/
GHC Folk: I think a better error message is in order here. I think in the
past two weeks three people have tripped over this and emailed this list.
Perhaps just when -parallel is specified in a non GUM/GranSim-ified GHC,
it barfs with "GHC not built for parallelism" in the same way that a GHC
not built for interactivity will barf on --interactive.
- Hal
On Mon, 4 Nov 2002, Khamenia, Valery wrote:
> Hi ghc world,
>
> why option -parallel leads to error while without this option everything was
> compiled OK?
>
> --------------------Custom Tool: ghc--------------------
> Command : D:\pkg\ghc\ghc-5.04.1\bin\ghc.exe -parallel -package concurrent
> "Examples.hs" -o a.exe
> Directory : "C:\tmp\Haskell\try"
>
> Examples.hs:2:
> failed to load interface for `Prelude':
> Could not find interface file for `Prelude'
>
> Examples.hs:5:
> failed to load interface for `Parallel':
> Could not find interface file for `Parallel'
> ---------------------------------------------------------------------------
> regards,
> Valery A.Khamenya
> Bioinformatics Department
> BioVisioN AG, Hannover
>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users@haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
--
--
Hal Daume III
"Computer science is no more about computers | hdaume@isi.edu
than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume