<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Thanks!
<div>It turns out the customer has a few other things to do before he gets to the catalyst part.  So I’ll be back in a few weeks/months with more questions!  Thanks all</div>
<div>— Rich </div>
<div><br>
</div>
<div><br>
<div>
<div>
<div>On Feb 17, 2015, at 12:40 PM, Biddiscombe, John A. <<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 16px; font-family: Calibri, sans-serif;">
<div>NB cake = cmake + aggressive autocorrect</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);">
<span style="font-weight:bold">From: </span><Biddiscombe>, cscs <<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday 17 February 2015 21:20<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:cook47@llnl.gov">cook47@llnl.gov</a>" <<a href="mailto:cook47@llnl.gov">cook47@llnl.gov</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Paraview] Error cross-compiling Catalyst on BG/Q<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 16px; font-family: Calibri, sans-serif;">
<div>Yes indeed. What I really meant was you can just compile with cake and use the wrappers, there’s no need to setup a special toolchain and get all the cross-compilation stuff going because the wrappers do all that for you.</div>
<div><br>
</div>
<div>On BGQ I am using clang instead of xlc o I’ve got a different setup.</div>
<div><br>
</div>
<div>JB</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);">
<span style="font-weight:bold">From: </span><Cook>, "<a href="mailto:cook47@llnl.gov">cook47@llnl.gov</a>" <<a href="mailto:cook47@llnl.gov">cook47@llnl.gov</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday 17 February 2015 18:30<br>
<span style="font-weight:bold">To: </span>cscs <<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>><br>
<span style="font-weight:bold">Cc: </span>David DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>>, "<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Paraview] Error cross-compiling Catalyst on BG/Q<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Thanks for that information.  Could be a life-saver!  However, please note that I checked with a local expert and he says,  "if you want any optimization on the compute nodes you should use the cross compilers.  Likewise, if you use optimization on your frontend
 compile, you won't be able to run on the compute nodes.  They're not fully binary compatible and they do not use the same OS.  So your mileage will vary with this approach.”
<div><br>
</div>
<div>— Rich </div>
<div><br>
<div>
<div>On Feb 12, 2015, at 10:55 PM, Biddiscombe, John A. <<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta name="Generator" content="Microsoft Word 14 (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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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]-->
<div lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<div class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Rich<o:p></o:p></span></div>
<div><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span><br class="webkit-block-placeholder">
</div>
<div class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">On the BGQ, the compute nodes and login nodes are binary compatible, so you shouldn’t need to bother with most of the cross compiling stuff. the
 only thing to watch out for is the MPI and since vtkParseOGLExt and vtkWrapPython etc don’t touch that, you ought to be ok compiling
<br>
_<i>as if</i>_ you were going to run on the host node. If you use the MPI wrappers (I don’t), then all will be taken care of.<o:p></o:p></span></div>
<div><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span><br class="webkit-block-placeholder">
</div>
<div class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I don’t think that I have compiled pv+catalyst to run on BGQ, so my comment is only based on theory, but I can set a build going in a minute if
 it helps (except I’d need to setup mesa which may take a while, so maybe I won’t....)<o:p></o:p></span></div>
<div><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span><br class="webkit-block-placeholder">
</div>
<div class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">JB<o:p></o:p></span></div>
<div><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span><br class="webkit-block-placeholder">
</div>
<div><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span><br class="webkit-block-placeholder">
</div>
<div class="MsoNormal"><b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif;">From:</span></b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif;"> ParaView [<a href="mailto:paraview-bounces@paraview.org">mailto:paraview-bounces@paraview.org</a>]
<b>On Behalf Of </b>David E DeMarle<br>
<b>Sent:</b> 13 February 2015 01:19<br>
<b>To:</b> Cook, Rich<br>
<b>Cc:</b> ParaView list<br>
<b>Subject:</b> Re: [Paraview] Error cross-compiling Catalyst on BG/Q<o:p></o:p></span></div>
<div class="MsoNormal"><o:p> </o:p></div>
<div>
<div>
<div class="MsoNormal"><o:p> </o:p></div>
<div>
<div class="MsoNormal">On Thu, Feb 12, 2015 at 7:15 PM, Cook, Rich <<a href="mailto:cook47@llnl.gov" target="_blank">cook47@llnl.gov</a>> wrote:<o:p></o:p></div>
<div>
<div class="MsoNormal">/collab/usr/global/tools/Kitware/Catalyst/bgqos_0/catalyst_backend_crossbuild/CMakeFiles/cmTryCompileExec2363604927-CMAKE_REQUIRE_LARGE_FILE_SUPPORT<o:p></o:p></div>
</div>
</div>
<div class="MsoNormal"><br>
Is the name of the executable to run.<o:p></o:p></div>
</div>
<div>
<div class="MsoNormal"><o:p> </o:p></div>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm" type="cite">
<div class="MsoNormal">set( CMAKE_REQUIRE_LARGE_FILE_SUPPORT <br>
     "PLEASE_FILL_OUT-FAILED_TO_RUN"<br>
     CACHE STRING "Result from TRY_RUN" FORCE)<o:p></o:p></div>
</blockquote>
</div>
<div>
<div class="MsoNormal"><o:p> </o:p></div>
</div>
<div>
<div class="MsoNormal">Change that to:<o:p></o:p></div>
</div>
<div>
<div>
<div class="MsoNormal"><span style="font-size:10.0pt">set( CMAKE_REQUIRE_LARGE_FILE_SUPPORT <o:p></o:p></span></div>
</div>
<div>
<div class="MsoNormal"><span style="font-size:10.0pt">     0<o:p></o:p></span></div>
</div>
<div>
<div class="MsoNormal"><span style="font-size:10.0pt">     CACHE STRING "Result from TRY_RUN" FORCE)<o:p></o:p></span></div>
</div>
<div>
<div><span style="font-size:10.0pt"> </span><br class="webkit-block-placeholder">
</div>
</div>
<div>
<div class="MsoNormal"><span style="font-size:10.0pt">if the return code of that executable is 0<o:p></o:p></span></div>
</div>
<div>
<div><span style="font-size:10.0pt"> </span><br class="webkit-block-placeholder">
</div>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm" type="cite">
<div class="MsoNormal"><span style="font-size:10.0pt">set( CMAKE_REQUIRE_LARGE_FILE_SUPPORT__TRYRUN_OUTPUT <br>
     "PLEASE_FILL_OUT-NOTFOUND"<br>
     CACHE STRING "Output from TRY_RUN" FORCE)<o:p></o:p></span></div>
</blockquote>
<div>
<div><span style="font-size:10.0pt"> </span><br class="webkit-block-placeholder">
</div>
</div>
<div>
<div class="MsoNormal"><span style="font-size:10.0pt">Change that to:<o:p></o:p></span></div>
</div>
<div>
<div class="MsoNormal"><span style="font-size:10.0pt">set( CMAKE_REQUIRE_LARGE_FILE_SUPPORT__TRYRUN_OUTPUT <o:p></o:p></span></div>
</div>
<div>
<div class="MsoNormal"><span style="font-size:10.0pt">     "I am the very model of a modern major general"<o:p></o:p></span></div>
</div>
<div>
<div class="MsoNormal"><span style="font-size:10.0pt">     CACHE STRING "Output from TRY_RUN" FORCE) <o:p></o:p></span></div>
</div>
<div>
<div><span style="font-size:10.0pt"> </span><br class="webkit-block-placeholder">
</div>
</div>
<div>
<div class="MsoNormal"><span style="font-size:10.0pt">If the console output of that executable was "I am the very model of a modern major general"<o:p></o:p></span></div>
</div>
<div>
<div><span style="font-size:10.0pt"> </span><br class="webkit-block-placeholder">
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div class="MsoNormal">David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-881-4909<o:p></o:p></div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; font-size: 13px; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;">
<div>-- </div>
<div>✐Richard Cook   </div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557        </div>
<div>7000 East Avenue,  Livermore, CA, 94550, USA</div>
<div>☎ (office) (925) 423-9605    </div>
<div>☎ (fax) (925) 423-6961</div>
<div>---</div>
<div>Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br class="Apple-interchange-newline">
</span></span></span></span></span></span></span><br class="Apple-interchange-newline">
</span></div>
<br>
</div>
</div>
</div>
</span></div>
</div>
</span></div>
</blockquote>
</div>
<br>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
<div>-- </div>
<div>✐Richard Cook   </div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557        </div>
<div>7000 East Avenue,  Livermore, CA, 94550, USA</div>
<div>☎ (office) (925) 423-9605    </div>
<div>☎ (fax) (925) 423-6961</div>
<div>---</div>
<div>Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br class="Apple-interchange-newline">
</span></span></span></span></span></span></span><br class="Apple-interchange-newline">
</span></div>
<br>
</div>
</div>
</body>
</html>