How to install and run Paraview on Linux
How to build Paraview on Linux
- Download the latest release from the Paraview website. The file is paraview-2.2.1-x86-linux.tar.gz
- Untar the file into some directory:
- Create a build directory:
- Run ccmake to configure the Makefiles:
- Here are the ccmake options that need to be set:
- Make the distribution:
% make
% make install
% tar zxvf paraview-2.2.1-x86-linux.tar.gz
% mkdir build
% cd build
% ccmake ../paraview-2.2.1
| CMAKE_INSTALL_PREFIX | /projects/vis/tools/paraview-2.2.1 |
| CMAKE_VERBOSE_MAKEFILE | ON |
| MPI_INCLUDE_PATH | /usr/local/apps/mpich-1.2.5.2/include |
| MPI_LIBRARY | /usr/local/apps/mpich-1.2.5.2/lib/libpmpich.a |
| OPENGL_INCLUDE_DIR | /projects/vis/tools/mesa-6.4.1/include |
| OPENGL_gl_LIBRARY | /projects/vis/tools/mesa-6.4.1/lib/libmGL.a |
| OPENGL_glu_LIBRARY | /projects/vis/tools/mesa-6.4.1/lib/libmGLU.a |
| OSMESA_INCLUDE_DIR | /projects/vis/tools/mesa-6.4.1/include |
| OSMESA_LIBRARY | /projects/vis/tools/mesa-6.4.1/lib/libmOSMesa.a |
| VTK_MPIRUN_EXE | /usr/local/apps/mpich-1.2.5.2/bin/mpirun |
| VTK_OPENGL_HAS_OSMESA | ON |
| VTK_USE_MPI | ON |
Use the appropriate Mesa and MPI lirraries installed on your system.
How to run Paraview on Linux
Stand-alone Client% ./paraviewClient to Server
% ./pvserver
% ./pvclient --server-host=machine.sdsc.eduClient to parallel Server
% mpirun -v -machinefile machines.txt -np 4 pvserver --use-offscreen-rendering(machines.txt contains a list of server machines)
% ./pvclient --server-host=machine.sdsc.edu
How to run the Paraview server on DataStar
Start pvserver on DataStar:
% ssh dsdirect.sdsc.edu
% cd /usr/local/apps32/paraview-2.2.1/bin
% ./pvserver.sh
Start pvclient on another machine:
% ./pvclient --server-host=dsdirect.sdsc.edu --server-port=12345
How to load raw binary volume data into Paraview
- Select the File -> Open Data menu item.
- Select "Files of type: All Files (*.*)" and the raw volume.
- You will get a message: "Could not find an appropriate reader for file". Click OK.
- Select the "Raw (binary) Files Reader".
- In the "Parameters" tab, specify the following fields:
- Data type: byte, short, int, float, etc.
- Extent: [ 0 ][X-1][ 0 ][Y-1][ 0 ][Z-1]
- Press the [Accept] button.
For example, if the volume resolution is 750 x 375 x 100, then set:
Extent: [ 0 ][749][ 0 ][374][ 0 ][ 99]
Paraview Visualization of SCEC Data
Note: Place your cursor over the images to see full-sized versions.









