[Paraview] building paraview with vtkManta

David E DeMarle dave.demarle at kitware.com
Thu Jul 17 09:55:30 EDT 2014


Hey Rich,

I just ran across mention of vtkManta support in paraview.
>

Wow, 2010? You've got some catching up to do. :)

It still compiles, runs and passes high level tests tests. The nightly
linux binaries have it if you want to try it out quickly.

To compile it you need to:
* compile manta (specifically r2439)
* configure paraview with PARAVIEW_BUILD_PLUGIN_MantaView ON and
MANTA_BUILD variable pointed to your manta build tree.

Let me know if you need the exact syntax for unattended builds and I'll
send you a shell script.

How solid is this?
>

I am aware of a couple of bugs that have crept in while this has been in
cold storage (i.e. no project since the initial LANL push to pick up
development on it).
* Manta (r2439 specifically) needs patches for OSX 10.8+ and MSVC.
* View level options are not exposed in the GUI (very recent regression)
* off by one bug in point associated color mapping (probably old)

We did get to the "future work" item from that article about integrating
manta at the Renderer level so that OpenGL and Manta can coexist and it can
be used in standalone builds.

TACC is working on something that will address the limitation that
secondary rays don't work in HPC contexts.

Feel free to send me or the list emails for help getting it running.

cheers,

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Wed, Jul 16, 2014 at 8:14 PM, Cook, Rich <cook47 at llnl.gov> wrote:

>  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)
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140717/1e7053f0/attachment-0001.html>


More information about the ParaView mailing list