[Paraview] CxxOverlappingAMRExample with Catalyst Live

Andy Bauer andy.bauer at kitware.com
Thu Mar 31 11:07:47 EDT 2016


Hi Jim,

Yes, currently Overlapping AMR data sets are not supported by Catalyst
Live. This is because VTK doesn't support sending that data object. That
would have to be changed in vtkCommunicator::Send(vtkDataObject* data, int
remoteHandle, int tag).

A workaround would be to use a Threshold filter to convert to a multiblock
of unstructured grids, use the merge blocks filter and then extract this
output to the client. You'll get some warnings about the data set not being
a polydata (think about running a large simulation and trying to transfer
all of that to a separate server or client). I'm assuming since you're
trying to fetch the entire data set that the use case isn't for an overly
large data set.

Cheers,
Andy

On Thu, Mar 31, 2016 at 9:44 AM, <Jim.Eliot at awe.co.uk> wrote:

>
>
> Good afternoon,
>
>
>
> I have been trying to use Catalyst Live with the CxxOverlappingAMRExample
> from the ParaView Catalyst Example Code repository [1] but I see an error
> when I try to visualise the data from a ParaView client. The client
> connects to the simulation successfully and PVTrivialProducer1 appears in
> the Pipeline Browser. The Information tab shows it as an Overlapping AMR
> Dataset with 3 levels. However, when I click on the PVTrivialProducer1
> icon, ParaView prints an error then segfaults. The error is something like:
>
>
>
>     Warning: In <src-dir>/VTK/Parallel/Core/vtkCommunicator.cxx, line 394
>
>     vtkSocketCommunicator (…): Cannot receive vtkOverlappingAMR
>
>
>
> I have tried this with both ParaView 4.4.0 and 5.0.0 with the same
> results. The example works fine when I am using non-Live Catalyst (i.e. it
> writes out a bunch of vtm files that I can read into ParaView).
>
>
>
> So I am wondering, are AMR meshes not supported by Catalyst Live? Do I
> have to handle AMR meshes differently when using Catalyst interactively?
>
>
>
> Many thanks,
>
> Jim
>
>
>
> [1] https://github.com/Kitware/ParaViewCatalystExampleCode
>
>
>
> *Jim Eliot*
>
> *High Performance Computing Group*
>
> AWE, Aldermaston, Reading, RG7 4PR
>
>
>
> The information in this email and in any attachment(s) is commercial in
> confidence. If you are not the named addressee(s) or if you receive this
> email in error then any distribution, copying or use of this communication
> or the information in it is strictly prohibited. Please notify us
> immediately by email at admin.internet(at)awe.co.uk, and then delete this
> message from your computer. While attachments are virus checked, AWE plc
> does not accept any liability in respect of any virus which is not
> detected. AWE Plc Registered in England and Wales Registration No 02763902
> AWE, Aldermaston, Reading, RG7 4PR
>
> _______________________________________________
> Powered by 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160331/41661379/attachment.html>


More information about the ParaView mailing list