<div dir="ltr"><div><div><div><div><div><div>Greetings,<br><br></div>I'm updating my build script for VTK. Ala the discussion in this thread, <a target="_blank" href="http://public.kitware.com/pipermail/vtkusers/2016-December/097359.html">http://public.kitware.com/<wbr>pipermail/vtkusers/2016-<wbr>December/097359.html</a>
I would like to build VTK with MPI enabled. However, the (automated
testing) server I'm building VTK on does not have OpenGL on it (we're
not doing rendering or anything, just I/O of VTK formats for
visualization using ParaView). Previously, before needing MPI, the
following CMake options got the job done for me:<br><br>cmake \<br>-DBUILD_SHARED_LIBS:BOOL=ON \<br>-DCMAKE_INSTALL_PREFIX:PATH=$<wbr>VTK_DIR \<br>-DCMAKE_BUILD_TYPE:STRING=<wbr>Release \<br>-DBUILD_EXAMPLES:BOOL=OFF \<br>-DBUILD_TESTING:BOOL=OFF \<br>-DVTK_BUILD_ALL_MODULES_FOR_<wbr>TESTS:BOOL=OFF \<br>-DVTK_Group_Rendering:BOOL=OFF \<br>-DVTK_Group_StandAlone:BOOL=<wbr>OFF \<br>-DModule_vtkCommonCore:BOOL=ON \<br>-DModule_vtkCommonDataModel:<wbr>BOOL=ON \<br>$BUILDDIR/VTK-$VTK_VERSION<br><br></div>However, if I now ad<code>d <span style="font-family:arial,helvetica,sans-serif">-DVTK_Group_MPI:BOOL=ON, then it seems to re-enable OpenGL in my CMake build script. Anyway to have both?<br><br></span></code></div><code><span style="font-family:arial,helvetica,sans-serif">Thanks for any suggestions.<br><br></span></code></div><code><span style="font-family:arial,helvetica,sans-serif">Best,<br><br></span></code></div><code><span style="font-family:arial,helvetica,sans-serif">Paul<br><br></span></code></div><code><span style="font-family:arial,helvetica,sans-serif">P.S.
I'm a CMake newb, so I'm happy to be pointed to a command to list the
options I can specify to the cmake command to try and figure it out for
myself without having to bug the list, i.e. an analog to Autotools
`configure --help`.</span></code></div>