forked from GRAVITYLab/OSUFlow
-
Notifications
You must be signed in to change notification settings - Fork 1
Installwithplugin
chunmingchen edited this page Aug 28, 2013
·
1 revision
This page shows how to build OSUFlowVTK with Paraview plugin.
Required software:
- git
- ccmake
- Qt4 (Qt5 is not supported by Paraview for now)
- Paraview
Optional software:
- MPI to run parallel OSUFlow
Download mpich http://www.mpich.org/downloads/
Please use "--with-pic" when configuring mpich. This is required to build the parallel OSUFlow plugin.
Example of configuration:
./configure --prefix=/usr/local --disable-f77 --disable-fc --with-pichttp://qt-project.org/downloads
Please choose QT version 4.8
git clone git://paraview.org/ParaView.git
git submodule update
To successfully run some examples, please also download VTK example data:
git clone git://vtk.org/VTKData.git
mkdir paraview_build
cd paraview_build
ccmake ../paraview
In the ccmake gui:
* set QMAKE path
* Turn on PARAVIEW_USE_MPI
* Turn on BUILD_SHARED_LIBS
make
make install
See more information in: http://paraview.org/Wiki/ParaView:Build_And_Install
git clone git@git.assembla.com:osuflowvtk.git
cd osuflowvtk/trunk/diy/src/bil-0.6.0/
./configure --with-pic (--disable-pnetcdf)
make
make install (optional)
cd osuflowvtk/trunk/diy
./configure --enable-fpic
make
make install (optional)
git clone git@git.assembla.com:osuflowvtk.git
cd osuflowvtk
mkdir build
cd build
export CC="mpicc -fPIC" # to successfully build plugin
export CXX="mpicxx -fPIC"
ccmake ../trunk
In the ccmake gui:
* Turn on WITH_BIL
* Turn on WITH_MPI
* Turn on WITH_PARAVIEW_PLUGINS
* Set BIL_DIR (e.g.: trunk/diy/src/bil-0.6.0/src)
* Set DIY_DIR
* (check that BUILD_SHARED_LIBS is OFF. Shared libs is not required if we use -fPIC flag)
make
Build:
mkdir build
cd build
cmake ../osuflowvtk
make
--------------------------------------------------------------------
set the environment PV_PLUGIN_PATH to the built plugin folder (osuflowvtk/VTK/plugins) before running Paraview server
-- Chun-Ming (Jimmy) Chen