Re: [Paraview] [EXTERNAL] Re: long animations are freezing halfway through

2017-07-06 Thread stephaneンドング 一信
Hello,

I just want to  add that it's happening in both 5.3 and 5.4

Ndong-Mefane Stephane, Dr.Eng
Basic Design Sec.
Steam Turbine Dept.
Kawasaki Factory

Fuji Electric Co., Ltd
1-1, Tanabeshinden, Kawasaki-ku,
Kawasaki-city 210-9530, Japan
Phone: +81-44-329-2155
Fax: +81-44-329-2394


On Thu, Jul 6, 2017 at 11:14 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> Just to give an update, while I couldn't reproduce the issue with Giles
> example, I was able to do it with another customer. It's quite a curious
> thing indeed! Still figuring out where to begin to debug this -- the fact
> that it's a Windows only thing makes it even more tedious -- but will keep
> you posted.
>
> Utkarsh
>
> On Fri, Jun 23, 2017 at 12:08 PM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com> wrote:
>
>> Alan,
>>
>> I am discussing with Giles off line. Will keep you posted.
>>
>> Utkarsh
>>
>> On Fri, Jun 23, 2017 at 12:05 PM, Scott, W Alan 
>> wrote:
>> > I have another user with this complaint.  I have not been able to
>> replicate it.
>> >
>> > Are you using either opacity or volume rendering?
>> >
>> > Would you be able to pass the data files to Kitware?
>> >
>> > Alan
>> >
>> >> -Original Message-
>> >> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of
>> >> Utkarsh Ayachit
>> >> Sent: Friday, June 23, 2017 7:07 AM
>> >> To: Richardson CFD 
>> >> Cc: ParaView 
>> >> Subject: [EXTERNAL] Re: [Paraview] long animations are freezing halfway
>> >> through
>> >>
>> >> Giles,
>> >>
>> >> What OS is this on?
>> >>
>> >> Utkarsh
>> >>
>> >> On Fri, Jun 23, 2017 at 8:59 AM, Richardson CFD 
>> wrote:
>> >> > I have been having trouble creating longer animations (150 frames)
>> >> > from larger data files (1million cells). The animation works fine
>> >> > initially but then freezes up about half way through the avi file -
>> >> > displaying just a constant unchanging image. Streamlines seems to
>> work
>> >> > fine, but velocity contours (attached) is the one causing problems. I
>> >> > am having to create the animation in 2 parts, creating 2 seperate avi
>> >> > file and then join them after.
>> >> >
>> >> > Any suggestions or similar experience please let me know. Regards
>> Giles.
>> >> >
>> >> > --
>> >> > Richardson CFD
>> >> > http://richardsoncfd.weebly.com
>> >> >
>> >> > ___
>> >> > 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
>>
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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] Paraview segfault on (orthographic) slice view

2017-07-06 Thread Cory Quammen
On Mon, Jun 19, 2017 at 7:18 AM, Vogel Dorian  wrote:
> Hi all,
>
> I've had a serious issue since last week now:
>
> Whenever I visualize a polygonal Mesh in the Slice View or orthogonal slice
> view:
>
> - in slice view: Paraview crashes as soon as I click on any of the slice
> cursors to grab it to another position.
>
> - in orthographic slice view: I can scroll in one direction on each of the
> slice views, however, when I scroll in the second direction, Paraview
> crashes.

I could not reproduce either the "Slice View" crash or "Orthographic
Slice View" crash you report in ParaView 5.4 on macOS.

> Version 5.3 compiled from source was working fine until I hit this error, I
> suspected a package upgrade to be the source of the problem, and downgraded
> Mesa (17.1.2-1 -> 17.1.1-1) and the Intel driver on laptop (17.1.2-1 ->
> 17.1.1-1) however, this did not help, and I am sure Paraview 5.3 used to
> work on those versions of mesa and Intel driver.

Judging by the stack traces you included (very helpful, by the way)
this looks more like a memory access problem within ParaView. That
problem seems to have been fixed in ParaView 5.4, though.

HTH,
Cory

> Systems:
>
> -laptop (Archlinux) using Intel IGP or Nvidia discrete GPU using open-source
> driver (DRI_PRIME). Crash can be reproduced on both GPU.
>
> -desktop (Majaro, Arch based): using Nvidia GPU, proprietary driver.
>
>
>
> Please find attached the gdb traces. I just started Paraview with each GPU,
> created a box, created a orthographic slice view, and tried to scroll.
>
>
>
> Did anyone else observe that ?
>
>
>
> Best regards,
> --
>
> Dorian Vogel
>
>
> ___
> 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.
___
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] Animation and Filter Help with CSV/VTP XYZ Data

2017-07-06 Thread Cory Quammen
On Thu, Jun 29, 2017 at 6:21 PM, Maxwell Dausch  wrote:
> Hello,
>  I am very new to using paraview and have had a couple questions that I am
> having trouble finding the resources needed to help my situation. I've been
> searching the mailing list and other forums for the past week or so and have
> not had much progress.
>
> I am trying to figure out how to
> 1) Animate a series of points that were obtained by tracking a person's
> movement, and animate it in a way that would play back the moment path, I
> would like to animate it by the order the points are in with a set time
> interval in-between each point if possible. In this situation there are
> multiple different trackers which is why I also need a bit of guidance on
> part 2, so the data just doesn’t get all mixed up together.

First thing first: you'll want to split your points up into several
CSV files, one for each time step. In each of the CSV files, you will
list the point positions and the ID, e.g.

path1.csv contains the first time step:

"ID","X","Y","Z"
1,0.0,1.0,0.0
2,1.0,1.1,1.2


path2.csv contains the second time step:

"ID","X","Y","Z"
1,0.0,1.0,0.0
2,1.0,1.2,1.3

and so one.

To animate these files, you will load the entire list of CSV files
through the Open File dialog by navigating to the location of these
files and selecting the group of files labeled "path..csv". Because
the data you are loading is tabular, it will open up a SpreadSheet
view showing you the raw tables. You can close this view as you won't
be needing it. Click back on the default 3D RenderView and then select
the path* source in the Pipeline Browser. To turn these into points,
use the TableToPoints filter, setting the "X Column" property to "X",
the "Y Column" to "Y", and the "Z Column" to "Z".

Now, you'll need to show the points, which aren't visible at this
point. You can add a Glyph filter to display the points with some
geometry. The "Glyph Type" will default to "Arrow", but you can change
that to "Sphere" or whatever your favorite shape is.

> 2) Color points by a source id for the movement tracker assigned to the
> point, i.e. id’s 1-5 would be blue, 6-10 would be red and so on, I've only
> been able to color the whole table of points one color and not sure how to
> proceed.

Coloring by ID is pretty easy. In the tool bar, color the glyphs by
the "ID" array. Open up the "Color Map Editor" and check the
"Interpret Values As Categories" box. Under "Annotations", click on
the icon with the folder and heart ("Choose preset"). Pick one of the
color map presets for categorical data. Next, click on the toolbutton
just above that with the red, yellow, and blue rectangles ("Add active
values from selected source"). This will assign the ID values to the
colors in the color map.

I hope that gets you going,
Cory

> Currently I am working with a csv (that I also have been able to convert to
> an .vtp file if that is able to help the situation at all) that contains a
> source Id for the tracker as well as the points xyz.
>
> Ive been trying to mess around with the programmable filters ( I don’t have
> too much experience with python though ), but I am unsure on how to access
> the other attributes of the data(the source id) and thus when I try link the
> points with a line, it jumps from one path to another and in return it mixes
> the movement paths.
>
> I’d appreciate any guidance with this, as I am at wits ends trying to figure
> everything out. Especially when Ive only been able to find solid objects
> being animated and not too much point data being worked with when searching
> for any possible solutions to the problem. If it might be of any help I
> could upload one of the csv files that we have generated.
>
> Thanks again
> -Max
>
>
> ___
> 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.
___
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] Two issues with time-dependent data

2017-07-06 Thread Cory Quammen
[snip]
> 1.   In RequestInformation of the filter, we provide the pipeline just
> with a TIME_RANGE. This is so far working without problem, we can go through
> the range by Sequence or Real Time. When running the Animation as a loop
> though, we encounter the issue that the beginning and the end of the time
> range are both displayed. Since our data is periodic and the TIME_RANGE is a
> cycle duration, these two steps are identical. As you can guess, it is not
> desired to see the same step two times right behind each other. Is there a
> way to prevent this behaviour?

Can you just set the upper end of the TIME_RANGE to one timestep
before what you have now? In other words, instead of having the first
and last timesteps provide the same data, end the TIME_RANGE earlier
by one timestep. That will prevent the doubling of the timestep when
the animation resets.

> 2.   When we save the filter in a state file and load it afterwards with
> a different dataset, the displayed time range in ParaView shows the wrong
> data. Although in RequestInformation the correct TIME_RANGE of the new
> dataset is set to the pipeline, ParaView/the Animation View still shows the
> time data of the state file. It only changes, if after loading the state
> file, a different TIME_RANGE with different values is set in
> RequestInformation. We can live with this issue, but maybe it is a bug that
> is easy to fix.

I'm not sure about this one. Maybe someone else can chime in.

Thanks,
Cory

>
>
> We will be grateful for any advice or suggestion!
>
>
>
> Thanks in advance and cheers,
>
> Heinrich
>
>
>
> --
>
> Dipl.-Ing. Heinrich Schuld
>
> Institute of Jet Propulsion and Turbomachinery
>
> RWTH Aachen
>
> Templergraben 55
>
> 52062 Aachen
>
> Germany
>
>
>
> Tel: +49 241 80 99652
>
> Fax:+49 241 80 92229
>
> E-Mail:   sch...@ist.rwth-aachen.de
>
> www: http://www.ist.rwth-aachen.de
>
>
>
>
> ___
> 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.
___
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] Using Value of Variable At Point in Calculator Filter

2017-07-06 Thread Cory Quammen
On Mon, Jul 3, 2017 at 9:01 PM, Jeremias Gonzalez
 wrote:
> Hi, I've been trying to figure out, in Paraview, how to use the value of a
> variable at a point in the calculator filter over a geometry. So, for
> example, I have 3 vtk files of a cube geometry with a scalar and vector
> field (x,y,z components) as data sets. I create a gradient filter for each
> one of the vector components, then use the append attributes filter to
> combine the gradients into one object, then use the calculator filter to
> compute some quantity using the gradients as well as {the value of a vector
> field component of each vtk in the middle of the cube} and plot the result
> over the cubic geometry, maybe take a slice of that cube at the end. I have
> some roadblocks that prevent me from doing this in a less manual,
> straightforward fashion:
>
> 1. I do not see a command in the calculator filter like
> EvaluateAtPoint(myvectorfieldxcomponentvtk1,(x=0,y=0,z=0.5)) to grab the
> value of the x component of the vector field from vtk1 at point (0,0,0.5) in
> Cartesian coordinates and use it in some quantity like
> gradientx*5*EvaluateAtPoint(...) which would be evaluated over the entire
> cubic geometry, but always use the value of that point in the middle. I have
> used this sort of thing before in a program called COMSOL, which possesses
> such a feature in the Scoped Evaluation list called at3_geometry, among many
> other variations.

Indeed, ParaView does not have such a command in the Calculator filter.

> 2. Even if there was a command like in #1, the append attributes command
> doesn't seem to respect the different sources of the vector field, so I see
> only one vector field in the resulting array (by contrast, I can name the
> gradients of the vector field components uniquely in each of the filters
> that outputs them, and the append attributes filter shows three distinct
> batches of gradients from each filter I applied to each vtk).

If I understand you correctly, you are describing how only one of the
data arrays from the inputs with the same name is copied to the
output. That is unfortunately the behavior in ParaView 5.4 and prior.
The good news is that the next version of ParaView should instead copy
all the data arrays and mangle the names of the vector field so that
you can have all three distinct vector arrays in the output of the
Append Attribute filter when you do this. See

https://gitlab.kitware.com/paraview/paraview/merge_requests/1639

which added this feature.

> 3. I tried to create a probe at the location I need, but the geometry it
> produces is a single point and thus using it either {directly with append
> attributes to the other gradient results} or {with a calculator filter first
> to get only the quantity I want instead of the scalar field and the vector
> fields evaluated at that point and then use the append attributes command}
> doesn't work because the append attributes apparently uses only the
> overlapping geometry, which of course is only the one point.

Good thinking using the Probe filter (see below), but yep, this won't
quite work.

> 4. I tried to use group datasets instead, thinking maybe it would just take
> the value I make in the calculator filter from the probe location filter and
> use it in the final calculator filter, but it just throws a bunch of errors
> which I assume again stem from the mismatch of geometry.

The Group datasets filter will create a multi block data set, which
won't exactly help you.

> 5. I had an idea to maybe just clone each of the original vtks to get the
> geometry I need in a new array, and then somehow set all the datapoints in
> each one to the value I get from the probe location filter, but this would
> not only again encounter the problem in #2 with the nonunique naming, but I
> also do not know how to edit the individual data points in the file (I see
> an inkling of this idea in the blog post here:
> https://blog.kitware.com/zero-copy-arrays/ but it's quite beyond my current
> level of understanding of Paraview).

This would also be wasteful in terms of memory usage.

> The current alternative (that definitely works) is to just manually copy the
> value I get from {the probe location filter or plot over line filter or
> something like that } into the final calculator filter, but I'd have to do
> that for every one of the batches of 3 vtk files I get, which is going to
> get very large when I start varying my more complicated geometry with
> parametric sweeps (I also need to figure out how to automate the process of
> outputting the slice I take at the end, but one problem at a time! I welcome
> any suggestions on this front).

I would look at using the Python scripting capabilities within
ParaView for this. You can write a Python script and run it with
pvpython - this is especially useful for running an analysis in a
batch fashion. Within your script you use the Probe filter to get the
data value at a particular location and add that value to some
C

Re: [Paraview] how to build the paraview superbuild with mesa on a cluster (where user is not a root user)

2017-07-06 Thread Cory Quammen
Set the BUILD_SHARED_LIBS option to OFF.

HTH,
Cory

On Sun, Jul 2, 2017 at 11:56 AM, Ezhilmathi Krishnasamy
 wrote:
> Hi,
>
> I am still having some problem with enabling the
> build shared libs. I am trying to install it on a Cray machine.
> I have already locally installed cmake and anaconda on their latest version.
>
> I am attaching here the image.
> Could any one tell me how to fix this issue
>
> Kind regards,
> Mathi
>
> On 2 July 2017 at 14:54, Ezhilmathi Krishnasamy 
> wrote:
>>
>> Hi,
>>
>> I have almost build it, but getting this error:
>>
>>  CMake Warning (dev) at
>> /pdc/vol/anaconda/4.3/py36/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:115
>> (add_library):
>>ADD_LIBRARY called with SHARED option but the target platform does not
>>support dynamic linking.  Building a STATIC library instead.  This may
>> lead
>>to problems.
>>  Call Stack (most recent call first):
>>/pdc/vol/anaconda/4.3/py36/lib/cmake/Qt5/Qt5Config.cmake:26
>> (find_package)
>>superbuild/projects/qt5.system.cmake:1 (find_package)
>>superbuild/cmake/SuperbuildMacros.cmake:640 (include)
>>superbuild/CMakeLists.txt:115 (superbuild_process_dependencies)
>>  This warning is for project developers.  Use -Wno-dev to suppress it.
>>
>>
>>
>> On 2 July 2017 at 14:17, Ezhilmathi Krishnasamy 
>> wrote:
>>>
>>> Thanks!
>>>
>>> Now it shows this kind of error
>>>
>>> /cfs/klemming/nobackup/k/kriezh/PARAVIEW_SUPER_BUILD/paraview-superbuild>
>>> git fetch origin
>>> /cfs/klemming/nobackup/k/kriezh/PARAVIEW_SUPER_BUILD/paraview-superbuild>
>>> git checkout v5.4.0
>>> HEAD is now at 7c510fe... Update to 5.4.0
>>> /cfs/klemming/nobackup/k/kriezh/PARAVIEW_SUPER_BUILD/paraview-superbuild>
>>> git submodule update
>>> /cfs/klemming/nobackup/k/kriezh/PARAVIEW_SUPER_BUILD/paraview-superbuild>
>>> cd ..
>>> /cfs/klemming/nobackup/k/kriezh/PARAVIEW_SUPER_BUILD> cd ..
>>> /cfs/klemming/nobackup/k/kriezh> cd build/
>>> /cfs/klemming/nobackup/k/kriezh/build> ccmake
>>> ../PARAVIEW_SUPER_BUILD/paraview-superbuild/
>>>
>>>
>>>  CMake Error at superbuild/cmake/SuperbuildMacros.cmake:289 (message):
>>>The build tree appears to be inside of the git repository located at
>>>/cfs/klemming/nobackup/k/kriezh.  This interferes with the way the
>>>superbuild applies patches to projects and is not supported.  Please
>>>relocate the build tree to a directory which is not under a git
>>> repository.
>>>  Call Stack (most recent call first):
>>>superbuild/projects/bzip2.cmake:7 (superbuild_apply_patch)
>>>superbuild/cmake/SuperbuildMacros.cmake:477 (include)
>>>superbuild/CMakeLists.txt:113 (_superbuild_discover_projects)
>>>
>>>
>>>
>>>
>>> On 2 July 2017 at 14:03, Patrick Bégou
>>>  wrote:

 Like you, I got this error some months ago when trying to build paraview
 superbuild:

 error: unknown option `is-ancestor'

 It was my git version wich was too old. May be try to compile a more up
 to date version of git in your home and set the path to access it.

 I have installed git from
 https://www.kernel.org/pub/software/scm/git/git-2.12.2.tar.xz

 Patrick

 Ezhilmathi Krishnasamy a écrit :

 Hi,

 I have followed these instructions. I am trying to install it where I am
 not a root user.
 Can someone help to fix this issue.

  git clone --recursive
 https://gitlab.kitware.com/paraview/paraview-superbuild.git
  cd paraview-superbuild
  git fetch origin # ensure you have the latest state from the main repo
  git checkout v5.2.0 # replace `v5.2.0` with tag name of your choice
  git submodule update

  cd ..
  mkdir build
  cd build
  ccmake ../paraview-superbuild

 Kind regards,
 Mathi


 On 30 June 2017 at 18:54, Ezhilmathi Krishnasamy
  wrote:
>
> Hi Thanks!
>
> When I try to install Paraview,  I am getting the following error.
> Could some one please tell me how to fix this issue.
> I am trying to install the Paraview on a super computer to use it
> for remote rendering without using the GUI,  like with mesa support.
>
> kriezh@beskow-login2:/cfs/nobackup/k/kriezh/PARAVIEW_SUPER_BUILD> git
> clone --recursive
> https://gitlab.kitware.com/paraview/paraview-superbuild.git
> Cloning into 'paraview-superbuild'...
> warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig':
> Permission denied
> warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig':
> Permission denied
> warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig':
> Permission denied
> warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig':
> Permission denied
> warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig':
> Permission denied
> warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig':
> Permission denied
> warning: unabl

Re: [Paraview] Integrating precompiled Catalyst into external projects

2017-07-06 Thread Andy Bauer
Hi Jimmy,

If you're building Catalyst and want to install for others to link against
you will want to enable the PARAVIEW_INSTALL_DEVELOPMENT_FILES CMake option
when configuring.

It may be possible to have precompiled Catalyst installs with development
files available but there hasn't been a strong call for that to be done.

Cheers,
Andy

On Wed, Jul 5, 2017 at 8:08 AM, A .  wrote:

> Dear members,
>
>
> I would like to have Catalyst precompiled and ready for use for developers
> that want to work on my project. In this way they don't need to go through
> the procedure of installing dependencies and building Catalyst themselves
> (which currently takes longer than building my project...).
>
>
> The problem is the absolute paths that are used in all the .cmake files,
> such as ParaViewConfig.cmake and UseParaView.cmake (and all .cmake files
> they call on).
>
>
> I thought a "make install" would do the trick as normally it will copy all
> the essential files (system independent) to the CMAKE_INSTALL_PREFIX
> directory. But I cannot use the contents of the installation folder as the
> directory to point to when linking to Catalyst in my project (since there
> are no configuration files copied).
>
>
> I was doubtful to ask this question, because if it were possible, I would
> expect a precompiled Catalyst to be hosted on the ParaView download page.
> But out of curiosity I ask nonetheless; is it possible?
>
>
> Best,
>
> Jimmy
>
> ___
> 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++ Catalyst vtkSocket::Receive stuck in loop on Windows

2017-07-06 Thread Andy Bauer
Hi Simon,

Is the Python dependency that you're trying to get rid of on the Catalyst
side or on the pvserver/GUI side? If I remember correctly on the Catalyst
side Python was required for the Live connection.

Cheers,
Andy

On Wed, Jul 5, 2017 at 10:11 AM, Simon Klarmann <
klarm...@mechanik.tu-darmstadt.de> wrote:

> Dear Members,
>
>
>
> I wanted to get rid of the dependency on Python. The connection by pure
> C++ works just fine.
>
>
>
> The problem occurs when establishing the live connection to Paraview,
> closing Paraview and then try to send some data again.
>
> I tracked it down to the vtkSocket class inside the method Receive. After
> the connection is terminated on the Paraview side, e.g. by closing
> Paraview, the call of vtkLiveInsituLink::InsituUpdate gets stuck in the
> vtkSocket::Receive method. Even though I get a message that the connection
> was terminated.
>
>
>
> A temporary fix for my case was to replace in Line 609 of the
> vtkSocket.cxx if (nRecvd == 0) with if (nRecvd <= 0), because on
> disconnection the return value of nRecvd is -1. Then everything works well.
>
>
>
> I only used the following methods in the given order to transfer the data:
>
>
>
> vtkLiveInsituLink::InsituUpdate
>
> vtkSMSourceProxy::UpdatePipeline
>
> vtkLiveInsituLink::InsituPostProcess
>
>
>
>
>
> Are there further steps to perform or is there a way to check if the
> connection is still alive?
>
>
>
>
>
> Operating System: Windows 7, Visual Studio 2017
>
>
>
> Thanks,
>
> Simon
>
>
>
>
>
>
>
>
>
> Dipl.-Ing. Simon Klarmann
>
>
>
> *Bau- und Umweltingenieurwissenschaften*
> Technische Universität Darmstadt
>
> Fachgebiet Festkörpermechanik
>
>
>
> Tel.: +49 6151 16 – 22642 <+49%206151%201622642>
>
> Mail: klarm...@mechanik.tu-darmstadt.de
>
> Franziska-Braun-Straße 7
>
> Gebäude L5|01, Raum 542
>
> 64287 Darmstadt
>
>
>
> ___
> 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] multiple visualization pipeline at a time with co-processing

2017-07-06 Thread Andy Bauer
Hi Ufuk,

I'm guessing the issue is that the calls to Catalyst are not consistent.
Could you share your Python scripts? Also, did you modify them manually?

I tried with PV 5.3. with
the ../ParaView-v5.3.0/Examples/Catalyst/CxxFullExample/ example with the
attached scripts simultaneously by running with "./CxxFullExample
doubleoutputs.py output3.py image11.py" and got the correct output and no
warnings.

Cheers,
Andy

On Tue, Jul 4, 2017 at 7:04 AM, Ufuk Utku Turuncoglu (BE) <
u.utku.turunco...@be.itu.edu.tr> wrote:

> Hi Andy,
>
> I tested you suggestion about using multiple script in co-processing. In
> this case, i used following code in the adaptor side to add multiple
> pipeline
>
>   for (int i = 0; i < *nscript; i++) {
> pipeline->Initialize(pythonScriptNames[i]);
> g_coprocessor->AddPipeline(pipeline);
>   }
>
> When i run the simulation, i am getting following warning
>
> Warning: In /okyanus/users/uturuncoglu/progs/paraview-5.3.0/src/
> ParaViewCore/VTKExtensions/Core/vtkPVTrivialProducer.cxx, line 66
> vtkPVTrivialProducer (0x13816760): New time step is not after last time
> step.
>
> the output seems not correct and it is zoom out version of second pipeline
> (png file). The first pipeline is not even triggered. Do i missing
> something in here? BTW, i am using PV 5.3.
>
> Thanks,
>
> --ufuk
>
>
> On 16/05/2017 16:08, Andy Bauer wrote:
>
> Hi Ufuk,
>
> If you create a vtkCPythonScriptPipeline, when you initialize it with the
> script file name (which has to be done on each process) everything will be
> taken care of with respect to broadcasting the file contents from process 0
> to the others. We aren't sophisticated enough to parse the Python script to
> see if it imports other scripts that are not part of ParaView (e.g.
> paraview.simple) or Python (e.g. sys). That is why I recommended the first
> approach as opposed to the second approach above. Depending on the compute
> platform and how many MPI processes are in the run the difference may be
> negligible but having 100K processes or more trying to access the same file
> can seriously slow down an HPC machine.
>
> Cheers,
> Andy
>
> On Tue, May 16, 2017 at 8:24 AM, Ufuk Utku Turuncoglu (BE) <
> u.utku.turunco...@be.itu.edu.tr> wrote:
>
>> Thanks Andy. That is exactly what i am looking for. The broadcasting
>> mechanism is not clear to me yet. Do i need to broadcast only the file
>> names? Anyway, i will try to implement it and see what is going on there.
>>
>> Thanks again,
>> Regards,
>>
>> --ufuk
>>
>>
>> On 16/05/2017 14:58, Andy Bauer wrote:
>>
>> Hi Ufuk,
>>
>> Unless I'm not understanding your question correctly, I think you can get
>> what you want by adding in multiple vtkCPPythonScriptPipelines to your
>> vtkCPProcessor object in your adaptor. Alternatively if you want to have a
>> single, master Catalyst script handling other Catalyst scripts you can do
>> something like the following:
>> 
>> import script_a
>> import script_b
>> import script_c
>>
>> def RequestDataDescription(datadescription):
>>   script_a.RequestDataDescription(datadescription)
>>   script_b.RequestDataDescription(datadescription)
>>   script_c.RequestDataDescription(datadescription)
>>
>> def DoCoProcessing(datadescription):
>>   script_a.DoCoProcessing(datadescription)
>>   script_b.DoCoProcessing(datadescription)
>>   script_c.DoCoProcessing(datadescription)
>> ===
>>
>> The first way is the recommended way though as that should be more
>> efficient by having process 0 read the scripts and broadcasting the script
>> contents to the other  processes for use. The second method will only do
>> that for the master script.
>>
>> Please let me know if this doesn't answer your question.
>>
>> Cheers,
>> Andy
>>
>> On Tue, May 16, 2017 at 5:46 AM, Ufuk Utku Turuncoglu (BE) <
>> u.utku.turunco...@be.itu.edu.tr> wrote:
>>
>>> Hi All,
>>>
>>> I just wonder that is it possible to trigger multiple visualization
>>> pipeline in the same time with co-processing. The co-processing script
>>> generator plugin mainly outputs only single pipeline at a time and that is
>>> fine but what about combining multiple Python script (generated by plugin)
>>> using higher level Python script to trigger multiple pipelines. So, i think
>>> that this will be much efficient way to look at different part of the data
>>> without writing to the disk. I am not sure but somebody else might do it
>>> before.
>>>
>>> Regards,
>>>
>>> --ufuk
>>>
>>> ___
>>> 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
>>>
>>
>>
>>
>
>

from par

Re: [Paraview] Saving png images in Catalyst-live

2017-07-06 Thread Andy Bauer
Hi,

Currently you will need to save the images in the PV GUI during the Live
connection. If you need images at specific time steps you will need to set
Live breakpoints. I hope to be able to modify Catalyst image output through
the Live connection but there are a lot of options that aren't always easy
to capture so it will take quite a bit of design work to get right.

Cheers,
Andy

On Mon, Jul 3, 2017 at 5:39 AM, Lukáš Kresta  wrote:

> Hi,
>
> i would like to save image with my ParaView Catalyst. But I use live
> visualization(no render view) and I send to Catalyst unstructured grid. Can
> I somehow generate png image?
>
> ___
> 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] [EXTERNAL] Re: long animations are freezing halfway through

2017-07-06 Thread Utkarsh Ayachit
Just to give an update, while I couldn't reproduce the issue with Giles
example, I was able to do it with another customer. It's quite a curious
thing indeed! Still figuring out where to begin to debug this -- the fact
that it's a Windows only thing makes it even more tedious -- but will keep
you posted.

Utkarsh

On Fri, Jun 23, 2017 at 12:08 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> Alan,
>
> I am discussing with Giles off line. Will keep you posted.
>
> Utkarsh
>
> On Fri, Jun 23, 2017 at 12:05 PM, Scott, W Alan 
> wrote:
> > I have another user with this complaint.  I have not been able to
> replicate it.
> >
> > Are you using either opacity or volume rendering?
> >
> > Would you be able to pass the data files to Kitware?
> >
> > Alan
> >
> >> -Original Message-
> >> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of
> >> Utkarsh Ayachit
> >> Sent: Friday, June 23, 2017 7:07 AM
> >> To: Richardson CFD 
> >> Cc: ParaView 
> >> Subject: [EXTERNAL] Re: [Paraview] long animations are freezing halfway
> >> through
> >>
> >> Giles,
> >>
> >> What OS is this on?
> >>
> >> Utkarsh
> >>
> >> On Fri, Jun 23, 2017 at 8:59 AM, Richardson CFD 
> wrote:
> >> > I have been having trouble creating longer animations (150 frames)
> >> > from larger data files (1million cells). The animation works fine
> >> > initially but then freezes up about half way through the avi file -
> >> > displaying just a constant unchanging image. Streamlines seems to work
> >> > fine, but velocity contours (attached) is the one causing problems. I
> >> > am having to create the animation in 2 parts, creating 2 seperate avi
> >> > file and then join them after.
> >> >
> >> > Any suggestions or similar experience please let me know. Regards
> Giles.
> >> >
> >> > --
> >> > Richardson CFD
> >> > http://richardsoncfd.weebly.com
> >> >
> >> > ___
> >> > 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
>
___
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] Dilation Operation ...

2017-07-06 Thread Niklas Röber

Hi Ken,

thanks for the reply. From your suggestion, I was playing more with the 
different output types available, and I am not sure why, but it works 
now. If I read the data using spherical coordinates checked and the 
output type set to image, the data is actually read in as 2D lon/lat 
representation, but with the data represented as cells and not as 
points. I always believed that with the spherical coordinate settings 
checked, the output would be represented on a sphere, but its obviously 
not. Good for me. Thanks again.


Cheers,
Niklas


Niklas,

My first question is, are the data actually being read in as a point data field 
or a cell data field? If you go to the Information panel, what does it say the 
data are?

I'm not at my computer to check this, but I believe that if you read data as a lon/lat projection, the mesh 
is most likely read as a 2D "image", and if so, that is rendered with the "slice" 
representation. If that's the case, can you try changing the representation to "surface"?

-Ken

Sent from my iPad


On Jul 5, 2017, at 7:10 AM, Niklas Röber  wrote:

Dear All,

I have a very low resolution netCDF that I would like to visualize as cell data 
using lon/lat projection. Reading the data using lon/lat projection, the 
variables are represented as point data (image1). If the data is read in 
spherical, the variables are represented as cell data (image2). Comparing both, 
shows that some features are missing in the lon/lat projection, see for example 
central America and Spain. Applying a PointDataToCellData filter to the point 
data in lon/lat smoothes these features away completely (image3).
Is there a possibility to visualize the data correctly, as shown with spherical 
projection, but in lon/lat? Or can the point data somehow be dilated so that central 
America and half of Europe are not "filtered" out?

Thanks for any help!
Cheers, Niklas



___
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



--
__

Dr. Niklas Röber
Visualisierung
Abteilung Anwendungen

Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstraße 45 a • D-20146 Hamburg • Germany

email: roe...@dkrz.de
phone: +49 (0)40 460094 283
  fax: +49 (0)40 460094 270
  web: http://www.dkrz.de/
  
Geschäftsführer: Prof. Dr. Thomas Ludwig

Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
__




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