ParaView now available as Flatpak and distributed in Flathub

Hi,

I packaged ParaView as Flatpak and added it to Flathub. If anyone is interested, ParaView can be installed in Flathub now.

Something to note. I did not bundled any examples or documentation. I managed to bundle examples before, but suddenly it does not work. I did not enable CUDA. PARAVIEW_USE_CUDA flag is not specified.

https://flathub.org/apps/details/org.paraview.ParaView

1 Like

Thanks for sharing !

Were you able to enable Raytracing and bundle OSPRay ?

I did not, was not aware of it. I will try to bundle OSPRay.

Do I need to enable any cmake flags to build paraview with raytracing?
I bundle ospray now but I’m not sure if it suppose to appear or I need to enable it.

I look through some tutorial, it suppose to appear on the bottom panel, but I don’t see it. Either paraview don’t see ospray that I build or not enable it.

PARAVIEW_ENABLE_RAYTRACING

btw they are many options you may want to turn on if possible:

PARAVIEW_ENABLE_*
PARAVIEW_PLUGIN_ENABLE_*
PARAVIEW_USE_MPI
PARAVIEW_USE_PYTHON
PARAVIEW_USE_QT
PARAVIEW_USE_QTHELP
PARAVIEW_USE_QTWEBENGINE
PARAVIEW_USE_VTKM
VTK_SMP_IMPLEMENTATION_TYPE TBB

Thanks,

Do I need this under ParaView too?

-DVTKm_*

Would be enough

Hi,

Latest ParaView flatpak update have ray-tracing now.

However, I could not build ParaView with MomentInvariants. Since it try to download it during build which flatpak-builder does not allow. I tried manually download MomentInvariants first and put the folder in VTK/Remote/MomentInvariants but still does not work. Also lookingglass seems to do the same.

These are all the flag enable for ParaView in Flatpak.

  - -DCMAKE_BUILD_TYPE:STRING=Release
  - -DBUILD_TESTING:BOOL=OFF
  - -DPARAVIEW_USE_QT:BOOL=ON
  - -DPARAVIEW_USE_QTHELP:BOOL=ON
  - -DPARAVIEW_USE_QTWEBENGINE:BOOL=ON
  - -DPARAVIEW_USE_PYTHON:BOOL=ON
  - -DPARAVIEW_ENABLE_WEB:BOOL=ON
  - -DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION:BOOL=ON
  - -DVTK_PYTHON_OPTIONAL_LINK:BOOL=OFF
  - -DVTK_OPENGL_HAS_OSMESA:BOOL=OFF
  - -DBUILD_EXAMPLES:BOOL=ON
  - -DPARAVIEW_PLUGINS_DEFAULT:BOOL=ON
  - -DVTK_SMP_IMPLEMENTATION_TYPE:STRING=TBB
  - -DVTK_PYTHON_VERSION:STRING=3
  - -DVTK_PYTHON_FULL_THREADSAFE:BOOL=ON
  - -DVTK_NO_PYTHON_THREADS:BOOL=OFF
  - -DQtTesting_INSTALL_NO_DEVELOPMENT:BOOL=ON
  - -DVTK_BUILD_QT_DESIGNER_PLUGIN:BOOL=OFF
  - -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
  - -DPARAVIEW_BUILD_WITH_EXTERNAL:BOOL=OFF
  - -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON
  - -DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=ON
  - -DPARAVIEW_ENABLE_RAYTRACING:BOOL=ON
  - -DPARAVIEW_USE_MPI:BOOL=ON
  - -DHDF5_ENABLE_HDF5:BOOL=ON
  - -DHDF5_ENABLE_OPTIMIZATION:BOOL=ON
  - -DPARAVIEW_ENABLE_XDMF2:BOOL=ON
  - -DPARAVIEW_ENABLE_XDMF3:BOOL=ON
  - -DPARAVIEW_ENABLE_ADIOS2:BOOL=ON
  - -DPARAVIEW_ENABLE_FIDES:BOOL=ON
  - -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON
  - -DPARAVIEW_ENABLE_GDAL:BOOL=ON
  - -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON
  - -DPARAVIEW_ENABLE_PDAL:BOOL=ON
  - -DPARAVIEW_ENABLE_MOTIONFX:BOOL=ON
  - -DPARAVIEW_USE_MEMKIND:BOOL=ON
  - -DPARAVIEW_USE_VTKM:BOOL=ON

The one below are flag that I commented out.
I think CUDA need CUDA hardware to be able to build it.
libLAS is not enable because I can’t compile it.
fatal error: boost/ detail/endian.hpp: No such file or directory
Maybe because libLAS have not update to use with new Boost yet.

Moment inertia variants and looking glass attempt to use network when building.

  #- -DPARAVIEW_USE_CUDA:BOOL=ON
  #- -DPARAVIEW_ENABLE_LAS:BOOL=ON
  #- -DPARAVIEW_ENABLE_MOMENTINVARIANTS:BOOL=ON
  #- -DPARAVIEW_ENABLE_LOOKINGGLASS:BOOL=ON

Awesome, thanks @Andythe_great !

I would like for someone in ParaView dev to be owner/co-owner of this ParaView Flathub repository.

Just being co-owner is enough to increase trust and credibility to the Flatpak build of ParaView.

I’m fine being a coowner.

Thank you.
I don’t think I have the permission to add someone as co-owner.
But Flatpak admins do.
I think you should email them.
flathub@lists.freedesktop.org

I also submit F3D too, so if you would like to be F3D co-owner as well.

Ok, I’ll let you know.