[Paraview] building paraview with vtkManta

Cook, Rich cook47 at llnl.gov
Wed Jul 16 20:14:21 EDT 2014


I just ran across mention of vtkManta support in paraview.
http://www.kitware.com/media/html/RenderedRealismAtNearlyRealTimeRates.html

Yay!  Yay?

How solid is this?  The documentation how to enable is pretty vague.
"To use vtkManta in ParaView, simply build Manta as described above, and then turn on both shared libraries and the Manta plug-in when you build ParaView. You will then have to specify the location of the Manta source and build trees as described above.”

Changing my paraview build is always a daunting experience but the idea of getting this working is very attractive.  What are the magic flags to cmake?   My builds are automated and interacting with ccmake is problematic on a build farm.

Here’s what I currently do.  Can you see why I’m confused?   :-)
Is there just a -DVTK_MANTA flag?  Do I still turn OSMESA on?

Thanks for any help.

    $CMAKE_PATH/bin/cmake \
        $CMAKE_SPECIAL_ARGS \
        -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
-DPARAVIEW_BUILD_QT_GUI:BOOL=OFF \
-DVTK_OPENGL_HAS_OSMESA:BOOL=ON \
 -DOSMESA_LIBRARY:FILEPATH='/usr/lib64/libOSMesa.so' \
 -DVTK_USE_OFFSCREEN:BOOL=ON -DOPENGL_gl_LIBRARY:FILEPATH= -DVTK_USE_X:BOOL=OFF" \
        -DQT_QMAKE_EXECUTABLE:FILEPATH=$QT_PATH/bin/qmake.real \
        -DOPENGL_glu_LIBRARY:FILEPATH="/usr/lib64/libGLU.so" \
        -DCMAKE_INSTALL_PREFIX:PATH="$INSTALL_DIR" \
        -DPARAVIEW_USE_BOOST:BOOL=ON \
        -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \
        -DVISIT_BUILD_READER_CGNS:BOOL=ON \
        -DVISIT_BUILD_READER_Mili:BOOL=ON \
        -DVISIT_BUILD_READER_Silo:BOOL=ON \
        -DCGNS_INCLUDE_DIR:PATH="${CGNS_PATH}/include" \
        -DCGNS_LIBRARY:FILEPATH="${CGNS_PATH}/lib/libcgns.so;$SZIP_PATH/lib/libsz.so;/usr/lib64/libz.so" \
        -DMILI_INCLUDE_DIR:PATH="$MILI_PATH/include" \
        -DMILI_LIBRARY:FILEPATH="$MILI_PATH/lib/libmili.a;$SZIP_PATH/lib/libsz.so;/usr/lib64/libz.so" \
        -DSILO_INCLUDE_DIR:PATH="$SILO_PATH/include;$MILI_PATH/include" \
        -DSILO_LIBRARY:FILEPATH="$SILO_PATH/lib/libsiloh5.a;$SZIP_PATH/lib/libsz.so;/usr/lib64/libz.so" \
        -DBoost_INCLUDE_DIR:PATH="${BOOST_PATH}/include" \
        -DBoost_LIBRARY_DIRS:FILEPATH="${BOOST_PATH}/lib" \
        -DCMAKE_EXE_LINKER_FLAGS:STRING="$LINKER_FLAGS" \
        -DCMAKE_EXE_LINKER_FLAGS_DEBUG:STRING="$LINKER_FLAGS" \
        -DCMAKE_CXX_FLAGS:STRING=" -I$MILI_PATH/include -I$HDF5_PATH/include  -I${MPI_PATH}/include " \
        -DCMAKE_C_FLAGS:STRING="  -I$MILI_PATH/include -I$HDF5_PATH/include  -I${MPI_PATH}/include " \
        -DVTK_USE_SYSTEM_HDF5:BOOL=ON \
        -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=ON \
        -DHDF5_DIR:PATH="$HDF5_PATH" \
        -DHDF5_C_INCLUDE_DIR:PATH="$HDF5_PATH/include" \
        -DHDF5_INCLUDE_DIR:PATH="$HDF5_PATH/include" \
        -DHDF5_HL_INCLUDE_DIR:PATH="$HDF5_PATH/include" \
        -DHDF5_hdf5_LIBRARY:FILEPATH="$HDF5_PATH/lib/libhdf5.so;$SZIP_PATH/lib/libsz.so;/usr/lib64/libz.so" \
        -DHDF5_hdf5_LIBRARY_DEBUG:FILEPATH="$HDF5_PATH/lib/libhdf5.so;$SZIP_PATH/lib/libsz.so;/usr/lib64/libz.so" \
        -DHDF5_hdf5_LIBRARY_RELEASE:FILEPATH="$HDF5_PATH/lib/libhdf5.so;$SZIP_PATH/lib/libsz.so;/usr/lib64/libz.so" \
        -DHDF5_hdf5_hl_LIBRARY:FILEPATH="$HDF5_PATH/lib/libhdf5_hl.so;$SZIP_PATH/lib/libsz.so;/usr/lib64/libz.so" \
        -DHDF5_hdf5_hl_LIBRARY_DEBUG:FILEPATH="$HDF5_PATH/lib/libhdf5_hl.so;$SZIP_PATH/lib/libsz.so;/usr/lib64/libz.so" \
        -DHDF5_hdf5_hl_LIBRARY_RELEASE:FILEPATH="$HDF5_PATH/lib/libhdf5_hl.so;$SZIP_PATH/lib/libsz.so;/usr/lib64/libz.so" \
        -DBUILD_SHARED_LIBS:BOOL=ON \
        -DBUILD_TESTING:BOOL=OFF \
        $PARAVIEW_SOURCE || errexit "cmake exited with an error status. Please try again."


--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140717/ed0728d2/attachment.html>


More information about the ParaView mailing list