<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="word-wrap:break-word">Dear Paraview list,
<div>Got this response from Todd Gamblin. He asked me to share it with the list. </div>
<div>Note the two attachments — hopefully they are not too large for the list. </div>
<div>
<div><br>
</div>
<div>— Rich </div>
<div><br>
<div>Begin forwarded message:</div>
<br class="x_Apple-interchange-newline">
<blockquote type="cite">
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span style="font-family:'Helvetica'"><b>From: </b></span><span style="font-family:'Helvetica'">Todd Gamblin <<a href="mailto:tgamblin@llnl.gov">tgamblin@llnl.gov</a>><br>
</span></div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span style="font-family:'Helvetica'"><b>Subject: </b></span><span style="font-family:'Helvetica'"><b>Re: [Paraview] User trying to build with catalyst -- need guidance</b><br>
</span></div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span style="font-family:'Helvetica'"><b>Date: </b></span><span style="font-family:'Helvetica'">February 12, 2015 at 11:16:28 AM PST<br>
</span></div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span style="font-family:'Helvetica'"><b>To: </b></span><span style="font-family:'Helvetica'">"Cook, Rich" <<a href="mailto:cook47@llnl.gov">cook47@llnl.gov</a>>, David E DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>><br>
</span></div>
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span style="font-family:'Helvetica'"><b>Cc: </b></span><span style="font-family:'Helvetica'">"<a href="mailto:tim.gallagher@gatech.edu">tim.gallagher@gatech.edu</a>" <<a href="mailto:tim.gallagher@gatech.edu">tim.gallagher@gatech.edu</a>>, ParaView list <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
</span></div>
<br>
<div>
<div style="word-wrap:break-word; font-size:14px; font-family:Calibri,sans-serif">
<div>Rich,</div>
<div><br>
</div>
<div>The platform files are meant to work with CMake's cross-compile support. That is similar to the build instructions here:</div>
<div><br>
</div>
<div><span class="x_Apple-tab-span" style="white-space:pre"></span><a href="http://www.visitusers.org/index.php?title=Building_on_BlueGeneP#Example_toolchain_file">http://www.visitusers.org/index.php?title=Building_on_BlueGeneP#Example_toolchain_file</a></div>
<div><br>
</div>
<div>In fact I wrote the BlueGene/P support for Cmake, and I contributed it back. I have not contributed the BG/Q files back because I don't feel like I've tested them adequately. They're used by several projects though, so maybe I should just thrown them
over the fence to kitware already.</div>
<div><br>
</div>
<div>There are TWO platforms you can use in your toolchain file (more on that at <a href="http://www.vtk.org/Wiki/CMake_Cross_Compiling">http://www.vtk.org/Wiki/CMake_Cross_Compiling</a>). They are:</div>
<div><br>
</div>
<div><span class="x_Apple-tab-span" style="white-space:pre"></span>BlueGeneQ-static</div>
<div><span class="x_Apple-tab-span" style="white-space:pre"></span>BlueGeneQ-dynamic</div>
<div><br>
</div>
<div>There are two because a lot of people like to build backend binaries as full static executables. CMake does not have good support for this, in that it will link an executable exactly one way per platform. If you choose BlueGeneQ-static, you get a platform
that has no notion of dynamic libraries and that will link executables fully static. If you use BlueGeneQ-dynamic, you get a system that is much like a standard Linux install: it supports static and dynamic libraries, but it will link *executables* as dynamic
executables. This is probably the one that will be most familiar if you are used to CMake on Linux.</div>
<div><br>
</div>
<div>For anyone interested, the annoyances stem from the fact that on most platforms, dynamic executables are the default, and you supply a flag (-static, -full-static, etc) to make your exe static. On BlueGene, all is reversed, the default is full static,
and you supply -dynamic (gcc) or -qnostaticlink (xlc). CMake knows nothing of this w/o these platform files.</div>
<div><br>
</div>
<div>Anyway, that's the deal. If you need help using these, feel free to email me. I attached some example toolchain files that I use to build dynamically on BG/Q. These are more complicated maybe than what you need: all you really need to do in a toolchain
file is set CMAKE_SYSTEM_NAME and the three CMAKE_<C|CXX|Fortran>_COMPILER variables. My toolchains ensure that the discovered MPI compiler is consistent with the regular compiler.</div>
<div><br>
</div>
<div>-Todd</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div>
<div style="word-wrap:break-word; font-size:14px; font-family:Calibri,sans-serif">
<div><br>
</div>
<span id="x_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>, Rich <<a href="mailto:cook47@llnl.gov">cook47@llnl.gov</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, February 12, 2015 at 11:06 AM<br>
<span style="font-weight:bold">To: </span>David E DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:tim.gallagher@gatech.edu">tim.gallagher@gatech.edu</a>" <<a href="mailto:tim.gallagher@gatech.edu">tim.gallagher@gatech.edu</a>>, ParaView list <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>>,
Todd Gamblin <<a href="mailto:tgamblin@llnl.gov">tgamblin@llnl.gov</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Paraview] User trying to build with catalyst -- need guidance<br>
</div>
<div><br>
</div>
<blockquote id="x_MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" type="cite" style="border-left:#b5c4df 5 solid; padding:0 0 0 5; margin:0 0 0 5">
<div style="word-wrap:break-word">Thanks for your message.
<div>I’ve poked around a bit. I have built Catalyst successfully on “normal” Linux and our BG/Q machine front end nodes. I’m ready to try a cross compile. I came across this and was wondering if it seems right to you:</div>
<div><br>
</div>
<div><a href="http://www.vtk.org/Wiki/CmakeBlueGene">http://www.vtk.org/Wiki/CmakeBlueGene</a></div>
<div><br>
</div>
<div>We have a build of cmake that includes some extra files I don’t really understand, provided for me by our local wizard Todd Gamblin. How could I use these files to good effect? :-) It’s probably a dumb question, but I ask it to try to move in the right
direction. </div>
<div><br>
</div>
<div>
<div>rcook@rzuseqlac2 (bgqos_0 ): cp cmake-3.0-bgq-experimental/share/cmake-3.0/Modules/Platform/BlueGene</div>
<div>BlueGeneL.cmake BlueGeneP-static-GNU-Fortran.cmake BlueGeneQ-dynamic-XL-CXX.cmake</div>
<div>BlueGeneP-base.cmake BlueGeneP-static-XL-C.cmake BlueGeneQ-dynamic-XL-Fortran.cmake</div>
<div>BlueGeneP-dynamic-GNU-C.cmake BlueGeneP-static-XL-CXX.cmake BlueGeneQ-dynamic.cmake</div>
<div>BlueGeneP-dynamic-GNU-CXX.cmake BlueGeneP-static-XL-Fortran.cmake BlueGeneQ-static-GNU-C.cmake</div>
<div>BlueGeneP-dynamic-GNU-Fortran.cmake BlueGeneP-static.cmake BlueGeneQ-static-GNU-CXX.cmake</div>
<div>BlueGeneP-dynamic-XL-C.cmake BlueGeneQ-base.cmake BlueGeneQ-static-GNU-Fortran.cmake</div>
<div>BlueGeneP-dynamic-XL-CXX.cmake BlueGeneQ-base.cmake~ BlueGeneQ-static-XL-C.cmake</div>
<div>BlueGeneP-dynamic-XL-Fortran.cmake BlueGeneQ-dynamic-GNU-C.cmake BlueGeneQ-static-XL-CXX.cmake</div>
<div>BlueGeneP-dynamic.cmake BlueGeneQ-dynamic-GNU-CXX.cmake BlueGeneQ-static-XL-Fortran.cmake</div>
<div>BlueGeneP-static-GNU-C.cmake BlueGeneQ-dynamic-GNU-Fortran.cmake BlueGeneQ-static.cmake</div>
<div>BlueGeneP-static-GNU-CXX.cmake BlueGeneQ-dynamic-XL-C.cmake </div>
<div><br>
</div>
<div>
<div>On Feb 7, 2015, at 4:35 AM, David E DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">I've done the BGQ ParaView + Catalyst build and installs on Mira@ANL.
<div><br>
</div>
<div>I can chip in with tips regarding compilation.
<div><br>
<div><br>
</div>
</div>
</div>
</div>
<div class="x_gmail_extra"><br clear="all">
<div>
<div class="x_gmail_signature">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</div>
</div>
<br>
<div class="x_gmail_quote">On Fri, Feb 6, 2015 at 8:25 PM, Tim Gallagher <span dir="ltr">
<<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span> wrote:<br>
<blockquote class="x_gmail_quote" type="cite" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="font-family:'times new roman','new york',times,serif; font-size:12pt">
Hi Rich,<br>
<br>
There may be a few who are willing to help out if you can provide some specific questions or issues you run into.
<br>
<br>
Have you looked through the documentation at <span><a href="http://www.paraview.org/in-situ/" target="_blank">http://www.paraview.org/in-situ/</a></span> ? I got Catalyst up and running in our code (not on a BG/Q but on different clusters) with the information
in the documentation and by asking some specific questions here on the list. For me, the hardest part was converting our data into VTK data -- I did not have any exposure to VTK prior to taking the Catalyst leap. But it turned out to be (relatively) straight
forward for what we are doing.<br>
<br>
I will be happy to answer things I can and for things I can't, hopefully somebody else will jump in.<br>
<br>
Tim<br>
<br>
<hr>
<div style="font-weight:normal; font-style:normal; text-decoration:none; font-family:Helvetica,Arial,sans-serif; font-size:12pt">
<b>From: </b>"Rich Cook" <<a href="mailto:cook47@llnl.gov" target="_blank">cook47@llnl.gov</a>><br>
<b>To: </b><a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Sent: </b>Friday, February 6, 2015 7:23:24 PM<br>
<b>Subject: </b>[Paraview] User trying to build with catalyst -- need guidance
<div>
<div class="x_h5"><br>
<br>
Hello,
<div>We have not used catalyst here and I have a user that is interested in trying it out on our BG/Q machine with a huge code on hundreds of thousands of nodes. ;-)</div>
<div>Is there a brave soul willing to hold our hands through this process? </div>
<div>Thanks. </div>
<div><br>
<div><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; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px"><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; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px"><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; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px"><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; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px"><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; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px"><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; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px"><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; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px"><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; text-indent:0px; text-transform:none; white-space:normal; 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) <a href="tel:%28925%29%20423-9605" value="+19254239605" target="_blank">
(925) 423-9605</a> </div>
<div>☎ (fax) <a href="tel:%28925%29%20423-6961" value="+19254236961" target="_blank">(925) 423-6961</a></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>
</span></span></span></span></span></span></span><br>
</span></div>
<br>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote>
</div>
<br>
<div><span class="x_Apple-style-span" style="border-collapse:separate; font-size:13px; border-spacing:0px"><span class="x_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"><span class="x_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"><span class="x_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; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_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; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_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; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_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; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_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; 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="x_Apple-interchange-newline">
</span></span></span></span></span></span></span><br class="x_Apple-interchange-newline">
</span></div>
<br>
</div>
</div>
</blockquote>
</span></div>
</div>
</blockquote>
</div>
</div>
</div>
<div style="word-wrap:break-word">
<div>
<div class="x_AppleOriginalContents">
<blockquote type="cite">
<div></div>
</blockquote>
</div>
</div>
</div>
<div style="word-wrap:break-word">
<div>
<div>
<blockquote type="cite">
<div></div>
</blockquote>
</div>
<br>
<div><span class="x_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"><span class="x_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"><span class="x_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"><span class="x_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; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_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; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_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; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_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; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_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; 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="x_Apple-interchange-newline">
</span></span></span></span></span></span></span><br class="x_Apple-interchange-newline">
</span></div>
<br>
</div>
</div>
</body>
</html>