<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 9, 2016 at 12:06 PM, Bill Lorensen <span dir="ltr"><<a target="_blank" href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">-- * vtkFiltersParallelDIY2, needed by VTK_Group_MPI.<br>
-- * vtkFiltersParallelGeometry, needed by VTK_Group_MPI.<br>
-- * vtkFiltersParallelMPI, needed by VTK_Group_MPI.<br>
-- * vtkIOMPIImage, needed by VTK_Group_MPI.<br>
-- * vtkIOMPIParallel, needed by VTK_Group_MPI.<br>
-- * vtkIOParallelNetCDF, needed by VTK_Group_MPI.<br>
<br>
<br>
vtkRenderingCore is needed by vtkFiltersParallel<br>
vtkFiltersParallel is needed by vtkFiltersParallelMPI<br></blockquote><div><br></div><div>Thank you for pointing out this dependency. Since I only need, presumably, the I/O portions of MPI and not the imaging, it is possible to enable only those parts? Or is vtkFiltersParallelMPI not negotiable for any MPI capabilities in VTK? I've just now tried <br></div><div><br> cmake \<br>-DBUILD_SHARED_LIBS:BOOL=ON \<br>-DCMAKE_INSTALL_PREFIX:PATH=$VTK_DIR \<br>-DCMAKE_BUILD_TYPE:STRING=Release \<br>-DBUILD_EXAMPLES:BOOL=OFF \<br>-DBUILD_TESTING:BOOL=OFF \<br>-DVTK_BUILD_ALL_MODULES_FOR_TESTS:BOOL=OFF \<br>-DVTK_Group_Rendering:BOOL=OFF \<br>-DVTK_Group_StandAlone:BOOL=OFF \<br>-DModule_vtkCommonCore:BOOL=ON \<br>-DModule_vtkCommonDataModel:BOOL=ON \<br>-DModule_vtkIOMPIParallel:BOOL=ON \<br>$BUILDDIR/VTK-$VTK_VERSION<br><br></div><div>which gave me (extracting only the last few lines)<br><br></div><div><begin><br></div><div>-- Found MPI_C: /femputer/pbauman/swstack/libs/mpich/3.1.4/gcc/6.2.0/lib/libmpi.so <br>-- Found MPI_CXX: /femputer/pbauman/swstack/libs/mpich/3.1.4/gcc/6.2.0/lib/libmpicxx.so;/femputer/pbauman/swstack/libs/mpich/3.1.4/gcc/6.2.0/lib/libmpi.so <br>CMake Error at IO/MPIParallel/CMakeLists.txt:15 (vtk_add_override):<br> Unknown CMake command "vtk_add_override".<br><br><br>-- Configuring incomplete, errors occurred!<br>See also "/femputer/pbauman/swstack/builddir/vtk-VQfIYE/build/CMakeFiles/CMakeOutput.log".<br>See also "/femputer/pbauman/swstack/builddir/vtk-VQfIYE/build/CMakeFiles/CMakeError.log".<br></div><div></end><br><br></div><div>Thanks again.<br></div><div><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div><div class="gmail-m_4543795495938500016h5">
<br>
On Fri, Dec 9, 2016 at 10:36 AM, Paul T. Bauman <<a target="_blank" href="mailto:ptbauman@gmail.com">ptbauman@gmail.com</a>> wrote:<br>
> Greetings,<br>
><br>
> I'm updating my build script for VTK. Ala the discussion in this thread,<br>
> <a target="_blank" rel="noreferrer" href="http://public.kitware.com/pipermail/vtkusers/2016-December/097359.html">http://public.kitware.com/pipe<wbr>rmail/vtkusers/2016-December/<wbr>097359.html</a> I<br>
> would like to build VTK with MPI enabled. However, the (automated testing)<br>
> server I'm building VTK on does not have OpenGL on it (we're not doing<br>
> rendering or anything, just I/O of VTK formats for visualization using<br>
> ParaView). Previously, before needing MPI, the following CMake options got<br>
> the job done for me:<br>
><br>
> cmake \<br>
> -DBUILD_SHARED_LIBS:BOOL=ON \<br>
> -DCMAKE_INSTALL_PREFIX:PATH=$V<wbr>TK_DIR \<br>
> -DCMAKE_BUILD_TYPE:STRING=Rele<wbr>ase \<br>
> -DBUILD_EXAMPLES:BOOL=OFF \<br>
> -DBUILD_TESTING:BOOL=OFF \<br>
> -DVTK_BUILD_ALL_MODULES_FOR_TE<wbr>STS:BOOL=OFF \<br>
> -DVTK_Group_Rendering:BOOL=OFF \<br>
> -DVTK_Group_StandAlone:BOOL=OF<wbr>F \<br>
> -DModule_vtkCommonCore:BOOL=ON \<br>
> -DModule_vtkCommonDataModel:BO<wbr>OL=ON \<br>
> $BUILDDIR/VTK-$VTK_VERSION<br>
><br>
> However, if I now add -DVTK_Group_MPI:BOOL=ON, then it seems to re-enable<br>
> OpenGL in my CMake build script. Anyway to have both?<br>
><br>
> Thanks for any suggestions.<br>
><br>
> Best,<br>
><br>
> Paul<br>
><br>
> P.S. I'm a CMake newb, so I'm happy to be pointed to a command to list the<br>
> options I can specify to the cmake command to try and figure it out for<br>
> myself without having to bug the list, i.e. an analog to Autotools<br>
> `configure --help`.<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Powered by <a target="_blank" rel="noreferrer" href="http://www.kitware.com">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a target="_blank" rel="noreferrer" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a target="_blank" rel="noreferrer" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
><br>
> Search the list archives at: <a target="_blank" rel="noreferrer" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a target="_blank" rel="noreferrer" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
><br>
<span class="gmail-m_4543795495938500016HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br></div></div>