Link order of CosmoTools VTKExtensions lib depends

This commit fixes a build issue that was found on blight. The
CosmoTools ParaView module depends on the CosmoTools and GenericIO
libraries. Both are static libraries, however, CosmoTools depends
also GenericIO. Depending on version of GCC and compiler, one must
specify the GenericIO library after the CosmoTools library. Otherwise,
we get unresolved GenericIO symbols called from CosmoTools functions.

Change-Id: I66c93dc292a0926e4adc391dab87eb1cd1e53671
Add support for rank neighbors in GenericIO reader

This commit adds functionality in the GenericIO reader to
only render the data of a  particular rank and its neighbors. This
functionality is only applicable when the underlying data blocks
are spatially decomposed and RCB is used as the block-distribution
strategy.

Change-Id: If0706eaa25be38c4c67b1c5dbda0547cc24f15a3
Initialize MPI regardless of process type.

Added a mechanism to initialize MPI on all processes, even client processes to
simplify development of readers/plugins that use MPI.

The client processes (paraview, pvpython) now take a command line arguments
--mpi, --no-mpi that can be used to request enabling/disabling of calling
MPI_Init() on those processes during startup.

A CMake flag, PARAVIEW_INITIALIZE_MPI_ON_CLIENT can be used to control th
default, used when the new command line arguments are not used.
PARAVIEW_INITIALIZE_MPI_ON_CLIENT is OFF by default. When set to ON, the
ParaView client executables will init MPI when no arguments are specified.
They command line argumnets (--mpi/--no-mpi) can still override the default and
hence provide a mechanism at runtime to change this.

Change-Id: Iff90ed3d65358b6e940f8d8be59f98d0ca861684
Fixed assertions in client-server with MantaView.

vtkMantaRenderer had a typo and was incorrectly reporting the type of the
renderer. This was causing the asserts in vtkSynchronizedRenderers since it
erroneously concluded that vtkMantaRenderer was not a vtkOpenGLRenderer. This
fixes that issue.

Change-Id: Idd10ba2f6151465f9227a5006b82f5279d334f41
Fix python wrapping of CosmoTools VTK extensions

This commit refactors the readers and filters in the
CosmoTools VTK extensions, namely the GenericIO reader
and the Halofinder, such that, MPI is not included in
the headers which was causing compilation failures when
python was enabled.

Change-Id: I9b71dc99a9283255afd3346de655d8373b74feab
Merge topic 'gio-query-rank-neighbors' into fix-cosmotools-python-wrapping

Conflicts:
	ParaViewCore/VTKExtensions/CosmoTools/vtkPGenericIOReader.cxx

Change-Id: I9450c154b9acc2e516152cfc81df55838596007c
BUG #14315: Fix CS wrapping for modules added by plugins.

Modules added by plugins were being CS wrapped but they weren't being
initialized with the Plugin was loaded. This fixes that issue.

This also results in the following:

+ plugins no longer have to manually link to the modules they added, it's done
automatically.
+ plugins no longer have to use CS_KITS in the call to add_paraview_plugin() for
modules they added.

Change-Id: Ia187eb54ac40efe39e94b54fdeffd7a1c8fd0be2
Fix usage of undefined ivar MPIComunicator

This commit fixes an issues that resulted after merging two
conflicting branches on next. Specifically, the MPICommunicator
ivar is no longer a member of the vtkPGenericIOReader class.
Instead, is an ivar of the internall metadata data-structure
that is defined in the implementation.

Change-Id: I5522b79683d99fe8fb0f31f5479727347bc20ac5
SKip non-wrapped modules when adding dependencies to plugins.

There are cases,  e.g. the Nektar plugin, that adds modules for non-vtk-module
libraries. To handle that case, in geenral, if a module is not wrapped, we
expect the user to explicitly add dependency for that module.

Change-Id: Ia9b7c0a8748a22b9fb21b39ad323b38518264148
Merge topic '14315_fix_plugin_cs_wrappings'

fcf8fdd SKip non-wrapped modules when adding dependencies to plugins.
02509cf BUG #14315: Fix CS wrapping for modules added by plugins.
Merge topic 'always-initialize-mpi'

4574019 Initialize MPI regardless of process type.
Merge topic 'fix-cosmotools-python-wrapping'

a2b383e Fix usage of undefined ivar MPIComunicator
fe8f0f5 Merge topic 'gio-query-rank-neighbors' into fix-cosmotools-python-wrapping
24785de Fix python wrapping of CosmoTools VTK extensions
8979c04 Add support for rank neighbors in GenericIO reader
4ed6e24 Link order of CosmoTools VTKExtensions lib depends
Merge topic 'fix_manta_view_client_server'

7012d2c Fixed assertions in client-server with MantaView.