[Paraview] paraview 3.98rc3 configuration error: CheckFortran.cmake missing

2012-11-29 Thread Francois Bissey
Hi,

so I am trying to configure 3.98rc3 with cmake-2.8.10.1 and I get
the following error message in ccmake:
 CMake Error at CoProcessing/Adaptors/FortranAdaptors/CMakeLists.txt:2
(include):
   include could not find load file:

 /home/work/fbissey/sandbox/ParaView/SuperBuild/CheckFortran.cmake

I see that all the content of the superbuild folder is now in a separate
tarball. This is fine but should the fortran adaptors depends on
something from the superbuild folder?
Shouldn't something like CMakeDetermineFortranCompiler.cmake
which comes with cmake be used instead? I also don't remember having
this problem in rc1.

Francois
___
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] [ParaViewWeb]

2012-11-29 Thread Joe Borġ
Hi Seb,

I've followed this
http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package step by
step, without any obvious issues.  It's being run as my user, so hopefully
isn't a permissions problem.

This is on CentOS 6.1

Thanks for the help,



Regards,
Joseph David Borġ
http://www.jdborg.com


On 28 November 2012 18:52, Sebastien Jourdain 
sebastien.jourd...@kitware.com wrote:

 Hi Joe,

 Could you explain slightly what you've done so far to install and run the
 examples ?
 Moreover, are you running tomcat as your user or are you relying on the
 system package of your linux box ?
 Oh wait, what OS are you trying that out ?

 Thanks,

 Seb



 On Wed, Nov 28, 2012 at 10:04 AM, Joe Borġ m...@jdborg.com wrote:

 Hi All,

 I'm trying to install ParaViewWeb.  If I launch any of the example
 classes, I get

 Error: ReferenceError: Paraview is not defined

 Has anyone got any ideas on what I've missed?

 Thanks,

 Regards,
 Joseph David Borġ
 http://www.jdborg.com

 ___
 Powered by www.kitware.com

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

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

 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] off screen rendering in pvpython

2012-11-29 Thread Indrajit Jagtap

Hi,

I am using following command to take images in pvpython -
WriteImage(OUTFILE, Writer=vtkPNGWriter)

How do I configure it to not open any display ? What is the method to activate 
offscreen rendering when using pvpython ?

Regards,
Indrajit
___
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] Sum values of scalar vector

2012-11-29 Thread Scott Ripplinger
Christian,

Thanks for getting me started.  And sorry it took me so long to respond.
 I've been moving pretty slow on this project.

Anyway, I've done the following with my script:

import math

input = self.GetInputDataObject(0,0)

output = self.GetOutputDataObject(0)

numPoints = input.GetNumberOfPoints()

points = input.GetPointData()


SurfCvg = 0

for i in xrange(numPoints):

 d = points.GetArray('d').GetValue(i)

 coords = input.GetPoint(i)

 z = coords[3]

 h = 0.00015 - abs(z - 0.00015) - 0.5*d

 H0 = 2*h/d

 if (H0  0.002)

  SurfCvg = SurfCvg + 0.25*math.pi*d*d


Theta = SurfCvg/(0.01*0.001)

outputarray = vtk.vtkStringArray()

outputarray.SetName(Surface Coverage)

outputarray.SetNumberOfTuples(1)

outputarray.SetValue(0, %d % (Theta))

output.GetRowData().AddArray(outputarray)


First of all, am I getting the z coordinate correctly?  I haven't been able
to find an answer to that in my searching.  Secondly, my end goal is to
plot the value of Theta over time for my dataset.  Do I have the output
stuff done right, and where do I go from there?


Thanks in advance.


-Scott


On Sat, Nov 3, 2012 at 3:53 AM, Christian Richter christian.rich...@ovgu.de
 wrote:

  Hi,

 in a programmable Filter do something like this:

  import math
  input = self.GetInputDataObject(0, 0)
  output = self.GetOutputDataObject(0)
  COUNT=input.GetNumberOfPoints()
  pd=input.GetPointData()
  m=0
  v=0
  for i in xrange(COUNT):
   r=pd.GetArray('radius').GetValue(i)
   v=v+((4.0/3.0)*math.pi*r*r*r)
   m=m+pd.GetArray('Mass').GetValue(i)
  outputarray = vtk.vtkStringArray()
  outputarray.SetName(Text)
  outputarray.SetNumberOfTuples(1)
  outputarray.SetValue(0,N=%d\nV=%1.6f m³\nm=%1.6f kg % (COUNT,v,m))
  output.GetRowData().AddArray(outputarray)

 Attention: if you save this to a state-file change the ³ to 3 because it
 will not be escaped and you can not load the state anymore.

 best wishes,
 Christian

 Am 02.11.2012 21:49, schrieb Scott Ripplinger:

 I need to sum all the values in a vector of a scalar property.  I've
 struggled understanding the documentation for the python calculator and
 programmable filter, mainly in how to access the point data that I want to
 use.  Any tips will be appreciated.

 ___
 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


___
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] Color Bar size

2012-11-29 Thread Vera Loeser
Is it possible to define the size and the position of the color bar? I would 
like to compare some pictures of different projects in a presentation and it 
looks better if the color bar does not jump around.

Thanks in Advance,
Vera



___
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] co-processing tests not launched with mpirun

2012-11-29 Thread Andy Bauer
Hi Burlen,

Did you submit a bug? I couldn't find it if you did.

It looks like both of those dashboards are next so I can have them tested
before merging into master.

Thanks,
Andy

On Wed, Nov 28, 2012 at 7:41 PM, Burlen Loring blor...@lbl.gov wrote:

 **
 Hi Andy

 Awesome, it's not urgent, but will be good to fix.

 I saw it on Hopper (
 http://open.cdash.org/testDetails.php?test=167278006build=2685242) and
 Nautilus(
 http://open.cdash.org/testDetails.php?test=167254351build=2684614)

 Burlen


 On 11/28/2012 03:06 PM, Andy Bauer wrote:

 Hi Burlen,

 I'll take care of it ASAP. By the way, what system are you on?

 Thanks,
 Andy

 On Wed, Nov 28, 2012 at 4:39 PM, Burlen Loring blor...@lbl.gov wrote:

  Hi all

 The ctest called CoProcessingTestPythonScript is failing when it calls
 mpi_init because it's not launched with 
 mpirun.http://open.cdash.org/viewTest.php?onlyfailedbuildid=2684614

 bug report: http://paraview.org/Bug/view.php?id=13691

 Burlen

 ___
 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] co-processing tests not launched with mpirun

2012-11-29 Thread Burlen Loring

Andy, yep, here it is: http://paraview.org/Bug/view.php?id=13691

Sounds good
Burlen

On 11/29/2012 07:16 AM, Andy Bauer wrote:

Hi Burlen,

Did you submit a bug? I couldn't find it if you did.

It looks like both of those dashboards are next so I can have them 
tested before merging into master.


Thanks,
Andy

On Wed, Nov 28, 2012 at 7:41 PM, Burlen Loring blor...@lbl.gov 
mailto:blor...@lbl.gov wrote:


Hi Andy

Awesome, it's not urgent, but will be good to fix.

I saw it on Hopper
(http://open.cdash.org/testDetails.php?test=167278006build=2685242 
http://open.cdash.org/testDetails.php?test=167278006build=2685242)
and
Nautilus(http://open.cdash.org/testDetails.php?test=167254351build=2684614
http://open.cdash.org/testDetails.php?test=167254351build=2684614)

Burlen


On 11/28/2012 03:06 PM, Andy Bauer wrote:

Hi Burlen,

I'll take care of it ASAP. By the way, what system are you on?

Thanks,
Andy

On Wed, Nov 28, 2012 at 4:39 PM, Burlen Loring blor...@lbl.gov
mailto:blor...@lbl.gov wrote:

Hi all

The ctest called CoProcessingTestPythonScript is failing when
it calls mpi_init because it's not launched with
mpirun.http://open.cdash.org/viewTest.php?onlyfailedbuildid=2684614
http://open.cdash.org/viewTest.php?onlyfailedbuildid=2684614

bug report: http://paraview.org/Bug/view.php?id=13691

Burlen

___
Powered by www.kitware.com http://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] [ParaViewWeb]

2012-11-29 Thread Joe Borġ
Seb,

Further to this, (if I open in Chrome) I get this error Resource Not Found:
http://localhost:8080/PWService/js/ParaViewWeb.js.  I can confirm that the
file is where it should be and is 775, so should be fine.  If I try and go
to that address, I get 404 from Tomcat:

HTTP Status 404 -
--

*type* Status report

*message*

*description* *The requested resource () is not available.*
--
 Apache Tomcat/6.0.24



Regards,
Joseph David Borġ
http://www.jdborg.com


On 29 November 2012 11:45, Joe Borġ m...@jdborg.com wrote:

 Hi Seb,

 I've followed this
 http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package step
 by step, without any obvious issues.  It's being run as my user, so
 hopefully isn't a permissions problem.

 This is on CentOS 6.1

 Thanks for the help,



 Regards,
 Joseph David Borġ
 http://www.jdborg.com


 On 28 November 2012 18:52, Sebastien Jourdain 
 sebastien.jourd...@kitware.com wrote:

 Hi Joe,

 Could you explain slightly what you've done so far to install and run the
 examples ?
 Moreover, are you running tomcat as your user or are you relying on the
 system package of your linux box ?
 Oh wait, what OS are you trying that out ?

 Thanks,

 Seb



 On Wed, Nov 28, 2012 at 10:04 AM, Joe Borġ m...@jdborg.com wrote:

 Hi All,

 I'm trying to install ParaViewWeb.  If I launch any of the example
 classes, I get

 Error: ReferenceError: Paraview is not defined

 Has anyone got any ideas on what I've missed?

 Thanks,

 Regards,
 Joseph David Borġ
 http://www.jdborg.com

 ___
 Powered by www.kitware.com

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

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

 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] (no subject)

2012-11-29 Thread Timothy Cale
I am using paraview 3.14 (64 bit, ubuntu 12.04 vm on a MBP).

I am trying to run pvpython to view .py files generated using Trace:

'which' pvpython' yields: /usr/bin/pvpython

'pvpython' yields: Error converting executable file
/usr/bin/../lib/paraview/pvpython to real path: No such file or directory

So, /usr/bin/python seems to be looking for /usr/lib/paraview/pvpython

Which is indeed not there.

I uninstalled (purged) and installed 3.14 again. Same thing.

BTW: I did see the notes regarding 3.14.1-2 from ~6 months ago, but cannot
tell which 3.14 binary installer is on the
Paraview download page.

Nevertheless, I downloaded the 3.14 tar-ball.

When I run a .py script generated using trace, an image pops up for a
second, then disappears.

BTW: The same thing happens with 3.98, at least on a companion machine.

What am I missing?

Thanks,
Tim
___
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.98rc3 configuration error: CheckFortran.cmake missing

2012-11-29 Thread Andy Bauer
Hi Francois,

Thanks for the information. I added a bug report in case you want to track
it at http://paraview.org/Bug/view.php?id=13693. It should be fixed
shortly.

I'm assuming you're using the coprocessing tools and the fortran interface,
otherwise you can turn that off during configuration.

Andy

On Thu, Nov 29, 2012 at 5:38 AM, Francois Bissey fbis...@slingshot.co.nzwrote:

 Hi,

 so I am trying to configure 3.98rc3 with cmake-2.8.10.1 and I get
 the following error message in ccmake:
  CMake Error at CoProcessing/Adaptors/FortranAdaptors/CMakeLists.txt:2
 (include):
include could not find load file:

  /home/work/fbissey/sandbox/ParaView/SuperBuild/CheckFortran.cmake

 I see that all the content of the superbuild folder is now in a separate
 tarball. This is fine but should the fortran adaptors depends on
 something from the superbuild folder?
 Shouldn't something like CMakeDetermineFortranCompiler.cmake
 which comes with cmake be used instead? I also don't remember having
 this problem in rc1.

 Francois
 ___
 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] 3.98 MPI_Finalize out of order in pvbatch

2012-11-29 Thread Burlen Loring

it looks like pvserver is also impacted, hanging after the gui disconnects.

On 11/28/2012 12:53 PM, Burlen Loring wrote:

Hi All,

some parallel tests have been failing for some time on Nautilus.
http://open.cdash.org/viewTest.php?onlyfailedbuildid=2684614

There are MPI calls made after finalize which cause deadlock issues on 
SGI MPT. It affects pvbatch for sure. The following snip-it shows the 
bug, and bug report here: http://paraview.org/Bug/view.php?id=13690


// 


bool vtkProcessModule::Finalize()
{

  ...

  vtkProcessModule::GlobalController-Finalize(1); 
---mpi_finalize called here


  ...

#ifdef PARAVIEW_USE_MPI
  if (vtkProcessModule::FinalizeMPI)
{
MPI_Barrier(MPI_COMM_WORLD); -barrier 
after mpi_finalize
MPI_Finalize(); --second 
mpi_finalize

}
#endif

  ...
}

Burlen




___
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.98rc3 configuration error: CheckFortran.cmake missing

2012-11-29 Thread fbissey

Thanks Andy,

I am not making use of it right now but I am packaging for Gentoo and I will
install it for general availability on a cluster down here so I need to know
what works what doesn't. Now let's see my build log from last night

Francois

Quoting Andy Bauer andy.ba...@kitware.com:


Hi Francois,

Thanks for the information. I added a bug report in case you want to track
it at http://paraview.org/Bug/view.php?id=13693. It should be fixed
shortly.

I'm assuming you're using the coprocessing tools and the fortran interface,
otherwise you can turn that off during configuration.

Andy

On Thu, Nov 29, 2012 at 5:38 AM, Francois Bissey 
fbis...@slingshot.co.nzwrote:



Hi,

so I am trying to configure 3.98rc3 with cmake-2.8.10.1 and I get
the following error message in ccmake:
 CMake Error at CoProcessing/Adaptors/FortranAdaptors/CMakeLists.txt:2
(include):
   include could not find load file:

 /home/work/fbissey/sandbox/ParaView/SuperBuild/CheckFortran.cmake

I see that all the content of the superbuild folder is now in a separate
tarball. This is fine but should the fortran adaptors depends on
something from the superbuild folder?
Shouldn't something like CMakeDetermineFortranCompiler.cmake
which comes with cmake be used instead? I also don't remember having
this problem in rc1.

Francois
___
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] [EXTERNAL] Animation Resolution Problem

2012-11-29 Thread Ryan Abernathey
Thanks for your suggestions. I wasn't able to get any of them to work in
3.14.1, so I just upgraded. Now everything works fine! Many thanks.
-Ryan


On Wed, Nov 28, 2012 at 12:41 PM, Scott, W Alan wasc...@sandia.gov wrote:

  I think this was a known bug that was fixed.  I looked in the bug
 tracker, and couldn’t find it.  Try removing your configuration files – I
 believe this can cause your problem.

 ** **

 If that doesn’t fix it, I just tried remote and local server, making the
 animation larger and smaller than my window, on Linux.  All succeeded .
 This is with the newest, latest, greatest, bestest version of paraView –
 3.98.0.  RC3 is currently on the web site.

 ** **

 Alan

 ** **

 *From:* paraview-boun...@paraview.org [mailto:
 paraview-boun...@paraview.org] *On Behalf Of *Ryan Abernathey
 *Sent:* Wednesday, November 28, 2012 12:55 PM
 *To:* paraview
 *Subject:* [EXTERNAL] [Paraview] Animation Resolution Problem

 ** **

 Hello,

 ** **

 I would like to export an animation (sequence of pngs) with a specific
 size. This seems straightforward to do using the Animation Settings Dialog.
 I enter my desired geometry where it says Resolution (pixels), specifically
 640 x 720. Once the animation begins saving, however, the output png files
 do not have anything close to this resolution, and instead are 2758 × 1348,
 an unusably large size. As far as I can tell, the aspect ratio of the true
 output resolution is determined by the current view window, but the
 dimensions are rescaled to be much larger. The resolution I specify in the
 Animation Settings Dialog apparently has no affect whatsoever.

 ** **

 I would appreciate any suggestion you have about how to overcome this
 problem.

 ** **

 I am using Paraview 3.14.1, 64-bit, QT version 4.6.4. on Mac OS 10.7.5

 ** **

 Best Regards,

 Ryan Abernathey

___
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] VTK-file written by ParaView cannot be read by ParaView

2012-11-29 Thread Sebastien Jourdain
vtk is a valid extension but maybe not for the writer factory for some
reason.


On Wed, Nov 28, 2012 at 3:10 PM, Ian Krukow i.kru...@tu-braunschweig.dewrote:

 Ok, that helps for a possible solution. Thanks!
 With

 writer = CreateWriter('sol_i=0.vtm')
 writer.UpdatePipeline()

 I get an XML file, that can be loaded back into ParaView.
 ---
 Still the behaviour I noticed before remains strange.

 I used the extension .vtk. From the GUI, I chose Save Data, and then
 Legacy VTK Files(*.vtk), which should be a valid option, because it is
 explicitly offered. The pvpython commands were

 writer = DataSetWriter(slice)
 writer.FileName = 'sol_i=0.vtk'
 writer.FileType = Ascii
 writer.UpdatePipeline()

 The result of both is the same, i.e. a file with the following structure:

 # vtk DataFile Version 3.0
 vtk output
 ASCII
 DATASET MULTIBLOCK
 CHILDREN 96
 CHILD 0
 # vtk DataFile Version 3.0
 vtk output
 ASCII
 DATASET POLYDATA
 POINTS 39714 float
 ...
 POLYGONS 77132 308528
 ...
 POINT_DATA 39714
 ...
 ENDCHILD
 CHILD 0
 # vtk DataFile Version 3.0
 vtk output
 ASCII
 DATASET POLYDATA
 POINTS 219146 float
 ...
 ENDCHILD
 CHILD 0
 ...
 ENDCHILD
 ...

 Each part between CHILD 0 and ENDCHILD would be a complete Legacy VTK
 file in itself.
 The ParaView version is 3.14.1.

 By the way, when I use

 writer = CreateWriter('sol_i=0.vtk')

 I get the following error message:

 ERROR: In [...]\src\ParaViewCore\**ServerManager\**vtkSMWriterFactory.cxx,
 line 374
 vtkSMWriterFactory: No matching writer found for extension: vtk

 Is .vtk not a valid file extension?



 Am 28.11.2012 19:55, schrieb Sebastien Jourdain:

 There is no multi-block legacy format. What file extension did you try
 to write ? It should be .vtm by default.



 On Wed, Nov 28, 2012 at 11:52 AM, Ian Krukow
 i.kru...@tu-braunschweig.de 
 mailto:i.krukow@tu-**braunschweig.dei.kru...@tu-braunschweig.de
 wrote:

 Hi,

 I have loaded an EnSight file (results from an external code) into
 ParaView, taken a slice from it and saved it in Legacy VTK format.
 The result is a VTK file with multiblock datasets. When I try to
 load it again, ParaView does not recognise the file format and asks
 me to choose a reader. Why does ParaView not know the format of a
 file, that it has written itself?

 The written VTK file contains several CHILDREN with part of the
 data (I suppose that it is just divided) plus several empty
 CHILDREN. If I put the data of a single CHILD into a seperate file,
 I can load it into ParaView without any problems.
 Now, I could manipulate the file by hand (or script), so that I
 get a file I can use again in ParaView, but I just do not think,
 that this is the way it is supposed to be. Can somebody help me?

 Best regards
 Ian
 __**___
 Powered by www.kitware.com http://www.kitware.com


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

 
 http://www.kitware.com/**opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html
 

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


 Follow this link to subscribe/unsubscribe:
 
 http://www.paraview.org/__**mailman/listinfo/paraviewhttp://www.paraview.org/__mailman/listinfo/paraview
 
 http://www.paraview.org/**mailman/listinfo/paraviewhttp://www.paraview.org/mailman/listinfo/paraview
 


  __**_
 Powered by www.kitware.com

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

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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/**mailman/listinfo/paraviewhttp://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] How to install into /usr/lib64 with 3.98.0 RC3?

2012-11-29 Thread Sebastien Jourdain
That should work but you can also try with VTK_INSTALL_LIB_DIR.

So where those library being copied then ?

Thanks,

Seb


On Wed, Nov 28, 2012 at 5:35 PM, Orion Poplawski or...@cora.nwra.comwrote:

 In the past I've made paraview install libraries into /usr/lib64/paraview
 with -DPV_INSTALL_LIB_DIR:PATH=**lib64/paraview, but this appears to no
 longer work.  How can I do this now?

 --
 Orion Poplawski
 Technical Manager 303-415-9701 x222
 NWRA, Boulder Office  FAX: 303-415-9702
 3380 Mitchell Lane   or...@nwra.com
 Boulder, CO 80301   http://www.nwra.com
 __**_
 Powered by www.kitware.com

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

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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/**mailman/listinfo/paraviewhttp://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] off screen rendering in pvpython

2012-11-29 Thread Sebastien Jourdain
You need to compile ParaView/pvpython with OSMesa.


On Thu, Nov 29, 2012 at 7:57 AM, Indrajit Jagtap 
indrajit.jag...@tridiagonal.co.in wrote:

 Hi,

 I am using following command to take images in pvpython -
 WriteImage(OUTFILE, Writer=vtkPNGWriter)

 How do I configure it to not open any display ? What is the method to
 activate offscreen rendering when using pvpython ?

 Regards,
 Indrajit
 __**_
 Powered by www.kitware.com

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

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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/**mailman/listinfo/paraviewhttp://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] [ParaViewWeb]

2012-11-29 Thread Sebastien Jourdain
It seems that the PWService.war is not inside your ${TOMCAT_HOME}/webapps

If it is did you looked at the tomcat logs ?
And you should definitely not start with that
http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package.

Once ParaView builded, the deployment should be basically that

1) download tomcat.tgz
2) tar xvzf tomcat.tgz
3) cp /*.war tomcat/webapps
4) cp .../pw-config.properties tomcat/lib
5) tomcat/bin/startup.sh
6) download activemq.tgz
7) tar xvzf activemq.tgz
8) activemq/bin/activemq start
9) connect to http://localhost:8080/PW

After you may run into invalid configuration inside pw-config.properties or
LD_LIBRARY_PATH issue but that's all.

Seb


On Thu, Nov 29, 2012 at 12:47 PM, Joe Borġ m...@jdborg.com wrote:

 Seb,

 Further to this, (if I open in Chrome) I get this error Resource Not
 Found: http://localhost:8080/PWService/js/ParaViewWeb.js.  I can confirm
 that the file is where it should be and is 775, so should be fine.  If I
 try and go to that address, I get 404 from Tomcat:

 HTTP Status 404 -
 --

 *type* Status report

 *message*

 *description* *The requested resource () is not available.*
 --
  Apache Tomcat/6.0.24



 Regards,
 Joseph David Borġ
 http://www.jdborg.com


 On 29 November 2012 11:45, Joe Borġ m...@jdborg.com wrote:

 Hi Seb,

 I've followed this
 http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package step
 by step, without any obvious issues.  It's being run as my user, so
 hopefully isn't a permissions problem.

 This is on CentOS 6.1

 Thanks for the help,



 Regards,
 Joseph David Borġ
 http://www.jdborg.com


 On 28 November 2012 18:52, Sebastien Jourdain 
 sebastien.jourd...@kitware.com wrote:

 Hi Joe,

 Could you explain slightly what you've done so far to install and run
 the examples ?
 Moreover, are you running tomcat as your user or are you relying on the
 system package of your linux box ?
 Oh wait, what OS are you trying that out ?

 Thanks,

 Seb



 On Wed, Nov 28, 2012 at 10:04 AM, Joe Borġ m...@jdborg.com wrote:

 Hi All,

 I'm trying to install ParaViewWeb.  If I launch any of the example
 classes, I get

 Error: ReferenceError: Paraview is not defined

 Has anyone got any ideas on what I've missed?

 Thanks,

 Regards,
 Joseph David Borġ
 http://www.jdborg.com

 ___
 Powered by www.kitware.com

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

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

 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)

2012-11-29 Thread Sebastien Jourdain
I don't know ? what your script is supposed to do ? Render an image and
quit ?


On Thu, Nov 29, 2012 at 1:19 PM, Timothy Cale drtsc.p...@gmail.com wrote:

 I am using paraview 3.14 (64 bit, ubuntu 12.04 vm on a MBP).

 I am trying to run pvpython to view .py files generated using Trace:

 'which' pvpython' yields: /usr/bin/pvpython

 'pvpython' yields: Error converting executable file
 /usr/bin/../lib/paraview/pvpython to real path: No such file or directory

 So, /usr/bin/python seems to be looking for /usr/lib/paraview/pvpython

 Which is indeed not there.

 I uninstalled (purged) and installed 3.14 again. Same thing.

 BTW: I did see the notes regarding 3.14.1-2 from ~6 months ago, but cannot
 tell which 3.14 binary installer is on the
 Paraview download page.

 Nevertheless, I downloaded the 3.14 tar-ball.

 When I run a .py script generated using trace, an image pops up for a
 second, then disappears.

 BTW: The same thing happens with 3.98, at least on a companion machine.

 What am I missing?

 Thanks,
 Tim



 ___
 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] Need help with programmable filter output

2012-11-29 Thread Scott Ripplinger
I am attempting to run an analysis on some data which requires summing up
some numbers down to a single value for the whole domain for each time
step.  I'm having trouble figuring out how to get the output and what VTK
classes and functions to use.  Here is what I have so far:

import math

input = self.GetInputDataObject(0,0)

output = self.GetOutputDataObject(0)

numPoints = input.GetNumberOfPoints()

points = input.GetPointData()

SurfCvg = 0

for i in xrange(numPoints):

 d = points.GetArray('d').GetValue(i)

 coords = input.GetPoint(i)

 z = coords[2]

 h = 0.00015 - abs(z - 0.00015) - 0.5*d

 H0 = 2*h/d

 if (H0  0.002):

  SurfCvg = SurfCvg + 0.25*math.pi*d*d

Theta = SurfCvg/(0.01*0.001)

outputarray = vtk.vtkFloatArray()

outputarray.SetNumberOfValues(1)

outputarray.SetValue(0, Theta)

output.GetRowData().AddArray(outputarray)


I'm not even sure what to use as the output data set type.  In the end I
need to plot (or export as a table) the value of Theta across all my time
steps.  Any guidance would be appreciated.


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