ParaView SuperBuild: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
Line 27: Line 27:
## USE_SYSTEM_QT ON     
## USE_SYSTEM_QT ON     
## ENABLE_NEKTAR_PLUGIN  ON (advanced option)
## 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>
# build with "make V=1"
# build with "make V=1"
# cpack -G TGZ -C Release --config CPackConfig.cmake
# cpack -G TGZ -C Release --config CPackConfig.cmake
: <font color="blue">I'm pretty sure you don't need the extra arguments. "cpack -G TGZ" is all you need to use. [[User:Utkarsh|Utkarsh]] 16:46, 6 April 2012 (EDT)</font>
|-
|-
|}
|}

Revision as of 20:46, 6 April 2012

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 -C Release --config CPackConfig.cmake
I'm pretty sure you don't need the extra arguments. "cpack -G TGZ" is all you need to use. Utkarsh 16:46, 6 April 2012 (EDT)