Building ParaView 5.8.1 and Shoreline Plug-ins on viz003
You've probably noticed by now that the version of ParaView most used by the group is v5.4.1, which you obtain by "soft adding" into your viz003 environment. While being able to do most of all the post-processing tasks required, this version of ParaView is getting to be relatively old. A previous PhD student, Dr. Corey Wetterer-Nelson, created a novel ParaView plug-in package named Shoreline, which permits insitu modification of a finite element mesh in ParaView, while a PHASTA simulation is on-going. The only caveat is that these plug-ins require Paraview 5.8.1 or newer in order to be built and function properly. The vast majority of the instructions to build Paraview provided on Kitware's "building paraview" wiki page do not apply to our viz003 system due to required user permissions, compiler versions, storage location of several dependencies, etc... thus the need for this wiki page.
This page will walk you through the steps required to successfully build Paraview 5.8.1 and the Shoreline plug-ins, as well as all their dependencies on viz003:
- Obtaining Paraview and Shoreline
- Building Paraview
- Building libIGL
- Building Eigen
- Building Shoreline Plug-ins
- Using Shoreline Plug-ins
Obtaining Paraview and Shoreline
First, let's obtain a fresh copy of Paraview's git repository:
git clone https://github.com/Kitware/ParaView.git
Place this repository in a location that makes sense to you. For example, I cloned it in this source directory where I create all of my software builds ~/Builds/src/
Next, while in the top level of your newly cloned Paraview directory, checkout the version 5.8.1 branch:
git checkout v5.8.1
Once v5.8.1 is checked out, we need to update all of it's submodules (while still in the top level directory):
git submodule update --init --recursive