ParaView SuperBuild: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
mNo edit summary
 
Line 37: Line 37:
</source>
</source>
# build with "make V=1"
# build with "make V=1"
# cpack -G TGZ -C Release --config CPackConfig.cmake
# cpack -G TGZ
: <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>
|-
|-
|}
|}

Latest revision as of 19:29, 9 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:

<source lang="bash">

 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>

</source>

  1. build with "make V=1"
  2. cpack -G TGZ