Running ParaView as a distributed memory parallel application requires that ParaView be built from source. This document contains notes on the build and install process used to build version 3.14.1 on Geyser.

ParaView documentation:

CMake

ParaView unfortunately is built with cmake. For this build, version 2.8.8 or higher is required.

CMake Configuration

The following paraview  configuration options need to be changed from the default in the cmake session:

CMake Caveats

Failure to heed any of the following will result in frustration and misery:

Library dependencies

The following libraries had to be separately built and installed prior to building paraview

Getting Started - the procedure

+ I didn't even try to build paraview with the intel compiler. So switch modules from intel to gnu. Also the the 'ncarenv' module caused problems (I don't remember what, but I had to disable it):

+ Untar the paraview tar ball into a temporary location. Note: cmake does not get run from within the paraview source directory. You have to create a separate build directory:

+ Make sure the path to cmake2.8.8 and Qt4.6.1 are at the head of your execution search path. If at some point paraview build fails, or you come back on another day and try to remake paraview, you'll need to be sure you still have cmake and qt4.6.1 at the head of your path.

+ Change directories to the build dir and bootstrap cmake using the path to the source directory:

Note: after you've run cmake for the first time for subsequent invocations to not point it to the paraview source directory. Cd to the build directory and use it's path:

+ From the ccmake menu set the configuration options as described above. Note, some options are under the "advanced" menu which may be toggled with the "t" key.

+ After setting cmake options, hit the "c" key to configure. Deal with any warnings and keep reconfiguring with "c" until cmake is happy. Once cmake stops complaining, hit the "g" key to generate the configuration file.

+ Execute 'make' and cross your fingers!

Testing

Once (if) paraview successfully builds both the parallel server and the standalone client should be tested. Paraview doesn't build with rpath, so any 3rd party library dependencies (e.g. qt and mpich) will need to be added to LD_LIBRARY_PATH

paraview client

The standalone client will need to be run with virtualGL. Change directories to the build's bin directory, and invoke the paraview client:

The GUI should appear. Ideally, a test data set should be loaded and rendered.

paraview parallel server

The paraview server (pvserver) can be tested by running it in parallel on geyser or caldera and attaching to the server via the paraview client running on your office system (or elsewhere). IF built with mpich, the server should be started with mpiexec:

Once pvserver is running, attach to it from a remote client