[Paraview] Linking Catalyst example samples with Catalyst

Praveen Narayanan praveenn at nvidia.com
Fri Jun 6 11:43:28 EDT 2014


Thanks Andy. It is a bit of a pain to see the examples fail to run after the long paraview build process.
Can’t you bundle the examples along with the paraview sources?

I will keep posted.
Thanks
Praveen.

From: Andy Bauer [mailto:andy.bauer at kitware.com]
Sent: Friday, June 06, 2014 7:10 AM
To: Praveen Narayanan
Cc: paraview at paraview.org
Subject: Re: [Paraview] Linking Catalyst example samples with Catalyst

Hi Praveen,
My suggestion would be to start with a build of ParaView 4.1. Build it with MPI, Python and Catalyst enabled (Catalyst should be enabled by default but MPI and Python need to be explicitly turned on). The Catalyst editions are meant to be subsets of ParaView that get rid of specific functionality that may not be needed for certain simulation runs. This helps for decreasing executable size but can make it slightly more confusing. See http://www.kitware.com/blog/home/post/606 for an explanation on that. At one time I tested the Catalyst examples with several of the editions but haven't tried it recently so it's possible that something broke.
As for the Connect to Catalyst option in the ParaView GUI, I've never tested that with any of the Catalyst editions so it's possible that they don't work with the "live in situ" connection. Again, using a full ParaView 4.1 build should work here though. We're in the process of improving the line in situ connection right now for a project that ends in August. This should vastly improve the usability of this.
I'm not sure I answered all of your questions but my goal was more to get you past some issues and then we can help you focus on the other parts that come up as well as making everything work more efficiently together.

Regards,
Andy

On Fri, Jun 6, 2014 at 5:18 AM, Praveen Narayanan <praveenn at nvidia.com<mailto:praveenn at nvidia.com>> wrote:
Greetings
I am examining the example code for catalyst from Andy Bauer’s git repository  (https://github.com/acbauer/CatalystExampleCode).
I am trying to learn about the catalyst workflow before using it in my own in situ examples.

To this end, I built catalyst from the nightly samples in the paraview download page (http://www.paraview.org/download/). However, I was unable to run the examples satisfactorily.


1)      The method of extending the paraview source tree failed from the sources given in the above page (paraview 4.1)

python catalyze.py -i Editions/Base -o ../catalyst_src

fatal: Not a git repository (or any of the parent directories): .git

Error: Command '['git', 'rev-parse', '--show-toplevel']' returned non-zero exit status 128



2)  I tried two of the catalyst sources

a.  Base+python: This builds properly and links with the example code (CxxFullExample)

b.  Base+essentials+extras+python: This also builds and links with the example code, but I get the following runtime error:

ERROR: In /home/praveen/projects/catalyst/failed/base+essentials+extras+python/ParaViewCore/ServerImplementation/Core/vtkSIProxyDefinitionManager.cxx, line 565

vtkSIProxyDefinitionManager (0x12af110): No proxy that matches: group=animation and proxy=AnimationScene were found.



ERROR: In /home/praveen/projects/catalyst/failed/base+essentials+extras+python/ParaViewCore/ServerImplementation/Core/vtkSIProxyDefinitionManager.cxx, line 565

vtkSIProxyDefinitionManager (0x12af110): No proxy that matches: group=misc and proxy=GlobalMapperProperties were found.



ERROR: In /home/praveen/projects/catalyst/failed/base+essentials+extras+python/ParaViewCore/ServerImplementation/Core/vtkSIProxyDefinitionManager.cxx, line 565

vtkSIProxyDefinitionManager (0x12af110): No proxy that matches: group=misc and proxy=StrictLoadBalancing were found.



ERROR: In /home/praveen/projects/catalyst/failed/base+essentials+extras+python/ParaViewCore/ServerImplementation/Core/vtkSIProxyDefinitionManager.cxx, line 565

vtkSIProxyDefinitionManager (0x12af110): No proxy that matches: group=misc and proxy=ColorPalette were found.



a)  Logs: base+essentials+extras+python_CxxFullExample.log base+essentials+extras+python_CMakeLists.txt,



3)  The build base+python runs the example code, but does not connect with catalyst. Furthermore, upon running make test to test with the sample python script in ‘SampleScripts’ (which basically invokes CxxFullExample with the python script as an input argument, I get errors stating that it cannot load some vtk modules, which upon looking turn out not to be built at all

a.  Logs: LastTest.log (python script), and base+python_CMakeLists.txt for the catalyst build.





I would like to know what I am missing in these builds. It appears that some of the vtk modules are not being built:
Error: Could not import vtkCommonComputationalGeometryPython
Error: Could not import vtkRenderingCorePython
Error: Cannot import vtkPVServerManagerDefaultPython
Error: Cannot import vtkPVServerManagerRenderingPython
Error: Cannot import vtkPVAnimationPython


What is the correct way to get a working run for the examples supplied. Also, how do we connect to catalyst after this?  My understanding is that we just load up paraview (4.1) and then the simulation would connect to catalyst after we hit ‘Connect to Catalyst’ and load up the ‘Coprocessing’ plugin. Does paraview have to be built from source?
More specifically, is there a particular download version that might work, and what flags do we turn on in CMakeLists.txt? Is there any other set of examples (although I think the git examples demonstrate the workflow quite properly) that we could use to try catalyst?

Thanks
Praveen.





Applied Engineer
NVIDIA

http://devblogs.nvidia.com/parallelforall/

________________________________
This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
________________________________

_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140606/33a6c91d/attachment-0001.html>


More information about the ParaView mailing list