pvbatch (v5.9) fails to load NVIDIA IndeX library
Setting up my PV_PLUGIN_PATH to point to the paraview-5.9/plugins/pvNVIDIAIndeX directory and executing pvbatch with a representation type to use NVIDIA IndeX causes the following error:
INDEX exit error: Double IndeX instances are not allowed.
( 0.151s) [pvbatch ] vtkOutputWindow.cxx:76 ERR| nvindex: PVPLN init error: Failed to initialize the NVIDIA IndeX library interface.
Running with PARAVIEW_LOG_PLUGIN_VERBOSITY=INFO indicates that ParaView is trying to incorrectly load two libraries that are located in the directory pointed to by PV_PLUGIN_PATH, and this seems to trigger a double initialization of IndeX.
Folks at NVIDIA have been informed and have confirmed this error.
A simple work-around is to recompile ParaView with PARAVIEW_PLUGIN_AUTOLOAD_pvNVIDIAIndeX:BOOL=ON
N.B. Running in client-server mode, there is no problem and IndeX is running well.