Re: [Paraview] Crash occurs after clicking "File" then "Open"

2017-03-28 Thread Cory Quammen
Roman,

Thanks for reporting back. It looks like I need to handle some errors
conditions in ParaView better.

I have reported this issue at
https://gitlab.kitware.com/paraview/paraview/issues/17310

- Cory

On Tue, Mar 28, 2017 at 7:29 PM, Roman Kowch  wrote:
> Hi Cory,
>
> Thanks for your solution! I found that ParaView crashed when I had a volume
> mounted that belonged to another user on the Mac workstation, and that
> volume denied me access. For example, if I tried:
>
> ls -l /Volumes
>
> the error stream shows "ls: volume_name: Permission denied" for each volume
> denying me access. After unmounting those volumes, ParaView was able to open
> files normally.
>
> Thanks,
> Roman
>
> On Mon, Mar 13, 2017 at 4:45 PM, Cory Quammen 
> wrote:
>>
>> Roman,
>>
>> Thanks for the error report, it provides some useful clues. It looks
>> like ParaView is crashing when collecting information about the
>> mounted volumes on your system. Do you have an external drive or
>> network file system mounted on the Mac Pro that is crashing? If so,
>> could you try to unmount it and see if ParaView runs as expected?
>>
>> Barring that, are there any non-Latin characters in the names of the
>> volumes mounted on the Mac in question?
>>
>> Thanks,
>> Cory
>>
>> On Sat, Mar 11, 2017 at 6:49 PM, Roman Kowch  wrote:
>> > Sorry, I should have mentioned that I'm running ParaView on a Mac Pro
>> > computer, with OS X 10.11.6. The computer does not have DBaR.
>> >
>> > Another Mac Pro I've used, with OS X 10.11.6, does not reproduce the
>> > same
>> > crash I'm seeing on this particular computer. Again, I could send a
>> > crash
>> > report if that would help.
>> >
>> >
>> > On Fri, Mar 10, 2017 at 8:30 PM, Utkarsh Ayachit
>> >  wrote:
>> >>
>> >> Do you have Dell Backup and Recovery (DBaR) tools installed on your
>> >> system? If so, the crash may be related to an issue with DBaR at Qt 5.
>> >> You may need to update DBaR to the latest version. See [1] for
>> >> details.
>> >>
>> >> [1]
>> >>
>> >> http://en.community.dell.com/support-forums/software-os/f/3526/t/19634253
>> >>
>> >>
>> >>
>> >> On Fri, Mar 10, 2017 at 5:32 PM, Roman Kowch  wrote:
>> >> > Hi,
>> >> >
>> >> > I've compiled Paraview from source, v. 5.3.0 RC3 using Qt5 for the
>> >> > GUI.
>> >> > The
>> >> > application however crashes on one of my computers when I simply
>> >> > click
>> >> > "File" then "Open." It seems that the crash happens when it needs to
>> >> > bring
>> >> > up the dialog for selecting a file. It also happens if I do these
>> >> > menu
>> >> > clicks:
>> >> >
>> >> > 1. "File", "Load Window Layout"
>> >> > 2. "File", "Load State"
>> >> > 3. "File", "Save State"
>> >> >
>> >> > As you can see, the crash appears to happen whenever a directory
>> >> > dialog
>> >> > is
>> >> > expected to appear. Should I send a crash report to diagnose this
>> >> > problem?
>> >> >
>> >> > I should also mention that on another computer, this problem does NOT
>> >> > appear
>> >> > for the same build of Paraview. The problem seems unique to a
>> >> > particular
>> >> > computer I'm using.
>> >> >
>> >> > Regards,
>> >> > Roman
>> >> >
>> >> > ___
>> >> > 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
>> >
>>
>>
>>
>> --
>> 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] Crash occurs after clicking "File" then "Open"

2017-03-28 Thread Roman Kowch
Hi Cory,

Thanks for your solution! I found that ParaView crashed when I had a volume
mounted that belonged to another user on the Mac workstation, and that
volume denied me access. For example, if I tried:

ls -l /Volumes

the error stream shows "ls: volume_name: Permission denied" for each volume
denying me access. After unmounting those volumes, ParaView was able to
open files normally.

Thanks,
Roman

On Mon, Mar 13, 2017 at 4:45 PM, Cory Quammen 
wrote:

> Roman,
>
> Thanks for the error report, it provides some useful clues. It looks
> like ParaView is crashing when collecting information about the
> mounted volumes on your system. Do you have an external drive or
> network file system mounted on the Mac Pro that is crashing? If so,
> could you try to unmount it and see if ParaView runs as expected?
>
> Barring that, are there any non-Latin characters in the names of the
> volumes mounted on the Mac in question?
>
> Thanks,
> Cory
>
> On Sat, Mar 11, 2017 at 6:49 PM, Roman Kowch  wrote:
> > Sorry, I should have mentioned that I'm running ParaView on a Mac Pro
> > computer, with OS X 10.11.6. The computer does not have DBaR.
> >
> > Another Mac Pro I've used, with OS X 10.11.6, does not reproduce the same
> > crash I'm seeing on this particular computer. Again, I could send a crash
> > report if that would help.
> >
> >
> > On Fri, Mar 10, 2017 at 8:30 PM, Utkarsh Ayachit
> >  wrote:
> >>
> >> Do you have Dell Backup and Recovery (DBaR) tools installed on your
> >> system? If so, the crash may be related to an issue with DBaR at Qt 5.
> >> You may need to update DBaR to the latest version. See [1] for
> >> details.
> >>
> >> [1]
> >> http://en.community.dell.com/support-forums/software-os/f/
> 3526/t/19634253
> >>
> >>
> >>
> >> On Fri, Mar 10, 2017 at 5:32 PM, Roman Kowch  wrote:
> >> > Hi,
> >> >
> >> > I've compiled Paraview from source, v. 5.3.0 RC3 using Qt5 for the
> GUI.
> >> > The
> >> > application however crashes on one of my computers when I simply click
> >> > "File" then "Open." It seems that the crash happens when it needs to
> >> > bring
> >> > up the dialog for selecting a file. It also happens if I do these menu
> >> > clicks:
> >> >
> >> > 1. "File", "Load Window Layout"
> >> > 2. "File", "Load State"
> >> > 3. "File", "Save State"
> >> >
> >> > As you can see, the crash appears to happen whenever a directory
> dialog
> >> > is
> >> > expected to appear. Should I send a crash report to diagnose this
> >> > problem?
> >> >
> >> > I should also mention that on another computer, this problem does NOT
> >> > appear
> >> > for the same build of Paraview. The problem seems unique to a
> particular
> >> > computer I'm using.
> >> >
> >> > Regards,
> >> > Roman
> >> >
> >> > ___
> >> > 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
> >
>
>
>
> --
> 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] How do you "see" FieldData

2017-03-28 Thread Scott, W Alan
Thanks Ken - really good explanation.  I have never understood global data, I 
think I do now.

Alan

From: Moreland, Kenneth
Sent: Friday, March 24, 2017 12:35 PM
To: Scott, W Alan ; paraview@paraview.org
Subject: RE: [Paraview] How do you "see" FieldData

The Exodus II file format has the concept of "global data." When this is read 
into ParaView/VTK, it gets placed into what vtkDataSet calls the "field data." 
Because of this, I tend to use the two interchangeably (and likewise so does 
the ParaView GUI). Personally, I prefer the term "global data" as it is more 
descriptive.

Arrays in global/field data can be whatever you want and whatever size you 
want. For example, someone might want to record the total volume of the data 
set. That could reasonably be stored in the global/field data. Another example 
might be that someone wants to record the time at which a particular event 
occurs. This could be stored in the global/field data as an array of marked 
time indices. As you can see, global/field data can mean pretty much whatever 
you want it to mean, so you can't do much with it unless you understand the 
semantics. Consequently, global/field data is mostly ignored by ParaView.

One thing that we have encountered with simulations at Sandia is that the 
simulation might track some global information, such as the mean of a field, 
and append that value to an array in the global data every time a timestep is 
written out. Thus, you end up with a global/field data array of length equal to 
the number of timesteps. The Plot Global Data Over Time filter addresses this 
use case and only this use case.

If you want to compute a value and then plot how that value changes over time, 
your best approach is to write that value out to a table and then use Plot 
Selection Over Time to plot the value.

-Ken

From: Scott, W Alan
Sent: Friday, March 24, 2017 12:17 PM
To: Moreland, Kenneth mailto:kmo...@sandia.gov>>; 
paraview@paraview.org
Subject: RE: [Paraview] How do you "see" FieldData

OK, looking at your reply, I think I have a fundamental misunderstanding, and 
have been mixing up terms.  What is a "global data" and "field data"?  What's 
the difference?

I think you are saying that if we have 43 timesteps (can.exo), any global 
arrays will have 43 entries (such as time or atmospheric pressure).  However, 
field data will have a single entry (such as Title)?  Below, you are setting - 
and resetting - the field data over and over again?

Alan

From: Moreland, Kenneth
Sent: Thursday, March 23, 2017 4:00 PM
To: Scott, W Alan mailto:wasc...@sandia.gov>>; 
paraview@paraview.org
Subject: RE: [Paraview] How do you "see" FieldData

I don't think Plot Global Variables Over Time works the way you think it does. 
This filter assumes that the global arrays contain a static array the same size 
as the number of time steps and then plots that with the time array on the x 
axis and the entries in this array in the y axis. If the size of the global 
variable does not equal the number of time steps, the view will show nothing.

I think you really want to use Plot Selection Over Time. That you can give a 
value and it will iterate the pipeline over time and compute the value for each 
time step. Unfortunately, it looks like the filter is broken for selections on 
field data. It works, however, on table data, so you can write the result as 
that.

I got what I think you want using the can data set. Here are the steps I used:

1. Load can.ex2. All variables. Apply.
2. Add the Programmable Filter. Set the output type to vtkTable (!) and use the 
following script:
disp_y = inputs[0].PointData["DISPL"][:,1]
mean_disp = mean(disp_y)
output.RowData.append(mean_disp, "MEAN_DISP")
3. Select the single row shown in the spreadsheet that pops up.
4. Add Plot Selection Over Time filter. Apply.

-Ken

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Scott, W Alan
Sent: Thursday, March 23, 2017 3:06 PM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] How do you "see" FieldData

>From a user:




How do you "see" FieldData variables created in the ProgrammableFilter in the 
PlotGlobalVariablesOverTime filter?  I'm creating a FieldData variable in the 
ProgrammableFilter.  Now I'd like to plot it over time.  It isn't available as 
an option for me to plot, though.  I see other global variables, just not this 
one.



disp_y = inputs[0].PointData["displ_"][:,1]



mean_disp = mean(disp_y)



output.FieldData.append(mean_disp, "MEAN_DISP")





Am I doing something wrong here?

Thanks,

Alan


___
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

Follo

Re: [Paraview] Switching time steps when running parallel

2017-03-28 Thread Andy Bauer
Hi,

I was able to reproduce this issue with a data set that Alex shared
privately with me (but is ok to share publicly). I've created a bug report (
https://gitlab.kitware.com/paraview/paraview/issues/17333).

Cheers,
Andy

ps. Alex: I've cc'ed the list so that others can follow the issue.

On Tue, Mar 28, 2017 at 12:02 PM, Andy Bauer  wrote:

> Hi,
>
> Any chance you could share the data set? I cannot determine the problem
> from the error message and am not sure I can reproduce it otherwise.
>
> Thanks,
> Andy
>
> On Tue, Mar 28, 2017 at 11:31 AM, Stief, Alexander <
> alexander.st...@hs-aalen.de> wrote:
>
>> I am using the ensight gold file format for transient results.
>>
>> When running Paraview in parallel mode (Auto MPI), I am unable to load
>> any time step except the first one.
>>
>> Trying to load a different time step results in the error message:
>>
>>
>>
>>
>>
>> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-lin
>> ux-shared-release_opengl2_qt4_superbuild/source-paraview/
>> ParaViewCore/VTKExtensions/Default/vtkPEnSightReader.cxx, line 343
>>
>> vtkPEnSightGoldBinaryReader (0x30d9510): error reading geometry file
>> ../ModelEnsight/LB_results.geo 0
>>
>>
>>
>> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-lin
>> ux-shared-release_opengl2_qt4_superbuild/source-paraview/
>> VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784
>>
>> vtkCompositeDataPipeline (0x30d8f40): Algorithm
>> vtkPEnSightGoldBinaryReader(0x30d9510) returned failure for request:
>> vtkInformation (0x31fc9a0)
>>
>>   Debug: Off
>>
>>   Modified Time: 96520
>>
>>   Reference Count: 1
>>
>>   Registered Events: (none)
>>
>>   Request: REQUEST_DATA
>>
>>   ALGORITHM_AFTER_FORWARD: 1
>>
>>   FORWARD_DIRECTION: 0
>>
>>   FROM_OUTPUT_PORT: 0
>>
>>
>>
>>
>>
>> When I try the same without Auto MPI enabled it works perfectly. It is
>> just that I would like to use Auto MPI because it speeds up the filters a
>> lot.
>>
>> I tried with versions 5.2.0 and 5.3.0.
>>
>>
>>
>> Regards
>>
>> Alex
>>
>> ___
>> 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] Switching time steps when running parallel

2017-03-28 Thread Andy Bauer
Hi,

Any chance you could share the data set? I cannot determine the problem
from the error message and am not sure I can reproduce it otherwise.

Thanks,
Andy

On Tue, Mar 28, 2017 at 11:31 AM, Stief, Alexander <
alexander.st...@hs-aalen.de> wrote:

> I am using the ensight gold file format for transient results.
>
> When running Paraview in parallel mode (Auto MPI), I am unable to load any
> time step except the first one.
>
> Trying to load a different time step results in the error message:
>
>
>
>
>
> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-
> linux-shared-release_opengl2_qt4_superbuild/source-paraview/ParaViewCore/
> VTKExtensions/Default/vtkPEnSightReader.cxx, line 343
>
> vtkPEnSightGoldBinaryReader (0x30d9510): error reading geometry file
> ../ModelEnsight/LB_results.geo 0
>
>
>
> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-
> linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Common/
> ExecutionModel/vtkExecutive.cxx, line 784
>
> vtkCompositeDataPipeline (0x30d8f40): Algorithm
> vtkPEnSightGoldBinaryReader(0x30d9510) returned failure for request:
> vtkInformation (0x31fc9a0)
>
>   Debug: Off
>
>   Modified Time: 96520
>
>   Reference Count: 1
>
>   Registered Events: (none)
>
>   Request: REQUEST_DATA
>
>   ALGORITHM_AFTER_FORWARD: 1
>
>   FORWARD_DIRECTION: 0
>
>   FROM_OUTPUT_PORT: 0
>
>
>
>
>
> When I try the same without Auto MPI enabled it works perfectly. It is
> just that I would like to use Auto MPI because it speeds up the filters a
> lot.
>
> I tried with versions 5.2.0 and 5.3.0.
>
>
>
> Regards
>
> Alex
>
> ___
> 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] Switching time steps when running parallel

2017-03-28 Thread Stief, Alexander
I am using the ensight gold file format for transient results.
When running Paraview in parallel mode (Auto MPI), I am unable to load any time 
step except the first one.
Trying to load a different time step results in the error message:


ERROR: In 
/home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/ParaViewCore/VTKExtensions/Default/vtkPEnSightReader.cxx,
 line 343
vtkPEnSightGoldBinaryReader (0x30d9510): error reading geometry file 
../ModelEnsight/LB_results.geo 0

ERROR: In 
/home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx,
 line 784
vtkCompositeDataPipeline (0x30d8f40): Algorithm 
vtkPEnSightGoldBinaryReader(0x30d9510) returned failure for request: 
vtkInformation (0x31fc9a0)
  Debug: Off
  Modified Time: 96520
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  ALGORITHM_AFTER_FORWARD: 1
  FORWARD_DIRECTION: 0
  FROM_OUTPUT_PORT: 0


When I try the same without Auto MPI enabled it works perfectly. It is just 
that I would like to use Auto MPI because it speeds up the filters a lot.
I tried with versions 5.2.0 and 5.3.0.

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