|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
combination not supported: Threaded/Profiling when building NDP libraryHello Having read the papers on Nested Data Parallelism in the
Haskell I wanted to play around with the de-sugared implementation in the GHC
library NDP. I have built GHC from source, on RHE5, and then installed the NDP
library from the tar ball. Following the build instructions in the README I got
to building the library which resulted in the following error being reported: ghc-6-6.1: combination not supported: Threaded/Profiling This seems to be down to the fact that -prof and
-threaded have been specified on a particular build line, although I emit not
to be completely sure about this. Looking through the GHC page on its SMP support it seems
to imply that the option -threaded is not needed when building code, rather
when linking a parallel program, but it is unclear if this is the case when
building a library such as NDP. Having scanned through the GHC source tree it seems that
-prof is referenced in numerous places such that it would be a bit of a pain to
have to remove these over removing the single reference to -threaded in the
ndp.mk file. Thanks for any help that you can provide on this. Many Regards, Ben Benedict R. Gaster -- The contents of this email and any attachments
are confidential and may be legally privileged. If you have received this
email in error please notify the sender immediately and refrain from copying or
disclosing the contents of the email to any third party. ClearSpeed
accepts no liability for any viruses which may be transmitted by this email or
its attachments. ClearSpeed Technology PLC is a company registered in England under
company number 05159262 whose registered office is at 3110 Great Western Court,
Hunts Ground Road, Bristol BS34 8HP, UK. ClearSpeed Technology INC is a wholly owned subsidiary of
ClearSpeed Technology PLC and is incorporated in the United States of
America, with its principle place of business at 3031 Tisch Way, Suite 200, San
Jose, CA 95128, US. Additional Company information can be found at the following: http://www.clearspeed.com/aboutus/company/index.html” _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-users |
|
|
Re: combination not supported: Threaded/Profiling when building NDP libraryHello Ben,
On Tue, 18 Sep 2007 18:21:35 +0900, Ben Gaster <brg@...> wrote: > Having read the papers on Nested Data Parallelism in the Haskell I > wanted to play around with the de-sugared implementation in the GHC > library NDP. I have built GHC from source, on RHE5, and then installed > the NDP library from the tar ball. Following the build instructions in > the README I got to building the library which resulted in the following > error being reported: > > > ghc-6-6.1: combination not supported: Threaded/Profiling > >This seems to be down to the fact that -prof and -threaded have been > specified on a particular build line, although I emit not to be > completely sure about this. If you want just testing ndp package, I think you can install with cabal instead of README file way. And you problem come from current rts' implemantion. Current rts' code cause the problem when using -prof and -threaded combination. So GHC's developper team omit this option to avoid problem by that in ghc 6.6.x release phase. http://hackage.haskell.org/trac/ghc/ticket/886 If you want to use their combination, please vote above Ticket #886 by adding your e-mail address to 'cc' field and commebt your problem, instead of just sending e-mail to this mailing-list. Because GHC's team decides task priority by using this field and comment. http://www.haskell.org/pipermail/glasgow-haskell-bugs/2007-July/008873.html Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-users |
|
|
RE: combination not supported: Threaded/Profiling when building NDP libraryH Shelarcy,
Thanks for your reply. I have removed the -threaded when building the library and now everything builds correctly and the examples are all working. However, I would like to explore porting the library to use a small FFI library which will allow exporting flattened data parallel operations to a vector array processor that I'm working with. With this in mind I wanted to check that as this the library is not concerned with SMP and thus I will not expect the ported version of NDP to call GHC's SMP concurrency primitives, as I believe it does at the moment, then I need not be concerned with this option not being enabled, even at link time? Regards, Ben Benedict R. Gaster S/W Architecture Team Lead ClearSpeed Technology Plc 3110 Great Western Court Hunts Ground Road Stoke Gifford Bristol BS34 8HP Phone: + 44 117 3172016 Fax: + 44 117 3172002 brg@... www.clearspeed.com > -----Original Message----- > From: shelarcy [mailto:shelarcy@...] > Sent: 20 September 2007 10:31 > To: Ben Gaster > Cc: glasgow-haskell-users@... > Subject: Re: combination not supported: Threaded/Profiling when > building NDP library > > Hello Ben, > > On Tue, 18 Sep 2007 18:21:35 +0900, Ben Gaster <brg@...> > wrote: > > Having read the papers on Nested Data Parallelism in the Haskell I > > wanted to play around with the de-sugared implementation in the GHC > > library NDP. I have built GHC from source, on RHE5, and then > installed > > the NDP library from the tar ball. Following the build instructions > in > > the README I got to building the library which resulted in the > following > > error being reported: > > > > > > ghc-6-6.1: combination not supported: Threaded/Profiling > > > >This seems to be down to the fact that -prof and -threaded have been > > specified on a particular build line, although I emit not to be > > completely sure about this. > > If you want just testing ndp package, I think you can install with > cabal > instead of README file way. > > And you problem come from current rts' implemantion. > Current rts' code cause the problem when using -prof and -threaded > combination. > So GHC's developper team omit this option to avoid problem by that > in ghc 6.6.x release phase. > > http://hackage.haskell.org/trac/ghc/ticket/886 > > If you want to use their combination, please vote above Ticket #886 > by adding your e-mail address to 'cc' field and commebt your problem, > instead of just sending e-mail to this mailing-list. > > Because GHC's team decides task priority by using this field and > comment. > > http://www.haskell.org/pipermail/glasgow-haskell-bugs/2007- > July/008873.html > > > Best Regards, > > -- > shelarcy <shelarcy hotmail.co.jp> > http://page.freett.com/shelarcy/ -- The contents of this email and any attachments are confidential and may be legally privileged. If you have received this email in error please notify the sender immediately and refrain from copying or disclosing the contents of the email to any third party. ClearSpeed accepts no liability for any viruses which may be transmitted by this email or its attachments. ClearSpeed Technology PLC is a company registered in England under company number 05159262 whose registered office is at 3110 Great Western Court, Hunts Ground Road, Bristol BS34 8HP, UK. ClearSpeed Technology INC is a wholly owned subsidiary of ClearSpeed Technology PLC and is incorporated in the United States of America, with its principle place of business at 3031 Tisch Way, Suite 200, San Jose, CA 95128, US. Additional Company information can be found at the following: http://www.clearspeed.com/aboutus/company/index.html _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-users |
| Free embeddable forum powered by Nabble | Forum Help |