Re: [Paraview] Generate Ids filter gives Ids greater than number of points

2017-10-30 Thread Evan Kao
Sorry, nevermind.  It turns out I already had an 'Ids' array on my surface
and Generate Ids by default doesn't overwrite it.  When specifying a
different name, it works as expected.

On Mon, Oct 30, 2017 at 7:17 PM, Evan Kao  wrote:

> Hello all,
>
> I'm not sure if this is a bug, but the Generate Ids filter in Paraview is
> acting in an unexpected manner (currently using Paraview 5.4.0 installed
> from Windows binaries).  For some reason, it generates point IDs higher
> than the number of points on the surface.  The surface was extracted from a
> larger surface using the threshold filter.  So the pipeline is:
>
>- Original Surface (19315 points) => Threshold Filter => Thresholded
>Surface (13383 points)
>- Thresholded Surface => Generate Ids Filter => Ids array has max Id
>of 19049
>
> I also tested this in the Programmable Filter using vtkIdFilter.  This
> gave me a different result, the one I expected, where the max Id is 13382.
> Since the underlying VTK class to Generate Ids seems to be vtkIdFilter,
> this seems really strange.
>
> Should this be the case and if yes, why?  Is there a way to force Generate
> Ids to act like vtkIdFilter?
>
> Thanks for your time,
> Evan Kao
>
___
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


[Paraview] Generate Ids filter gives Ids greater than number of points

2017-10-30 Thread Evan Kao
Hello all,

I'm not sure if this is a bug, but the Generate Ids filter in Paraview is
acting in an unexpected manner (currently using Paraview 5.4.0 installed
from Windows binaries).  For some reason, it generates point IDs higher
than the number of points on the surface.  The surface was extracted from a
larger surface using the threshold filter.  So the pipeline is:

   - Original Surface (19315 points) => Threshold Filter => Thresholded
   Surface (13383 points)
   - Thresholded Surface => Generate Ids Filter => Ids array has max Id of
   19049

I also tested this in the Programmable Filter using vtkIdFilter.  This gave
me a different result, the one I expected, where the max Id is 13382.
Since the underlying VTK class to Generate Ids seems to be vtkIdFilter,
this seems really strange.

Should this be the case and if yes, why?  Is there a way to force Generate
Ids to act like vtkIdFilter?

Thanks for your time,
Evan Kao
___
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


Re: [Paraview] pvbatch

2017-10-30 Thread Utkarsh Ayachit
Seems like pvbatch is not in the path. Can you confirm that `module load
paraview/5.4.0-osmesa` is indeed  pointing to a valid PATH and that
contains a `pvbatch` executable?

Utkarsh

On Mon, Oct 30, 2017 at 8:14 PM, White, Judy  wrote:

> I am having problems using pvbatch on the LANL machines.  It works fine on
> paraview/5.2.0, but can’t find pvbatch with paraview/5.4.0.  I contacted
> the consultants at LANL, and they suggested that I send this problem to you.
>
> Any help or suggestions would be appreciated!
>
> Thanks –
>
> Judy White
>
> (505) 660-7424
>
>
>
>
>
>
> ___
> 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
>
>
___
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


[Paraview] pvbatch

2017-10-30 Thread White, Judy
I am having problems using pvbatch on the LANL machines.  It works fine on 
paraview/5.2.0, but can’t find pvbatch with paraview/5.4.0.  I contacted the 
consultants at LANL, and they suggested that I send this problem to you.
Any help or suggestions would be appreciated!
Thanks –
Judy White
(505) 660-7424


[cid:image001.png@01D351AA.ECF844A0]
___
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


Re: [Paraview] Error with plot selection over time

2017-10-30 Thread Jairaj Mathur
Hey all

I was thinking more about this, and I was wondering, is this because
paraview can't find cell_id of the cells?

Thanks

Jairaj Mathur
Mechanical Engineering
Washington University in St Louis

On Oct 26, 2017 4:18 PM, "Jairaj Mathur"  wrote:

> Hey all
>
> I have unstructured grid vtu/vtk type data. When I select some cells and
> try "plot selection over time", it gives me error Type mismatch: source:
> double dest: idtype. This error has never occurred before, when I tried to
> use this.
>
> Thank you all!
>
> --
> Jairaj Mathur,
> Mechanical Engineering
> Washington University in St Louis
>
>
___
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


Re: [Paraview] Does Catalyst add MPI processes or use TCP communication?

2017-10-30 Thread Kolja Petersen
Thanks for clarification, Andy. The Catalyst user guide gives the
impression that it is also designed for live visualization of huge parallel
data, which is kind of misleading if all data are sent via a single TCP
connection between simulation and render server. I'd suggest you point this
out in the user guide, could have saved us lots of headaches searching for
the bottleneck.
Kolja

On Mon, Oct 30, 2017 at 5:21 PM, Andy Bauer  wrote:

> Currently Catalyst sends its data to pvserver through sockets which will
> not likely not utilize an HPC's fast interconnect. We hope to address this
> in the future using ADIOS but I don't have a timetable on when that will be
> done.
>
> On Sat, Oct 28, 2017 at 12:57 PM, Kolja Petersen 
> wrote:
>
>>
>>
>> On Sat, Oct 28, 2017 at 5:07 PM, Andy Bauer 
>> wrote:
>>
>>> FYI: pvserver will likely be run in a separate MPI job if you're doing a
>>> Live connection.
>>>
>>
>> Yes, so the pvserver MPI job will have one MPI_COMM_WORLD, and the
>> Catalyst enabled simulation will have a different MPI_COMM_WORLD.
>>
>> The question is how does Catalyst send its data to the other
>> communicator? Afaik, their is no connection between the two unless the
>> second communicator is spawned from the first by MPI_Comm_spawn().
>> Kolja
>>
>>
>>> On Sat, Oct 28, 2017 at 11:05 AM, Andy Bauer 
>>> wrote:
>>>
 Hi,

 Catalyst by default uses MPI_COMM_WORLD of the existing MPI library
 that the simulation code is linked with. You can use another MPI
 communicator as well. An example of that is in the
 Examples/Catalyst/MPISubCommunicatorExample source directory.

 Best,
 Andy

 On Sat, Oct 28, 2017 at 7:50 AM, Kolja Petersen <
 petersenko...@gmail.com> wrote:

> Hello,
> I am trying to understand a Catalyst implementation detail.
>
> Because parallel Catalyst may transfer huge data to a parallel
> pvserver, I thought the Catalyst processes would have themselves added to
> the pvserver's MPI communicator. However, MPI_Comm_spawn() is the only
> function that I know of for this task, and I find "MPI_Comm_spawn" nowhere
> in the code (searched case insensitive).
>
> I thought that the standard Catalyst TCP port 2 was only used for
> control messages between Catalyst and pvserver, and data exchange would go
> via MPI. But apparently there is no MPI connection between Catalyst and
> pvserver, and all data are sent via TCP:2, which could explain 
> observed
> network bottlenecks.
>
> Can somebody clarify this implementation detail?
> Thanks
> Kolja
>
> ___
> 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
>
>

>>>
>>
>
___
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


Re: [Paraview] C++ client, PV server

2017-10-30 Thread Heiland, Randy
Thanks Mathieu. Hmm, too bad. Was hoping Catalyst might provide some magic 
workflow. Also saw this post from several years back 
(https://public.kitware.com/pipermail/paraview/2010-December/019693.html 
) and 
was hoping evolution might have produced a solution :) Obviously, I need to do 
more homework into options.

Randy

> On Oct 30, 2017, at 3:54 AM, Mathieu Westphal  
> wrote:
> 
> Hello
> 
> You cannot use your own C++ client with the binary, since you will need to 
> build your client againt a builded ParaView.
> However in the binaries you can find paraview executable wich is our main c++ 
> client and can be used with pvserver.
> 
> Best regards,
> 
> Mathieu Westphal
> 
> On Mon, Oct 30, 2017 at 3:02 AM, Heiland, Randy  > wrote:
> Using just the binary PV download, can I render results from a C++ client? No 
> parallelism. Everything’s local.
> 
> thanks, Randy
> ___
> 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 
> 
> 
> 



smime.p7s
Description: S/MIME cryptographic signature
___
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


Re: [Paraview] Does Catalyst add MPI processes or use TCP communication?

2017-10-30 Thread Andy Bauer
Currently Catalyst sends its data to pvserver through sockets which will
not likely not utilize an HPC's fast interconnect. We hope to address this
in the future using ADIOS but I don't have a timetable on when that will be
done.

On Sat, Oct 28, 2017 at 12:57 PM, Kolja Petersen 
wrote:

>
>
> On Sat, Oct 28, 2017 at 5:07 PM, Andy Bauer 
> wrote:
>
>> FYI: pvserver will likely be run in a separate MPI job if you're doing a
>> Live connection.
>>
>
> Yes, so the pvserver MPI job will have one MPI_COMM_WORLD, and the
> Catalyst enabled simulation will have a different MPI_COMM_WORLD.
>
> The question is how does Catalyst send its data to the other communicator?
> Afaik, their is no connection between the two unless the second
> communicator is spawned from the first by MPI_Comm_spawn().
> Kolja
>
>
>> On Sat, Oct 28, 2017 at 11:05 AM, Andy Bauer 
>> wrote:
>>
>>> Hi,
>>>
>>> Catalyst by default uses MPI_COMM_WORLD of the existing MPI library that
>>> the simulation code is linked with. You can use another MPI communicator as
>>> well. An example of that is in the 
>>> Examples/Catalyst/MPISubCommunicatorExample
>>> source directory.
>>>
>>> Best,
>>> Andy
>>>
>>> On Sat, Oct 28, 2017 at 7:50 AM, Kolja Petersen >> > wrote:
>>>
 Hello,
 I am trying to understand a Catalyst implementation detail.

 Because parallel Catalyst may transfer huge data to a parallel
 pvserver, I thought the Catalyst processes would have themselves added to
 the pvserver's MPI communicator. However, MPI_Comm_spawn() is the only
 function that I know of for this task, and I find "MPI_Comm_spawn" nowhere
 in the code (searched case insensitive).

 I thought that the standard Catalyst TCP port 2 was only used for
 control messages between Catalyst and pvserver, and data exchange would go
 via MPI. But apparently there is no MPI connection between Catalyst and
 pvserver, and all data are sent via TCP:2, which could explain observed
 network bottlenecks.

 Can somebody clarify this implementation detail?
 Thanks
 Kolja

 ___
 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


>>>
>>
>
___
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


Re: [Paraview] vtkCutter

2017-10-30 Thread Cory Quammen
Hmm, vtkContourTriangulator may not copy point data to its output. You can
use Resample With Dataset to get the point data back in the output of
vtkContourTriangulator. Select the input to the triangulator as well as the
triangulator itself and add a Resample With Dataset Set filter. Set the
Input of this filter to the input of the triangulator filter, and set the
Source to the triangulator filter itself.

On Fri, Oct 27, 2017 at 2:05 PM, Heiland, Randy  wrote:

> The Properties for the vtkContourTriangulator filter don’t seem to allow
> coloring by a scalar field. Is that expected?
>
>
>
> On Oct 26, 2017, at 11:18 AM, Cory Quammen 
> wrote:
>
> On Thu, Oct 26, 2017 at 11:15 AM, Heiland, Randy  wrote:
>
>> Thanks! Before I start down that path, will this handle multiple,
>> disjoint polylines? E.g., a plane slicing through 2 spheres; I just want to
>> cap the sliced spheres.
>>
>
> I'm about 95% sure it will. It is fairly robust IIRC.
>
> Cory
>
>> On Oct 26, 2017, at 11:10 AM, Cory Quammen 
>> wrote:
>>
>> There isn't a filter exposed in ParaView to do this. You could expose
>> vtkContourTriangulator in an XML plugin [1] and apply that to the polyline
>> created by the planar Slice through your polygonal geometry.
>>
>> Cory
>>
>> [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only
>>
>> On Thu, Oct 26, 2017 at 10:35 AM, Heiland, Randy  wrote:
>>
>>> Yes, sorry I wasn’t clear.
>>>
>>> On Oct 26, 2017, at 10:33 AM, Cory Quammen 
>>> wrote:
>>>
>>> I'm not sure what you mean. Are you trying to clip some polygonal
>>> geometry with a plane and want to fill in the hole created with a polygon?
>>>
>>> On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy  wrote:
>>>
 Is there a property that lets me cap the results?

 On Oct 26, 2017, at 10:18 AM, Cory Quammen 
 wrote:

 Sounds like you want the Slice filter.

 On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy 
 wrote:

> I’m not seeing the vtkCutter in the list of filters (well, perhaps the
> AMR CutPlane). If not, any advice on how to accomplish it for some 
> polydata?
>  https://www.paraview.org/Wiki/Python_Programmable_Filter ?
>
> Thanks!
>
> ___
> 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
>
>


 --
 Cory Quammen
 Staff R&D Engineer
 Kitware, Inc.



>>>
>>>
>>> --
>>> Cory Quammen
>>> Staff R&D Engineer
>>> Kitware, Inc.
>>>
>>>
>>>
>>
>>
>> --
>> Cory Quammen
>> Staff R&D Engineer
>> Kitware, Inc.
>>
>>
>>
>
>
> --
> Cory Quammen
> Staff R&D Engineer
> Kitware, Inc.
>
>
>


-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
___
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


Re: [Paraview] GIS - VTK/Blender - Converter

2017-10-30 Thread Aashish Chaudhary
Hi Michael,

This is great news. congratulations and thanks for sharing this
information. Few of us would be happy to follow up with you on this.  I
will send another email on this matter.

Thanks,


On Sat, Oct 28, 2017 at 10:36 AM Michael Nolde  wrote:

> Dear mailing list members,
>
> I'd like to announce 'geoTriMesh', a Python module I wrote to convert
> GIS data to the 3D visualisation environments. It has full support for
> donut- and multipolygons as well as projected coordinates. It works by
> creating a topological mesh by triangulating coordinate information from
> a source polygon and merging it with elevation and color raster data.
> The result is written to VTU unstructured grid to be imported into
> ParaView. X3D is also supported, as well as Python/mplot3d
>
> It's free (Apache License) and available as Python Module (installable
> via pip) as well as QGIS Plugin:
> https://github.com/flatpolar
>
> Also, I used the library to create a global elevation mesh dataset
> (spherical and flat projection), which can be downloaded here and used
> for private or commercial 3D modelling projects (CC-BY license):
> http://flatpolar.org/tocomee.html
>
> A detailed description of the dataset is available here:
> http://ijsdir.jrc.ec.europa.eu/index.php/ijsdir/article/view/455
>
> I'm happy to receive feedback.
>
> Cheers, Michael
> ___
> 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
>
___
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


Re: [Paraview] superbuild: fontconfig too old to compile (current does)

2017-10-30 Thread Ben Boeckel
On Sun, Oct 29, 2017 at 20:10:26 +0100, Fabian Wein wrote:
> I could not find the build error in the link.
> 
> The earliest version that builds for my gcc 7.2.1 is
> fontconfig-2.12.4, maybe this is a „compromise“?

Ah, sorry, I forgot to report back here. The issue is fixed on master.
It required an update to freetype as well.

--Ben
___
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


Re: [Paraview] C++ client, PV server

2017-10-30 Thread Mathieu Westphal
Hello

You cannot use your own C++ client with the binary, since you will need to
build your client againt a builded ParaView.
However in the binaries you can find paraview executable wich is our main
c++ client and can be used with pvserver.

Best regards,

Mathieu Westphal

On Mon, Oct 30, 2017 at 3:02 AM, Heiland, Randy  wrote:

> Using just the binary PV download, can I render results from a C++ client?
> No parallelism. Everything’s local.
>
> thanks, Randy
> ___
> 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
>
>
___
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