ParaView SuperBuild

From KitwarePublic
Jump to: navigation, search

Building ParaView on remote machines (e.g. supercomputers) can be difficult due to a variety of reasons. These include lack of needed libraries and difficulty building and installing them, determining appropriate modules to use, cross-compiling, etc. Because of this, Kitware provides a SuperBuild which simplifies the build and install process on a variety of architectures.

Clone the superbuild repo

Site Machine Platform ParaView Version Maintainer Instructions
ANL ALCF eureka Linux 3.14 Andy Bauer

Modules loaded:

  • +git-1.7.6.4
  • +mpich2-1.3.1-gnu
  • +qt-4.6.2
  • @default

Steps:

  1. cd paraview-binaries-superbuild
  2. git checkout -b new_master remotes/origin/new_master
  3. Create a build directory
  4. From the build directory -- ccmake <path to paraview-binraries-superbuild>
  5. Set the following cmake options:
    1. CMAKE_BUILD_TYPE Release
    2. USE_SYSTEM_MPI ON
    3. USE_SYSTEM_PYTHON ON
    4. USE_SYSTEM_QT ON
    5. ENABLE_NEKTAR_PLUGIN ON (advanced option)
Alternatively, use the command line:
  ccmake -DCMAKE_BUILD_TYPE:STRING=Release \
         -DUSE_SYSTEM_MPI:BOOL=ON \
         -DUSE_SYSTEM_PYTHON:BOOL=ON \
         -DUSE_SYSTEM_QT:BOOL=ON \
         -DENABLE_NEKTAR_PLUGIN:BOOL=ON \
         <path to paraview-binraries-superbuild>
  1. build with "make V=1"
  2. cpack -G TGZ