combination not supported: Threaded/Profiling when building NDP library

Ben Gaster brg at
Thu Sep 20 07:25:30 EDT 2007

H 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?



Benedict R. Gaster
S/W Architecture Team Lead
ClearSpeed Technology Plc
3110 Great Western Court 
Hunts Ground Road
Stoke Gifford 
BS34 8HP
Phone: + 44 117 3172016
Fax: + 44 117 3172002
brg at

> -----Original Message-----
> From: shelarcy [mailto:shelarcy at]
> Sent: 20 September 2007 10:31
> To: Ben Gaster
> Cc: glasgow-haskell-users at
> 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 at>
> 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.
> 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.
> July/008873.html
> Best Regards,
> --
> shelarcy <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:

More information about the Glasgow-haskell-users mailing list