Download vtk-5.10.1.tar.gz from http://www.vtk.org
module load cmake/2.8.12.2 # (cmake installation)
module load qt/4.8.6 # (qt installation)
cmake -DVTK_USE_QT:BOOL=ON -DVTK_USE_GUISUPPORT:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX=/opt/vtk/5.10.1 .
make -j4
make install
module file /etc/modulefiles/vtk/5.10.1
#%Module1.0##########################################
##
## Discretizer AB modulefile
##
##
## Add directory to the path
prepend-path PATH /opt/vtk/5.10.1/bin
prepend-path LD_LIBRARY_PATH /opt/vtk/5.10.1/lib/vtk-5.10