Re: [Paraview] 3.8 RC2 binaries: still a bug in line charts
Marcus D. Hanwell wrote: On Mon, May 10, 2010 at 4:54 AM, Richard GRENON richard.gre...@onera.fr mailto:richard.gre...@onera.fr wrote: Hello I have just tested the 3.8 RC2 binaries (Linux 64). If some 3.8 RC1 bugs have been solved in line charts (points 1 and 2 in my previous mail about 3.8 RC1 regression in line chart), it is still impossible to change the default bottom-left axis system for another system with top or right axis. Hi Richard, I committed some fixes for this in ParaView/VTK master, the commit IDs are in the bug report notes, http://www.paraview.org/Bug/view.php?id=10387 The patch is quite big, and so we will have to wait until the 3.8.2 release to integrate them (it will be one of the first changes to be merged after the final tagging for ParaView). So in the short term I will remove those elements from the display panel for the line charts, and add them back in once the 3.8 branch has tagged. It was necessary to refactor quite a lot of the logic in the vtkChartXY class to deal with effectively having four plots in each chart, manage four transforms, and sharing axes between the up to four plots. Please let me know if you experience further issues after applying the changes. Thanks, Marcus -- Marcus D. Hanwell, Ph.D. RD Engineer, Kitware Inc. (518) 881-4937 Hi Marcus. Thank you for this answer. I will wait for the 3.8.2 release before testing line chart again and I will continue to test other features in 3.8.0 RC2. Richard -- Richard GRENON ONERA Departement d'Aerodynamique Appliquee - DAAP/ACI 8 rue des Vertugadins 92190 MEUDON - FRANCE phone : +33 1 46 73 42 17 fax : +33 1 46 73 41 46 mailto:richard.gre...@onera.fr http://www.onera.fr ___ 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] XDMF/HDF5 reader memory usage
After doing some more digging, it appears this problem is not only related to temporal collections, but all XDMF/HDF5 files with spatial collections. If repeatedly open and close a file containing a spatial collection, Paraview's memory usage gradually increases until it hangs my machine. I observe this in both 3.6 and 3.8 RC2. Cheers, Tobias --- Tobias Brandvik PhD Student Whittle Laboratory, University of Cambridge 1 JJ Thomson Avenue Cambridge CB3 0DY, UK On Mon, May 3, 2010 at 12:06 PM, Tobias Brandvik tbrand...@gmail.com wrote: Hi all, I'm experiencing some strange behaviour with the XDMF reader when trying to create an animation of the data contained in a set of HDF5 files. My approach is as follows: 1. One XDMF file which is a temporal collection containing links to a list of other XDMF files 2. One XDMF file for each time step (linked to by the XDMF file above), each of which is a spatial collection of several 2D structured grids. The data for the grids is contained in HDF5 files (also one for each time step). When I open the file with the temporal collection in Paraview, the data shows up as a temporal collection as expected. I can step back and forth in time and everything seems to work just fine. However, as I load in more time steps (by stepping forward in time), Paraview's memory usage keeps increasing. It seems like it is not freeing the memory associated with the old time step when reading in a new one. To illustrate this problem, I've uploaded a collection of XDMF and HDF5 files to the following location: http://www2.eng.cam.ac.uk/~tb302/xdmf_example.tar.gz There are 10 time steps in the collection. The data set is very small, but it should still show the problem (I could easily generate larger data sets if necessary). I get the same behaviour in Paraview 3.6 and 3.8 on both Centos 5.3 (64 bit) and Mac OS X 10.5. Any help would be greatly appreciated. Best wishes, Tobias --- Tobias Brandvik PhD Student Whittle Laboratory, University of Cambridge 1 JJ Thomson Avenue Cambridge CB3 0DY, UK ___ 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] XDMF/HDF5 reader memory usage
Sure, bug now submitted: http://paraview.org/Bug/view.php?id=10702 Thanks, Tobias On Tue, May 11, 2010 at 1:59 PM, Robert Maynard robert.mayn...@kitware.com wrote: Hi Tobias, Could you please submit a bug at http://paraview.org/Bug/bug_report_page.php for the memory leak in XMDF/HDF5 files. On Tue, May 11, 2010 at 8:19 AM, Tobias Brandvik tbrand...@gmail.com wrote: After doing some more digging, it appears this problem is not only related to temporal collections, but all XDMF/HDF5 files with spatial collections. If repeatedly open and close a file containing a spatial collection, Paraview's memory usage gradually increases until it hangs my machine. I observe this in both 3.6 and 3.8 RC2. Cheers, Tobias --- Tobias Brandvik PhD Student Whittle Laboratory, University of Cambridge 1 JJ Thomson Avenue Cambridge CB3 0DY, UK On Mon, May 3, 2010 at 12:06 PM, Tobias Brandvik tbrand...@gmail.com wrote: Hi all, I'm experiencing some strange behaviour with the XDMF reader when trying to create an animation of the data contained in a set of HDF5 files. My approach is as follows: 1. One XDMF file which is a temporal collection containing links to a list of other XDMF files 2. One XDMF file for each time step (linked to by the XDMF file above), each of which is a spatial collection of several 2D structured grids. The data for the grids is contained in HDF5 files (also one for each time step). When I open the file with the temporal collection in Paraview, the data shows up as a temporal collection as expected. I can step back and forth in time and everything seems to work just fine. However, as I load in more time steps (by stepping forward in time), Paraview's memory usage keeps increasing. It seems like it is not freeing the memory associated with the old time step when reading in a new one. To illustrate this problem, I've uploaded a collection of XDMF and HDF5 files to the following location: http://www2.eng.cam.ac.uk/~tb302/xdmf_example.tar.gz There are 10 time steps in the collection. The data set is very small, but it should still show the problem (I could easily generate larger data sets if necessary). I get the same behaviour in Paraview 3.6 and 3.8 on both Centos 5.3 (64 bit) and Mac OS X 10.5. Any help would be greatly appreciated. Best wishes, Tobias --- Tobias Brandvik PhD Student Whittle Laboratory, University of Cambridge 1 JJ Thomson Avenue Cambridge CB3 0DY, UK ___ 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 -- Robert Maynard ___ 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] Manta Download
Hi everybody, I'm looking for a Manta download to build use the Plugin in ParaView 3.8.0, but I can't find it anywhere. Could anyone mail me a link? Thanks, Natalie _ Organizar y compartir tus documentos nunca fue tan fácil. Hotmail te da 25 GB gratis. Ver más http://www.descubrewindowslive.com/hotmail/almacenamiento.asp___ 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] Manta Download
Hi Natalie, You should be able to find what you are looking for in that web page. http://mantawiki.sci.utah.edu/manta/index.php/Main_Page Seb On Tue, May 11, 2010 at 9:37 AM, Natalie Happenhofer natalieh...@hotmail.com wrote: Hi everybody, I'm looking for a Manta download to build use the Plugin in ParaView 3.8.0, but I can't find it anywhere. Could anyone mail me a link? Thanks, Natalie -- Subir, organizar y compartir documentos online, está a un clic de tu bandeja de entrada. Ver máshttp://www.descubrewindowslive.com/hotmail/almacenamiento.asp ___ 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] Manta Download
Great, thanks! N Date: Tue, 11 May 2010 09:51:06 -0400 Subject: Re: [Paraview] Manta Download From: sebastien.jourd...@kitware.com To: natalieh...@hotmail.com CC: paraview@paraview.org Hi Natalie, You should be able to find what you are looking for in that web page. http://mantawiki.sci.utah.edu/manta/index.php/Main_Page Seb On Tue, May 11, 2010 at 9:37 AM, Natalie Happenhofer natalieh...@hotmail.com wrote: Hi everybody, I'm looking for a Manta download to build use the Plugin in ParaView 3.8.0, but I can't find it anywhere. Could anyone mail me a link? Thanks, Natalie Subir, organizar y compartir documentos online, está a un clic de tu bandeja de entrada. Ver más ___ 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 _ Organizar y compartir tus documentos nunca fue tan fácil. Hotmail te da 25 GB gratis. Ver más http://www.descubrewindowslive.com/hotmail/almacenamiento.asp___ 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] Branding branch
As you suggested, I added the dll path (ParaView-3.8.0-bin\bin\Debug) to the environment variable as well as the Qt path, however when I ran the .exe file again I got the same error, so I added the dll files manually to the same directory as the .exe file, at first was asking about some Paraview dlls and the some Qt dlls (I have both of this added to the use path enviroment variable!) and then asked form some vtk dlls, the last error which I can not get passed of is asking for vtkCommon.dll, I added the dll to the directory and I got this: the procedure entry point ?computepointforext...@vtkstructureddata @@saq...@z could not be located in the dynamic library link vtkCommon.dll ! I run on WinXP SP3, visual studio 9 2008 and the latest version of Paraview and Qt as I mentioned I added all the paths to all this dlls to the user environment variable but somehow the system does not see this dlls!!! and it will be really inconvenient to add all this dlls every time you write a software and want to run it! any help is really appreciated! best ~Sam On Mon, May 10, 2010 at 12:31 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: When you are running on windows, windows expects that all the dlls are in PATH (or the same location as the exe). You may want to start the clone executable from a terminal ensuring that you set the PATH environment variable correctly to point to the dlls under the ParaView build dir. Utkarsh On Mon, May 10, 2010 at 12:26 PM, A M ars...@uga.edu wrote: thanks Utkarsh The page you suggested cleared some stuff for me! As David suggested I tried to look at the examples under Examples\CustomApplications directory in the paraview source. I CMake'd the examples there such as Clone12 and Demo01 and tried to run them to see how they work (That would be a good working example to understand the process better), the projects compiled just fine but when I tried to run them I got the following two errors for Clone and Demo respectively: pqapplicationcomponents.dll was not found, re-installing the application may fix this problem pqCore.dll was not found, re-installing the application may fix this problem anyone has any idea what I did wrong here! what are these two dll files? best ~sam On Sun, May 9, 2010 at 11:02 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: You might also want to refer to the following wiki page details on the custom application components: http://paraview.org/Wiki/Writing_Custom_Applications Utkarsh On Sun, May 9, 2010 at 9:48 PM, David E DeMarle dave.dema...@kitware.com wrote: Since that time, the branding infrastructure has merged from Utkarsh's bleeding edge repository mentioned in the paper, into the ParaView development branch, and then into the 3.8 release of ParaView. So just follow instructions from www.paraview.org to get the ParaView source, either 3.8 or current developement from git and use that make your own custom applications. In particular, the sample applications mentioned in the presentation that accompanied the paper are under the Examples/Applications directory. David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Sun, May 9, 2010 at 9:33 PM, A M ars...@uga.edu wrote: Hi I sent the following email to Paraview mailing list and someone just answered back the the github was obsolete!! can you please guid me in a right direction to download the correct source for the purpose of Customizing Paraview please. is there any tutorial I can look in to? best Sam Hi! So I am a little confused! I read a paper by Utkarsh A. Ayachit and in this paper he mentioned to clone the repository at git://github.com/utkarshayachit/ParaView.git to obtain the modified ParaView source, up to here it is just fine, I can clone the directory just fine. Then he goes on and and says the The branding code is on the Branding branch, and a new reference application, called paraview_revamed will be found in Applications/Client2 that is what I can NOT find. where is this branding branch exactly and how can I download the rest of what he is talking about? Does anyone knows? I looked at http://github.com/utkarshayachit/ParaView the ParaView code is there but I didn't see anything called branding branch! Can anyone help me please! Best! ~sam ___ 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] Branding branch
Hey Sam, Instead of trying to build those branded applications separately, did you try first to build ParaView with BUILD_EXAMPLES: ON and see if those applications are built correctly and run okay? I'm not really a Windows developer, either, but I've been able to build Release versions of the Example applications and my own branded app on Windows 7 64-bit. (I run them from the bin/Release directory under my build directory.) I used Qt 4.6.2 that I compiled myself with VS 64-bit compiler, Visual Studio 2008 Pro, CMake 2.8.1 and Python 2.6. My PATH variable is very minimal, I think only the Qt library entry is used to help configure the ParaView build: %USERPROFILE%\Programming\qt-everywhere-opensource-src-4.6.2\lib;C:\Program Files (x86)\CMake 2.8\bin;C:\Python26;C:\Program Files (x86)\VTK\bin (the VTK part at the end is just so my separate vtk python stuff runs okay) Sorry to hear you're having so much trouble. All of us run into these strange things sometimes, but just so you know, it should work without any manual copying of libraries, etc. Good luck, -Eric -- Eric E Monson Duke Visualization Technology Group On May 11, 2010, at 1:05 PM, Dave Partyka wrote: To set the PATH when debugging from the IDE: 1. Right click the project and select Properties 2. In the tree view on the left select Debugging 3. In the main panel there will be an entry called 'Environment' 4. Set the Path by entering something like: PATH=C:\Path\To\Something;%PATH% On Tue, May 11, 2010 at 12:28 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Well, unfortunately, the DLL mess is a Windows OS thing. I am not a regular Windows developer so I cannot tell you exactly how to access that option, but Visual Studio does have an option somewhere that allows you to specify the environment in which the application is running. There you can set the PATH to include the ParaView bin/debug (or bin/release as the case maybe) and Qt dirs. You might want to download dependency walker (http://www.dependencywalker.com/), a handy utility to determine exactly what dlls are being used/not found etc. Use this to ensure that correct versions of the dlls are being imported. I'd refrain from copying over dlls, this often leads to user-related errors down the line. As far as the missing symbol error goes, it's possible your program is accidentally bringing in a mismatched vtkCommon dll. Do you have other VTK / ParaView builds in your PATH? Use the dependency walker to ensure that it's using the correct vtkCOmmon (and other) dlls. Hope that helps. Utkarsh On Tue, May 11, 2010 at 3:17 PM, A M ars...@uga.edu wrote: As you suggested, I added the dll path (ParaView-3.8.0-bin\bin\Debug) to the environment variable as well as the Qt path, however when I ran the .exe file again I got the same error, so I added the dll files manually to the same directory as the .exe file, at first was asking about some Paraview dlls and the some Qt dlls (I have both of this added to the use path enviroment variable!) and then asked form some vtk dlls, the last error which I can not get passed of is asking for vtkCommon.dll, I added the dll to the directory and I got this: the procedure entry point ?computepointforext...@vtkstructureddata@@saq...@z could not be located in the dynamic library link vtkCommon.dll ! I run on WinXP SP3, visual studio 9 2008 and the latest version of Paraview and Qt as I mentioned I added all the paths to all this dlls to the user environment variable but somehow the system does not see this dlls!!! and it will be really inconvenient to add all this dlls every time you write a software and want to run it! any help is really appreciated! best ~Sam On Mon, May 10, 2010 at 12:31 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: When you are running on windows, windows expects that all the dlls are in PATH (or the same location as the exe). You may want to start the clone executable from a terminal ensuring that you set the PATH environment variable correctly to point to the dlls under the ParaView build dir. Utkarsh On Mon, May 10, 2010 at 12:26 PM, A M ars...@uga.edu wrote: thanks Utkarsh The page you suggested cleared some stuff for me! As David suggested I tried to look at the examples under Examples\CustomApplications directory in the paraview source. I CMake'd the examples there such as Clone12 and Demo01 and tried to run them to see how they work (That would be a good working example to understand the process better), the projects compiled just fine but when I tried to run them I got the following two errors for Clone and Demo respectively: pqapplicationcomponents.dll was not found, re-installing the application may fix this problem pqCore.dll was not found, re-installing the application
Re: [Paraview] Contours of streamlines crashing
I played around with this some more. Looks like I *can* replicate it with RectGrid2.vtk I'm using the regular Stream Tracer with a Point Source (not the Custom Source version with a Mask Points input), and changing the number of points to 10. Then applying a Contour filter on the Integration Time to generate particles. This works fine for the default settings of the Stream Tracer. However, if I change the Maximum Error to 1e-10, it crashes (again, only when attached to a Contour Filter). This is beginning to make some sense to me (I think). Because Runge-Kutta 4-5 is an adaptive integrator, the step size is decreased to match the error. Something similar must have been happening with my other data set, but because the scale of the data was different, a different Maximum Error was causing the crash. I think the Contour Filter is having issues when individual points on the streamlines are too close together. I've attached a python trace that works. However, changing the Maximum Error to 1e-10 causes a crash. Here is the location in the ContourFilter that is causing problems: #12 0x7fffe7b66f93 in vtkContourFilter::RequestData (this=0x23f58e0, request=0x21ce010, inputVector=0x238cc90, outputVector=0x2387d60) at /home/borland/dev/ParaView-3.8.0-RC2/VTK/Graphics/vtkContourFilter.cxx:549 549 cellScalars-Delete(); Favre Jean wrote: From: David Borland [borl...@renci.org] Sent: Monday, May 10, 2010 5:38 PM To: Favre Jean Cc: Zhanping Liu; paraview@paraview.org Subject: Re: [Paraview] Contours of streamlines crashing Yes, looks like I can't replicate it with RectGrid.vtk either. However I have been able to replicate it with bluntfin.vts... bluntfin.vts works just fine for me. So I can't help unless you tell us with a debugger, where you see a crash. Send your script using the bluntfin.vts file. Jean CSCS try: paraview.simple except: from paraview.simple import * RenderView1 = CreateRenderView() RenderView1.LightSpecularColor = [1.0, 1.0, 1.0] RenderView1.UseLight = 1 RenderView1.CameraPosition = [-3.2065235290709602, -4.565219104964509, 3.087175448627677] RenderView1.FillLightKFRatio = 3.0 RenderView1.Background2 = [1.0, 1.0, 1.0] RenderView1.FillLightAzimuth = -10.0 RenderView1.LODResolution = 50 RenderView1.BackgroundTexture = [] RenderView1.KeyLightAzimuth = 10.0 RenderView1.LightIntensity = 1.0 RenderView1.CameraFocalPoint = [0.36363797371411538, 0.55933803911889179, 0.12688897916569253] RenderView1.RenderInterruptsEnabled = 0 RenderView1.CameraParallelScale = 1.788857840667518 RenderView1.EyeAngle = 2.0 RenderView1.HeadLightKHRatio = 3.0 RenderView1.UseTriangleStrips = 0 RenderView1.StereoRender = 0 RenderView1.CameraViewAngle = 30.0 RenderView1.KeyLightIntensity = 0.75 RenderView1.BackLightAzimuth = 110.0 RenderView1.UseTexturedBackground = 0 RenderView1.Background = [0.0, 0.0, 0.0] RenderView1.UseOffscreenRenderingForScreenshots = 0 RenderView1.CenterOfRotation = [-0.026040017604827881, 0.0, 0.4498807907104] RenderView1.CameraParallelProjection = 0 RenderView1.CameraViewUp = [0.21769499677299659, 0.37005329560960926, 0.90314420044003629] RenderView1.HeadLightWarmth = 0.5 RenderView1.MaximumNumberOfPeels = 4 RenderView1.LightDiffuseColor = [1.0, 1.0, 1.0] RenderView1.StereoType = 'Red-Blue' RenderView1.DepthPeeling = 0 RenderView1.BackLightKBRatio = 3.5 RenderView1.UseImmediateMode = 1 RenderView1.LightAmbientColor = [1.0, 1.0, 1.0] RenderView1.KeyLightElevation = 50.0 RenderView1.MaintainLuminance = 0 RenderView1.BackLightWarmth = 0.5 RenderView1.FillLightElevation = -75.0 RenderView1.FillLightWarmth = 0.40002 RenderView1.LightSwitch = 0 RenderView1.UseGradientBackground = 0 RenderView1.CameraClippingRange = [2.6363959942795665, 10.604070430090523] RenderView1.BackLightElevation = 0.0 RenderView1.ViewTime = 0.0 RenderView1.LODThreshold = 1.0001e+299 RenderView1.KeyLightWarmth = 0.59998 RectGrid2_vtk = LegacyVTKReader( guiName=RectGrid2.vtk, FileNames=['/home/borland/data/ParaViewData-3.8.0-RC2/Data/RectGrid2.vtk'] ) StreamTracer1 = StreamTracer( guiName=StreamTracer1, SeedType=Point Source, IntegrationStepUnit='Cell Length', MaximumError=9.9995e-07, IntegratorType='Runge-Kutta 4-5', MaximumStepLength=0.5, InitialStepLength=0.20001, Vectors=['POINTS', 'vectors'], TerminalSpeed=9.9998e-13, IntegrationDirection='BOTH', MaximumSteps=2000, InterpolatorType='Interpolator with Point Locator', MinimumStepLength=0.01, MaximumStreamlineLength=2.5 ) Contour1 = Contour( guiName=Contour1, Isosurfaces=[3.2370521547272801], PointMergeMethod=Don't Merge Points, ComputeNormals=0, ComputeGradients=0, ComputeScalars=1, ContourBy=['POINTS', 'IntegrationTime'] ) a1_scalars_PiecewiseFunction = CreatePiecewiseFunction( Points=[0.0, 0.0, 1.0, 1.0] ) a1_scalars_PVLookupTable = GetLookupTableForArray(
Re: [Paraview] Mac branded packaging
Hey again, Okay, so I was able to solve #1: There was a cmake variable that wasn't set (i.e. wasn't carried over from the ParaView build) so the bundle-fixing script wasn't looking in the right spot for the Python libraries. If someone could still help me with the conceptual question in #2 I'd really appreciate it. I would like my users to be able to generate batch animations with pvpython. In my branded app I hard-code my custom plugins into my main window class, and the python shell within PV automatically knows about my custom filters, but I'm not clear on what it takes to get pvpython to know about those custom filters, too. So, sorry this sounds so ignorant, but is it possible to build a version of pvpython that will already have my custom filters built in? Or, will I always have to do an explicit LoadPlugin(), in which case I can just use the standard procedure for packaging the server executables, but also include my custom plugin libraries along with the standard PV ones. Thanks, -Eric On May 10, 2010, at 10:09 AM, Eric E. Monson wrote: Hey all, Packaging of my branded app is working well on Windows and Linux, but I'm trying once again to see if I can get packaging to work on OS X. I'm getting closer (after making sure my scripts were almost a verbatim copy of the PV ones), but I'm confused about a few things -- maybe someone can help get me further and/or clarify. The main difficulty is that I'm trying to not only get my app to run, but give my users access to the PV Python functionality (python shell and command line tools). 1. When I generate an executable app bundle (either with CPack or with make install), the app itself runs fine on a clean system, but the Python shell can't find some of the libraries. It looks like a lot of the python-required libraries are not being copied to .app/Contents/Libraries. How can I tell the system that I need all of that stuff bundled, too, when I build a DragNDrop? 2. If I want to distribute a version of the command line tools for making batch animations that will recognize all of the plugins I've hard-coded into my branded app, I've been assuming I need to package these binaries (pvpython, etc) based on my branded app build -- Is this true, or do I just need to somehow add my custom plugin libraries to a standard package of the paraview servers executables? The problem I have with (2) is that even when I build against a PV built with VTK_USE_RPATH: OFF and my branded app with CMAKE_SKIP_RPATH: ON, I end up with my executables and libraries depending on (the absolute path of) my local Qt installation, so they won't run on other machines. (And, I can't get my branded app to build against a version of PV which has PARAVIEW_BUILD_QT_GUI: OFF.) Any help would be greatly appreciated! Thanks, -Eric -- Eric E Monson Duke Visualization Technology Group ___ 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] Branding branch
Hey Sam, Maybe this won't make a difference (and I don't remember where I saw to do this), but you have your PATH set to the Qt bin directory rather than the lib directory. I have some notes saying I had trouble unless the lib directory was in my PATH... -Eric On May 11, 2010, at 4:44 PM, A M wrote: Dear David and Eric Thanks for the comments, Davie: I added the path to the environment variable in VS and I still have the same issue. I wrote something like this PATH=C:\Program Files\CMake 2.6\bin; C:\Qt\4.6.2\bin;C:\Program Files\ParaView\bin ;%PATH% this is what I think you meant. Eric: I did that already (I mean compiling Paraview with the examples and BUILD_EXAMPLES: ON) I still get the same error, I almost tried any trick in the book you can imagine! the PATH variable in my use environment variable looks like the flowing: C:\Program Files\CMake 2.6\bin; C:\Qt\4.6.2\bin C:\Program Files\ParaView\bin ; plus some other stuff not related to paraview, which seems pretty normal to me, however I got the same errors as before! it does not find the dll files. I honestly don't know what to do anymore. The only solution I can think of right now is to switch to Linux operating system instead of windows, and that doesn't necessarily means that problem would be solved either, best! ~sam On Tue, May 11, 2010 at 2:12 PM, Eric E. Monson emon...@cs.duke.edu wrote: Hey Sam, Instead of trying to build those branded applications separately, did you try first to build ParaView with BUILD_EXAMPLES: ON and see if those applications are built correctly and run okay? I'm not really a Windows developer, either, but I've been able to build Release versions of the Example applications and my own branded app on Windows 7 64-bit. (I run them from the bin/Release directory under my build directory.) I used Qt 4.6.2 that I compiled myself with VS 64-bit compiler, Visual Studio 2008 Pro, CMake 2.8.1 and Python 2.6. My PATH variable is very minimal, I think only the Qt library entry is used to help configure the ParaView build: %USERPROFILE%\Programming\qt-everywhere-opensource-src-4.6.2\lib;C:\Program Files (x86)\CMake 2.8\bin;C:\Python26;C:\Program Files (x86)\VTK\bin (the VTK part at the end is just so my separate vtk python stuff runs okay) Sorry to hear you're having so much trouble. All of us run into these strange things sometimes, but just so you know, it should work without any manual copying of libraries, etc. Good luck, -Eric -- Eric E Monson Duke Visualization Technology Group On May 11, 2010, at 1:05 PM, Dave Partyka wrote: To set the PATH when debugging from the IDE: 1. Right click the project and select Properties 2. In the tree view on the left select Debugging 3. In the main panel there will be an entry called 'Environment' 4. Set the Path by entering something like: PATH=C:\Path\To\Something;%PATH% On Tue, May 11, 2010 at 12:28 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Well, unfortunately, the DLL mess is a Windows OS thing. I am not a regular Windows developer so I cannot tell you exactly how to access that option, but Visual Studio does have an option somewhere that allows you to specify the environment in which the application is running. There you can set the PATH to include the ParaView bin/debug (or bin/release as the case maybe) and Qt dirs. You might want to download dependency walker (http://www.dependencywalker.com/), a handy utility to determine exactly what dlls are being used/not found etc. Use this to ensure that correct versions of the dlls are being imported. I'd refrain from copying over dlls, this often leads to user-related errors down the line. As far as the missing symbol error goes, it's possible your program is accidentally bringing in a mismatched vtkCommon dll. Do you have other VTK / ParaView builds in your PATH? Use the dependency walker to ensure that it's using the correct vtkCOmmon (and other) dlls. Hope that helps. Utkarsh On Tue, May 11, 2010 at 3:17 PM, A M ars...@uga.edu wrote: As you suggested, I added the dll path (ParaView-3.8.0-bin\bin\Debug) to the environment variable as well as the Qt path, however when I ran the .exe file again I got the same error, so I added the dll files manually to the same directory as the .exe file, at first was asking about some Paraview dlls and the some Qt dlls (I have both of this added to the use path enviroment variable!) and then asked form some vtk dlls, the last error which I can not get passed of is asking for vtkCommon.dll, I added the dll to the directory and I got this: the procedure entry point ?computepointforext...@vtkstructureddata@@saq...@z could not be located in the dynamic library link vtkCommon.dll ! I run on WinXP SP3, visual studio 9 2008 and the latest
Re: [Paraview] Mac branded packaging
Eric, You are correct, there's no way for pvpython/pvbatch to know about your plugins currently, nor is there a way to create custom pvbatch or pvpython executables. You will have to do an explicit LoadPlugin() in your python scripts. Utkarsh On Tue, May 11, 2010 at 2:46 PM, Eric E. Monson emon...@cs.duke.edu wrote: Hey again, Okay, so I was able to solve #1: There was a cmake variable that wasn't set (i.e. wasn't carried over from the ParaView build) so the bundle-fixing script wasn't looking in the right spot for the Python libraries. If someone could still help me with the conceptual question in #2 I'd really appreciate it. I would like my users to be able to generate batch animations with pvpython. In my branded app I hard-code my custom plugins into my main window class, and the python shell within PV automatically knows about my custom filters, but I'm not clear on what it takes to get pvpython to know about those custom filters, too. So, sorry this sounds so ignorant, but is it possible to build a version of pvpython that will already have my custom filters built in? Or, will I always have to do an explicit LoadPlugin(), in which case I can just use the standard procedure for packaging the server executables, but also include my custom plugin libraries along with the standard PV ones. Thanks, -Eric On May 10, 2010, at 10:09 AM, Eric E. Monson wrote: Hey all, Packaging of my branded app is working well on Windows and Linux, but I'm trying once again to see if I can get packaging to work on OS X. I'm getting closer (after making sure my scripts were almost a verbatim copy of the PV ones), but I'm confused about a few things -- maybe someone can help get me further and/or clarify. The main difficulty is that I'm trying to not only get my app to run, but give my users access to the PV Python functionality (python shell and command line tools). 1. When I generate an executable app bundle (either with CPack or with make install), the app itself runs fine on a clean system, but the Python shell can't find some of the libraries. It looks like a lot of the python-required libraries are not being copied to .app/Contents/Libraries. How can I tell the system that I need all of that stuff bundled, too, when I build a DragNDrop? 2. If I want to distribute a version of the command line tools for making batch animations that will recognize all of the plugins I've hard-coded into my branded app, I've been assuming I need to package these binaries (pvpython, etc) based on my branded app build -- Is this true, or do I just need to somehow add my custom plugin libraries to a standard package of the paraview servers executables? The problem I have with (2) is that even when I build against a PV built with VTK_USE_RPATH: OFF and my branded app with CMAKE_SKIP_RPATH: ON, I end up with my executables and libraries depending on (the absolute path of) my local Qt installation, so they won't run on other machines. (And, I can't get my branded app to build against a version of PV which has PARAVIEW_BUILD_QT_GUI: OFF.) Any help would be greatly appreciated! Thanks, -Eric -- Eric E Monson Duke Visualization Technology Group ___ 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] git cmake error
I'm getting the following cmake error when trying to compile from the new git repository: CMake Error at Utilities/VTKClientServer/vtkClientServer.cmake:16 (INCLUDE): include could not find load file: /home/carson/svn/ParaView/build/Utilities/Xdmf2/vtk/Utilities/vtkXdmfKit.cmake Call Stack (most recent call first): Utilities/VTKClientServer/vtkClientServer.cmake:37 (PV_PRE_WRAP_VTK_CS) Utilities/VTKClientServer/Xdmf2/CMakeLists.txt:7 (PV_WRAP_VTK_CS) I have done a find on vtkXdmfKit.cmake and it doesn't exist anywhere. It also is not in that directory through the webgit listing. Is this a missing file or did I clone the git repository or it's dependencies incorrectly somehow? thanks, Carson ___ 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] git cmake error
Try: git submodule init git submodule update Utkarsh On Tue, May 11, 2010 at 4:42 PM, brownlee brown...@cs.utah.edu wrote: I'm getting the following cmake error when trying to compile from the new git repository: CMake Error at Utilities/VTKClientServer/vtkClientServer.cmake:16 (INCLUDE): include could not find load file: /home/carson/svn/ParaView/build/Utilities/Xdmf2/vtk/Utilities/vtkXdmfKit.cmake Call Stack (most recent call first): Utilities/VTKClientServer/vtkClientServer.cmake:37 (PV_PRE_WRAP_VTK_CS) Utilities/VTKClientServer/Xdmf2/CMakeLists.txt:7 (PV_WRAP_VTK_CS) I have done a find on vtkXdmfKit.cmake and it doesn't exist anywhere. It also is not in that directory through the webgit listing. Is this a missing file or did I clone the git repository or it's dependencies incorrectly somehow? thanks, Carson ___ 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] git cmake error
that fixed it thanks. Must have been since I cloned each submodule individually. Carson On Tue, 11 May 2010 16:46:29 -0600, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Try: git submodule init git submodule update Utkarsh On Tue, May 11, 2010 at 4:42 PM, brownlee brown...@cs.utah.edu wrote: I'm getting the following cmake error when trying to compile from the new git repository: CMake Error at Utilities/VTKClientServer/vtkClientServer.cmake:16 (INCLUDE): include could not find load file: /home/carson/svn/ParaView/build/Utilities/Xdmf2/vtk/Utilities/vtkXdmfKit.cmake Call Stack (most recent call first): Utilities/VTKClientServer/vtkClientServer.cmake:37 (PV_PRE_WRAP_VTK_CS) Utilities/VTKClientServer/Xdmf2/CMakeLists.txt:7 (PV_WRAP_VTK_CS) I have done a find on vtkXdmfKit.cmake and it doesn't exist anywhere. It also is not in that directory through the webgit listing. Is this a missing file or did I clone the git repository or it's dependencies incorrectly somehow? thanks, Carson ___ 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