ParaView SuperBuild: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
Andy.bauer (talk | contribs) (Created page with "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 instal...") |
Andy.bauer (talk | contribs) mNo edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
appropriate modules to use, cross-compiling, etc. Because of this, Kitware provides a SuperBuild | 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. | which simplifies the build and install process on a variety of architectures. | ||
Clone the [https://gitorious.org/paraview-collaboration/paraview-binaries-superbuild superbuild repo] | |||
{| border="1" | |||
|- bgcolor="#abcdef" | |||
! Site !! Machine !! Platform !! ParaView Version !! Maintainer !! Instructions | |||
|- | |||
| ANL ALCF || [http://www.alcf.anl.gov/resource-guides/eureka-and-gadzooks-guide eureka] || Linux || 3.14 || Andy Bauer || | |||
Modules loaded: | |||
* +git-1.7.6.4 | |||
* +mpich2-1.3.1-gnu | |||
* +qt-4.6.2 | |||
* @default | |||
Steps: | |||
# cd paraview-binaries-superbuild | |||
# git checkout -b new_master remotes/origin/new_master | |||
# Create a build directory | |||
# From the build directory -- ccmake <path to paraview-binraries-superbuild> | |||
# Set the following cmake options: | |||
## CMAKE_BUILD_TYPE Release | |||
## USE_SYSTEM_MPI ON | |||
## USE_SYSTEM_PYTHON ON | |||
## USE_SYSTEM_QT ON | |||
## 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> | |||
# build with "make V=1" | |||
# cpack -G TGZ | |||
|- | |||
|} |
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:
Steps:
<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>
|