<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoPlainText>Hello<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>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:<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>ghc-6-6.1: combination not supported: Threaded/Profiling<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>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.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>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. <o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>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. <o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Thanks for any help that you can provide on this.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Many Regards,<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Ben<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='color:navy'>Benedict R. Gaster</span></b><br>
<span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:navy'>S/W
Architecture Team Lead<br>
ClearSpeed Technology Plc</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><br>
</span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:navy'>3110 Great Western Court <br>
Hunts Ground Road</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><br>
</span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:navy'>Stoke Gifford </span><span style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:navy'><br>
</span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:navy'>Bristol </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><br>
</span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:navy'>BS34 8HP<o:p></o:p></span></p>

</div>

</body>

</html>
<p class=MsoNormal>-- <o:p></o:p></p>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue;font-weight:normal'>The contents of this email and any attachments
are confidential and may be legally privileged.&nbsp; 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.&nbsp; ClearSpeed
accepts no liability for any viruses which may be transmitted by this email or
its attachments.</span></strong><span style='font-size:10.0pt'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>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. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>&nbsp;&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>ClearSpeed Technology INC is a wholly owned subsidiary of
ClearSpeed Technology PLC and is&nbsp;incorporated&nbsp;in the United States of
America, with its principle place of business at 3031 Tisch Way, Suite 200, San
Jose, CA 95128, US. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Additional Company information can be found at the following: <a
href="http://www.clearspeed.com/aboutus/company/index.html"
title="http://www.clearspeed.com/aboutus/company/index.html">http://www.clearspeed.com/aboutus/company/index.html</a>&#8221;<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>