Salome HOME
d5637fda2501d3afdd949922b406837b8cb9df4a
[modules/paravis.git] / INSTALL
1 Building and installing PARAVIS module
2 ===============================================
3
4 PARAVIS is a light SALOME module that wraps ParaView GUI and makes it available in
5 SALOME GUI.
6
7 As any other SALOME module, PARAVIS requires PARAVIS_ROOT_DIR environment variable to be set to PARAVIS
8 installation directory.
9
10 Specific prerequisites:
11 - cmake 2.4.5 or higher should be installed, path to cmake executable
12 should be added to PATH environment variable.
13 - ParaView-3.4.0, both the build directory and the source files
14
15 Environment variables needed for correct detection of ParaView location:
16 - PVSRCHOME - points at the root of ParaView source directory tree
17 - PVINSTALLHOME - points at the top of ParaView build tree (currently, due to some drawbacks in its buld procedure
18 ParaView should not be installed, its build directory is used instead).
19
20 It also requires common SALOME environment including GUI_ROOT_DIR and
21 other standard SALOME prerequsites.
22
23 As soon as the environment is set, execute the following commands in a shell:
24
25 mkdir PARAVIS_BUILD
26 cd PARAVIS_BUILD
27 ../PARAVIS_SRC/build_configure
28 ../PARAVIS_SRC/configure --prefix=${PARAVIS_ROOT_DIR}
29 make 
30 make docs
31 make install
32
33 PARAVIS module can be launched using the following commands:
34
35 - Light SALOME configuration
36
37 runLightSalome.sh --modules="PARAVIS"
38
39 or
40
41 - Full SALOME configuration
42
43 runSalome --modules="PARAVIS"
44