VTK
VTK
The Visualization Toolkit (VTK)[1] is an open-source, freely available software system for 3D computer graphics, image processing, and visualization.
VTK in HPC
Example: NOVCA-Visualization [2] - NOVCA-Example
The execuatable "CreateGraph", which by complining using cmake, is executed to get the unstructured VTK file "testVertex.vtu" which is fed to ParaView to get the graph similar to "graphCXX.png".
CWRU HPC Specific Guide
VTK/Cxx
Request a compute node:
srun --x11 --pty bash
Load the required modules including the VTK:
module load cmake
module load vtk
Clone the Repository:
git clone https://github.com/sxg125/NOVCA-Visualization
Go to NOVCA-Visualization directory:
cd NOVCA-Visualization
Checkout the VTKCxx branch:
git checkout VTKCxx
Compile the Code:
mkdir buid
cd build
cmake ..
make
Run the Executable:
./CreateGraph
You will get the "testVertex.vtu" file which needs to be fed to the ParaView. Open the file in ParaView, apply glyph and get the one similar to graph "graphCXX.png" at [2].
VTK/Python
Request a compute node:
srun --x11 --pty bash
Load the required modules including the VTK:
module load python
module load vtk
Clone the Repository:
git clone https://github.com/sxg125/NOVCA-Visualization
Go to NOVCA-Visualization directory:
cd NOVCA-Visualization
Run the script:
./paraviewGraph.py
You will get the "testVertex.vtu" file which needs to be fed to the ParaView. Open the file in ParaView, apply glyph and get the one similar to graph "graphCXX.png" at [2].
Refer to HPC Guide to Visualization, HPC Guide to Molecular Visualization & HPC Software Guide for more information.
References:
[1] VTK Home
[2] NOVCA-Example