<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* 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:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{mso-style-name:msochpdefault;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
span.emailstyle17
{mso-style-name:emailstyle17;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.spelle
{mso-style-name:spelle;}
span.EmailStyle22
{mso-style-type:personal-compose;
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:380520116;
mso-list-type:hybrid;
mso-list-template-ids:1421608788 68354049 68354051 68354053 68354049 68354051 68354053 68354049 68354051 68354053;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1
{mso-list-id:564755689;
mso-list-type:hybrid;
mso-list-template-ids:2010557472 68354049 68354051 68354053 68354049 68354051 68354053 68354049 68354051 68354053;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:37.5pt;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:73.5pt;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:109.5pt;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:145.5pt;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:181.5pt;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:217.5pt;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:253.5pt;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:289.5pt;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:325.5pt;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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 bgcolor="white" lang="NL" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:black">Hello ParaView community,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="color:black">Introduction <o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">I have a workstation here at work where I want to utilize the additional functionality (MPI and python) of
<span class="spelle">ParaView</span> 4.3.1, therefore I want to install it from source. Although I think I compiled
<span class="spelle">ParaView</span> successfully, as root, another program that I use for CAD geometry (Salome) no longer opens correctly. This is directly due to the
<span class="spelle">ParaView</span> installation. Executing either of these two programs as root does not reproduce the errors discussed below.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="color:black">Some background<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">I run OpenFOAM 2.4.x, which comes with ParaView 4.1.0 as a ‘Third party package’. This is my attempt at installing another version of ParaView on the same system. I assumed I didn’t need to remove
the previous version, but this could be a mistake. Here is my system:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"> <o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:37.5pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:Symbol;color:black"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span class="spelle"><span lang="EN-US" style="color:black">OpenSUSE</span></span><span lang="EN-US" style="color:black"> 13.2, KDE 4.14.9<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:37.5pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:Symbol;color:black"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span class="spelle"><span lang="EN-US" style="color:black">Cmake</span></span><span lang="EN-US" style="color:black"> 3.0.2<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:37.5pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:Symbol;color:black"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span class="spelle"><span lang="EN-US" style="color:black">Vtk</span></span><span lang="EN-US" style="color:black"> 6.1.0</span><span lang="EN-US" style="font-family:Symbol;color:black"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:37.5pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:Symbol;color:black"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span class="spelle"><span lang="EN-US" style="color:black">Qmake</span></span><span lang="EN-US" style="color:black"> 2.01a<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span lang="EN-US" style="font-family:Symbol;color:black"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span class="spelle"><span lang="EN-US" style="color:black">Qt</span></span><span lang="EN-US" style="color:black"> 4.8.6<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span lang="EN-US" style="font-family:Symbol;color:black"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US" style="color:black">OpenMPI 1.7.2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="color:black">My steps<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">I cloned the <span class="spelle">
git</span> repository and configured the build using <span class="spelle">Cmake</span> (in a separate build directory) as mentioned on the build-from-source wiki, everything building the objects went fine until I tried to compile them. Since I want to place
all compiled binaries and libraries into /<span class="spelle">usr</span>/local/, I need to compile using
<span class="spelle">sudo</span>. My first question is: is this correct? This could be my problem.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">My second problem was that after compiling paraview, executing paraview resulted in a segmentation fault. Some digging on archives of this mailing list and other forums hinted at adding the following
library (/usr/lib64/libdl.so) to the MPI_C_LIBRARIES and MPI_CXX_LIBRARIES paths in ccmake. This solved the SegFault problem, and now I’m able to run paraview, but I’m getting the following errors:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US" style="color:black">libGL error: No matching fbConfigs or visuals found<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US" style="color:black">libGL error: failed to load driver: swrast<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="color:black">Concluding remarks</span></b><span lang="EN-US" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">Running Salome also shows the same errors, and doesn’t open correctly (No GUI shown) when executed as a user. Running either program as root does not cause these problems/errors, but the errors that
occur when opening Salome are more detrimental. I’m not a Linux veteran by any stretch, so I’m not sure how to diagnose what the issue is. Can someone give me an idea of how to solve this problem?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">I reproduced my ccmake build configuration settings below.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="color:black">Ccmake build options</span></b><span lang="EN-US" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">BUILD_DOCUMENTATION OFF<br>
BUILD_EXAMPLES OFF<br>
BUILD_SHARED_LIBS OFF<br>
BUILD_TESTING ON <br>
BUILD_USER_DEFINED_LIBS OFF<br>
CMAKE_BUILD_TYPE Debug<br>
CMAKE_INSTALL_PREFIX /usr/local<br>
CTEST_TEST_TIMEOUT 3600<br>
GMVReader_GMVREAD_LIB_DIR /opt/ParaView/ParaView-v4.3.1-source/Utilities/VisItBridge/databases/GMV<br>
GMVReader_SKIP_DATARANGE_CALCU OFF<br>
MPI_C_INCLUDE_PATH /usr/lib64/mpi/gcc/openmpi/include/openmpi/opal/mca/hwloc/hwloc152/hwloc/include;/usr/lib64/mpi/gcc/openmpi/include/openmpi<br>
MPI_C_LIBRARIES /usr/lib64/mpi/gcc/openmpi/lib64/libmpi.so;/usr/lib64/libdl.so<br>
PARAVIEW_BUILD_QT_GUI ON<br>
PARAVIEW_ENABLE_CATALYST ON<br>
PARAVIEW_ENABLE_FFMPEG OFF<br>
PARAVIEW_ENABLE_PYTHON ON<br>
PARAVIEW_INSTALL_DEVELOPMENT_F OFF<br>
PARAVIEW_USE_DAX OFF<br>
PARAVIEW_USE_MPI ON<br>
PARAVIEW_USE_PISTON OFF<br>
PARAVIEW_USE_UNIFIED_BINDINGS OFF<br>
PARAVIEW_USE_VISITBRIDGE OFF<br>
RMANTREE RMANTREE-NOTFOUND<br>
SURFACELIC_PLUGIN_TESTING ON<br>
VISIT_BUILD_READER_CGNS OFF<br>
VISIT_BUILD_READER_GMV OFF<br>
VISIT_BUILD_READER_Mili OFF<br>
VISIT_BUILD_READER_Silo OFF<br>
VTK_ANDROID_BUILD OFF<br>
VTK_IOS_BUILD OFF<br>
VTK_PYTHON_VERSION 2<br>
VTK_QT_VERSION 4<br>
VTK_RENDERING_BACKEND OpenGL<br>
VTK_SMP_IMPLEMENTATION_TYPE OpenMP<br>
VTK_USE_LARGE_DATA OFF<br>
VTK_USE_SYSTEM_GLEW OFF<br>
XDMF_USE_BZIP2 OFF<br>
XDMF_USE_GZIP OFF<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">Vriendelijke groeten,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="color:black"> </span></b><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="color:black">Chris Coutinho,</span></b><span style="color:black"> EIT<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">Onderzoeker
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:red">RED</span><span style="color:black">stack, B.V.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">Pieter Zeemanstraat 6<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:black">8606 JR Sneek, The Netherlands<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:black">work: +31 6 2222 5785<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">mobile: +31 6 1689 0287<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">www.redstack.nl<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
</body>
</html>