<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:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Title content=""><meta name=Keywords content=""><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:MingLiU;
panose-1:2 2 5 9 0 0 0 0 0 0;}
@font-face
{font-family:"Arial Unicode MS";
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
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;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>Thanks Andy,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>I’m set on trying to get a build that doesn’t use a graphics card, because the nodes on Nasa’s Plieades cluster don’t have GPUs, so running a code with Catalyst would not work on that machine.<br><br>I’ll give the superbuild a shot with Rick’s configuration script.<br><br>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>Chris N<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-family:Calibri;color:black'>From: </span></b><span style='font-family:Calibri;color:black'>Andy Bauer <andy.bauer@kitware.com><br><b>Date: </b>Wednesday, September 14, 2016 at 2:53 PM<br><b>To: </b>"Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US)" <richard.c.angelini.civ@mail.mil><br><b>Cc: </b>Christopher Neal <chrisneal@snumerics.com>, Benson Muite via ParaView <paraview@paraview.org><br><b>Subject: </b>Re: [Paraview] [Non-DoD Source] Building Paraview with OSMESA<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi Rick,<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>This CMake script is for the superbuild, correct?<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>That's definitely the way to go for OS Mesa as it builds the proper version of OS Mesa for you. The superbuild stuff is at <a href="https://gitlab.kitware.com/paraview/paraview-superbuild">https://gitlab.kitware.com/paraview/paraview-superbuild</a>.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Chris, if you have an NVIDIA card with a fairly new driver what I would recommend is using NVIDIA's EGL drivers. There's more information on that at <a href="https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/">https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/</a>.<o:p></o:p></p></div><p class=MsoNormal>Best,<o:p></o:p></p></div><p class=MsoNormal>andy<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Sep 14, 2016 at 2:28 PM, Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) <<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.mil</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>Chris - Yeah, so I’m also not sure how Catalyst might be firing this up. Here’s an example OS_Mesa/cmake command used on one of our generic RHEL6 systems. With this build, we throw the “—use-offscreen-rendering” flag when we fire up the pvserver. I think that the critical flags are “osmesa=ON, mesa=OFF, qt=OFF” ….. Can you use your current build in a traditional client-server configuration to verify that the OS_Mesa is built correctly? That might make it easier to narrow down to a build issue or a Catalyst issue. Just a thought.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>cmake -DCMAKE_INSTALL_PREFIX:PATH=${HOME}/pv/${paraview_version}${build_extension} \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-Ddownload_location=`pwd`/../Downloads \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DParaView_FROM_GIT=OFF \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DParaView_URL=`pwd`/../Downloads/ParaView-v${paraview_version}-source.tar.gz \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DCMAKE_BUILD_TYPE=Release \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_boost=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DBoost_NO_BOOST_CMAKE:BOOL=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_visitbridge:BOOL=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_cgns=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_ffmpeg=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_hdf5=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_matplotlib=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_osmesa=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_mesa=OFF \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DPARAVIEW_RENDERING_BACKEND:STRING=OpenGL2 \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_mpi=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DUSE_SYSTEM_mpi=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_numpy=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_paraview=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_python=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_qt=OFF \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_silo=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DENABLE_szip=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-Dqt_DISABLE_WEBKIT=ON \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DMPI_CXX_LIBRARIES:STRING="-L${MPI_HOME}/lib -lmpi_cxx -ldl" \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DMPI_C_LIBRARIES:STRING="-L${MPI_HOME}/lib -lmpi -ldl" \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>-DMPI_LIBRARY:FILEPATH="-L${MPI_HOME}/lib -lmpi_cxx -ldl" \<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'>../Source<o:p></o:p></span></p></div></div><div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Arial Unicode MS";color:black'>________________________________</span><span style='font-family:Calibri;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Arial Unicode MS";color:black'>Rick Angelini<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Arial Unicode MS";color:black'>USArmy Research Laboratory<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Arial Unicode MS";color:black'>CISD/HPC Architectures Team<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Arial Unicode MS";color:black'>Phone: <a href="tel:410-278-6266" target="_blank">410-278-6266</a><o:p></o:p></span></p></div></div></div></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'><o:p> </o:p></span></p></div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:Calibri;color:black'>From: </span></b><span style='font-size:11.0pt;font-family:Calibri;color:black'>Christopher Neal <<a href="mailto:chrisneal@snumerics.com" target="_blank">chrisneal@snumerics.com</a>> on behalf of Christopher Neal <<a href="mailto:chrisneal@snumerics.com" target="_blank">chrisneal@snumerics.com</a>><br><b>Date: </b>Wednesday, September 14, 2016 at 1:44 PM<br><b>To: </b>Rick Angelini <<a href="mailto:Richard.C.Angelini.CIV@mail.mil" target="_blank">Richard.C.Angelini.CIV@mail.mil</a>>, Benson Muite via ParaView <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br><b>Subject: </b>Re: [Non-DoD Source] [Paraview] Building Paraview with OSMESA<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:Calibri;color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:Calibri;color:black'>All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. <o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-family:Calibri;color:black'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:Calibri;color:black'><o:p> </o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>Thanks Rick!<br><br>I’m running OpenSuse 13.2 64bit. I’m not explicitly starting a pvserver, because I’m running one of the C++ Catalyst examples, which is located at ParaView/Examples/Catalyst/CxxFullExample. That is mainly what is confusing me. I’m not sure if I built ParaView with osMesa incorrectly, or if that Catalyst example is somehow just telling ParaView ‘Hey, don’t use the offscreen rendering stuff, just go ahead and keep rendering to the screen.”</span><span style='font-size:11.0pt;font-family:MingLiU;color:black'><br><br></span><span style='font-size:11.0pt;color:black'>I’m thinking that I should be able to test the offscreen rendering capability independently of that Catalyst example by generating a Python trace of a pipeline that creates an image output, and the running it with a command like:<br>pvserver –use-offscreen-rendering TestScript.py</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'> </span><span style='color:black'><o:p></o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='color:black'>From: </span></b><span style='color:black'>"Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US)" <<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.mil</a>><br><b>Date: </b>Wednesday, September 14, 2016 at 1:24 PM<br><b>To: </b>Christopher Neal <<a href="mailto:chrisneal@snumerics.com" target="_blank">chrisneal@snumerics.com</a>>, Benson Muite via ParaView <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br><b>Subject: </b>Re: [Non-DoD Source] [Paraview] Building Paraview with OSMESA<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:black'> <o:p></o:p></span></p></div><div><div><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:black'>Stupid question – when you start up the pvserver process, are you passing it the “—use-offscreen-rendering” flag? <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:black'>mpirun –np 8 pvserver —use-offscreen-rendering …….<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:black'>What’s your build platform? I have lots and lots of build scripts I can share! <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:black'> <o:p></o:p></span></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:13.5pt;font-family:"Arial Unicode MS";color:black'>________________________________</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:13.5pt;font-family:"Arial Unicode MS";color:black'>Rick Angelini</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:13.5pt;font-family:"Arial Unicode MS";color:black'>USArmy Research Laboratory</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:13.5pt;font-family:"Arial Unicode MS";color:black'>CISD/HPC Architectures Team</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:13.5pt;font-family:"Arial Unicode MS";color:black'>Phone: <a href="tel:410-278-6266" target="_blank">410-278-6266</a></span><span style='color:black'><o:p></o:p></span></p></div></div></div></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:black'> <o:p></o:p></span></p></div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:11.0pt;color:black'>From: </span></b><span style='font-size:11.0pt;color:black'>ParaView <<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a> < Caution-<a href="mailto:paraview-bounces@paraview.org" target="_blank">mailto:paraview-bounces@paraview.org</a> > > on behalf of Christopher Neal <<a href="mailto:chrisneal@snumerics.com" target="_blank">chrisneal@snumerics.com</a> < Caution-<a href="mailto:chrisneal@snumerics.com" target="_blank">mailto:chrisneal@snumerics.com</a> > ><br><b>Date: </b>Wednesday, September 14, 2016 at 12:44 PM<br><b>To: </b>Benson Muite via ParaView <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a> < Caution-<a href="mailto:paraview@paraview.org" target="_blank">mailto:paraview@paraview.org</a> > ><br><b>Subject: </b>[Non-DoD Source] [Paraview] Building Paraview with OSMESA</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:black'> <o:p></o:p></span></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span style='color:black'>All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. <o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-family:Calibri;color:black'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span style='color:black'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>Hi All,</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'> </span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>I’ve been trying to compile a version of ParaView that uses osMesa. I’ve tried to follow the process that is explained on the wiki (Caution-Caution-<a href="http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D" target="_blank">http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D</a> < Caution-<a href="http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D" target="_blank">http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D</a> > < Caution-Caution-<a href="http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D" target="_blank">http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D</a> < Caution-<a href="http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D" target="_blank">http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D</a> > > ), but I haven’t been able to get ParaView to render offscreen. I don’t have build errors, but when I run something that saves a screenshot I still see a window pop up on my screen. Would anyone be willing to share their configuration script/command that they use for compiling ParaView with osMESA? <br><br>Also – If I have a python script that creates a screenshot of some geometry, do I need to edit it in any way before running it with a version of ParaView that uses osMesa? Or is all of that handled behind the scenes?<br><br><br>Thank you,</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>Chris N</span><span style='color:black'><o:p></o:p></span></p></div></div></div></div></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>