Getting pvOSPRay

There are several ways to use pvOSPRay. You can:

Using pvOSPRay at TACC

Modules are provided for running on TACC's Stampede and Maverick clusters. A system wide release is planned, but for now module files must of custom loaded with the below instructions. Note that the $WORK filesystem is shared between Stampede and Maverick (along with other TACC machines) so these steps will work for both machines.

  • module use /work/01336/carson/opt/modulefiles
  • module load pvospray
  • vglrun paraview
  • the plugin should automatically be loaded. Click the "x" on the top right of the window to close the rendering, and select "OSPRay" to create a pvOSPRay rendering view.

You can also use the OpenSWR library for efficient CPU-based rasterization of the non-ray-traced components. To do this, load the OpenSWR module and substitute it for the VirtualGL vglrun command.

Precompiled Binary Download Packages

Precompiled binaries for ParaView with built-in pvOSPRay support are available from our box.com folder. Releases are currently available for the following platforms:

If you do not see your system listed, please see Building pvOSPRay from Source below.

NOTE: the precompiled binary only supports serial execution. If you would like to use pvOSPRay in a parallel runtime via MPI, please compile from source using the instructions below.

Building pvOSPRay from Source

The latest pvOSPRay sources are always available at the
pvOSPRay GitHub repository. The default "master" branch should always point to the latest tested bugfix release.

Building with MPI

pvOSPRay supports parallel execution via MPI through the ParaView parallelization framework. To build the MPI-enabled version, enable both the pvOSPRay plugin build described below and the MPI build within ParaView. pvOSPRay has been tested with the following MPI stacks:

pvOSPRay is likely to work under other stacks as well. If you have success using another stack, please let us know.

Prerequisites

pvOSPRay currently supports both Linux and Mac OSX (a Windows version will soon follow). In addition, before you can build pvOSPRay you need the following prerequisites:

Building pvOSPRay

Note: the instructions below build pvOSPRay as part of a ParaView source build. Instructions to build pvOSPRay separately from ParaView will be posted soon.

Note: vtkOSPRay is currently contained within pvOSPRay and will be built along with pvOSPRay as part of the ParaView build.

  1. Download ParaView 5.0 source from www.paraview.org Untar the source tree into a local directory. We recommend putting the source tree in the same directory as OSPRay (i.e., ~/Projects/OSPRay and ~/Projects/ParaView).
  2. Change to the ParaView Plugins directory:
    user@mymachine[~/Projects]: cd ParaView/Plugins
    Clone the pvOSPRay source into the plugins directory:
    user@mymachine[~/Projects/ParaView/Plugins]:
    git clone https://github.com/TACC/pvOSPRay.git
  3. Change to the ParaView root directory, create a build directory for the ParaView build, change to the build directory, then run CMake:
    user@mymachine[~/Projects/ParaView/Plugins]: cd ..
    user@mymachine[~/Projects/ParaView]: mkdir build
    user@mymachine[~/Projects/ParaView]: cd build
    user@mymachine[~/Projects/ParaView/build]: ccmake ..
  4. Inside CMake, 't'oggle advanced mode, then use '/' to search for the pvOSPRay plugin option PARAVIEW_BUILD_PLUGIN_pvOSPRay. Set this option to "ON", then 'c'onfigure. CMake should find OSPRay and copy the necessary configuration information from the OSPRay build. If OSPRay was not found, enter the OSPRay directory in OSPRAY_DIR and 'c'onfigure again. Once OSPRay is found and configuraiton is complete, 'g'enerate and exit. Once CMake exits, run 'make' from the command line:
    user@mymachine[~/Projects/ParaView/build]: make
  5. This will build the pvOSPRay plugin as part of the ParaView build. You can test your version of pvOSPRay using any of the examples on the pvOSPRay Demos and Examples page. If this is your first time running pvOSPRay, we recommend the Basic Walk-Through demo.

Building pvOSPRay for Older ParaView Versions

If you would like to build pvOSPRay for an older version of ParaView, please check for a branch for the particular version. If the version you wish to build does not exist, please let us know.