[Paraview] (no subject)

2009-12-16 Thread Adriano Gagliardi
Hi,

Can anyone explain why the following warnings are appearing when I open the
Python Shell? This only appears to be happening on my machine in interactive
mode (using pvpython or pvbatch, I don't get these messages). 

 from paraview.simple import *
Warning: Clip is being overwritten. This may point to an issue in the
ParaView configuration files
Warning: Clip is being overwritten. This may point to an issue in the
ParaView configuration files
Warning: PlotSelectionOverTime is being overwritten. This may point to an
issue in the ParaView configuration files
Warning: FlattenFilter is being overwritten. This may point to an issue in
the ParaView configuration files
Warning: ProcessIdScalars is being overwritten. This may point to an issue
in the ParaView configuration files
Warning: UpdateSuppressor2 is being overwritten. This may point to an issue
in the ParaView configuration files
Warning: WarpByVector is being overwritten. This may point to an issue in
the ParaView configuration files
Warning: WarpByVector is being overwritten. This may point to an issue in
the ParaView configuration files
paraview version 3.7.0, Date: 2009-10-03


Fortunately, they don't appear to be having any effect on my scripts, so it
isn't a big issue but I'd like to understand why it is happening when I
haven't touched anything. I'm using ParaView 3.6.2-RC1.

Cheers,

Adriano

===

Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 


---
This email contains information that is private and confidential and is 
intended only for the addressee.  If you are not the intended recipient please 
delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 
196351245


___
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://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] (no subject)

2009-12-16 Thread Sven Buijssen
Hi Adriano,

Sounds familiar to me. I reported this a while back to Mantis:
http://www.paraview.org/Bug/view.php?id=9549

Sven

- Original Message -
From: Adriano Gagliardi agaglia...@ara.co.uk
To: 'ParaView' paraview@paraview.org
Sent: Mittwoch, 16. Dezember 2009 10:23:25
Subject: [Paraview] (no subject)
 Hi,
 
 Can anyone explain why the following warnings are appearing when I open the
 Python Shell? This only appears to be happening on my machine in interactive
 mode (using pvpython or pvbatch, I don't get these messages). 
 
 from paraview.simple import *
 Warning: Clip is being overwritten. This may point to an issue in the
 ParaView configuration files
 Warning: Clip is being overwritten. This may point to an issue in the
 ParaView configuration files
 Warning: PlotSelectionOverTime is being overwritten. This may point to an
 issue in the ParaView configuration files
 Warning: FlattenFilter is being overwritten. This may point to an issue in
 the ParaView configuration files
 Warning: ProcessIdScalars is being overwritten. This may point to an issue
 in the ParaView configuration files
 Warning: UpdateSuppressor2 is being overwritten. This may point to an issue
 in the ParaView configuration files
 Warning: WarpByVector is being overwritten. This may point to an issue in
 the ParaView configuration files
 Warning: WarpByVector is being overwritten. This may point to an issue in
 the ParaView configuration files
 paraview version 3.7.0, Date: 2009-10-03
 
 Fortunately, they don't appear to be having any effect on my scripts, so it
 isn't a big issue but I'd like to understand why it is happening when I
 haven't touched anything. I'm using ParaView 3.6.2-RC1.
 
 Cheers,
 
 Adriano
 
 ===
 
 Adriano Gagliardi MEng PhD
 Project Scientist
 Computational Aerodynamics
 Aircraft Research Association Ltd.
 Manton Lane
 Bedford
 
 Tel: 01234 32 4644
 E-mail: agaglia...@ara.co.uk
 Url: www.ara.co.uk 
 
 
 ---
 This email contains information that is private and confidential and is 
 intended only for the addressee.  If you are not the intended recipient 
 please delete it and notify us immediately by e-mailing the sender.
 Note: All email sent to or from this address may be accessed by someone other 
 than the recipient, for system management and security reasons.
 Aircraft Research Association Ltd.  Registered in England, Registration No 
 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 
 196351245
 
 
 ___
 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://www.paraview.org/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://www.paraview.org/mailman/listinfo/paraview


[Paraview] Paraview 3.6.1 crashes !

2009-12-16 Thread Christophe Peyret
Hello,

I'm using paraview 3.6.1 for ppc on Mac OS X 10.5.8. Every things worked.. 
until last friday. Now, I'm facing problem with the scalar data range, when I 
try to edit it (click on edit color map button), it crashes !

here is the beginning of the log crash :
 

Process: paraview [1004]
Path:/Volumes/paraview.app-3.6.1-Tiger-ppc/ParaView 
3.6.1.app/Contents/MacOS/paraview
Identifier:  ???
Version:  ()
Code Type:   PPC (Native)
Parent Process:  launchd [101]

Interval Since Last Report:  20851 sec
Crashes Since Last Report:   2
Per-App Interval Since Last Report:  18853 sec
Per-App Crashes Since Last Report:   2

Date/Time:   2009-12-16 11:00:51.243 +0100
OS Version:  Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  06146656-1707-43CA-B835-BE00A42ECD0E

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0014
Crashed Thread:  0

Thread 0 Crashed:
0   libvtkPVCommandOptions.dylib0x0407a99c 
vtkPVXMLElement::GetAttribute(char const*) + 28
1   libpqComponents.dylib   0x0056b450 
pqColorPresetManager::importColorMap(vtkPVXMLElement*) + 64
2   libpqComponents.dylib   0x0056b450 
pqColorPresetManager::importColorMap(vtkPVXMLElement*) + 64
3   libpqComponents.dylib   0x0056c28c 
pqColorPresetManager::restoreSettings() + 636
4   libpqComponents.dylib   0x00572c04 
pqColorScaleEditor::pqColorScaleEditor(QWidget*) + 196
5   libpqComponents.dylib   0x00576de4 
pqColorScaleToolbar::editColorMap(pqDataRepresentation*) + 116
6   libpqComponents.dylib   0x005a0c84 
pqDisplayProxyEditor::openColorMapEditor() + 212
7   libpqComponents.dylib   0x006c6940 
pqDisplayProxyEditor::qt_metacall(QMetaObject::Call, int, void**) + 176
8   QtCore  0x01a1714c 
QMetaObject::activate(QObject*, int, int, void**) + 1324
9   QtGui   0x012a2248 
QAbstractButton::clicked(bool) + 72
10  QtGui   0x01072fa8 
QAbstractButtonPrivate::emitClicked() + 56
11  QtGui   0x010744e0 
QAbstractButtonPrivate::click() + 256
12  QtGui   0x01074724 
QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 100
13  QtGui   0x00e0857c QWidget::event(QEvent*) + 
1004
14  QtGui   0x00dc1bbc 
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 636
15  QtGui   0x00dc517c 
QApplication::notify(QObject*, QEvent*) + 2364
16  QtCore  0x01a033cc 
QCoreApplication::notifyInternal(QObject*, QEvent*) + 108
17  QtGui   0x00e18a88 
QApplicationPrivate::globalEventProcessor(OpaqueEventHandlerCallRef*, 
OpaqueEventRef*, void*) + 8056
18  com.apple.HIToolbox 0x93c66c48 
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
1484
19  com.apple.HIToolbox 0x93c65de0 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*) + 464
20  com.apple.HIToolbox 0x93c82d04 SendEventToEventTarget + 52
21  com.apple.HIToolbox 0x93c95ea8 
ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, 
void*) + 1108
22  com.apple.HIToolbox 0x93c6709c 
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
2592
23  com.apple.HIToolbox 0x93c65de0 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*) + 464
24  com.apple.HIToolbox 0x93c82d04 SendEventToEventTarget + 52
25  QtGui   0x00e13234 
qt_mac_send_event(QFlagsQEventLoop::ProcessEventsFlag, OpaqueEventRef*, 
OpaqueWindowPtr*) + 164
26  QtGui   0x00e20b60 
QEventDispatcherMac::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 720
27  QtCore  0x01a02e40 
QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 64
28  QtCore  0x01a02fe4 
QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 148
29  QtCore  0x01a05ce0 QCoreApplication::exec() + 
224
30  0x00019f20 main + 704
31  0x00018828 _start + 756
32  0x0001852c start + 44

Thread 1:
0   libSystem.B.dylib   0x94f7bc0c __semwait_signal + 12
1   libSystem.B.dylib   0x94fb846c _pthread_cond_wait + 1580
2   libGLProgrammability.dylib  0x91605b68 glvmDoWork + 120
3   libSystem.B.dylib   0x94fb70c4 _pthread_start + 316

Thread 0 crashed with PPC Thread State 32:
 srr0: 0x0407a99c  srr1: 0xf030   dar: 0x0014 dsisr: 0x4000
   r0: 0x0056b454r1: 0xbfffd730  

[Paraview] multiple vector arrays for point data

2009-12-16 Thread Paul Edwards
Hi,

Is it possible to have multiple vector arrays for point data?  By
using the SetVector method it will overwrite any previous vector
values.  The other option I have tried is to use AddArray but this
does not work properly with a transform as the vector array added with
SetVector will get transformed but vector arrays added with
AddArray do not.  Ideally I would like to be able to set the array
type.

Thanks,
Paul
___
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://www.paraview.org/mailman/listinfo/paraview


[Paraview] time series

2009-12-16 Thread Didier Roissé
Hello,
I write a plugin reader. And this reader reads data which is time dependent.
So in RequestInformation I set the different values for steps and the min
and max value of time like this :

for(int i=0;inbtimesteps;i++)

outInfo-Append(vtkStreamingDemandDrivenPipeline::TIME_STEPS(),timeStep[i]);

timeRange[0]=time_min;
timeRange[1]=time_max;
outInfo-Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2);

nbtimsteps is the number of steps.
and timeSteps[i] is the value of the time at the step i.



In RequestData I write the following line to see the value of
UPDATE_TIME_STEPS.
if(outInfo-Has(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()))
  {
  double step =
outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())[0];
  int nSteps =

outInfo-Length(vtkStreamingDemandDrivenPipeline::TIME_STEPS());
  double* steps =

outInfo-Get(vtkStreamingDemandDrivenPipeline::TIME_STEPS());
  std::cout  Step : stependl;
  for(int i=0;inSteps;i++)
  {
std::cout  steps : steps[i]endl;
  }
  }

 when I display
outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())[0] for
the first time value,
I expected to have my first value of my timeStep, but I have 0.
And if I click on the next frame button in paraview, the next value is
0.111.

I don't understand what I am doing wrong.

Thanks,
Didier

PS : I use paraview 3.7
___
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://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] time series

2009-12-16 Thread Biddiscombe, John A.
Have a look at the time presentation on the paraview wiki under IEEE 2008 
tutorial. you need XML + RequestInformation and then it should work

JB

From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On 
Behalf Of Didier Roissé
Sent: 16 December 2009 13:04
To: paraview@paraview.org
Subject: [Paraview] time series

Hello,
I write a plugin reader. And this reader reads data which is time dependent.
So in RequestInformation I set the different values for steps and the min and 
max value of time like this :

for(int i=0;inbtimesteps;i++)
   
outInfo-Append(vtkStreamingDemandDrivenPipeline::TIME_STEPS(),timeStep[i]);

timeRange[0]=time_min;
timeRange[1]=time_max;
outInfo-Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2);

nbtimsteps is the number of steps.
and timeSteps[i] is the value of the time at the step i.



In RequestData I write the following line to see the value of UPDATE_TIME_STEPS.
if(outInfo-Has(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()))
  {
  double step = 
outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())[0];
  int nSteps =
outInfo-Length(vtkStreamingDemandDrivenPipeline::TIME_STEPS());
  double* steps =
outInfo-Get(vtkStreamingDemandDrivenPipeline::TIME_STEPS());
  std::cout  Step : stependl;
  for(int i=0;inSteps;i++)
  {
std::cout  steps : steps[i]endl;
  }
  }

 when I display 
outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())[0] for the 
first time value,
I expected to have my first value of my timeStep, but I have 0.
And if I click on the next frame button in paraview, the next value is 
0.111.

I don't understand what I am doing wrong.

Thanks,
Didier

PS : I use paraview 3.7

___
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://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] compiling paraview against mpich2

2009-12-16 Thread Berk Geveci
That's strange. Are you positive that you set LD_LIBRARY_PATH
correctly and you also exported the variable (assuming you are using
bash/ksh/zsh)?

-berk

On Tue, Dec 15, 2009 at 11:52 PM, Huan Sun h...@math.psu.edu wrote:

 Hi,

 Thanks for the help. Somehow cmake didn't find the correct mpiexec -- it
 did find the libmpichcxx.so. I fixed the mpiexec, compiled and
 installed.
 But when i ran ./pvserver --ldd (results attached below)
 It seems that the paraview didn't find libmpichcxx.
 I installed mpich2 under my local account and put the lib path into
 LD_LIBRARY_PATH.
 I wonder if you could help me figure out what happened.

 Thanks!

 Huan




        linux-vdso.so.1 =  (0x7fff0db73000)
        libvtkPVServerCommon.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVServerCommon.so 
 (0x7f0228533000)
        libvtkPVFilters.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVFilters.so
 (0x7f0227f23000)
        libvtkPVServerManager.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVServerManager.so 
 (0x7f02276ef000)
        libvtkPVFiltersCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVFiltersCS.so
 (0x7f022741e000)
        libvtkPVServerCommonCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVServerCommonCS.so 
 (0x7f02271d3000)
        libvtkInfovisCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkInfovisCS.so
 (0x7f0226f52000)
        libKWCommon.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libKWCommon.so
 (0x7f0226d3a000)
        libvtkPVCommandOptions.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVCommandOptions.so 
 (0x7f0226b04000)
        libvtkXdmfCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkXdmfCS.so
 (0x7f02268f7000)
        libvtkPVPythonInterpretor.so
 = 
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVPythonInterpretor.so 
 (0x7f02266e8000)
        libpython2.5.so.1.0 = /usr/lib/libpython2.5.so.1.0
 (0x7f0226378000)
        libutil.so.1 = /lib/libutil.so.1 (0x7f0226175000)
        libicet_mpi.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libicet_mpi.so
 (0x7f0225f72000)
        libicet_strategies.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libicet_strategies.so
 (0x7f0225d6a000)
        libicet.so = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libicet.so
 (0x7f0225b58000)
        libGLU.so.1 = /usr/lib/libGLU.so.1 (0x7f02258d4000)
        libvtkHybridCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkHybridCS.so
 (0x7f0225625000)
        libvtkParallelCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkParallelCS.so
 (0x7f022539)
        libvtkVolumeRenderingCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkVolumeRenderingCS.so 
 (0x7f0225145000)
        libvtkVolumeRendering.so.pv3.6
 = 
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkVolumeRendering.so.pv3.6 
 (0x7f02248f)
        libvtkWidgetsCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkWidgetsCS.so
 (0x7f0224618000)
        libvtkRenderingCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkRenderingCS.so
 (0x7f02242be000)
        libvtkGenericFilteringCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkGenericFilteringCS.so 
 (0x7f02240a3000)
        libvtkGenericFiltering.so.pv3.6
 = 
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkGenericFiltering.so.pv3.6
  (0x7f0223e5b000)
        libvtkGraphicsCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkGraphicsCS.so
 (0x7f0223a85000)
        libvtkImagingCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkImagingCS.so
 (0x7f02237d2000)
        libvtkIOCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkIOCS.so
 (0x7f02234da000)
        libvtkFilteringCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkFilteringCS.so
 (0x7f022314d000)
        libvtkCommonCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkCommonCS.so
 (0x7f0222e1b000)
        libvtkClientServer.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkClientServer.so
 (0x7f0222bc2000)
        libvtkXdmf.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkXdmf.so
 (0x7f022293c000)
        libXdmf.so = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libXdmf.so
 (0x7f02226bd000)
        libvtkhdf5.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkhdf5.so
 (0x7f08d000)
        libQtChart.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libQtChart.so
 (0x7f0221fbf000)
        libQtXml.so.4
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libQtXml.so.4
 (0x7f0221d52000)
        libQVTK.so.pv3.6
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libQVTK.so.pv3.6
 (0x7f0221ab3000)
        libvtkQtChart.so.pv3.6
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkQtChart.so.pv3.6
 

Re: [Paraview] (no subject)

2009-12-16 Thread Berk Geveci
Hi Adriano,

Are you loading any plugin or do you have any custom filters?

-berk

On Wed, Dec 16, 2009 at 4:23 AM, Adriano Gagliardi agaglia...@ara.co.uk wrote:
 Hi,

 Can anyone explain why the following warnings are appearing when I open the
 Python Shell? This only appears to be happening on my machine in interactive
 mode (using pvpython or pvbatch, I don't get these messages).

 from paraview.simple import *
 Warning: Clip is being overwritten. This may point to an issue in the
 ParaView configuration files
 Warning: Clip is being overwritten. This may point to an issue in the
 ParaView configuration files
 Warning: PlotSelectionOverTime is being overwritten. This may point to an
 issue in the ParaView configuration files
 Warning: FlattenFilter is being overwritten. This may point to an issue in
 the ParaView configuration files
 Warning: ProcessIdScalars is being overwritten. This may point to an issue
 in the ParaView configuration files
 Warning: UpdateSuppressor2 is being overwritten. This may point to an issue
 in the ParaView configuration files
 Warning: WarpByVector is being overwritten. This may point to an issue in
 the ParaView configuration files
 Warning: WarpByVector is being overwritten. This may point to an issue in
 the ParaView configuration files
 paraview version 3.7.0, Date: 2009-10-03


 Fortunately, they don't appear to be having any effect on my scripts, so it
 isn't a big issue but I'd like to understand why it is happening when I
 haven't touched anything. I'm using ParaView 3.6.2-RC1.

 Cheers,

 Adriano

 ===

 Adriano Gagliardi MEng PhD
 Project Scientist
 Computational Aerodynamics
 Aircraft Research Association Ltd.
 Manton Lane
 Bedford

 Tel: 01234 32 4644
 E-mail: agaglia...@ara.co.uk
 Url: www.ara.co.uk


 ---
 This email contains information that is private and confidential and is 
 intended only for the addressee.  If you are not the intended recipient 
 please delete it and notify us immediately by e-mailing the sender.
 Note: All email sent to or from this address may be accessed by someone other 
 than the recipient, for system management and security reasons.
 Aircraft Research Association Ltd.  Registered in England, Registration No 
 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 
 196351245


 ___
 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://www.paraview.org/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://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview 3.6.1 crashes !

2009-12-16 Thread Utkarsh Ayachit
Try running with -dr command line argument (You'll have to run from
a terminal specifying the full executable path
ParaView.app/MacOS/Contents/... and the add '-dr') Does that help?

Utkarsh

On Wed, Dec 16, 2009 at 9:50 AM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 Are you saying the same binary for 3.6.1 started failing all of sudden
 since last Friday?

 Utkarsh

 On Wed, Dec 16, 2009 at 5:04 AM, Christophe Peyret
 christophe.pey...@onera.fr wrote:
 Hello,

 I'm using paraview 3.6.1 for ppc on Mac OS X 10.5.8. Every things worked.. 
 until last friday. Now, I'm facing problem with the scalar data range, when 
 I try to edit it (click on edit color map button), it crashes !

 here is the beginning of the log crash :


 Process:         paraview [1004]
 Path:            /Volumes/paraview.app-3.6.1-Tiger-ppc/ParaView 
 3.6.1.app/Contents/MacOS/paraview
 Identifier:      ???
 Version:          ()
 Code Type:       PPC (Native)
 Parent Process:  launchd [101]

 Interval Since Last Report:          20851 sec
 Crashes Since Last Report:           2
 Per-App Interval Since Last Report:  18853 sec
 Per-App Crashes Since Last Report:   2

 Date/Time:       2009-12-16 11:00:51.243 +0100
 OS Version:      Mac OS X 10.5.8 (9L31a)
 Report Version:  6
 Anonymous UUID:  06146656-1707-43CA-B835-BE00A42ECD0E

 Exception Type:  EXC_BAD_ACCESS (SIGBUS)
 Exception Codes: KERN_PROTECTION_FAILURE at 0x0014
 Crashed Thread:  0

 Thread 0 Crashed:
 0   libvtkPVCommandOptions.dylib        0x0407a99c 
 vtkPVXMLElement::GetAttribute(char const*) + 28
 1   libpqComponents.dylib               0x0056b450 
 pqColorPresetManager::importColorMap(vtkPVXMLElement*) + 64
 2   libpqComponents.dylib               0x0056b450 
 pqColorPresetManager::importColorMap(vtkPVXMLElement*) + 64
 3   libpqComponents.dylib               0x0056c28c 
 pqColorPresetManager::restoreSettings() + 636
 4   libpqComponents.dylib               0x00572c04 
 pqColorScaleEditor::pqColorScaleEditor(QWidget*) + 196
 5   libpqComponents.dylib               0x00576de4 
 pqColorScaleToolbar::editColorMap(pqDataRepresentation*) + 116
 6   libpqComponents.dylib               0x005a0c84 
 pqDisplayProxyEditor::openColorMapEditor() + 212
 7   libpqComponents.dylib               0x006c6940 
 pqDisplayProxyEditor::qt_metacall(QMetaObject::Call, int, void**) + 176
 8   QtCore                              0x01a1714c 
 QMetaObject::activate(QObject*, int, int, void**) + 1324
 9   QtGui                               0x012a2248 
 QAbstractButton::clicked(bool) + 72
 10  QtGui                               0x01072fa8 
 QAbstractButtonPrivate::emitClicked() + 56
 11  QtGui                               0x010744e0 
 QAbstractButtonPrivate::click() + 256
 12  QtGui                               0x01074724 
 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 100
 13  QtGui                               0x00e0857c QWidget::event(QEvent*) + 
 1004
 14  QtGui                               0x00dc1bbc 
 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 636
 15  QtGui                               0x00dc517c 
 QApplication::notify(QObject*, QEvent*) + 2364
 16  QtCore                              0x01a033cc 
 QCoreApplication::notifyInternal(QObject*, QEvent*) + 108
 17  QtGui                               0x00e18a88 
 QApplicationPrivate::globalEventProcessor(OpaqueEventHandlerCallRef*, 
 OpaqueEventRef*, void*) + 8056
 18  com.apple.HIToolbox                 0x93c66c48 
 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
 1484
 19  com.apple.HIToolbox                 0x93c65de0 
 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
 HandlerCallRec*) + 464
 20  com.apple.HIToolbox                 0x93c82d04 SendEventToEventTarget + 
 52
 21  com.apple.HIToolbox                 0x93c95ea8 
 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, 
 void*) + 1108
 22  com.apple.HIToolbox                 0x93c6709c 
 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
 2592
 23  com.apple.HIToolbox                 0x93c65de0 
 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
 HandlerCallRec*) + 464
 24  com.apple.HIToolbox                 0x93c82d04 SendEventToEventTarget + 
 52
 25  QtGui                               0x00e13234 
 qt_mac_send_event(QFlagsQEventLoop::ProcessEventsFlag, OpaqueEventRef*, 
 OpaqueWindowPtr*) + 164
 26  QtGui                               0x00e20b60 
 QEventDispatcherMac::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 
 720
 27  QtCore                              0x01a02e40 
 QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 64
 28  QtCore                              0x01a02fe4 
 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 148
 29  QtCore                              0x01a05ce0 QCoreApplication::exec() 
 + 224
 30                                      0x00019f20 main + 704
 31                

Re: [Paraview] (no subject)

2009-12-16 Thread Adriano Gagliardi
Hi Berk,

Yeah, I have custom plugins and filters that are loaded automatically. I've
done some checking after the pointer from Sven, and it is definitely the
custom filters that are causing the issue. I tested filters that were
created with version 3.5.0 and 3.6.2-RC1 and both give these warnings if the
custom filters are loaded. What is strange is the warning itself doesn't
appear to relate to any built-in filter used in the custom filter. For
example:

Custom Filter A:

Use:
- EnSight Reader
- Transform
- Extract Block
- Extract Surface
- Compute Surface Normals
- Calculator
- Integrate Variables

Error in python shell:

 from paraview.simple import *
Warning: Clip is being overwritten. This may point to an issue in the
ParaView configuration files
paraview version 3.7.0, Date: 2009-10-03


Clip filter isn't used at all. As I said, I'm using the release candidate
build, but the error has been reported by Sven as being in existance since
early October this year. 

Cheers,

Adriano

===

Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 
-Original Message-
From: Berk Geveci [mailto:berk.gev...@kitware.com] 
Sent: 16 December 2009 14:33
To: agaglia...@ara.co.uk
Cc: ParaView
Subject: Re: [Paraview] (no subject)

Hi Adriano,

Are you loading any plugin or do you have any custom filters?

-berk

On Wed, Dec 16, 2009 at 4:23 AM, Adriano Gagliardi agaglia...@ara.co.uk
wrote:
 Hi,

 Can anyone explain why the following warnings are appearing when I 
 open the Python Shell? This only appears to be happening on my machine 
 in interactive mode (using pvpython or pvbatch, I don't get these
messages).

 from paraview.simple import *
 Warning: Clip is being overwritten. This may point to an issue in the 
 ParaView configuration files
 Warning: Clip is being overwritten. This may point to an issue in the 
 ParaView configuration files
 Warning: PlotSelectionOverTime is being overwritten. This may point to 
 an issue in the ParaView configuration files
 Warning: FlattenFilter is being overwritten. This may point to an 
 issue in the ParaView configuration files
 Warning: ProcessIdScalars is being overwritten. This may point to an 
 issue in the ParaView configuration files
 Warning: UpdateSuppressor2 is being overwritten. This may point to an 
 issue in the ParaView configuration files
 Warning: WarpByVector is being overwritten. This may point to an issue 
 in the ParaView configuration files
 Warning: WarpByVector is being overwritten. This may point to an issue 
 in the ParaView configuration files paraview version 3.7.0, Date: 
 2009-10-03


 Fortunately, they don't appear to be having any effect on my scripts, 
 so it isn't a big issue but I'd like to understand why it is happening 
 when I haven't touched anything. I'm using ParaView 3.6.2-RC1.

 Cheers,

 Adriano

 ===

 Adriano Gagliardi MEng PhD
 Project Scientist
 Computational Aerodynamics
 Aircraft Research Association Ltd.
 Manton Lane
 Bedford

 Tel: 01234 32 4644
 E-mail: agaglia...@ara.co.uk
 Url: www.ara.co.uk


 ---
 This email contains information that is private and confidential and is
intended only for the addressee.  If you are not the intended recipient
please delete it and notify us immediately by e-mailing the sender.
 Note: All email sent to or from this address may be accessed by someone
other than the recipient, for system management and security reasons.
 Aircraft Research Association Ltd.  Registered in England, 
 Registration No 503668 Registered Office: Manton Lane, Bedford MK41 
 7PF England VAT No GB 196351245


 ___
 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://www.paraview.org/mailman/listinfo/paraview



---
This email contains information that is private and confidential and is 
intended only for the addressee.  If you are not the intended recipient please 
delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 
196351245


___
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 

[Paraview] Paraview 3.6.1 on Fedora 12 legend labels overdrawn

2009-12-16 Thread Lofthouse, Andrew J Maj USAF AETC AFIT/ENY
I'm using Paraview 3.6.1 on Fedora 12, and came across the problem
referenced in a previous message to this list
(http://www.paraview.org/pipermail/paraview/2009-September/013774.html) in
that the legend labels seem to be drawn over each other.  I've attached a
screenshot showing this behavior.

As a comparison, I've looked to see if the same behavior is seen on another
distribution.  Also attached is a screenshot from Paraview 3.6.1 on CentOS
5.4, where the legend labels appear as they should.

Paraview on Fedora is from the default repositories, compiled with qt 4.5.3;
Paraview on CentOS 5 is compiled with qt 4.4.3 -- I wonder if the version of
qt makes a difference, although I've also compiled it with qt 4.5.2 on
CentOS 5 and there is no difference there.

Any ideas?
attachment: Fedora12_label.pngattachment: CentOS5_label.png

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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview 3.6.1 on Fedora 12 legend labels overdrawn

2009-12-16 Thread Dave Partyka
At a system level is the font dpi higher on fedora (there is typically some
gui way to adjust this)? Do any other labels render like that, or just
legends?

On Wed, Dec 16, 2009 at 10:02 AM, Lofthouse, Andrew J Maj USAF AETC AFIT/ENY
andrew.loftho...@afit.edu wrote:

 I'm using Paraview 3.6.1 on Fedora 12, and came across the problem
 referenced in a previous message to this list
 (http://www.paraview.org/pipermail/paraview/2009-September/013774.html) in
 that the legend labels seem to be drawn over each other.  I've attached a
 screenshot showing this behavior.

 As a comparison, I've looked to see if the same behavior is seen on another
 distribution.  Also attached is a screenshot from Paraview 3.6.1 on CentOS
 5.4, where the legend labels appear as they should.

 Paraview on Fedora is from the default repositories, compiled with qt
 4.5.3;
 Paraview on CentOS 5 is compiled with qt 4.4.3 -- I wonder if the version
 of
 qt makes a difference, although I've also compiled it with qt 4.5.2 on
 CentOS 5 and there is no difference there.

 Any ideas?

 ___
 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://www.paraview.org/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://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] (no subject)

2009-12-16 Thread Utkarsh Ayachit
There was a bug in the python module due to which it reported the
wrong name as being overridden. Now it should report the correct name
-- I've committed a fix. You'd get this error if you named a custom
filter with the same name as the name  (or label) or any other
existing proxy.

Utkarsh

On Wed, Dec 16, 2009 at 9:55 AM, Adriano Gagliardi agaglia...@ara.co.uk wrote:
 Hi Berk,

 Yeah, I have custom plugins and filters that are loaded automatically. I've
 done some checking after the pointer from Sven, and it is definitely the
 custom filters that are causing the issue. I tested filters that were
 created with version 3.5.0 and 3.6.2-RC1 and both give these warnings if the
 custom filters are loaded. What is strange is the warning itself doesn't
 appear to relate to any built-in filter used in the custom filter. For
 example:

 Custom Filter A:

 Use:
        - EnSight Reader
        - Transform
        - Extract Block
        - Extract Surface
        - Compute Surface Normals
        - Calculator
        - Integrate Variables

 Error in python shell:

 from paraview.simple import *
 Warning: Clip is being overwritten. This may point to an issue in the
 ParaView configuration files
 paraview version 3.7.0, Date: 2009-10-03


 Clip filter isn't used at all. As I said, I'm using the release candidate
 build, but the error has been reported by Sven as being in existance since
 early October this year.

 Cheers,

 Adriano

 ===

 Adriano Gagliardi MEng PhD
 Project Scientist
 Computational Aerodynamics
 Aircraft Research Association Ltd.
 Manton Lane
 Bedford

 Tel: 01234 32 4644
 E-mail: agaglia...@ara.co.uk
 Url: www.ara.co.uk
 -Original Message-
 From: Berk Geveci [mailto:berk.gev...@kitware.com]
 Sent: 16 December 2009 14:33
 To: agaglia...@ara.co.uk
 Cc: ParaView
 Subject: Re: [Paraview] (no subject)

 Hi Adriano,

 Are you loading any plugin or do you have any custom filters?

 -berk

 On Wed, Dec 16, 2009 at 4:23 AM, Adriano Gagliardi agaglia...@ara.co.uk
 wrote:
 Hi,

 Can anyone explain why the following warnings are appearing when I
 open the Python Shell? This only appears to be happening on my machine
 in interactive mode (using pvpython or pvbatch, I don't get these
 messages).

 from paraview.simple import *
 Warning: Clip is being overwritten. This may point to an issue in the
 ParaView configuration files
 Warning: Clip is being overwritten. This may point to an issue in the
 ParaView configuration files
 Warning: PlotSelectionOverTime is being overwritten. This may point to
 an issue in the ParaView configuration files
 Warning: FlattenFilter is being overwritten. This may point to an
 issue in the ParaView configuration files
 Warning: ProcessIdScalars is being overwritten. This may point to an
 issue in the ParaView configuration files
 Warning: UpdateSuppressor2 is being overwritten. This may point to an
 issue in the ParaView configuration files
 Warning: WarpByVector is being overwritten. This may point to an issue
 in the ParaView configuration files
 Warning: WarpByVector is being overwritten. This may point to an issue
 in the ParaView configuration files paraview version 3.7.0, Date:
 2009-10-03


 Fortunately, they don't appear to be having any effect on my scripts,
 so it isn't a big issue but I'd like to understand why it is happening
 when I haven't touched anything. I'm using ParaView 3.6.2-RC1.

 Cheers,

 Adriano

 ===

 Adriano Gagliardi MEng PhD
 Project Scientist
 Computational Aerodynamics
 Aircraft Research Association Ltd.
 Manton Lane
 Bedford

 Tel: 01234 32 4644
 E-mail: agaglia...@ara.co.uk
 Url: www.ara.co.uk


 ---
 This email contains information that is private and confidential and is
 intended only for the addressee.  If you are not the intended recipient
 please delete it and notify us immediately by e-mailing the sender.
 Note: All email sent to or from this address may be accessed by someone
 other than the recipient, for system management and security reasons.
 Aircraft Research Association Ltd.  Registered in England,
 Registration No 503668 Registered Office: Manton Lane, Bedford MK41
 7PF England VAT No GB 196351245


 ___
 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://www.paraview.org/mailman/listinfo/paraview



 ---
 This email contains information that is private and confidential and is 
 intended only for the addressee.  If you are not the intended recipient 
 please delete it and notify us immediately by e-mailing the sender.
 Note: All email sent to or from this address may be accessed by someone other 
 than the recipient, for system management and security 

Re: [Paraview] (no subject)

2009-12-16 Thread Adriano Gagliardi
Thanks, Utkarsh. 


===

Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 
-Original Message-
From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] 
Sent: 16 December 2009 15:27
To: agaglia...@ara.co.uk
Cc: Berk Geveci; ParaView
Subject: Re: [Paraview] (no subject)

There was a bug in the python module due to which it reported the wrong name
as being overridden. Now it should report the correct name
-- I've committed a fix. You'd get this error if you named a custom filter
with the same name as the name  (or label) or any other existing proxy.

Utkarsh

On Wed, Dec 16, 2009 at 9:55 AM, Adriano Gagliardi agaglia...@ara.co.uk
wrote:
 Hi Berk,

 Yeah, I have custom plugins and filters that are loaded automatically. 
 I've done some checking after the pointer from Sven, and it is 
 definitely the custom filters that are causing the issue. I tested 
 filters that were created with version 3.5.0 and 3.6.2-RC1 and both 
 give these warnings if the custom filters are loaded. What is strange 
 is the warning itself doesn't appear to relate to any built-in filter 
 used in the custom filter. For
 example:

 Custom Filter A:

 Use:
        - EnSight Reader
        - Transform
        - Extract Block
        - Extract Surface
        - Compute Surface Normals
        - Calculator
        - Integrate Variables

 Error in python shell:

 from paraview.simple import *
 Warning: Clip is being overwritten. This may point to an issue in the 
 ParaView configuration files paraview version 3.7.0, Date: 2009-10-03


 Clip filter isn't used at all. As I said, I'm using the release 
 candidate build, but the error has been reported by Sven as being in 
 existance since early October this year.

 Cheers,

 Adriano

 ===

 Adriano Gagliardi MEng PhD
 Project Scientist
 Computational Aerodynamics
 Aircraft Research Association Ltd.
 Manton Lane
 Bedford

 Tel: 01234 32 4644
 E-mail: agaglia...@ara.co.uk
 Url: www.ara.co.uk
 -Original Message-
 From: Berk Geveci [mailto:berk.gev...@kitware.com]
 Sent: 16 December 2009 14:33
 To: agaglia...@ara.co.uk
 Cc: ParaView
 Subject: Re: [Paraview] (no subject)

 Hi Adriano,

 Are you loading any plugin or do you have any custom filters?

 -berk

 On Wed, Dec 16, 2009 at 4:23 AM, Adriano Gagliardi 
 agaglia...@ara.co.uk
 wrote:
 Hi,

 Can anyone explain why the following warnings are appearing when I 
 open the Python Shell? This only appears to be happening on my 
 machine in interactive mode (using pvpython or pvbatch, I don't get 
 these
 messages).

 from paraview.simple import *
 Warning: Clip is being overwritten. This may point to an issue in the 
 ParaView configuration files
 Warning: Clip is being overwritten. This may point to an issue in the 
 ParaView configuration files
 Warning: PlotSelectionOverTime is being overwritten. This may point 
 to an issue in the ParaView configuration files
 Warning: FlattenFilter is being overwritten. This may point to an 
 issue in the ParaView configuration files
 Warning: ProcessIdScalars is being overwritten. This may point to an 
 issue in the ParaView configuration files
 Warning: UpdateSuppressor2 is being overwritten. This may point to an 
 issue in the ParaView configuration files
 Warning: WarpByVector is being overwritten. This may point to an 
 issue in the ParaView configuration files
 Warning: WarpByVector is being overwritten. This may point to an 
 issue in the ParaView configuration files paraview version 3.7.0, Date:
 2009-10-03


 Fortunately, they don't appear to be having any effect on my scripts, 
 so it isn't a big issue but I'd like to understand why it is 
 happening when I haven't touched anything. I'm using ParaView 3.6.2-RC1.

 Cheers,

 Adriano

 ===

 Adriano Gagliardi MEng PhD
 Project Scientist
 Computational Aerodynamics
 Aircraft Research Association Ltd.
 Manton Lane
 Bedford

 Tel: 01234 32 4644
 E-mail: agaglia...@ara.co.uk
 Url: www.ara.co.uk


 ---
 This email contains information that is private and confidential and 
 is
 intended only for the addressee.  If you are not the intended 
 recipient please delete it and notify us immediately by e-mailing the
sender.
 Note: All email sent to or from this address may be accessed by 
 someone
 other than the recipient, for system management and security reasons.
 Aircraft Research Association Ltd.  Registered in England, 
 Registration No 503668 Registered Office: Manton Lane, Bedford MK41 
 7PF England VAT No GB 196351245


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

Re: [Paraview] compiling paraview against mpich2

2009-12-16 Thread Joshua Wu
It seems like you need to fix two things, just like what berk said, your
LD_LIBRARY_PATH is not set correctly. You need to add the path to the mpi
library to LD_LIBRARY_PATH, for example my LD_LIBRARY_PATH has
/usr/voltaire/mpi/lib

if that still doesn't work, its most likely that the cmake configuration
didn't get all the libraries you need, according to your error messages,
the easiest way is to locate the libraries it can't find and manually add
them to your 'MPI_EXTRA_LIBRARY' variable. It should work eventually

-Josh
 That's strange. Are you positive that you set LD_LIBRARY_PATH
 correctly and you also exported the variable (assuming you are using
 bash/ksh/zsh)?

 -berk

 On Tue, Dec 15, 2009 at 11:52 PM, Huan Sun h...@math.psu.edu wrote:

 Hi,

 Thanks for the help. Somehow cmake didn't find the correct mpiexec -- it
 did find the libmpichcxx.so. I fixed the mpiexec, compiled and
 installed.
 But when i ran ./pvserver --ldd (results attached below)
 It seems that the paraview didn't find libmpichcxx.
 I installed mpich2 under my local account and put the lib path into
 LD_LIBRARY_PATH.
 I wonder if you could help me figure out what happened.

 Thanks!

 Huan




        linux-vdso.so.1 =  (0x7fff0db73000)
        libvtkPVServerCommon.so
 =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVServerCommon.so
 (0x7f0228533000)
        libvtkPVFilters.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVFilters.so
 (0x7f0227f23000)
        libvtkPVServerManager.so
 =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVServerManager.so
 (0x7f02276ef000)
        libvtkPVFiltersCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVFiltersCS.so
 (0x7f022741e000)
        libvtkPVServerCommonCS.so
 =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVServerCommonCS.so
 (0x7f02271d3000)
        libvtkInfovisCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkInfovisCS.so
 (0x7f0226f52000)
        libKWCommon.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libKWCommon.so
 (0x7f0226d3a000)
        libvtkPVCommandOptions.so
 =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVCommandOptions.so
 (0x7f0226b04000)
        libvtkXdmfCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkXdmfCS.so
 (0x7f02268f7000)
        libvtkPVPythonInterpretor.so
 =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVPythonInterpretor.so
 (0x7f02266e8000)
        libpython2.5.so.1.0 = /usr/lib/libpython2.5.so.1.0
 (0x7f0226378000)
        libutil.so.1 = /lib/libutil.so.1 (0x7f0226175000)
        libicet_mpi.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libicet_mpi.so
 (0x7f0225f72000)
        libicet_strategies.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libicet_strategies.so
 (0x7f0225d6a000)
        libicet.so =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libicet.so
 (0x7f0225b58000)
        libGLU.so.1 = /usr/lib/libGLU.so.1 (0x7f02258d4000)
        libvtkHybridCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkHybridCS.so
 (0x7f0225625000)
        libvtkParallelCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkParallelCS.so
 (0x7f022539)
        libvtkVolumeRenderingCS.so
 =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkVolumeRenderingCS.so
 (0x7f0225145000)
        libvtkVolumeRendering.so.pv3.6
 =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkVolumeRendering.so.pv3.6
 (0x7f02248f)
        libvtkWidgetsCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkWidgetsCS.so
 (0x7f0224618000)
        libvtkRenderingCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkRenderingCS.so
 (0x7f02242be000)
        libvtkGenericFilteringCS.so
 =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkGenericFilteringCS.so
 (0x7f02240a3000)
        libvtkGenericFiltering.so.pv3.6
 =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkGenericFiltering.so.pv3.6
 (0x7f0223e5b000)
        libvtkGraphicsCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkGraphicsCS.so
 (0x7f0223a85000)
        libvtkImagingCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkImagingCS.so
 (0x7f02237d2000)
        libvtkIOCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkIOCS.so
 (0x7f02234da000)
        libvtkFilteringCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkFilteringCS.so
 (0x7f022314d000)
        libvtkCommonCS.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkCommonCS.so
 (0x7f0222e1b000)
        libvtkClientServer.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkClientServer.so
 (0x7f0222bc2000)
        libvtkXdmf.so
 = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkXdmf.so
 (0x7f022293c000)
        libXdmf.so =
 /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libXdmf.so
 (0x7f02226bd000)
        

Re: [Paraview] time series

2009-12-16 Thread Didier Roissé
Thanks John.

I try , but I have problem with this:

this-ActualTimeStep = vtkstd::find_if(
this-TimeStepValues.begin(), this-TimeStepValues.end(),
vtkstd::bind2nd( WithinTolerance( ), requestedTimeValue ))
- this-TimeStepValues.begin();


I have always this following build error :
error : 'find_if' is not a member of std.

I don't understand what I'm doing wrong.



2009/12/16 Biddiscombe, John A. biddi...@cscs.ch

  Have a look at the time presentation on the paraview wiki under IEEE 2008
 tutorial. you need XML + RequestInformation and then it should work



 JB



 *From:* paraview-boun...@paraview.org [mailto:
 paraview-boun...@paraview.org] *On Behalf Of *Didier Roissé
 *Sent:* 16 December 2009 13:04
 *To:* paraview@paraview.org
 *Subject:* [Paraview] time series



 Hello,
 I write a plugin reader. And this reader reads data which is time
 dependent.
 So in RequestInformation I set the different values for steps and the min
 and max value of time like this :

 for(int i=0;inbtimesteps;i++)

 outInfo-Append(vtkStreamingDemandDrivenPipeline::TIME_STEPS(),timeStep[i]);

 timeRange[0]=time_min;
 timeRange[1]=time_max;
 outInfo-Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2);

 nbtimsteps is the number of steps.
 and timeSteps[i] is the value of the time at the step i.



 In RequestData I write the following line to see the value of
 UPDATE_TIME_STEPS.
 if(outInfo-Has(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()))
   {
   double step =
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())[0];
   int nSteps =

 outInfo-Length(vtkStreamingDemandDrivenPipeline::TIME_STEPS());
   double* steps =

 outInfo-Get(vtkStreamingDemandDrivenPipeline::TIME_STEPS());
   std::cout  Step : stependl;
   for(int i=0;inSteps;i++)
   {
 std::cout  steps : steps[i]endl;
   }
   }

  when I display
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())[0] for
 the first time value,
 I expected to have my first value of my timeStep, but I have 0.
 And if I click on the next frame button in paraview, the next value is
 0.111.

 I don't understand what I am doing wrong.

 Thanks,
 Didier

 PS : I use paraview 3.7


___
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://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] time series

2009-12-16 Thread Didier Roissé
Thanks, I forgot the include.


2009/12/16 Moreland, Kenneth kmo...@sandia.gov

  This problem sounds totally unrelated to the first problem you reported.

 Do you have #include vtkstd/algorithm at the top of your reader?
  find_if is declared in this header.

 -Ken



 On 12/16/09 9:02 AM, Didier Roissé didier.roi...@gmail.com wrote:

 Thanks John.

 I try , but I have problem with this:

 this-ActualTimeStep = vtkstd::find_if(
 this-TimeStepValues.begin(), this-TimeStepValues.end(),
 vtkstd::bind2nd( WithinTolerance( ), requestedTimeValue ))
 - this-TimeStepValues.begin();


 I have always this following build error :
 error : 'find_if' is not a member of std.

 I don't understand what I'm doing wrong.



 2009/12/16 Biddiscombe, John A. biddi...@cscs.ch

 Have a look at the time presentation on the paraview wiki under IEEE 2008
 tutorial. you need XML + RequestInformation and then it should work

 JB


 *From:* paraview-boun...@paraview.org [
 mailto:paraview-boun...@paraview.org paraview-boun...@paraview.org] *On
 Behalf Of *Didier Roissé
 *Sent:* 16 December 2009 13:04
 *To:* paraview@paraview.org
 *Subject:* [Paraview] time series


 Hello,
 I write a plugin reader. And this reader reads data which is time
 dependent.
 So in RequestInformation I set the different values for steps and the min
 and max value of time like this :

 for(int i=0;inbtimesteps;i++)

 outInfo-Append(vtkStreamingDemandDrivenPipeline::TIME_STEPS(),timeStep[i]);

 timeRange[0]=time_min;
 timeRange[1]=time_max;
 outInfo-Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2);

 nbtimsteps is the number of steps.
 and timeSteps[i] is the value of the time at the step i.



 In RequestData I write the following line to see the value of
 UPDATE_TIME_STEPS.
 if(outInfo-Has(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()))
   {
   double step =
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())[0];
   int nSteps =

 outInfo-Length(vtkStreamingDemandDrivenPipeline::TIME_STEPS());
   double* steps =

 outInfo-Get(vtkStreamingDemandDrivenPipeline::TIME_STEPS());
   std::cout  Step : stependl;
   for(int i=0;inSteps;i++)
   {
 std::cout  steps : steps[i]endl;
   }
   }

  when I display
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())[0] for
 the first time value,
 I expected to have my first value of my timeStep, but I have 0.
 And if I click on the next frame button in paraview, the next value is
 0.111.

 I don't understand what I am doing wrong.

 Thanks,
 Didier

 PS : I use paraview 3.7





  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: kmo...@sandia.gov
 **  ***  **  phone: (505) 844-8919
 ***  web:   
 http://www.cs.unm.edu/~kmorelhttp://www.cs.unm.edu/%7Ekmorel


___
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://www.paraview.org/mailman/listinfo/paraview


[Paraview] Bundleing PyQt/Sip with ParaView (on Mac)

2009-12-16 Thread Dave Partyka
Hi All,

We are trying to figure out the ideal way to organize various python files
in a ParaView bundle.

The files that we will need are:

Python.frameWork/Version/2.3/bin/sip (executable)
Python.frameWork/Versions/2.3/share/sip/PyQt/*.sip (text files)

/Library/Python/2.3/site-packages/sip.so
/Library/Python/2.3/site-packages/Qt*.so (PyQt libraries)
/Library/Python/2.3/site-packages/*py (various PyQt and sip files).

The contents of our Bundle looks like:

Frameworks/
Libraries/
MacOS/
Plugins/
Python/
Resources/
Support/

We are thinking that we should put everything under Python. We are wondering
what you guys think, is this a consistent layout for standard Apple bundles?

Thanks!
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] time series

2009-12-16 Thread Biddiscombe, John A.
Didier,

The find_if thing is really becuase in older paraview versions when the 
UPDATE_TIME_STEP was sent, it was sometimes rounded to float/double and 
slightly different from the declared value of time that the reader (for 
example) had really generated. All it does is find the closest time value to 
the ones you should have (actually, not closest, but one equal to or larger) - 
you don't rellay need it - at some point I'll update the tutorial. Leaving it 
in won't hurt and will at least ensure you get something meaningful.

JB



From: paraview-boun...@paraview.org [paraview-boun...@paraview.org] On Behalf 
Of Didier Roissé [didier.roi...@gmail.com]
Sent: 16 December 2009 17:31
To: Moreland, Kenneth
Cc: paraview@paraview.org
Subject: Re: [Paraview] time series

Thanks, I forgot the include.


2009/12/16 Moreland, Kenneth kmo...@sandia.govmailto:kmo...@sandia.gov
This problem sounds totally unrelated to the first problem you reported.

Do you have #include vtkstd/algorithm at the top of your reader?  find_if is 
declared in this header.

-Ken



On 12/16/09 9:02 AM, Didier Roissé 
didier.roi...@gmail.comhttp://didier.roi...@gmail.com wrote:

Thanks John.

I try , but I have problem with this:

this-ActualTimeStep = vtkstd::find_if(
this-TimeStepValues.begin(), this-TimeStepValues.end(),
vtkstd::bind2nd( WithinTolerance( ), requestedTimeValue ))
- this-TimeStepValues.begin();


I have always this following build error :
error : 'find_if' is not a member of std.

I don't understand what I'm doing wrong.



2009/12/16 Biddiscombe, John A. biddi...@cscs.chhttp://biddi...@cscs.ch
Have a look at the time presentation on the paraview wiki under IEEE 2008 
tutorial. you need XML + RequestInformation and then it should work

JB


From: paraview-boun...@paraview.orghttp://paraview-boun...@paraview.org 
[mailto:paraview-boun...@paraview.org] On Behalf Of Didier Roissé
Sent: 16 December 2009 13:04
To: paraview@paraview.orghttp://paraview@paraview.org
Subject: [Paraview] time series


Hello,
I write a plugin reader. And this reader reads data which is time dependent.
So in RequestInformation I set the different values for steps and the min and 
max value of time like this :

for(int i=0;inbtimesteps;i++)
   
outInfo-Append(vtkStreamingDemandDrivenPipeline::TIME_STEPS(),timeStep[i]);

timeRange[0]=time_min;
timeRange[1]=time_max;
outInfo-Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2);

nbtimsteps is the number of steps.
and timeSteps[i] is the value of the time at the step i.



In RequestData I write the following line to see the value of UPDATE_TIME_STEPS.
if(outInfo-Has(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()))
  {
  double step = 
outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())[0];
  int nSteps =
outInfo-Length(vtkStreamingDemandDrivenPipeline::TIME_STEPS());
  double* steps =
outInfo-Get(vtkStreamingDemandDrivenPipeline::TIME_STEPS());
  std::cout  Step : stependl;
  for(int i=0;inSteps;i++)
  {
std::cout  steps : steps[i]endl;
  }
  }

 when I display 
outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())[0] for the 
first time value,
I expected to have my first value of my timeStep, but I have 0.
And if I click on the next frame button in paraview, the next value is 
0.111.

I don't understand what I am doing wrong.

Thanks,
Didier

PS : I use paraview 3.7





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.govhttp://kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   
http://www.cs.unm.edu/~kmorelhttp://www.cs.unm.edu/%7Ekmorel


___
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://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] compiling paraview against mpich2

2009-12-16 Thread Huan Sun

Hi, I just found it's because I switched back and forth between tcsh and
bash and my library path is only defined in bash.
It's working now.

Thanks again for all the help!
best,

Huan


On Wed, 2009-12-16 at 08:18 -0700, Joshua Wu wrote:
 It seems like you need to fix two things, just like what berk said, your
 LD_LIBRARY_PATH is not set correctly. You need to add the path to the mpi
 library to LD_LIBRARY_PATH, for example my LD_LIBRARY_PATH has
 /usr/voltaire/mpi/lib
 
 if that still doesn't work, its most likely that the cmake configuration
 didn't get all the libraries you need, according to your error messages,
 the easiest way is to locate the libraries it can't find and manually add
 them to your 'MPI_EXTRA_LIBRARY' variable. It should work eventually
 
 -Josh
  That's strange. Are you positive that you set LD_LIBRARY_PATH
  correctly and you also exported the variable (assuming you are using
  bash/ksh/zsh)?
 
  -berk
 
  On Tue, Dec 15, 2009 at 11:52 PM, Huan Sun h...@math.psu.edu wrote:
 
  Hi,
 
  Thanks for the help. Somehow cmake didn't find the correct mpiexec -- it
  did find the libmpichcxx.so. I fixed the mpiexec, compiled and
  installed.
  But when i ran ./pvserver --ldd (results attached below)
  It seems that the paraview didn't find libmpichcxx.
  I installed mpich2 under my local account and put the lib path into
  LD_LIBRARY_PATH.
  I wonder if you could help me figure out what happened.
 
  Thanks!
 
  Huan
 
 
 
 
 linux-vdso.so.1 =  (0x7fff0db73000)
 libvtkPVServerCommon.so
  =
  /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVServerCommon.so
  (0x7f0228533000)
 libvtkPVFilters.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVFilters.so
  (0x7f0227f23000)
 libvtkPVServerManager.so
  =
  /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVServerManager.so
  (0x7f02276ef000)
 libvtkPVFiltersCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVFiltersCS.so
  (0x7f022741e000)
 libvtkPVServerCommonCS.so
  =
  /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVServerCommonCS.so
  (0x7f02271d3000)
 libvtkInfovisCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkInfovisCS.so
  (0x7f0226f52000)
 libKWCommon.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libKWCommon.so
  (0x7f0226d3a000)
 libvtkPVCommandOptions.so
  =
  /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVCommandOptions.so
  (0x7f0226b04000)
 libvtkXdmfCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkXdmfCS.so
  (0x7f02268f7000)
 libvtkPVPythonInterpretor.so
  =
  /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkPVPythonInterpretor.so
  (0x7f02266e8000)
 libpython2.5.so.1.0 = /usr/lib/libpython2.5.so.1.0
  (0x7f0226378000)
 libutil.so.1 = /lib/libutil.so.1 (0x7f0226175000)
 libicet_mpi.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libicet_mpi.so
  (0x7f0225f72000)
 libicet_strategies.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libicet_strategies.so
  (0x7f0225d6a000)
 libicet.so =
  /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libicet.so
  (0x7f0225b58000)
 libGLU.so.1 = /usr/lib/libGLU.so.1 (0x7f02258d4000)
 libvtkHybridCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkHybridCS.so
  (0x7f0225625000)
 libvtkParallelCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkParallelCS.so
  (0x7f022539)
 libvtkVolumeRenderingCS.so
  =
  /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkVolumeRenderingCS.so
  (0x7f0225145000)
 libvtkVolumeRendering.so.pv3.6
  =
  /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkVolumeRendering.so.pv3.6
  (0x7f02248f)
 libvtkWidgetsCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkWidgetsCS.so
  (0x7f0224618000)
 libvtkRenderingCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkRenderingCS.so
  (0x7f02242be000)
 libvtkGenericFilteringCS.so
  =
  /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkGenericFilteringCS.so
  (0x7f02240a3000)
 libvtkGenericFiltering.so.pv3.6
  =
  /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkGenericFiltering.so.pv3.6
  (0x7f0223e5b000)
 libvtkGraphicsCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkGraphicsCS.so
  (0x7f0223a85000)
 libvtkImagingCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkImagingCS.so
  (0x7f02237d2000)
 libvtkIOCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkIOCS.so
  (0x7f02234da000)
 libvtkFilteringCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkFilteringCS.so
  (0x7f022314d000)
 libvtkCommonCS.so
  = /ima/imavisitor/hsun/paraview/lib/paraview-3.6/libvtkCommonCS.so
  

Re: [Paraview] Parallel Data Redistribution

2009-12-16 Thread burlen

oops typo: The ooc reader is a vtkObject.

burlen wrote:

Hey John,

Also : for dynamic load balancing, I'd like to instruct several 
reader to read the same piece - since the algorithm controls (for 
example) the particles the algorithm can internally communicate 
information about what to do amongst its processes, but it can't talk 
upstream to the readers and fudge them.


I am wondering if there is any way of supporting this kind of thing 
using the current information keys and my instinct says no.
I guess you can kind of do this with the current request update 
stuff but thanks to the flexibility of the pipeline information 
key,values you can also roll your own very easy.


I recently implemented dynamic load balancing in a new stream line 
tracer. To get the work load balanced its crucial that each process 
have to have on demand access to the entire data set. I accomplished 
it with information keys and by using a meta-reader in place of the 
traditional paraview reader. The meta reader does two things, it 
populates the new keys and it gives PV a dummy dataset that is one 
cell per process such that the bounds, shape, and array names are the 
same as the real dataset which is not read during the meta-reader 
execution. When the stream tracer executes downstream of the 
meta-reader he picks the keys out of the pipeline information. The 
important key,value is an out-of-core (ooc) reader.  so that it can be 
passed through the information. Once the stream tracer has it he can 
make repeated IO requests as particles move through the dataset as 
needed. My interface accepts a point and returns a chunk of data. The 
ooc reader internally handles caching and memory management. In this 
way you can keep all processes busy all the time when tracing stream 
lines. The approach worked out well and was very simple to implement, 
with no modification to the executive. Also the filter has control of 
caching, and can free all the memory at the end of its execution which 
reduces significantly the memory footprint compared to the traditional 
PV reader. And I need not worry if PV or some upstream filter uses MPI 
communications in between during my IO requests. There is a little 
more to our scheduling algorithm which I wont discus now but so far 
for making poincare maps we scaled well up to 2E7 stream lines per 
frame and 96 processes and we minimize the memory footprint which is 
important to us.


Berk and Ken already basically gave you all the options you need but I 
add this because it shows how flexible and powerful the pipeline 
information really is.


Burlen

Biddiscombe, John A. wrote:

Berk,

We had a discussion back in 2008, which resides here 
http://www.cmake.org/pipermail/paraview/2008-May/008170.html


Continuing from this, my question of the other day, touches on the 
same problem.


I'd like to manipulate the piece number read by each reader. As 
mentioned before, UPDATE_PIECE is not passed into RequestInformation 
at first (since nobody knows how many pieces there are yet!), so I 
can't (directly) generate information in the reader which is 'piece 
dependent'. And I can't be sure that someone doing streaming won't 
interfere with piece numbers when using the code differently.


For the particle tracer (for example), I'd like to tell the upstream 
pipeline to read no pieces when certain processes are empty of 
particles (currently they update and generate{=read} data when they 
don't need to). I may be able to suppress the forward upstream 
somehow, but I don't know of an easy way for the algorithm to say 
Stop to the executive to prevent it updating if the timestep 
changes, but the algorithm has determined that no processing is 
required (ForwardUpstream of Requests continues unabated). I'd like 
to set the UPdatePiece to -1 to tell the executive to stop operating.


Also : for dynamic load balancing, I'd like to instruct several 
reader to read the same piece - since the algorithm controls (for 
example) the particles the algorithm can internally communicate 
information about what to do amongst its processes, but it can't talk 
upstream to the readers and fudge them.


I am wondering if there is any way of supporting this kind of thing 
using the current information keys and my instinct says no. It seems 
like the update pice and numpieces were really intended for streaming 
and we need two kinds of 'pieces', one for streaming, another for 
splitting in _parallel_ because they aren't quite the same. (Please 
note that I haven't actually tried changing piece requests in the 
algorithms yet, so I'm only guessing that it won't work properly)


cough
UPDATE_STREAM_PIECE
UPDATE_PARALLEL_PIECE \cough

Comments?

JB


 

I would have the reader (most parallel readers do this) generate empty
data on all processes of id = N. Then your filter can redistribute
from those N processes to all M processes. I am pretty sure
RedistributePolyData can do this for polydata as long as you set the
weight to 

Re: [Paraview] seg fault while building paraview cvs

2009-12-16 Thread Utkarsh Ayachit
Hmm, oddly the qhelpgenerator is segfaulting.
Not sure why. Does the configured
/local/data/jfavre/ParaView3Build/Documentation/paraview.qhp look
reasonable?

Utkarsh

On Wed, Dec 16, 2009 at 4:34 PM, Favre  Jean jfa...@cscs.ch wrote:

 While building pv on a linux system (2.6.24-25-generic #1 SMP Tue Oct 20 
 06:49:12 UTC 2009 x86_64 GNU/Linux) I am getting a seg fault here:

 [ 99%] Compiling Qt help project paraview.qhp
 cd /local/data/jfavre/ParaView3Build/Documentation  
 /local/data/jfavre/Qt-4.5.2/bin/qhelpgenerator ARGS 
 /local/data/jfavre/ParaView3Build/Documentation/paraview.qhp -o 
 /local/data/jfavre/ParaView3Build/Documentation/paraview.qch
 Building up file structure...
 Segmentation fault
 make[2]: *** [Documentation/CMakeFiles/ParaViewOnlineHelp] Error 139

 has anyone seen this before? any tips?

 TIA
 Jean M. Favre
 Swiss National Supercomputing Center
 ___
 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://www.paraview.org/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://www.paraview.org/mailman/listinfo/paraview


[Paraview] Paraview 3.6.1 on Fedora 12 legend labels overdrawn

2009-12-16 Thread Andrew Lofthouse
My apologies of this message appears twice -- I tried to send it from my 
work account earlier today, but it looks like it didn't go through.


I'm using Paraview 3.6.1 on Fedora 12, and came across the problem
referenced in a previous message to this list
(http://www.paraview.org/pipermail/paraview/2009-September/013774.html) in
that the legend labels seem to be drawn over each other. I've attached a
screenshot showing this behavior.

As a comparison, I've looked to see if the same behavior is seen on another
distribution. Also attached is a screenshot from Paraview 3.6.1 on CentOS
5.4, where the legend labels appear as they should.

Paraview on Fedora is from the default repositories, compiled with qt 4.5.3;
Paraview on CentOS 5 is compiled with qt 4.4.3 -- I wonder if the version of
qt makes a difference, although I've also compiled it with qt 4.5.2 on
CentOS 5 and there is no difference there.

Any ideas?

Andrew

attachment: CentOS5_label.pngattachment: Fedora12_label.png___
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://www.paraview.org/mailman/listinfo/paraview


[Paraview] particle animation

2009-12-16 Thread Pei-Ying Hsieh
Dear ParaView experts:

I did a simple calculations of particle motion under magnetic fields using 
perl.  I would like to plot the particles as a function of time.
What format should I use to save for paraview to be able to read in?  The 
particles has attributes of: size, time, coordinate in X, coordinate in Y, and 
coordinate in Z.  The particles were initially randomly distributed within a 
(Xmin, Ymin, Xmax, Ymax) domain.  There is no mesh required.

Is there any examples/tutorials on something like this?

It will be highly appreciated if someone can point to me a direction.

Pei



  ___
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://www.paraview.org/mailman/listinfo/paraview


[Paraview] Regarde mon profil Facebook

2009-12-16 Thread Simo Sirou
Bonjour Paraview,

J'ai créé mon profil Facebook sur lequel je peux publier mes photos, mes vidéos 
et des événements. Je souhaite vous ajouter à mes amis pour que vous puissiez y 
accéder. Pour cela, vous devez d'abord vous inscrire à Facebook ! Vous pourrez 
ensuite créer votre propre profil.

Merci,
Simo

Pour vous inscrire à Facebook, suivez le lien ci-dessous :
http://www.facebook.com/p.php?i=10533799904k=Z6E3Y5RXVYWNVB1JPB63QTTWWUGEX3YNUWFPCAWCU2r



Already have an account? Add this email address to your account 
http://www.facebook.com/n/?merge_accounts.phpe=parav...@paraview.orgc=dc16e8411c30bd1c91b5ba6b5b3eac43.Simo
 Sirou a invité paraview@paraview.org à rejoindre Facebook. Si vous ne voulez 
plus recevoir ce type de messages de la part de Facebook, veuillez cliquer sur 
le lien ci-dessous pour annuler votre inscription.
http://www.facebook.com/o.php?k=a25729u=10544046716mid=193aa2fG5af330e7be7cG0G8
Les bureaux de Facebook se trouvent à : 1601 S. California Ave., Palo Alto, CA 
94304.

___
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://www.paraview.org/mailman/listinfo/paraview