
Hello all I have installed ghc-7.4.0.20111219 and this announcementhttp://www.haskell.org/pipermail/glasgow-haskell-users/2011-December/021310....says that "The release candidate accidentally includes the random, primitive, vector and dph libraries. The final release will not include them". I tried to compile a program [ntro@localhost src]$ ghc-7.4.0.20111219 -c -Odph -fdph-par ParallelMat.hs ghc: unrecognised flags: -fdph-par Usage: For basic information, try the `--help' option. [ntro@localhost src]$ ghc-7.2.1 -c -Odph -fdph-par ParallelMat.hs Also in ghc-7.4.0.20111219 --help , i don't see any option related data parallel haskell. I search the ghc manual http://www.haskell.org/ghc/dist/stable/docs/html/users_guide/ and got one reference for data parallel haskellhttp://www.haskell.org/ghc/dist/stable/docs/html/users_guide/lang-parallel.h.... This link again redirects to data parallel haskell http://www.haskell.org/haskellwiki/GHC/Data_Parallel_Haskell wiki page using ghc-7.2.1. Could some one please tell me how to compile haskell program using dph with ghc-7.4.0.20111219. Regards Mukesh Tiwari

On Sat, Jan 21, 2012 at 06:47, mukesh tiwari
I have installed ghc-7.4.0.20111219 and this announcementhttp://www.haskell.org/pipermail/glasgow-haskell-users/2011-December/021310....says that "The release candidate accidentally includes the random, primitive, vector and dph libraries. The final release will not include them". I tried to compile a program
It says they accidentally included extra libraries; not that they accidentally built the DPH extensions to the compiler. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

Hi Brandon
Thank you for reply. Could you please tell me how to install dph
because cabal install is not working with ghc-7.4.0.20111219 and I
have issue with ghc-7.2.1 and dph
Macintosh-0026bb610428:src mukesh$ ghci -Odph -fdph-par
on the commandline:
Warning: -O conflicts with --interactive; -O ignored.
GHCi, version 7.2.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.3.0.3 ... linking ... done.
Loading package old-locale-1.0.0.3 ... linking ... done.
Loading package time-1.2.0.5 ... linking ... done.
Loading package random-1.0.0.3 ... linking ... done.
Loading package primitive-0.3.1 ... linking ... done.
Loading package vector-0.7.1 ... linking ... done.
Loading package dph-base-0.5.1.1 ... linking ... done.
Loading package dph-prim-interface-0.5.1.1 ... linking ... done.
Loading package dph-prim-seq-0.5.1.1 ... linking ... done.
Loading package old-time-1.0.0.7 ... linking ... done.
Loading package dph-prim-par-0.5.1.1 ... linking ... done.
Loading package containers-0.4.1.0 ... linking ... done.
Loading package filepath-1.2.0.1 ... linking ... done.
Loading package unix-2.5.0.0 ... linking ... done.
Loading package directory-1.1.0.1 ... linking ... done.
Loading package pretty-1.1.0.0 ... linking ... done.
Loading package process-1.1.0.0 ... linking ... done.
Loading package Cabal-1.12.0 ... linking ... done.
Loading package bytestring-0.9.2.0 ... linking ... done.
Loading package binary-0.5.0.2 ... linking ... done.
Loading package bin-package-db-0.0.0.0 ... linking ... done.
Loading package hoopl-3.8.7.1 ... linking ... done.
Loading package hpc-0.5.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package ghc-7.2.1 ... linking ... done.
Loading package dph-par ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
Prelude> :set prompt "ghci>"
ghci>import Data.Array.Parallel
ghci>import Data.Array.Parallel.PArray
ghci>let u = Data.Array.Parallel.PArray.fromList [ 1 .. 10 ]
ghci>:t u
u :: PArray Double
ghci>u
fromList<PArray> [1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0]
ghci>let v = Data.Array.Parallel.fromPArrayP u
ghci>:t v
v :: [:Double:]
ghci>lengthP v
0
Also what is the expected date for release of ghc-7.4.1 and dph
package ?
Regards
Mukesh Tiwari
On Jan 21, 10:27 pm, Brandon Allbery
On Sat, Jan 21, 2012 at 06:47, mukesh tiwari
wrote: I have installed ghc-7.4.0.20111219 and this announcementhttp://www.haskell.org/pipermail/glasgow-haskell-users/2011-December/...says that "The release candidate accidentally includes the random, primitive, vector and dph libraries. The final release will not include them". I tried to compile a program
It says they accidentally included extra libraries; not that they accidentally built the DPH extensions to the compiler.
-- brandon s allbery allber...@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
_______________________________________________ Haskell-Cafe mailing list Haskell-C...@haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe

On Sat, Jan 21, 2012 at 12:50, mukesh tiwari
Hi Brandon Thank you for reply. Could you please tell me how to install dph because cabal install is not working with ghc-7.4.0.20111219 and I have issue with ghc-7.2.1 and dph
Sorry, but I don't know. I don't follow or use DPH, I just know how the GHC repo works, and that they had a problem with including additional library sub-repos which just happened to include (probably out of date, since DPH is developed separately) DPH libraries. As such, I would not expect DPH to be included in the official 7.4 release unless the DPH folks submit an updated version (and probably not even then since GHC is in the release candidates phase, so it's a bit too late to add a newer DPH into it). -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

I don't know so much about ghc-7.4, but if "loading dph codes in ghci"
is the main matter here, below might help:
http://warmfuzzything.posterous.com/loading-dph-codes-in-ghci
Best,
--
Atsuro Hoshino
On Sun, Jan 22, 2012 at 2:58 AM, Brandon Allbery
On Sat, Jan 21, 2012 at 12:50, mukesh tiwari
wrote: Hi Brandon Thank you for reply. Could you please tell me how to install dph because cabal install is not working with ghc-7.4.0.20111219 and I have issue with ghc-7.2.1 and dph
Sorry, but I don't know. I don't follow or use DPH, I just know how the GHC repo works, and that they had a problem with including additional library sub-repos which just happened to include (probably out of date, since DPH is developed separately) DPH libraries. As such, I would not expect DPH to be included in the official 7.4 release unless the DPH folks submit an updated version (and probably not even then since GHC is in the release candidates phase, so it's a bit too late to add a newer DPH into it).
-- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Thank you. It helped me lot.
Regards
Mukesh Tiwari
On Sun, Jan 22, 2012 at 7:14 PM, Atsuro Hoshino
I don't know so much about ghc-7.4, but if "loading dph codes in ghci" is the main matter here, below might help:
http://warmfuzzything.posterous.com/loading-dph-codes-in-ghci
Best, -- Atsuro Hoshino
On Sun, Jan 22, 2012 at 2:58 AM, Brandon Allbery
wrote: On Sat, Jan 21, 2012 at 12:50, mukesh tiwari < mukeshtiwari.iiitm@gmail.com> wrote:
Hi Brandon Thank you for reply. Could you please tell me how to install dph because cabal install is not working with ghc-7.4.0.20111219 and I have issue with ghc-7.2.1 and dph
Sorry, but I don't know. I don't follow or use DPH, I just know how the GHC repo works, and that they had a problem with including additional library sub-repos which just happened to include (probably out of date, since DPH is developed separately) DPH libraries. As such, I would not expect DPH to be included in the official 7.4 release unless the DPH folks submit an updated version (and probably not even then since GHC is in the release candidates phase, so it's a bit too late to add a newer DPH into it).
-- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On 21/01/2012, at 22:47 , mukesh tiwari wrote:
Hello all I have installed ghc-7.4.0.20111219 and this announcement says that "The release candidate accidentally includes the random, primitive, vector and dph libraries. The final release will not include them". I tried to compile a program
[ntro@localhost src]$ ghc-7.4.0.20111219 -c -Odph -fdph-par ParallelMat.hs ghc: unrecognised flags: -fdph-par Usage: For basic information, try the `--help' option. [ntro@localhost src]$ ghc-7.2.1 -c -Odph -fdph-par ParallelMat.hs
The -fdph-par flag doesn't exist anymore, but we haven't had a chance to update the wiki yet. Use -package dph-lifted-vseg to select the backend. You could also look at the cabal file for the dph-examples package to see what flags we use when compiling. Ben.
participants (4)
-
Atsuro Hoshino
-
Ben Lippmeier
-
Brandon Allbery
-
mukesh tiwari