ParaView Visualization CourseCompiling, testing, adding custom functionalityDr. Jean M. FavreChief ScientistVisualization Group LeaderOfficial release Version 3.4.0 binaries can be downloaded from www.paraview.org No MPI is provided, but paraview can be connected to a remote parallel server No pluggins can be added13/5/2009 Compiling the source codeVersion 3.4.0 source code can be downloaded from www.paraview.org/filesParaView must be compiled out-of-source, i.e. inside a directory with a different nameI suggest having two directories called: ParaView3 ParaView3Build13/5/2009 cmake www.cmake.org You must install and use cmake to compile ParaViewCMake was developed to enable: Develop an open source, cross-platform tool to manage the build process, Allow the use of native compilers and systems, Simplify the build process, Optionally provide a user-interface to manage the build system, Create an extensible framework, Grow a self-sustaining community of software users and developers. 13/5/2009 cmake 2.6 C:\CMake 2.6\doc\cmake.html cmake is the obligatory first step to compile anything ctest is for developers (and the more curious folks) C:\CMake 2.6\doc\ctest.html ctest is the test driver program. cmake-generated build trees created for projects that use the ENABLE_TESTING and ADD_TEST commands have testing support. 467 tests are available for version 3.4.013/5/2009 cmake iterative set-up ...
Version 3.4.0 binaries can be downloaded from www.paraview.org
No MPI is provided, but paraview can be connected to a remote parallel server
No pluggins can be added
13/5/2009
Compiling the source code
Version 3.4.0 source code can be downloaded from www.paraview.org/files
ParaView must be compiled out-of-source, i.e. inside a directory with a different name
I suggest having two directories called:
ParaView3
ParaView3Build
13/5/2009
cmake www.cmake.org
You must install and use cmake to compile ParaView
CMake was developed to enable: Developtahneobpueilndsource,cross-platformtooltomanage process, Allow the use of native compilers and systems, Simplify the build process, al vide a user-interface to manage the bOupiltidosnysltyepmr,o Create an extensible framework, aGnrodwdeavseleolfp-seurss.tainingcommunityofsoftwareusers
13/5/2009
cmake 2.6
C:\CMake 2.6\doc\cmake.html cmake is the obligatory first step to compile anything
ctest is for developers (and the more curious folks) C:\CMake 2.6\doc\ctest.html
ctest is the test driver program. cmake-generated build trees created for projects that use the ENABLE_TESTING and ADD_TEST commands have testing support.
A repository of test files used by ctest Available from the paraview website Optional
/local/ParaViewData3.4/Data/can.ex2
_ _ ccmake -DPARAVIEW DATA ROOT= /local/ParaViewData3.4
13/5/2009
.1.2
13/5/2009
Running other tests
ctest searches all Testing sub-directories for name matches, then run the test and [optionally] compare the image with a “valid image previously generated. Command: "C:/ParaView3Build/bin/Debug/GraphicsCxxTests.exe""BoxClipPolyData" "-D" "C:/Program Files/VTKData" "-T" "C:/ParaView3Build/VTK/Testing/Temporary" "-V" "Baseline/Graphics/BoxClipPolyData.png"