Re: [Paraview] Numpy import error

2013-03-22 Thread Sohail Shafii
*works since I had to change PYTHON_LIBRARY to point to the lib subdirectory of /Library/Frameworks/Python.framework/Versions/2.7/, similar to the executable and include_dir versions On Thu, Mar 21, 2013 at 10:59 PM, Sohail Shafii sssha...@ucdavis.eduwrote: Importing numpy into python works

[Paraview] Numpy import error

2013-03-21 Thread Sohail Shafii
Hi, I have numpy installed installed on Python 2.7.3. for Mac OS 10.8.3. I compiled against the same python while building ParaView 3.98.1 64-bit, but when I create a Python programmable filter in ParaView, I cannot import numpy -- I get a message that says ImportError: No module named numpy.

Re: [Paraview] Numpy import error

2013-03-21 Thread Sohail Shafii
, 2013 at 8:53 PM, Sohail Shafii sssha...@ucdavis.edu wrote: Hi, I have numpy installed installed on Python 2.7.3. for Mac OS 10.8.3. I compiled against the same python while building ParaView 3.98.1 64-bit, but when I create a Python programmable filter in ParaView, I cannot import numpy

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2013-01-20 Thread Sohail Shafii
Thanks for the help. On Sunday, January 20, 2013, Andy Bauer wrote: FYI: this finally has made its way into ParaView such that it will be available in the GUI for single process runs. Andy On Thu, Dec 20, 2012 at 8:08 PM, Sohail Shafii sssha...@ucdavis.eduwrote: Thanks. Please take your

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-12-16 Thread Sohail Shafii
that helps in this regard? I reverted to an older version of VTK for now but I want to eventually upgrade. Sohail On Sat, Nov 3, 2012 at 1:16 PM, Sohail Shafii sssha...@ucdavis.edu wrote: Also I'm removing Jimmy from this list since he may not be working with wind files at this point. Sohail

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-11-03 Thread Sohail Shafii
: We're getting ready for a pre-release of PV 4.0 now so we'll need this soon. If we need to update to a newer WindBlade file for the test, we can do that too. You'll have to think though on how to handle backwards compatibility. Andy On Wed, Oct 31, 2012 at 12:37 PM, Sohail Shafii sssha

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-11-03 Thread Sohail Shafii
Also I'm removing Jimmy from this list since he may not be working with wind files at this point. Sohail On Sat, Nov 3, 2012 at 1:15 PM, Sohail Shafii sssha...@ucdavis.edu wrote: At this point the changes will have to wait, unfortunately. For the past two weeks I've been involved

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-10-31 Thread Sohail Shafii
on that. andy On Fri, Oct 26, 2012 at 5:06 PM, Sohail Shafii sssha...@ucdavis.eduwrote: Current master version can't launch (MacOS Mountain Lion): paraview(575,0x7fff72e33180) malloc: *** error for object 0x111058450: pointer being freed was not allocated *** set a breakpoint

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-10-26 Thread Sohail Shafii
the WindBlade reader when running in either built-in mode or connecting to a serial server. Andy On Wed, Oct 24, 2012 at 12:13 PM, Sohail Shafii sohailsha...@yahoo.comwrote: Haven't had a chance yet due to a paper. I'll look at it this week. How soon will it be released? Also please respond

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-08-28 Thread Sohail Shafii
that ParaView does something else besides using that reader...hmmm. On Mon, Aug 27, 2012 at 7:32 PM, Andy Bauer andy.ba...@kitware.com wrote: On Mon, Aug 27, 2012 at 6:53 PM, Sohail Shafii sssha...@ucdavis.eduwrote: I see...so if MPI is running then it will create a parallel version of the class

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-08-28 Thread Sohail Shafii
Well I guess it's not a problem in the derived functions if I check to see if MPI is available; if not, call the superclass's version of the virtual function. On Tue, Aug 28, 2012 at 11:32 AM, Sohail Shafii sssha...@ucdavis.eduwrote: MPI is only used if it's available. It tries to see

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-08-28 Thread Sohail Shafii
input (point data) array. That's why it can't compute vorticity or q-criterion because a-scale turbulence is a 1-component array. Might be because I'm using an older version of the repo from late July. Sohail On Tue, Aug 28, 2012 at 11:51 AM, Sohail Shafii sssha...@ucdavis.eduwrote: Well I

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-08-27 Thread Sohail Shafii
of readers that it will try to read in a file. Andy On Tue, Aug 21, 2012 at 7:11 PM, Sohail Shafii sssha...@ucdavis.eduwrote: sent via another e-mail address; yahoo prevents me from uploading stuff because it's stupid Here's the first version. Do you want me to keep ccing the list

Re: [Paraview] Numpy masking (via programm filter) not quite working in parallel

2012-08-23 Thread Sohail Shafii
Thanks.  I'll look into it and let you know if I have any questions. Sohail From: George Zagaris george.zaga...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: David Thompson david.thomp...@kitware.com; paraview@paraview.org paraview@paraview.org

[Paraview] Numpy masking (via programm filter) not quite working in parallel

2012-08-17 Thread Sohail Shafii
Hi, I need to use Numpy in a lot of the programmable filters that I write, and I've run into differences in how its masking feature works in serial and parallel. Masking allows one to filter out portions of an array that do not pass some condition. As an example, I've created a stock

Re: [Paraview] Numpy masking (via programm filter) not quite working in parallel

2012-08-17 Thread Sohail Shafii
for the statistics filters but did not implement a solution (because the expected skew is small).     David On Aug 17, 2012, at 5:05 PM, Sohail Shafii sohailsha...@yahoo.com wrote: Hi, I need to use Numpy in a lot of the programmable filters that I write, and I've run into differences in how its

Re: [Paraview] Numpy masking (via programm filter) not quite working in parallel

2012-08-17 Thread Sohail Shafii
Very well. I think that should be fine for now. Sohail From: David Thompson david.thomp...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: David Thompson david.thomp...@kitware.com; paraview@paraview.org paraview@paraview.org Sent: Friday, August

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-07-19 Thread Sohail Shafii
From: David E DeMarle dave.dema...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: Andy Bauer andy.ba...@kitware.com; migic...@gmail.com migic...@gmail.com; paraview@paraview.org paraview@paraview.org; Woodring, Jonathan L woodr...@lanl.gov Sent: Tuesday, July 17, 2012 7:00

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-07-19 Thread Sohail Shafii
is the vtkStreamTracer and its distributed counterparts so I can use those as a guide.  If you have better recommendations please let me know. Sohail From: David E DeMarle dave.dema...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: Andy Bauer andy.ba

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-07-17 Thread Sohail Shafii
What is the class that is responsible for testing to reader to see if it can open the .wind file? Sohail From: Andy Bauer andy.ba...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: Woodring, Jonathan L woodr...@lanl.gov; Sebastien Jourdain

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-07-17 Thread Sohail Shafii
...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: Andy Bauer andy.ba...@kitware.com; migic...@gmail.com migic...@gmail.com; paraview@paraview.org paraview@paraview.org; Woodring, Jonathan L woodr...@lanl.gov Sent: Tuesday, July 17, 2012 12:43 PM Subject: Re: [Paraview] ParaView thinks

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-07-11 Thread Sohail Shafii
I'm not aware of any option to build/link against mpi-io.  This is just a standard build with mpi support that suffers from this issue. The ParaView website's builds also have the same bug. From: Woodring, Jonathan L woodr...@lanl.gov To: Sohail Shafii

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-07-03 Thread Sohail Shafii
Jimmy said that it works. Thanks. Sohail From: Andy Bauer andy.ba...@kitware.com To: Sebastien Jourdain sebastien.jourd...@kitware.com Cc: Sohail Shafii sohailsha...@yahoo.com; migic...@gmail.com migic...@gmail.com; woodr...@lanl.gov woodr...@lanl.gov

[Paraview] ParaView thinks that it does not have a wind blade reader

2012-07-02 Thread Sohail Shafii
Hi, We are trying to open a .wind data set.  In the open file menu, ParaView lists the .wind format as a possible option.  Once we click open, however, it complains that a reader for that data format cannot be found.  This is true for the compiled-from-source and pre-compiled versions of

[Paraview] Compile error for vtkWrapPython (locally installed python)

2012-06-26 Thread Sohail Shafii
Hi, I am currently compiling paraview 3.14.1 and using a locally installed version of python2.7. My version of cmake is 2.8.8. The OS is Red Hat Enterprise Linux Client release 5.8. I get the following error during compilation: [  0%] Built target vtkWrapPythonInit make[2]: *** No rule to make

Re: [Paraview] vtkDataSet algorithm that takes composite data set as input

2012-01-25 Thread Sohail Shafii
a composite. I guess I have to override it? Sohail From: David E DeMarle dave.dema...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: paraview@paraview.org paraview@paraview.org Sent: Monday, January 23, 2012 7:25 AM Subject: Re: [Paraview] vtkDataSet

[Paraview] vtkDataSet algorithm that takes composite data set as input

2012-01-20 Thread Sohail Shafii
Hi, I am developing an algorithm that requires a composite data set as input while creating a vtkDataSet as output -- basically it inherit from vtkDataSetAlgorithm. I know that one must provide a new definition to the FillInputPortInformation(int port, vtkInformation *info) function, but I'm

Re: [Paraview] vtkDataSet algorithm that takes composite data set as input

2012-01-20 Thread Sohail Shafii
To: Sohail Shafii sohailsha...@yahoo.com Cc: paraview@paraview.org paraview@paraview.org Sent: Friday, January 20, 2012 11:42 AM Subject: Re: [Paraview] vtkDataSet algorithm that takes composite data set as input Try something like this. In this case the mapper takes in either type, which you may

Re: [Paraview] Data does not load off of a partition from saved (.wind) state

2011-11-21 Thread Sohail Shafii
From: David E DeMarle dave.dema...@kitware.com To: Utkarsh Ayachit utkarsh.ayac...@kitware.com Cc: Sohail Shafii sohailsha...@yahoo.com Sent: Monday, November 21, 2011 7:36 AM Subject: Re: [Paraview] Data does not load off of a partition from saved (.wind) state Probably not. I have

Re: [Paraview] Data does not load off of a partition from saved (.wind) state

2011-11-21 Thread Sohail Shafii
).  If that doesn't happen then there might be some problem with my paraview installation or my new data set. Sohail From: Sohail Shafii sohailsha...@yahoo.com To: David E DeMarle dave.dema...@kitware.com; Utkarsh Ayachit utkarsh.ayac...@kitware.com Cc: paraview@paraview.org

Re: [Paraview] Data does not load off of a partition from saved (.wind) state

2011-11-20 Thread Sohail Shafii
From: Sohail Shafii sohailsha...@yahoo.com To: paraview@paraview.org paraview@paraview.org Sent: Thursday, November 17, 2011 2:52 PM Subject: Data does not load off of a partition from saved (.wind) state Hi, I've noticed that if I open a data set from a separate partition (after

[Paraview] Data does not load off of a partition from saved (.wind) state

2011-11-17 Thread Sohail Shafii
Hi, I've noticed that if I open a data set from a separate partition (after mounting it in Linux), and if I save a state file related to said data set, the data does not load at all when I load the statefile if after I start ParaView from a clean state.  Please note that it doesn't matter if

Re: [Paraview] Linking error when trying to use vtkGLSL/vtkXMLShader

2011-10-27 Thread Sohail Shafii
.  Utkarsh On Oct 26, 2011, at 12:11 AM, Sohail Shafii sohailsha...@yahoo.com wrote: Hi, I am currently trying to do some shader operations in a standard C++ filter.   This filter (inherits from vtkMultiBlockDataSetAlgorithm, resides in VTK/Graphics) will be used to voxelize a polygonal object

[Paraview] Linking error when trying to use vtkGLSL/vtkXMLShader

2011-10-25 Thread Sohail Shafii
Hi, I am currently trying to do some shader operations in a standard C++ filter.   This filter (inherits from vtkMultiBlockDataSetAlgorithm, resides in VTK/Graphics) will be used to voxelize a polygonal object (basically the result of the contour filter) and write the results to a 3D texture.

Re: [Paraview] Multiple polydata in same pipeline -- don't always seem centered around same origin

2011-10-12 Thread Sohail Shafii
Thanks. Changing the setting Coincident Topology Resolution to Do Nothing made it work. Sohail From: David E DeMarle dave.dema...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: paraview@paraview.org paraview@paraview.org Sent: Wednesday, October 12

Re: [Paraview] Accessing OpenGL from standard VTK filter

2011-10-05 Thread Sohail Shafii
) and setting up the view volume (vtkPersp*), so those classes may come in handy Sohail From: Andy Bauer andy.ba...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: paraview@paraview.org paraview@paraview.org Sent: Wednesday, October 5, 2011 8:56 AM

[Paraview] Accessing OpenGL from standard VTK filter

2011-10-04 Thread Sohail Shafii
Hi, If I were to write a typical VTK filter C++ (i.e. the type with VTKRequestData, not existing in the VTK/Rendering folder), would it be fine to have OpenGL calls in there?  I'm guessing based on the way VTK is designed, most classes that access OpenGL directly might exist in the Rendering

Re: [Paraview] Comparative view and wind blade reader

2011-08-30 Thread Sohail Shafii
Thank you.  I can wait for this fix to be updated in the release, I guess. Sohail From: Utkarsh Ayachit utkarsh.ayac...@kitware.com To: Andy Bauer andy.ba...@kitware.com Cc: Sohail Shafii sohailsha...@yahoo.com; paraview@paraview.org paraview@paraview.org Sent

Re: [Paraview] Unstructured to structured...

2011-08-12 Thread Sohail Shafii
, although that part will take some thought. Sohail From: Moreland, Kenneth kmo...@sandia.gov To: Sohail Shafii sohailsha...@yahoo.com; paraview@paraview.org paraview@paraview.org Sent: Thursday, August 11, 2011 4:32 PM Subject: Re: [Paraview] Unstructured

[Paraview] Unstructured to structured...

2011-08-11 Thread Sohail Shafii
Hi, I've been wondering: would it be possible to take an unstructured grid using existing filters and make it into structured?  Here's why: I compute an iso-surface for a data set (resulting surface is unstructured subset of original structured data set), which needs to be compared against the

[Paraview] Comparative view and wind blade reader

2011-08-09 Thread Sohail Shafii
Hi, I have recently become interested in comparing different time steps using the windblade reader.  One approach involves a 3D comparative view.  After loading my .wind data set, I created a 2X1 Comparative View. In the Comparative View Inspector, I clicked the + symbol when Time was

Re: [Paraview] Comparative view and wind blade reader

2011-08-09 Thread Sohail Shafii
I believe Andy should have at least one lying around. Sohail From: Utkarsh Ayachit utkarsh.ayac...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: paraview@paraview.org paraview@paraview.org Sent: Tuesday, August 9, 2011 11:07 AM Subject: Re: [Paraview

Re: [Paraview] Accessing field and wind blade data (together) in python filter

2011-07-28 Thread Sohail Shafii
and the blade.   This means that I do not have to make any changes in the vtkWindBladeReader code. Sohail From: David E DeMarle dave.dema...@kitware.com To: Sohail Shafii sohailsha...@yahoo.com Cc: paraview@paraview.org paraview@paraview.org Sent: Thursday, July

[Paraview] Accessing field and wind blade data (together) in python filter

2011-07-26 Thread Sohail Shafii
Hi, Right now the field and blade data are separate for the wind blade reader (as expected).  I was wondering if, after creating a python filter below the blade object in the pipeline, I could somehow access the field data?  I'm guessing not based on some experimenting. I need to do this

[Paraview] Possible issue with velocity interpolator class

2011-07-25 Thread Sohail Shafii
Hi, I've been developer a vortex core tracer, which is basically a customized version of vtkStreamTracer.  I use the interpolation code quite heavily in the class, in this test case I use the point interpolator (i.e. vtkInterpolatedVelocityField class). Now in one part of the code, I've

Re: [Paraview] Interesting bug when using windbladereader and multiple time steps

2011-07-13 Thread Sohail Shafii
By current development version are you referring to the master branch? Sohail --- On Wed, 7/13/11, Andy Bauer andy.ba...@kitware.com wrote: From: Andy Bauer andy.ba...@kitware.com Subject: Re: [Paraview] Interesting bug when using windbladereader and multiple time steps To: Sohail Shafii

Re: [Paraview] Interesting bug when using windbladereader and multiple time steps

2011-07-11 Thread Sohail Shafii
and the most up-to-date release version of ParaView as opposed to 3.8.0. Sohail --- On Fri, 7/8/11, Andy Bauer andy.ba...@kitware.com wrote: From: Andy Bauer andy.ba...@kitware.com Subject: Re: [Paraview] Interesting bug when using windbladereader and multiple time steps To: Sohail Shafii sohailsha

Re: [Paraview] Interesting bug when using windbladereader and multiple time steps

2011-07-08 Thread Sohail Shafii
, 7/8/11, Andy Bauer andy.ba...@kitware.com wrote: From: Andy Bauer andy.ba...@kitware.com Subject: Re: [Paraview] Interesting bug when using windbladereader and multiple time steps To: Sohail Shafii sohailsha...@yahoo.com, Fasel, Patricia K p...@lanl.gov Cc: paraview@paraview.org Date: Friday

[Paraview] Interesting bug when using windbladereader and multiple time steps

2011-07-07 Thread Sohail Shafii
Hi, I've noticed a bug when using the windbladereader; the portion of the code that reads the blade file is one timestep behind the code that reads the field.  For instance, if one is at timestep i, the field data will correspond with timestep i but the blade data will correspond with the last

Re: [Paraview] Interesting bug when using windbladereader and multiple time steps

2011-07-07 Thread Sohail Shafii
: [Paraview] Interesting bug when using windbladereader and multiple time steps To: Sohail Shafii sohailsha...@yahoo.com Cc: paraview@paraview.org Date: Thursday, July 7, 2011, 7:09 PM I'll take a look at it.  I may need a time dependent data set if I can't figure it out though. Andy On Thu, Jul 7, 2011

Re: [Paraview] programmable sourece-programmable filter - streamtracer parallel

2011-04-06 Thread Sohail Shafii
Have you tried to display each parts of the pipeline when in parallel? In other words, see if you can render something related to the programmable source, then the programmable filter, to see if the problem might occur earlier in the pipeline. Sohail --- On Wed, 4/6/11, Atanas Atanasov

Re: [Paraview] visualizing particles with different radius

2011-03-25 Thread Sohail Shafii
to become spheres that way. Sohail --- On Thu, 3/24/11, sarai anvari lamm...@gmail.com wrote: From: sarai anvari lamm...@gmail.com Subject: Re: [Paraview] visualizing particles with different radius To: Sohail Shafii sohailsha...@yahoo.com Date: Thursday, March 24, 2011, 8:23 AM thanks but as you sea

Re: [Paraview] Getting a raytraced picture from Manta

2011-03-23 Thread Sohail Shafii
...@kitware.com Cc: Sohail Shafii sohailsha...@yahoo.com, paraview@paraview.org Date: Tuesday, March 22, 2011, 9:11 PM I highly recommend you use Manta r2439. As far as vtkManta's use of Manta goes, that version is the most stable and newer Manta versions are known to cause it to crash. David E DeMarle

Re: [Paraview] visualizing particles with different radius

2011-03-23 Thread Sohail Shafii
So in the glyph filter's Vectors drop-down you see the two types and you want it applied to both?  If that's the case then I would add a second glyph filter into the pipeline, and have it applied to the other type. As far as I know each glyph filter can be applied to only one input vector from

Re: [Paraview] Getting a raytraced picture from Manta

2011-03-23 Thread Sohail Shafii
Thanks, that works. Sohail --- On Wed, 3/23/11, John Patchett patchett2...@gmail.com wrote: From: John Patchett patchett2...@gmail.com Subject: Re: [Paraview] Getting a raytraced picture from Manta To: Sohail Shafii sohailsha...@yahoo.com Cc: Sebastien Jourdain sebastien.jourd...@kitware.com

[Paraview] Getting a raytraced picture from Manta

2011-03-22 Thread Sohail Shafii
Hi, I have been able to get Manta raytracer to compile with paraview and load in as a plugin.  I even see the extra GUI options in the display tab of certain filters like the Tube filter.  I'm just wondering how to get something raytraced as a result. I did a bit a research via the list and

Re: [Paraview] Getting a raytraced picture from Manta

2011-03-22 Thread Sohail Shafii
a raytraced picture from Manta To: Sohail Shafii sohailsha...@yahoo.com Cc: paraview@paraview.org Date: Tuesday, March 22, 2011, 1:32 PM Hi Sohail, you should just close the default 3D view and create the Manta one by clicking on its button. Then any object that you create will be shown

Re: [Paraview] Using streamtracer/gradient filters on multi-block data set

2011-03-09 Thread Sohail Shafii
let me know. Sohail --- On Wed, 3/2/11, Sohail Shafii sohailsha...@yahoo.com wrote: From: Sohail Shafii sohailsha...@yahoo.com Subject: Re: [Paraview] Using streamtracer/gradient filters on multi-block data set To: Berk Geveci berk.gev...@kitware.com Cc: paraview@paraview.org Date: Wednesday

Re: [Paraview] Using streamtracer/gradient filters on multi-block data set

2011-03-02 Thread Sohail Shafii
/gradient filters on multi-block data set To: Sohail Shafii sohailsha...@yahoo.com Cc: paraview@paraview.org Date: Wednesday, March 2, 2011, 3:40 AM I looks like you to apply cell data to point data. On Tue, Mar 1, 2011 at 9:06 PM, Sohail Shafii sohailsha...@yahoo.com wrote: Hi, Let me correct

[Paraview] Using streamtracer/gradient filters on multi-block data set

2011-03-01 Thread Sohail Shafii
Hi, I've read in a CAS file, which Paraview read in a Multi-block dataset, which contains within it a unstructured grid. Initially I had a problem where all of the data items were one-tuple arrays.  So I created a UVW (3-tuple velocity) array and added it to the pipeline this way using a

Re: [Paraview] Using streamtracer/gradient filters on multi-block data set

2011-03-01 Thread Sohail Shafii
in the gaps. Sohail --- On Tue, 3/1/11, Berk Geveci berk.gev...@kitware.com wrote: From: Berk Geveci berk.gev...@kitware.com Subject: Re: [Paraview] Using streamtracer/gradient filters on multi-block data set To: Sohail Shafii sohailsha...@yahoo.com Cc: paraview@paraview.org Date: Tuesday, March 1