[Paraview] Catalyst question

2014-08-26 Thread Biddiscombe, John A.
Dear Catalyst people

I dragged out an old simulation demo I created some time ago and got it working 
with paraview/catalyst from git master branch - my plan was to test a live 
visualization of the simulation with the paraview GUI connected to the 
simulation. I had thought this capability was now possible, but I have not been 
following development closely and it looks like I was mistaken.

Is it possible to visualize the simulation live - rather than just generate 
images (which works fine). (I had a quick skim through the user manual, but 
didn't see this feature mentioned).

Thanks

JB

--
John Biddiscombe,email:biddisco @.at.@ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Trevano 131, 6900 Lugano, Switzerland   | Fax:  +41 (91) 610.82.82

___
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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Catalyst question

2014-08-26 Thread Andy Bauer
Hi John,

This live capability is now available and recently has been cleaned up
quite a bit. There are still a couple more small changes that are waiting a
code review process before they go into the master branch. The user's guide
needs an update for a bunch of new information (live, catalyst editions,
zero-copy arrays) that's important for Catalyst. We're also doing some
preliminary testing with a newly developed ADIOS writer for better IO
performance as well.

Getting back to the live viz stuff, when you create a Catalyst Python
script and export it using the wizard you'll have the option to enable live
viz (it's the same wizard page as the screenshot output specification).
Then, while your simulation is running use the Catalyst->Connect option to
connect. There are two tests (pv.CatalystLiveSetBreakpoint and
pvcs.CatalystLiveSetBreakpoint) that demonstrate the newly implemented live
functionality which now includes the option to set a breakpoint in the
simulation.

If you get a chance to try it out, let me know what you think.

Andy


On Tue, Aug 26, 2014 at 3:40 AM, Biddiscombe, John A. 
wrote:

>  Dear Catalyst people
>
>
>
> I dragged out an old simulation demo I created some time ago and got it
> working with paraview/catalyst from git master branch - my plan was to test
> a live visualization of the simulation with the paraview GUI connected to
> the simulation. I had thought this capability was now possible, but I have
> not been following development closely and it looks like I was mistaken.
>
>
>
> Is it possible to visualize the simulation live - rather than just
> generate images (which works fine). (I had a quick skim through the user
> manual, but didn’t see this feature mentioned).
>
>
>
> Thanks
>
>
>
> JB
>
>
>
> --
>
> John Biddiscombe,email:biddisco @.at.@ cscs.ch
>
> http://www.cscs.ch/
>
> CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
>
> Via Trevano 131, 6900 Lugano, Switzerland   | Fax:  +41 (91) 610.82.82
>
>
>
> ___
> 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
>
> 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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Catalyst question

2014-08-26 Thread Biddiscombe, John A.
Andy

Thanks for the info, great news that the live stuff is ongoing. My current test 
uses cxx only, so I didn’t play with the python pipelines and hadn’t noticed 
the live viz option. I will experiment and get back to you.

I saw a bunch of questions recently about doing GPU based stuff inside catalyst 
and it is my aim to get my cuda/piston based renderers working in-situ. I’ll 
let you know how I get on.
If there are commits on branches you think I might want to test, please say.

thanks again

JB




From: Andy Bauer [mailto:andy.ba...@kitware.com]
Sent: 26 August 2014 15:34
To: Biddiscombe, John A.
Cc: paraview@paraview.org
Subject: Re: [Paraview] Catalyst question

Hi John,

This live capability is now available and recently has been cleaned up quite a 
bit. There are still a couple more small changes that are waiting a code review 
process before they go into the master branch. The user's guide needs an update 
for a bunch of new information (live, catalyst editions, zero-copy arrays) 
that's important for Catalyst. We're also doing some preliminary testing with a 
newly developed ADIOS writer for better IO performance as well.
Getting back to the live viz stuff, when you create a Catalyst Python script 
and export it using the wizard you'll have the option to enable live viz (it's 
the same wizard page as the screenshot output specification). Then, while your 
simulation is running use the Catalyst->Connect option to connect. There are 
two tests (pv.CatalystLiveSetBreakpoint and pvcs.CatalystLiveSetBreakpoint) 
that demonstrate the newly implemented live functionality which now includes 
the option to set a breakpoint in the simulation.
If you get a chance to try it out, let me know what you think.

Andy

On Tue, Aug 26, 2014 at 3:40 AM, Biddiscombe, John A. 
mailto:biddi...@cscs.ch>> wrote:
Dear Catalyst people

I dragged out an old simulation demo I created some time ago and got it working 
with paraview/catalyst from git master branch - my plan was to test a live 
visualization of the simulation with the paraview GUI connected to the 
simulation. I had thought this capability was now possible, but I have not been 
following development closely and it looks like I was mistaken.

Is it possible to visualize the simulation live - rather than just generate 
images (which works fine). (I had a quick skim through the user manual, but 
didn’t see this feature mentioned).

Thanks

JB

--
John Biddiscombe,email:biddisco @.at.@ 
cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 
610.82.07
Via Trevano 131, 6900 Lugano, Switzerland   | Fax:  +41 (91) 
610.82.82


___
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

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Segmentation fault

2014-08-26 Thread Girish Ramesh
Hi,

I am writing my own plugin but each time I try to add another check box,
the plugin suddenly segfaults. I have no idea why. The XML and C++ code are
attached.

XML:




  The values of this property sets the run number.

  
C++:

public:
  vtkTypeMacro(ReadUALGrid, vtkUnstructuredGridAlgorithm);
  void PrintSelf(ostream& os, vtkIndent indent);

  static ReadUALGrid *New();

  vtkGetMacro(Shot,int)
  vtkSetMacro(Shot,int);

  vtkGetMacro(Run,int);
  vtkSetMacro(Run,int);

  vtkGetMacro(RefRun,int);
  vtkSetMacro(RefRun,int);

  vtkGetMacro(CPOLoad,int);
  vtkSetMacro(CPOLoad,int);

  vtkGetMacro(FieldLoadStatus,int);
  vtkSetMacro(FieldLoadStatus,int);

protected:
  ReadUALGrid();
  ~ReadUALGrid(){}

  int Shot;
  int Run;
  int RefRun;
  int CPOLoad;
  int FieldLoadStatus;

I have no idea why because it worked perfectly for other check boxes. Thank
you.

Regards,
Girish
___
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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [Paraview-developers] Segmentation fault

2014-08-26 Thread Cory Quammen
Girish,

Can you run ParaView with your plugin through a debugger to find out
where it is segfaulting? That will point out where the segfault occurs
which is often a clue to why it is occurring.

Thanks,
Cory

On Tue, Aug 26, 2014 at 9:41 AM, Girish Ramesh  wrote:
> Hi,
>
> I am writing my own plugin but each time I try to add another check box, the
> plugin suddenly segfaults. I have no idea why. The XML and C++ code are
> attached.
>
> XML:
>
>   name="FieldLoadStatus"
>  command="SetFieldLoadStatus"
>  number_of_elements="1"
>  default_values="0"
>  panel_visibility="default" >
> 
> 
>   The values of this property sets the run number.
> 
>   
> C++:
>
> public:
>   vtkTypeMacro(ReadUALGrid, vtkUnstructuredGridAlgorithm);
>   void PrintSelf(ostream& os, vtkIndent indent);
>
>   static ReadUALGrid *New();
>
>   vtkGetMacro(Shot,int)
>   vtkSetMacro(Shot,int);
>
>   vtkGetMacro(Run,int);
>   vtkSetMacro(Run,int);
>
>   vtkGetMacro(RefRun,int);
>   vtkSetMacro(RefRun,int);
>
>   vtkGetMacro(CPOLoad,int);
>   vtkSetMacro(CPOLoad,int);
>
>   vtkGetMacro(FieldLoadStatus,int);
>   vtkSetMacro(FieldLoadStatus,int);
>
> protected:
>   ReadUALGrid();
>   ~ReadUALGrid(){}
>
>   int Shot;
>   int Run;
>   int RefRun;
>   int CPOLoad;
>   int FieldLoadStatus;
>
> I have no idea why because it worked perfectly for other check boxes. Thank
> you.
>
> Regards,
> Girish
>
> ___
> Paraview-developers mailing list
> paraview-develop...@paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
___
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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Independent text in Comparative View

2014-08-26 Thread Utkarsh Ayachit
Ah! No, alas. Mind adding a feature request to the bug tracker (
http://paraview.org/Bug. I'll see what we can do.

Utkarsh


On Mon, Aug 25, 2014 at 10:11 PM, Fernando Paolo  wrote:

> Hello,
>
> Is it possible to annotate independent text on each of the windows in
> Comparative View mode?
>
> Thank you,
> -fernando
>
>
> --
> Fernando Paolo
> Institute of Geophysics & Planetary Physics
> Scripps Institution of Oceanography
> University of California, San Diego
>
> web: fspaolo.net
>
> ___
> 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
>
> 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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [Paraview-developers] Segmentation fault

2014-08-26 Thread Girish Ramesh
This is the backtrace i get when I run through gdb.

Output:

Program received signal SIGSEGV, Segmentation fault.
0x2aaabf3c21c4 in __strcmp_sse42 () from /lib64/libc.so.6
(gdb) bt full
#0  0x2aaabf3c21c4 in __strcmp_sse42 () from /lib64/libc.so.6
No symbol table info available.
#1  0x2aaac9cb4ee9 in ReadUALGrid::SetUser (this=0x10e3c10,
_arg=0x1b2ab39 "diy")
at
/pfs/work/kosl/sohpc/girish/paraview_plugin/paraview/ParaView-v4.1.0/Plugins/ReadUALGrid/ReadUALGrid.h:38
No
locals.

#2  0x2aaac9cb6937 in ReadUALGridCommand (arlu=0xecf5b0, ob=0x10e3c10,
method=0x1b2ab29 "SetUser", msg=..., resultStream=...)
at
/pfs/work/kosl/sohpc/girish/paraview_plugin/paraview/ParaView-v4.1.0/Plugins/ReadUALGrid/ReadUALGridClientServer.cxx:175

temp0 = 0x1b2ab39
"diy"

op =
0x10e3c10

vtkmsg = 

#3  0x2aaab1ee11c8 in
vtkClientServerInterpreter::CallCommandFunction(char const*,
vtkObjectBase*, char const*, vtkClientServerStream const&,
vtkClientServerStream&) ()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1

No symbol table info
available.

#4  0x2aaab1ee5102 in
vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream
const&, int) ()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1

No symbol table info
available.

#5  0x2aaab1ee4746 in
vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&,
int) ()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1

No symbol table info
available.

#6  0x2aaab1ee480d in
vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&)
()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1

No symbol table info
available.

#7  0x2e5011bb in
vtkSIProperty::ProcessMessage(vtkClientServerStream&)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#8  0x2e516ad7 in
vtkSIStringVectorProperty::Push(vtkSIStringVectorProperty::vtkVectorOfStrings
const&) ()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#9  0x2e517431 in
vtkSIStringVectorProperty::ReadXMLAttributes(vtkSIProxy*, vtkPVXMLElement*)
()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#10 0x2e503832 in vtkSIProxy::ReadXMLProperty(vtkPVXMLElement*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#11 0x2e50249f in vtkSIProxy::ReadXMLAttributes(vtkPVXMLElement*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#12 0x2e513809 in
vtkSISourceProxy::ReadXMLAttributes(vtkPVXMLElement*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#13 0x2e502e12 in
vtkSIProxy::CreateVTKObjects(paraview_protobuf::Message*)
()

---Type  to continue, or q  to
quit---

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#14 0x2e515765 in
vtkSISourceProxy::CreateVTKObjects(paraview_protobuf::Message*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#15 0x2e50209d in vtkSIProxy::Push(paraview_protobuf::Message*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#16 0x2e4e6e32 in
vtkPVSessionCore::PushStateInternal(paraview_protobuf::Message*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#17 0x2e4e52e7 in
vtkPVSessionCore::PushState(paraview_protobuf::Message*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#18 0x2e4e2b2d in
vtkPVSessionBase::PushState(paraview_protobuf::Message*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libv

Re: [Paraview] Usage of Octree, AMR

2014-08-26 Thread Berk Geveci
Hi Jing,

So that I understand, does your NetCDF file already contain some sort of
hierarchy or are you after adaptively rendering it by creating the
hierarchy on the fly?

Best,
-berk




On Sun, Aug 24, 2014 at 2:31 AM, jlih  wrote:

>  Hi all,
>
> I have a question regarding the usage of the octree.  Is it possible to
> create an octree structure for an array  (e.g., an array from a NetCDF
> file)? From the Source, I can select octree which creates a
> "template" octree structure.  I'd like to use the octree structure to
> reorganize the 3D NetCDF data to make the rendering more efficient. If
> using octree is not possible, how about using AMR?
>
>
>  Thanks in advance.
>
> Jing​
>
>
>
> ___
> 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
>
> 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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [Paraview-developers] Segmentation fault

2014-08-26 Thread Cory Quammen
My guess is that you have a member variable in RealUALGrid called
"User" that is a char *, but you aren't initializing it to NULL in the
constructor. When RealUALGrid::SetUser() is called, it checks whether
the parameter string passed in is the same as the "User" member
variable. Since "User" is initialized to an invalid pointer, you get
the segmentation fault

Cory

On Tue, Aug 26, 2014 at 9:59 AM, Girish Ramesh  wrote:
> This is the backtrace i get when I run through gdb.
>
> Output:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x2aaabf3c21c4 in __strcmp_sse42 () from /lib64/libc.so.6
> (gdb) bt full
> #0  0x2aaabf3c21c4 in __strcmp_sse42 () from /lib64/libc.so.6
> No symbol table info available.
> #1  0x2aaac9cb4ee9 in ReadUALGrid::SetUser (this=0x10e3c10,
> _arg=0x1b2ab39 "diy")
> at
> /pfs/work/kosl/sohpc/girish/paraview_plugin/paraview/ParaView-v4.1.0/Plugins/ReadUALGrid/ReadUALGrid.h:38
> No locals.
> #2  0x2aaac9cb6937 in ReadUALGridCommand (arlu=0xecf5b0, ob=0x10e3c10,
> method=0x1b2ab29 "SetUser", msg=..., resultStream=...)
> at
> /pfs/work/kosl/sohpc/girish/paraview_plugin/paraview/ParaView-v4.1.0/Plugins/ReadUALGrid/ReadUALGridClientServer.cxx:175
> temp0 = 0x1b2ab39 "diy"
> op = 0x10e3c10
> vtkmsg = 
> #3  0x2aaab1ee11c8 in
> vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*,
> char const*, vtkClientServerStream const&, vtkClientServerStream&) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1
> No symbol table info available.
> #4  0x2aaab1ee5102 in
> vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream
> const&, int) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1
> No symbol table info available.
> #5  0x2aaab1ee4746 in
> vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&,
> int) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1
> No symbol table info available.
> #6  0x2aaab1ee480d in
> vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1
> No symbol table info available.
> #7  0x2e5011bb in
> vtkSIProperty::ProcessMessage(vtkClientServerStream&) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> No symbol table info available.
> #8  0x2e516ad7 in
> vtkSIStringVectorProperty::Push(vtkSIStringVectorProperty::vtkVectorOfStrings
> const&) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> No symbol table info available.
> #9  0x2e517431 in
> vtkSIStringVectorProperty::ReadXMLAttributes(vtkSIProxy*, vtkPVXMLElement*)
> ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> No symbol table info available.
> #10 0x2e503832 in vtkSIProxy::ReadXMLProperty(vtkPVXMLElement*) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> No symbol table info available.
> #11 0x2e50249f in vtkSIProxy::ReadXMLAttributes(vtkPVXMLElement*) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> No symbol table info available.
> #12 0x2e513809 in
> vtkSISourceProxy::ReadXMLAttributes(vtkPVXMLElement*) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> No symbol table info available.
> #13 0x2e502e12 in
> vtkSIProxy::CreateVTKObjects(paraview_protobuf::Message*) ()
> ---Type  to continue, or q  to quit---
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> No symbol table info available.
> #14 0x2e515765 in
> vtkSISourceProxy::CreateVTKObjects(paraview_protobuf::Message*) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> No symbol table info available.
> #15 0x2e50209d in vtkSIProxy::Push(paraview_protobuf::Message*) ()
>from
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> No symbol table info available.
> #16 0x2e4e6e32 in
> vtkPVSessionCore::PushStateInternal(paraview_protobuf::Message*) ()
>from
> /pfs/work/kosl/sohpc/girish

Re: [Paraview] [Paraview-developers] Segmentation fault

2014-08-26 Thread Girish Ramesh
Oh thanks Cory. A very silly error! Sorry I missed that and thanks for
pointing it out.

Regards,
Girish


On 26 August 2014 16:09, Cory Quammen  wrote:

> My guess is that you have a member variable in RealUALGrid called
> "User" that is a char *, but you aren't initializing it to NULL in the
> constructor. When RealUALGrid::SetUser() is called, it checks whether
> the parameter string passed in is the same as the "User" member
> variable. Since "User" is initialized to an invalid pointer, you get
> the segmentation fault
>
> Cory
>
> On Tue, Aug 26, 2014 at 9:59 AM, Girish Ramesh 
> wrote:
> > This is the backtrace i get when I run through gdb.
> >
> > Output:
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x2aaabf3c21c4 in __strcmp_sse42 () from /lib64/libc.so.6
> > (gdb) bt full
> > #0  0x2aaabf3c21c4 in __strcmp_sse42 () from /lib64/libc.so.6
> > No symbol table info available.
> > #1  0x2aaac9cb4ee9 in ReadUALGrid::SetUser (this=0x10e3c10,
> > _arg=0x1b2ab39 "diy")
> > at
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/paraview/ParaView-v4.1.0/Plugins/ReadUALGrid/ReadUALGrid.h:38
> > No locals.
> > #2  0x2aaac9cb6937 in ReadUALGridCommand (arlu=0xecf5b0,
> ob=0x10e3c10,
> > method=0x1b2ab29 "SetUser", msg=..., resultStream=...)
> > at
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/paraview/ParaView-v4.1.0/Plugins/ReadUALGrid/ReadUALGridClientServer.cxx:175
> > temp0 = 0x1b2ab39 "diy"
> > op = 0x10e3c10
> > vtkmsg = 
> > #3  0x2aaab1ee11c8 in
> > vtkClientServerInterpreter::CallCommandFunction(char const*,
> vtkObjectBase*,
> > char const*, vtkClientServerStream const&, vtkClientServerStream&) ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1
> > No symbol table info available.
> > #4  0x2aaab1ee5102 in
> > vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream
> > const&, int) ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1
> > No symbol table info available.
> > #5  0x2aaab1ee4746 in
> > vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream
> const&,
> > int) ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1
> > No symbol table info available.
> > #6  0x2aaab1ee480d in
> > vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&)
> ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1
> > No symbol table info available.
> > #7  0x2e5011bb in
> > vtkSIProperty::ProcessMessage(vtkClientServerStream&) ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> > No symbol table info available.
> > #8  0x2e516ad7 in
> >
> vtkSIStringVectorProperty::Push(vtkSIStringVectorProperty::vtkVectorOfStrings
> > const&) ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> > No symbol table info available.
> > #9  0x2e517431 in
> > vtkSIStringVectorProperty::ReadXMLAttributes(vtkSIProxy*,
> vtkPVXMLElement*)
> > ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> > No symbol table info available.
> > #10 0x2e503832 in vtkSIProxy::ReadXMLProperty(vtkPVXMLElement*)
> ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> > No symbol table info available.
> > #11 0x2e50249f in
> vtkSIProxy::ReadXMLAttributes(vtkPVXMLElement*) ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> > No symbol table info available.
> > #12 0x2e513809 in
> > vtkSISourceProxy::ReadXMLAttributes(vtkPVXMLElement*) ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> > No symbol table info available.
> > #13 0x2e502e12 in
> > vtkSIProxy::CreateVTKObjects(paraview_protobuf::Message*) ()
> > ---Type  to continue, or q  to quit---
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> > No symbol table info available.
> > #14 0x2e515765 in
> > vtkSISourceProxy::CreateVTKObjects(paraview_protobuf::Message*) ()
> >from
> >
> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1
> > No symbol table info available

Re: [Paraview] Usage of Octree, AMR

2014-08-26 Thread Jing Li
Hi Berk,
Thanks for your reply. The original Netcdf file is a regular spaced 3D dataset 
with a lot of filled values.  I plan to reorganize the data with AMR or some 
other more efficient structures for rendering. I am developing Python functions 
to resample Netcdf files but I am not sure if this is the right direction.

Any suggestions are highly appreciated.

Jing

> On Aug 26, 2014, at 9:57 PM, Berk Geveci  wrote:
> 
> Hi Jing,
> 
> So that I understand, does your NetCDF file already contain some sort of 
> hierarchy or are you after adaptively rendering it by creating the hierarchy 
> on the fly?
> 
> Best,
> -berk
> 
> 
> 
> 
>> On Sun, Aug 24, 2014 at 2:31 AM, jlih  wrote:
>> Hi all, 
>> I have a question regarding the usage of the octree.  Is it possible to 
>> create an octree structure for an array  (e.g., an array from a NetCDF 
>> file)? From the Source, I can select octree which creates a "template" 
>> octree structure.  I'd like to use the octree structure to reorganize the 3D 
>> NetCDF data to make the rendering more efficient. If using octree is not 
>> possible, how about using AMR?
>> 
>> Thanks in advance. 
>> Jing​
>> 
>> 
>> ___
>> 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
>> 
>> 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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Iso-surfaces

2014-08-26 Thread Ryan Crocker
Hi, 

I wanted to add a contour surface, to a contour isosurface, that is linked to 
my grid.  So it is say, an iso-surface of Pressure  = 0 but it is contour 
colored by hight in y.  How would i go about doing that. 

thanks, 

Ryan Crocker
University of Vermont, School of Engineering
Mechanical Engineering Department
rcroc...@uvm.edu
315-212-7331

___
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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Iso-surfaces

2014-08-26 Thread Moreland, Kenneth
Ryan,

I'm not sure I understand what you want, but it sounds like you want to
check the box next to "Compute Scalars." If this option is on, the output
of contour will contain all of the scalar fields. From there you can color
by another field or apply a second contour to the surface to get curves.

-Ken



On 8/26/14 10:50 AM, "Ryan Crocker"  wrote:

>Hi, 
>
>I wanted to add a contour surface, to a contour isosurface, that is
>linked to my grid.  So it is say, an iso-surface of Pressure  = 0 but it
>is contour colored by hight in y.  How would i go about doing that.
>
>thanks, 
>
>Ryan Crocker
>University of Vermont, School of Engineering
>Mechanical Engineering Department
>rcroc...@uvm.edu
>315-212-7331
>
>___
>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
>
>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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Quadrature Points filters

2014-08-26 Thread Moreland, Kenneth
In the nightly builds of ParaView I notice that there is a new filter category 
named Quadrature Points. Can someone briefly explain what these filters do?

-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.sandia.gov/~kmorel

___
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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Quadrature Points filters

2014-08-26 Thread Burlen Loring

Hi Ken,

Those are for visualizing data at locations used internally by FE 
solvers. The menu category was added a while back (3.98?) when I fixed a 
couple of bugs reported here on the user list. The filters themselves 
have been around for a while. 
http://www.vtk.org/Wiki/images/7/78/VTK-Quadrature-Point-Design-Doc.pdf


Burlen


On 08/26/2014 11:38 AM, Moreland, Kenneth wrote:
In the nightly builds of ParaView I notice that there is a new filter 
category named Quadrature Points. Can someone briefly explain what 
these filters do?


-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov 
**  ***  **  phone: (505) 844-8919
***  web: http://www.sandia.gov/~kmorel 





___
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

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview