From jayreno33 at gmail.com Wed Apr 1 00:01:27 2015 From: jayreno33 at gmail.com (Jay Romero) Date: Tue, 31 Mar 2015 23:01:27 -0500 Subject: [Paraview] Sum two data array in paraview Message-ID: Hello I want to use calculator or Python shell to sum two data arrays in paraview. In the calculator: At time dt =2, I create an array: result1 = pressure* 2. For next animation time, dt = 4: I create an array: result2 = pressure*4 What I find that the result1 array has changed at time step =4. How I can retain original result1 array when I change the animation time to dt=4. This way I want to take sum of result1 and result2 at two different time steps. How we can achieve it in paraview? Best regards Jay Reno -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Wed Apr 1 04:27:44 2015 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Wed, 1 Apr 2015 08:27:44 +0000 Subject: [Paraview] TextureMapToSphere seam problem In-Reply-To: <55105042.5090404@lsce.ipsl.fr> References: <55105042.5090404@lsce.ipsl.fr> Message-ID: Hello Patrick, Bringing the topic back : > De Patrick Brockmann > Envoy? : mercredi 25 mars 2015 13:57 > > I have a "ghost wrapped image" at the seam when I apply a texture to a sphere source. > [...] > So a correction is needed from the TextureMapToSphere filter. As there was no real answer to your problem, and the workaround is not satisfying, I guess it's a bug and not a misuse. Could you report the bug in the bugtracker ? http://www.paraview.org/Bug/my_view_page.php Best regards De : Patrick Brockmann [mailto:Patrick.Brockmann at lsce.ipsl.fr] Envoy? : mercredi 25 mars 2015 13:57 ? : Dang, Christophe Objet : Re: [Paraview] TextureMapToSphere seam problem -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From j.young at qut.edu.au Wed Apr 1 10:00:22 2015 From: j.young at qut.edu.au (Joe Young) Date: Wed, 1 Apr 2015 14:00:22 +0000 Subject: [Paraview] Lights in ParaView Message-ID: Hello everyone, Is there a way to add a vtkLight source into ParaView? I would like to position lights separately and avoid using the LightKit. Thanks in advance. Regards, Joe. From sandeep.jella at siemens-adgt.com Wed Apr 1 18:12:28 2015 From: sandeep.jella at siemens-adgt.com (Jella, Sandeep) Date: Wed, 1 Apr 2015 22:12:28 +0000 Subject: [Paraview] Animation problem - stops after rendering after a while.. Message-ID: <70000E8CF211F942AD1DB39696F1CED50753CA70@EUSMTVPR-MBX001.siemens-adgt.local> Hello, I am trying to make a simple animation using a large number (~3000) of tecplot 2D slices (each slice is a tecplot file). Each slice is a snapshot of a flow simulation..I have a couple of simple python calculators in the pipeline apart from annotations. I have two questions: 1. The issue is that Paraview creates the animation for around 1600 slices when it is a matter of simply rendering the images but this reduces to ~ 1000 when there are pipeline operations (like my python calculator). After updating to the screen, each time-step, it freezes at a particular one and continues. The playback looks good from timestep 1 to 1600 and after that (i.e. 1600-end) there is no more motion (picture frozen to time-step 1600). 2. What is the best way to speed up rendering this animation? I enabled multicore (in version 4.0) but then the rendering takes twice the time. Would appreciate any advice on what the best way to do this. I've tried offscreen rendering as well as an older version of Paraview (v 4.0) but no good result. I am using v 4.3.1. Many thanks, Sandeep. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Thu Apr 2 01:05:51 2015 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Thu, 2 Apr 2015 05:05:51 +0000 Subject: [Paraview] Sum two data array in paraview Message-ID: If I understand your question correctly, you are basically trying to take arrays computed from two different time steps and then add them together. This is (intentionally made) difficult in ParaView because ParaView makes sure that the time from the data is consistent across all data sets. Things would get pretty confusing otherwise. That said, you should be able to hack what you want using the "Temporal Shift Scale" filter, which can mangle the time of a data set to be different than the global time. The following procedure should work. 1. Starting with your data loaded into ParaView. Let's say the data is coming from a pipeline object named OriginalData. 2. Set ParaView to be at animation time 2. 3. Add the calculator filter and create your result1 array. 4. Add the Temporal Shift Scale filter directly to OriginalData (not the calculator filter). Shift the time by 2. 5. Add a calculator filter to the Temporal Shift Scale filter and create the result2 array. 6. Use the Append Attributes filter with the two calculator filters as input. 7. You can then take the sum of result1 and result2 with the data from Append Attributes. -Ken From: Jay Romero > Date: Tuesday, March 31, 2015 at 10:01 PM To: ParaView Mailing List > Subject: [EXTERNAL] [Paraview] Sum two data array in paraview Hello I want to use calculator or Python shell to sum two data arrays in paraview. In the calculator: At time dt =2, I create an array: result1 = pressure* 2. For next animation time, dt = 4: I create an array: result2 = pressure*4 What I find that the result1 array has changed at time step =4. How I can retain original result1 array when I change the animation time to dt=4. This way I want to take sum of result1 and result2 at two different time steps. How we can achieve it in paraview? Best regards Jay Reno -------------- next part -------------- An HTML attachment was scrubbed... URL: From foss at grueninger.de Thu Apr 2 04:34:12 2015 From: foss at grueninger.de (=?UTF-8?Q?Christoph_Gr=C3=BCninger?=) Date: Thu, 2 Apr 2015 10:34:12 +0200 (CEST) Subject: [Paraview] ParaView Guide sources? Message-ID: <1666672997.323330.1427963652290.JavaMail.open-xchange@ptangptang.store> Hi ParaView! I couldn't find the sources of the ParaView Guide. Where can I find them? Or are they not yet published? If this is the case, what is the planned release date? Thanks for the update Guide, anyway! Bye Christoph -- And I would also like the thank people for the occassional drive-by commit which has helped keep the existing functionality mostly working. -- Simon Edwards From christophe.bourcier.pv at gmail.com Thu Apr 2 05:23:51 2015 From: christophe.bourcier.pv at gmail.com (Christophe Bourcier) Date: Thu, 2 Apr 2015 11:23:51 +0200 Subject: [Paraview] Fwd: Python Calculator: create a multi-component field In-Reply-To: References: Message-ID: Dear Paraview folks, It seems there is a mistake in the Paraview User's Guide at the end of the section Python Calculator. To create a multi-component field from multiple scalar fields, hstack used to work before Paraview 4.2.0. But since Paraview 4.2.0, we must use numpy.column_stack. This change may have been caused by the great work done in 4.2.0 to be able to use numpy arrays as vtk arrays with automatic conversion from numpy to vtk and inversely. Using hstack will create a dataset with many components (number of nodes times the number of field in hstack). For instance, create a sphere source with default properties. In Paraview 4.1.0, use this formula to create the same field as Normals: hstack((Normals[:,0], Normals[:,1], Normals[:,2])) In Paraview 4.2.0 and 4.3.1, if you use numpy.hstack((Normals[:,0], Normals[:,1], Normals[:,2])), you will get a field with 150 components, since the default sphere has 50 points. And it may lead to a memory oversize for a source with thousands points. In Paraview 4.2.0 and 4.3.1, the following formula gives the wanted result: numpy.column_stack((Normals[:,0], Normals[:,1], Normals[:,2])) Note that you must change the name of the result, otherwise the number of components is not updated between two different formulas. This might be a bug. I have not found where the latex documentation is. Is it available somewhere as a git repository? What is the policy on contributing to it? Christophe -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.larcher at jrc.ec.europa.eu Thu Apr 2 06:12:36 2015 From: martin.larcher at jrc.ec.europa.eu (Martin Larcher) Date: Thu, 02 Apr 2015 12:12:36 +0200 Subject: [Paraview] Animation problem - stops after rendering after a while.. In-Reply-To: <70000E8CF211F942AD1DB39696F1CED50753CA70@EUSMTVPR-MBX001.siemens-adgt.local> References: <70000E8CF211F942AD1DB39696F1CED50753CA70@EUSMTVPR-MBX001.siemens-adgt.local> Message-ID: <551D1614.50306@jrc.ec.europa.eu> Dear all, I have the same problem since some weeks. When I try to create a longer animation the rendering stops after about 100 steps and the same view is shown by changing the time (using vtu files). Sandeep's error description sounds very similar. I'm using only standard filters, perhaps Contour is quite expensive. And perhaps my models are slightly bigger (about 1.6 million cells and a similar number of points). Some further remarks: I get the problem when I do the playback or even when I create an animation. I do not get the problem when I'm using no filters (except the read filter). If I remove after the occurrence of the error the Contour filter, there seems to be a layer over the output. During turning the model I can see it, when I release the mouse it disappears... Any idea? I'm using 4.3.1 but I have the same with 4.2 and 4.1 Martin On 02/04/2015 00:12 wrote Jella, Sandeep: > Hello, > > I am trying to make a simple animation using a large number (~3000) of > tecplot 2D slices (each slice is a tecplot file). Each slice is a > snapshot of a flow simulation..I have a couple of simple python > calculators in the pipeline apart from annotations. > > I have two questions: > > 1.The issue is that Paraview creates the animation for around 1600 > slices when it is a matter of simply rendering the images but this > reduces to ~ 1000 when there are pipeline operations (like my python > calculator). After updating to the screen, each time-step, it freezes at > a particular one and continues. The playback looks good from timestep 1 > to 1600 and after that (i.e. 1600-end) there is no more motion (picture > frozen to time-step 1600). > > 2.What is the best way to speed up rendering this animation? I enabled > multicore (in version 4.0) but then the rendering takes twice the time. > Would appreciate any advice on what the best way to do this. > > I?ve tried offscreen rendering as well as an older version of Paraview > (v 4.0) but no good result. I am using v 4.3.1. > > Many thanks, > > Sandeep. > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Dr.-Ing. Martin Larcher Joint Research Centre, T.P. 480 Institute for the Protection and Security of the Citizen (IPSC) European Laboratory for Structural Assessment (ELSA) I-21027 Ispra (VA) Italy Phone: +39-0332-789563 Fax: +39-0332-789049 Email: martin.larcher at jrc.ec.europa.eu WWW: http://europlexus.jrc.ec.europa.eu/ From jayreno33 at gmail.com Thu Apr 2 07:27:52 2015 From: jayreno33 at gmail.com (Jay Romero) Date: Thu, 2 Apr 2015 06:27:52 -0500 Subject: [Paraview] Sum two data array in paraview In-Reply-To: References: Message-ID: Thank you for the answer. Best regards. jay On Thu, Apr 2, 2015 at 12:05 AM, Moreland, Kenneth wrote: > If I understand your question correctly, you are basically trying to > take arrays computed from two different time steps and then add them > together. This is (intentionally made) difficult in ParaView because > ParaView makes sure that the time from the data is consistent across all > data sets. Things would get pretty confusing otherwise. > > That said, you should be able to hack what you want using the "Temporal > Shift Scale" filter, which can mangle the time of a data set to be > different than the global time. The following procedure should work. > > 1. Starting with your data loaded into ParaView. Let's say the data is > coming from a pipeline object named OriginalData. > 2. Set ParaView to be at animation time 2. > 3. Add the calculator filter and create your result1 array. > 4. Add the Temporal Shift Scale filter directly to OriginalData (not the > calculator filter). Shift the time by 2. > 5. Add a calculator filter to the Temporal Shift Scale filter and create > the result2 array. > 6. Use the Append Attributes filter with the two calculator filters as > input. > 7. You can then take the sum of result1 and result2 with the data from > Append Attributes. > > -Ken > > From: Jay Romero > Date: Tuesday, March 31, 2015 at 10:01 PM > To: ParaView Mailing List > Subject: [EXTERNAL] [Paraview] Sum two data array in paraview > > Hello > > I want to use calculator or Python shell to sum two data arrays in > paraview. > In the calculator: > At time dt =2, I create an array: result1 = pressure* 2. > For next animation time, dt = 4: > I create an array: result2 = pressure*4 > What I find that the result1 array has changed at time step =4. > How I can retain original result1 array when I change the animation time > to dt=4. > > This way I want to take sum of result1 and result2 at two different time > steps. > > How we can achieve it in paraview? > > Best regards > Jay Reno > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan.lipsa at kitware.com Thu Apr 2 10:54:16 2015 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Thu, 2 Apr 2015 10:54:16 -0400 Subject: [Paraview] Ghost and Blanking (Visibility) Changes Message-ID: Dear VTK and ParaView developers, We would like to draw your attention to the following updates to VTK/ParaView that change the way one interfaces to Ghost and Blanking cells and points. These changes have just been merged into master repositories for VTK/ParaView. http://www.kitware.com/blog/home/post/856 We welcome suggestions and/or bug reports on these changes. Best regards, Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From berk.geveci at kitware.com Thu Apr 2 11:01:49 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Thu, 2 Apr 2015 11:01:49 -0400 Subject: [Paraview] Fwd: Python Calculator: create a multi-component field In-Reply-To: References: Message-ID: Dear Christophe, It seems like the documentation got out of date. Thank you for reporting it. There is also a make_vector() function now. You can pass it 2 or 3 components: def make_vector(arrayx, arrayy, arrayz=None): """Given 2 or 3 scalar arrays, returns a vector array. If only 2 scalars are provided, the third component will be set to 0.""" I defer to Utkarsh to explain how to contribute to the tex documentation. It is definitely very welcome. Finally, I am not sure that I understand the comment about the potential bug. Can you please give the steps to reproduce? Thanks, -berk On Thu, Apr 2, 2015 at 5:23 AM, Christophe Bourcier < christophe.bourcier.pv at gmail.com> wrote: > Dear Paraview folks, > > It seems there is a mistake in the Paraview User's Guide at the end of the > section Python Calculator. > > To create a multi-component field from multiple scalar fields, hstack used > to work before Paraview 4.2.0. > > But since Paraview 4.2.0, we must use numpy.column_stack. This change may > have been caused by the great work done in 4.2.0 to be able to use numpy > arrays as vtk arrays with automatic conversion from numpy to vtk and > inversely. > > Using hstack will create a dataset with many components (number of nodes > times the number of field in hstack). > > For instance, create a sphere source with default properties. > > In Paraview 4.1.0, use this formula to create the same field as Normals: > hstack((Normals[:,0], Normals[:,1], Normals[:,2])) > > In Paraview 4.2.0 and 4.3.1, if you use numpy.hstack((Normals[:,0], > Normals[:,1], Normals[:,2])), you will get a field with 150 components, > since the default sphere has 50 points. And it may lead to a memory > oversize for a source with thousands points. > > In Paraview 4.2.0 and 4.3.1, the following formula gives the wanted > result: > numpy.column_stack((Normals[:,0], Normals[:,1], Normals[:,2])) > > Note that you must change the name of the result, otherwise the number of > components is not updated between two different formulas. This might be a > bug. > > I have not found where the latex documentation is. Is it available > somewhere as a git repository? What is the policy on contributing to it? > > Christophe > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From christophe.bourcier.pv at gmail.com Thu Apr 2 11:23:37 2015 From: christophe.bourcier.pv at gmail.com (Christophe Bourcier) Date: Thu, 2 Apr 2015 17:23:37 +0200 Subject: [Paraview] Fwd: Python Calculator: create a multi-component field In-Reply-To: References: Message-ID: Thank you Berk for your answer. You are right, make_vector is even mentioned in some parts of the Paraview Guide that I have read. But my first need was to create a 9-component field to be able to use the Tensor Glyph filter, so I still have to use numpy. To reproduce the bug: - create a source sphere - create a filter Python Calculator with this formula: numpy.column_stack((Normals[:,0], Normals[:,1], Normals[:,2])) and Apply. - display the field result - in the toolbar, click on Magnitude to see the components: X, Y, Z. It is OK. - edit the formula of the Python Calculator with a formula that changes the number of components: numpy.column_stack((Normals[:,0], Normals[:,1], Normals[:,2], Normals[:,0])) and Apply without changing the name of the result field. - in the toolbar, click on Magnitude to see the components: X, Y, Z. It is not OK. - in the panel Information, the field "result" has 4 components. It is OK. - edit the name of the result field to call it result2 and Apply. - display the field result2, and click on Magnitude to see the components: 0, 1, 2, 3. It is OK. So it seems to be a bug in the drop down button to select the component that is not updated when the formula changes the number of components on an existing field. Christophe 2015-04-02 17:01 GMT+02:00 Berk Geveci : > Dear Christophe, > > It seems like the documentation got out of date. Thank you for reporting > it. There is also a make_vector() function now. You can pass it 2 or 3 > components: > > def make_vector(arrayx, arrayy, arrayz=None): > """Given 2 or 3 scalar arrays, returns a vector array. If only > 2 scalars are provided, the third component will be set to 0.""" > > > I defer to Utkarsh to explain how to contribute to the tex documentation. > It is definitely very welcome. > > Finally, I am not sure that I understand the comment about the potential > bug. Can you please give the steps to reproduce? > > Thanks, > -berk > > On Thu, Apr 2, 2015 at 5:23 AM, Christophe Bourcier < > christophe.bourcier.pv at gmail.com> wrote: > >> Dear Paraview folks, >> >> It seems there is a mistake in the Paraview User's Guide at the end of >> the section Python Calculator. >> >> To create a multi-component field from multiple scalar fields, hstack >> used to work before Paraview 4.2.0. >> >> But since Paraview 4.2.0, we must use numpy.column_stack. This change may >> have been caused by the great work done in 4.2.0 to be able to use numpy >> arrays as vtk arrays with automatic conversion from numpy to vtk and >> inversely. >> >> Using hstack will create a dataset with many components (number of nodes >> times the number of field in hstack). >> >> For instance, create a sphere source with default properties. >> >> In Paraview 4.1.0, use this formula to create the same field as Normals: >> hstack((Normals[:,0], Normals[:,1], Normals[:,2])) >> >> In Paraview 4.2.0 and 4.3.1, if you use numpy.hstack((Normals[:,0], >> Normals[:,1], Normals[:,2])), you will get a field with 150 components, >> since the default sphere has 50 points. And it may lead to a memory >> oversize for a source with thousands points. >> >> In Paraview 4.2.0 and 4.3.1, the following formula gives the wanted >> result: >> numpy.column_stack((Normals[:,0], Normals[:,1], Normals[:,2])) >> >> Note that you must change the name of the result, otherwise the number of >> components is not updated between two different formulas. This might be a >> bug. >> >> I have not found where the latex documentation is. Is it available >> somewhere as a git repository? What is the policy on contributing to it? >> >> Christophe >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.robertson at orbitalatk.com Thu Apr 2 12:21:57 2015 From: andrew.robertson at orbitalatk.com (Robertson, Andrew) Date: Thu, 2 Apr 2015 16:21:57 +0000 Subject: [Paraview] Plot 3D Function names Message-ID: <68AC123ECB4AC54DB8876E4D6A3EED9659F5BDA5@mn05svcwem002.atk.com> Folks, I am new to paraview and while I am making some progress with the tool, I have not been able to figure out a few things.... I get a lot of data in plot3D format. The data in question is in the "function" file Paraview simply sees these as function1, function2 etc Is there someplace I can actually specify text for those? Thanks -Andy Andrew Robertson P.E. CFD Analyst GASL Operations Tactical Propulsion and Controls ATK 77 Raynor Avenue Ronkokoma NY 11779 Phone: 631-676-8955 <- NOTE NEW Number Fax: 631-588-7023 www.atk.com !! Knowledge and Thoroughness Baby !! Happiness is conserving mass ------------------------------------------------------------------------------ Notice: This e-mail is intended solely for use of the individual or entity to which it is addressed and may contain information that is proprietary, privileged and exempt from disclosure under applicable law. If the reader is not the intended recipient or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. This communication may also contain data subject to U.S. export laws. If so, that data subject to the International Traffic in Arms Regulation cannot be disseminated, distributed or copied to foreign nationals, residing in the U.S. or abroad, absent the express prior approval of the U.S. Department of State. If you have received this communication in error, please notify the sender by reply e-mail and destroy the e-mail message and any physical copies made of the communication. Thank you. ********** ********** -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Apr 2 14:41:35 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 2 Apr 2015 14:41:35 -0400 Subject: [Paraview] ParaView Guide sources? In-Reply-To: <1666672997.323330.1427963652290.JavaMail.open-xchange@ptangptang.store> References: <1666672997.323330.1427963652290.JavaMail.open-xchange@ptangptang.store> Message-ID: Christoph, I am working on putting in up on the Gitlab instance. It needs some minor cleanups before I can make it public. It should happen within the next week, if not sooner. Utkarsh On Thu, Apr 2, 2015 at 4:34 AM, Christoph Gr?ninger wrote: > Hi ParaView! > > I couldn't find the sources of the ParaView Guide. Where can I find them? > Or are > they not yet published? If this is the case, what is the planned release > date? > > Thanks for the update Guide, anyway! > > Bye > Christoph > > -- > And I would also like the thank people for the occassional drive-by commit > which has helped keep the existing functionality mostly working. > -- Simon Edwards > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Thu Apr 2 17:18:22 2015 From: matt.mccormick at kitware.com (Matt McCormick) Date: Thu, 2 Apr 2015 17:18:22 -0400 Subject: [Paraview] [ITK-users] compile itk (VTKGlue ON) with vtk from paraview In-Reply-To: <54CF5465.9050009@mh-hannover.de> References: <54C0CF2E.3060106@mh-hannover.de> <54C2125D.7090801@mh-hannover.de> <54C6029C.4040600@mh-hannover.de> <54C8CFC2.4000305@mh-hannover.de> <54CF5465.9050009@mh-hannover.de> Message-ID: Hi Roman, The VTK version that ParaView uses does change often, but to build against ParaView's VTK, the best result will still be obtained from building VTK independently, then building ParaView and any other dependencies, like ITK, against that version of VTK. To find the version of VTK that ParaView is using, cd ~/src/ParaView git submodule status VTK The process to build will then be something like cd ~/bin/VTK cmake ~/src/VTK make cd ~/bin/ITK cmake -DVTK_DIR=~/bin/VTK -DModule_ITKVtkGlue=ON ~/src/ITK make cd ~/bin/ParaView cmake -DVTK_DIR=~/bin/VTK -DUSE_EXTERNAL_VTK:BOOL=ON ~/src/ParaView HTH, Matt From hachtanya at yandex.ru Fri Apr 3 03:53:18 2015 From: hachtanya at yandex.ru (=?koi8-r?B?6MHey8/XwSD0wdTY0c7B?=) Date: Fri, 03 Apr 2015 10:53:18 +0300 Subject: [Paraview] AMR with raw files Message-ID: <1958711428047598@web15o.yandex.ru> Hello! I try to use Paraview for visualization of a geophysical data. I need to create AMR file with some levels (some meshes), where we want to place raw files. Can you help me? Can you send me a simple example of such structure for Paraview? Thank you in advance. Tatyana. From boolegue at gmail.com Fri Apr 3 10:09:36 2015 From: boolegue at gmail.com (Antoine Dechaume) Date: Fri, 3 Apr 2015 16:09:36 +0200 Subject: [Paraview] Get block ids for ExtractBlock Message-ID: Dear list, I'm using python and I'd like to use the ExtractBlock filter on a multi block data set that was read from a .vtm file. I'm struggling to find the block indices that match a given block name from the object returned by the reader, any help is welcome. Cheers, Antoine. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Fri Apr 3 12:44:47 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Fri, 3 Apr 2015 12:44:47 -0400 Subject: [Paraview] AMR with raw files In-Reply-To: <1958711428047598@web15o.yandex.ru> References: <1958711428047598@web15o.yandex.ru> Message-ID: Hey Tatyana, So you are asking for some help on how to create AMR? Is that right. - Aashish On Fri, Apr 3, 2015 at 3:53 AM, ??????? ??????? wrote: > Hello! > I try to use Paraview for visualization of a geophysical data. I need to > create AMR file with some levels (some meshes), where we want to place raw > files. > > Can you help me? Can you send me a simple example of such structure for > Paraview? > > Thank you in advance. > Tatyana. > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From berk.geveci at kitware.com Fri Apr 3 13:50:01 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Fri, 3 Apr 2015 13:50:01 -0400 Subject: [Paraview] Plot 3D Function names In-Reply-To: <68AC123ECB4AC54DB8876E4D6A3EED9659F5BDA5@mn05svcwem002.atk.com> References: <68AC123ECB4AC54DB8876E4D6A3EED9659F5BDA5@mn05svcwem002.atk.com> Message-ID: Unfortunately, there is not a super easy way to rename an array. You have to use the Programmable Filter with something like this: from vtk.numpy_interface import dataset_adapter as dsa itr = dsa.MultiCompositeDataIterator([inputs[0], output]) for inp, opt in itr: opt.PointData.append(inp.PointData['function1'], "my function") Best, -berk On Thu, Apr 2, 2015 at 12:21 PM, Robertson, Andrew < andrew.robertson at orbitalatk.com> wrote: > Folks, > > I am new to paraview and while I am making some progress with the tool, I > have not been able to figure out a few things?. > > I get a lot of data in plot3D format. > > The data in question is in the ?function? file > > Paraview simply sees these as function1, function2 etc > > Is there someplace I can actually specify text for those? > > Thanks > > -Andy > > > > > > Andrew Robertson P.E. > > CFD Analyst > > > > GASL Operations > > Tactical Propulsion and Controls > > ATK > > 77 Raynor Avenue > > Ronkokoma NY 11779 > > > > Phone: 631-676-8955 <631-737-6100%20Ext%20190> <- *NOTE NEW Number* > > Fax: 631-588-7023 > > www.atk.com > > > > !! Knowledge and Thoroughness Baby !! > > Happiness is conserving mass > > > > ------------------------------ > Notice: This e-mail is intended solely for use of the individual or entity > to which it is addressed and may contain information that is proprietary, > privileged and exempt from disclosure under applicable law. If the reader > is not the intended recipient or agent responsible for delivering the > message to the intended recipient, you are hereby notified that any > dissemination, distribution or copying of this communication is strictly > prohibited. This communication may also contain data subject to U.S. export > laws. If so, that data subject to the International Traffic in Arms > Regulation cannot be disseminated, distributed or copied to foreign > nationals, residing in the U.S. or abroad, absent the express prior > approval of the U.S. Department of State. If you have received this > communication in error, please notify the sender by reply e-mail and > destroy the e-mail message and any physical copies made of the > communication. Thank you. > ********** ********** > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph at al.t.u-tokyo.ac.jp Sun Apr 5 08:38:06 2015 From: joseph at al.t.u-tokyo.ac.jp (Ofosu Ampadu Joseph) Date: Sun, 05 Apr 2015 21:38:06 +0900 Subject: [Paraview] [PARAVIEW INSTALLATION]_undefined reference to 'gzopen' 'gzclose' 'gzread' 'gzwrite' Message-ID: <55212CAE.4000602@al.t.u-tokyo.ac.jp> Hello, I am new to Paraview and I am now making a fresh installation on a ubuntu 14.04 LTS platform. However after about 50% building with the command "make" I get the following error: Linking CXX shared library ../../../../../lib/libvtkxdmf2-pv4.3.so CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::open(char const*, int)': /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:63: undefined reference to `gzopen' CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::close()': /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:75: undefined reference to `gzclose' CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::underflow()': /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:94: undefined reference to `gzread' CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::flush_buffer()': /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:112: undefined reference to `gzwrite' collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkxdmf2-pv4.3.so.1] Error 1 make[1]: *** [VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/vtkxdmf2.dir/all] Error 2 make: *** [all] Error 2 Meanwhile, I have both gzstream.h and zlib.h header files in my include directory and I still encounter this problem. I would be very grateful if someone could advice me on how to proceed. Thanks!!!! -- Ofosu Joseph Ampadu The University of Tokyo Graduate School of Frontier Sciences Advanced Energy Department Komurasaki Laboratory joseph at al.t.u-tokyo.ac.jp [+818044652407 ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph at al.t.u-tokyo.ac.jp Sun Apr 5 08:41:03 2015 From: joseph at al.t.u-tokyo.ac.jp (Ofosu Ampadu Joseph) Date: Sun, 05 Apr 2015 21:41:03 +0900 Subject: [Paraview] [PARAVIEW INSTALLATION]_undefined reference to 'gzopen' 'gzclose' 'gzread' 'gzwrite' Message-ID: <55212D5F.1050603@al.t.u-tokyo.ac.jp> Hello, I am new to Paraview and I am now making a fresh installation on a ubuntu 14.04 LTS platform. However after about 50% building with the command "make" I get the following error: Linking CXX shared library ../../../../../lib/libvtkxdmf2-pv4.3.so CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::open(char const*, int)': /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:63: undefined reference to `gzopen' CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::close()': /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:75: undefined reference to `gzclose' CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::underflow()': /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:94: undefined reference to `gzread' CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::flush_buffer()': /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:112: undefined reference to `gzwrite' collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkxdmf2-pv4.3.so.1] Error 1 make[1]: *** [VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/vtkxdmf2.dir/all] Error 2 make: *** [all] Error 2 Meanwhile, I have both gzstream.h and zlib.h header files in my include directory and I still encounter this problem. I would be very grateful if someone could advice me on how to proceed. Thanks!!!! -- Ofosu Joseph Ampadu The University of Tokyo Graduate School of Frontier Sciences Advanced Energy Department Komurasaki Laboratory joseph at al.t.u-tokyo.ac.jp [+818044652407 ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From hachtanya at yandex.ru Mon Apr 6 00:31:20 2015 From: hachtanya at yandex.ru (=?koi8-r?B?6MHey8/XwSD0wdTY0c7B?=) Date: Mon, 06 Apr 2015 07:31:20 +0300 Subject: [Paraview] AMR with raw files In-Reply-To: References: <1958711428047598@web15o.yandex.ru> Message-ID: <1043651428294680@web4h.yandex.ru> Hey, Aashish, Yes - I need some help on how to create AMR with some our raw files? For example, first raw file: 256*256*256, unsigned 16-bit, little Endian, x - fastest, mesh 0:50:12750 second raw: 256*256*256, unsigned 16-bit, little Endian, x - fastest, mesh 0:5:1275 Thank you in advance. Tatyana. 03.04.2015, 19:44, "Aashish Chaudhary" : > Hey?Tatyana, > > So you are asking for some help on how to create AMR? Is that right. > > - Aashish > > On Fri, Apr 3, 2015 at 3:53 AM, ??????? ??????? wrote: >> Hello! >> I try to use Paraview for visualization of a geophysical data. I need to create AMR file with some levels (some meshes), where we want to place raw files. >> >> Can you help me? Can you send me a simple example of such structure for Paraview? >> >> Thank you in advance. >> Tatyana. >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > -- > | Aashish Chaudhary > | Technical Leader > | Kitware Inc. > |?http://www.kitware.com/company/team/chaudhary.html From u.utku.turuncoglu at be.itu.edu.tr Mon Apr 6 08:02:49 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Mon, 06 Apr 2015 15:02:49 +0300 Subject: [Paraview] ParaView Catalyst and running example codes ... Message-ID: <552275E9.1010202@be.itu.edu.tr> Hi, I am trying to run ParaViewCatalystExampleCode under Mac OS 10.10.2. I have already installed Catalyst-base+essentials+extras+renderingbase+python-Source.tar to my machine successfully and i would like to test the example codes. The main problem is that i am getting following error when i try to run the FortranPoissonSolver epsilon:FortranPoissonSolver turuncu$ ./FortranPoissonSolver coproc.py Error: Cannot import vtkPVServerManagerDefaultPython Error: Cannot import vtkPVAnimationPython ... ... i also created following shell script to run the example CATALYST="/Users/turuncu/Qsync/progs/catalyst" export PYTHONHOME="$CATALYST/lib" export PYTHONPATH="$CATALYST/lib:$PYTHONPATH" export PYTHONPATH="$CATALYST/lib/site-packages:$PYTHONPATH" export PYTHONPATH="$CATALYST/lib/site-packages/paraview:$PYTHONPATH" export PYTHONPATH="$CATALYST/lib/site-packages/vtk:$PYTHONPATH" export LD_LIBRARY_PATH="$CATALYST/lib:$LD_LIBRARY_PATH" export DYLD_LIBRARY_PATH="$CATALYST/lib:$DYLD_LIBRARY_PATH" ./FortranPoissonSolver coproc.py but in this case, it complains as "ImportError: No module named site". I think that it might be realted with the definition of PYTHONHOME environment variable and somehow it causes problem in Python side. Anyway, i am using Enthought, Canopy (64bit) for python implementation under Mac OS and i also tried to add PYTHONPATH to shell script to define Canopy related modules export PYTHONPATH="/Applications/Canopy.app/appdata/canopy-1.4.1.1975.macosx-x86_64/Canopy.app/Contents/lib/python2.7:$PYTHONPATH" but again i am getting following error which could be related with the wrong definition of environment variables or their orders because sys has base_prefix method (tested under ipython) ... ... from sysconfig import get_config_var File "/Applications/Canopy.app/appdata/canopy-1.4.1.1975.macosx-x86_64/Canopy.app/Contents/lib/python2.7/sysconfig.py", line 95, in _BASE_PREFIX = os.path.normpath(sys.base_prefix) AttributeError: 'module' object has no attribute 'base_prefix' So, i just wonder that is there anybody that run these examples under MacOS along with Enthought, Canopy? Is there any custom script to run the example? Do you suggest me to go directly to Linux (i.e. Centos etc.) to solve these problems. Thanks, Best Regards, Ufuk Turuncoglu Istanbul Technical University Informatics Institute From rohitnarurkar at gmail.com Mon Apr 6 08:29:01 2015 From: rohitnarurkar at gmail.com (Rohit Narurkar) Date: Mon, 6 Apr 2015 17:59:01 +0530 Subject: [Paraview] Fluid Flow Simulation in ParaView In-Reply-To: <550AEE85.9050102@bresnan.net> References: <550AEE85.9050102@bresnan.net> Message-ID: Hello! I tried applying the "Glyph" filter, but still the negative values aren't being considered. It considers only the magnitude. Can somebody please explain in detail how I should go about this? Please have a look at the .vtk file I have attached above, I am stuck at this point. Thank you On Thu, Mar 19, 2015 at 9:13 PM, Samuel Key wrote: > Rohit, > > Assuming that the x-component of VecVelocity has negative values, then > from the selection [Magnitude|x|y|z] pick x and then only VecVelocity_x > will be displayed. > > On the other hand, if "vector plots" are your goal, use PV's Glyph filter. > > Sam > > > On 3/19/2015 5:49 AM, Rohit Narurkar wrote: > > Is there no simple feature or option that considers negative values as > well? > > On Wed, Mar 18, 2015 at 5:50 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> Try applying the "Glyph" filter or using the "Surface LIC" plugin[1] >> >> [1] http://www.paraview.org/Wiki/ParaView/Line_Integral_Convolution >> >> Utkarsh >> >> On Tue, Mar 17, 2015 at 8:37 AM, Rohit Narurkar >> wrote: >> > Hello >> > >> > I wish to simulate fluid flow using ParaView. I have 1000 .vtk files >> for the >> > 1000 time steps. >> > I have attached along with this mail one of the .vtk files. When I open >> this >> > collection in ParaView, and change the 'coloring' to the velocity name I >> > have given i.e. "VecVelocity" as you can see in the sample .vtk file. >> There >> > is another option to its right which offers 'magnitude', 'x', 'y' and >> 'z'. >> > But there are some points with negative velocities and ParaView is only >> > considering the magnitude (hence positive). I wish to display even the >> > negative values. How do I do that? >> > >> > Any help would be great! >> > >> > Thank you! >> > >> > _______________________________________________ >> > 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 >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > >> > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Mon Apr 6 09:14:23 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 6 Apr 2015 09:14:23 -0400 Subject: [Paraview] ParaView Catalyst and running example codes ... In-Reply-To: <552275E9.1010202@be.itu.edu.tr> References: <552275E9.1010202@be.itu.edu.tr> Message-ID: Hi, I haven't tried any of this on a Mac so it's possible that something is amiss there. Have you tried the same examples with the full build of ParaView with Catalyst enabled as well as the Fortran adaptor? If you build the examples with testing enabled you should be able to run ctest to verify that things are working properly. It's not a very thorough test but should run the sample executable along with a Catalyst Python script to generate some kind of output. If none of that works I'd suggest trying it on a Linux machine to see what's going on there. Regards, Andy On Mon, Apr 6, 2015 at 8:02 AM, Ufuk Utku Turuncoglu (BE) < u.utku.turuncoglu at be.itu.edu.tr> wrote: > Hi, > > I am trying to run ParaViewCatalystExampleCode under Mac OS 10.10.2. I > have already installed > > Catalyst-base+essentials+extras+renderingbase+python-Source.tar > > to my machine successfully and i would like to test the example codes. The > main problem is that i am getting following error when i try to run the > FortranPoissonSolver > > epsilon:FortranPoissonSolver turuncu$ ./FortranPoissonSolver coproc.py > Error: Cannot import vtkPVServerManagerDefaultPython > Error: Cannot import vtkPVAnimationPython > ... > ... > > i also created following shell script to run the example > > CATALYST="/Users/turuncu/Qsync/progs/catalyst" > export PYTHONHOME="$CATALYST/lib" > export PYTHONPATH="$CATALYST/lib:$PYTHONPATH" > export PYTHONPATH="$CATALYST/lib/site-packages:$PYTHONPATH" > export PYTHONPATH="$CATALYST/lib/site-packages/paraview:$PYTHONPATH" > export PYTHONPATH="$CATALYST/lib/site-packages/vtk:$PYTHONPATH" > > export LD_LIBRARY_PATH="$CATALYST/lib:$LD_LIBRARY_PATH" > export DYLD_LIBRARY_PATH="$CATALYST/lib:$DYLD_LIBRARY_PATH" > > ./FortranPoissonSolver coproc.py > > but in this case, it complains as "ImportError: No module named site". I > think that it might be realted with the definition of PYTHONHOME > environment variable and somehow it causes problem in Python side. Anyway, > i am using Enthought, Canopy (64bit) for python implementation under Mac OS > and i also tried to add PYTHONPATH to shell script to define Canopy related > modules > > export PYTHONPATH="/Applications/Canopy.app/appdata/canopy-1.4. > 1.1975.macosx-x86_64/Canopy.app/Contents/lib/python2.7:$PYTHONPATH" > > but again i am getting following error which could be related with the > wrong definition of environment variables or their orders because sys has > base_prefix method (tested under ipython) > > ... > ... > from sysconfig import get_config_var > File "/Applications/Canopy.app/appdata/canopy-1.4.1.1975. > macosx-x86_64/Canopy.app/Contents/lib/python2.7/sysconfig.py", line 95, > in > _BASE_PREFIX = os.path.normpath(sys.base_prefix) > AttributeError: 'module' object has no attribute 'base_prefix' > > So, i just wonder that is there anybody that run these examples under > MacOS along with Enthought, Canopy? Is there any custom script to run the > example? Do you suggest me to go directly to Linux (i.e. Centos etc.) to > solve these problems. > > Thanks, > Best Regards, > > Ufuk Turuncoglu > Istanbul Technical University > Informatics Institute > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Mon Apr 6 09:19:27 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Mon, 06 Apr 2015 16:19:27 +0300 Subject: [Paraview] ParaView Catalyst and running example codes ... In-Reply-To: References: <552275E9.1010202@be.itu.edu.tr> Message-ID: <552287DF.2040303@be.itu.edu.tr> Thanks for your suggestions Andy. When you are mentioning about the "full build of ParaView with Catalyst enabled as well as the Fortran adaptor", are you suggesting to install Paraview from the source? By the way, how can i enable test in cmake? Thanks again. Regards, --ufuk On 06/04/15 16:14, Andy Bauer wrote: > Hi, > > I haven't tried any of this on a Mac so it's possible that something > is amiss there. Have you tried the same examples with the full build > of ParaView with Catalyst enabled as well as the Fortran adaptor? If > you build the examples with testing enabled you should be able to run > ctest to verify that things are working properly. It's not a very > thorough test but should run the sample executable along with a > Catalyst Python script to generate some kind of output. > > If none of that works I'd suggest trying it on a Linux machine to see > what's going on there. > > Regards, > Andy > > On Mon, Apr 6, 2015 at 8:02 AM, Ufuk Utku Turuncoglu (BE) > > wrote: > > Hi, > > I am trying to run ParaViewCatalystExampleCode under Mac OS > 10.10.2. I have already installed > > Catalyst-base+essentials+extras+renderingbase+python-Source.tar > > to my machine successfully and i would like to test the example > codes. The main problem is that i am getting following error when > i try to run the FortranPoissonSolver > > epsilon:FortranPoissonSolver turuncu$ ./FortranPoissonSolver coproc.py > Error: Cannot import vtkPVServerManagerDefaultPython > Error: Cannot import vtkPVAnimationPython > ... > ... > > i also created following shell script to run the example > > CATALYST="/Users/turuncu/Qsync/progs/catalyst" > export PYTHONHOME="$CATALYST/lib" > export PYTHONPATH="$CATALYST/lib:$PYTHONPATH" > export PYTHONPATH="$CATALYST/lib/site-packages:$PYTHONPATH" > export PYTHONPATH="$CATALYST/lib/site-packages/paraview:$PYTHONPATH" > export PYTHONPATH="$CATALYST/lib/site-packages/vtk:$PYTHONPATH" > > export LD_LIBRARY_PATH="$CATALYST/lib:$LD_LIBRARY_PATH" > export DYLD_LIBRARY_PATH="$CATALYST/lib:$DYLD_LIBRARY_PATH" > > ./FortranPoissonSolver coproc.py > > but in this case, it complains as "ImportError: No module named > site". I think that it might be realted with the definition of > PYTHONHOME environment variable and somehow it causes problem in > Python side. Anyway, i am using Enthought, Canopy (64bit) for > python implementation under Mac OS and i also tried to add > PYTHONPATH to shell script to define Canopy related modules > > export > PYTHONPATH="/Applications/Canopy.app/appdata/canopy-1.4.1.1975.macosx-x86_64/Canopy.app/Contents/lib/python2.7:$PYTHONPATH" > > but again i am getting following error which could be related with > the wrong definition of environment variables or their orders > because sys has base_prefix method (tested under ipython) > > ... > ... > from sysconfig import get_config_var > File > "/Applications/Canopy.app/appdata/canopy-1.4.1.1975.macosx-x86_64/Canopy.app/Contents/lib/python2.7/sysconfig.py", > line 95, in > _BASE_PREFIX = os.path.normpath(sys.base_prefix) > AttributeError: 'module' object has no attribute 'base_prefix' > > So, i just wonder that is there anybody that run these examples > under MacOS along with Enthought, Canopy? Is there any custom > script to run the example? Do you suggest me to go directly to > Linux (i.e. Centos etc.) to solve these problems. > > Thanks, > Best Regards, > > Ufuk Turuncoglu > Istanbul Technical University > Informatics Institute > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Apr 6 09:28:17 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 6 Apr 2015 09:28:17 -0400 Subject: [Paraview] Fluid Flow Simulation in ParaView In-Reply-To: References: <550AEE85.9050102@bresnan.net> Message-ID: > I tried applying the "Glyph" filter, but still the negative values aren't being considered. It considers only the magnitude. A Glyph can be oriented along the direction of the vector. Wouldn't that be taking negative values into consideration? From andy.bauer at kitware.com Mon Apr 6 09:33:51 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 6 Apr 2015 09:33:51 -0400 Subject: [Paraview] ParaView Catalyst and running example codes ... In-Reply-To: <552287DF.2040303@be.itu.edu.tr> References: <552275E9.1010202@be.itu.edu.tr> <552287DF.2040303@be.itu.edu.tr> Message-ID: Yes, it will be easier to diagnose what's going with this if you have you're own build of ParaView from source. For testing, when building the Catalyst examples make sure that BUILD_TESTING is set to ON. Regards, Andy On Mon, Apr 6, 2015 at 9:19 AM, Ufuk Utku Turuncoglu (BE) < u.utku.turuncoglu at be.itu.edu.tr> wrote: > Thanks for your suggestions Andy. When you are mentioning about the > "full build of ParaView with Catalyst enabled as well as the Fortran > adaptor", are you suggesting to install Paraview from the source? By the > way, how can i enable test in cmake? Thanks again. > > Regards, > > --ufuk > > > On 06/04/15 16:14, Andy Bauer wrote: > > Hi, > > I haven't tried any of this on a Mac so it's possible that something is > amiss there. Have you tried the same examples with the full build of > ParaView with Catalyst enabled as well as the Fortran adaptor? If you build > the examples with testing enabled you should be able to run ctest to verify > that things are working properly. It's not a very thorough test but should > run the sample executable along with a Catalyst Python script to generate > some kind of output. > > If none of that works I'd suggest trying it on a Linux machine to see > what's going on there. > > Regards, > Andy > > On Mon, Apr 6, 2015 at 8:02 AM, Ufuk Utku Turuncoglu (BE) < > u.utku.turuncoglu at be.itu.edu.tr> wrote: > >> Hi, >> >> I am trying to run ParaViewCatalystExampleCode under Mac OS 10.10.2. I >> have already installed >> >> Catalyst-base+essentials+extras+renderingbase+python-Source.tar >> >> to my machine successfully and i would like to test the example codes. >> The main problem is that i am getting following error when i try to run the >> FortranPoissonSolver >> >> epsilon:FortranPoissonSolver turuncu$ ./FortranPoissonSolver coproc.py >> Error: Cannot import vtkPVServerManagerDefaultPython >> Error: Cannot import vtkPVAnimationPython >> ... >> ... >> >> i also created following shell script to run the example >> >> CATALYST="/Users/turuncu/Qsync/progs/catalyst" >> export PYTHONHOME="$CATALYST/lib" >> export PYTHONPATH="$CATALYST/lib:$PYTHONPATH" >> export PYTHONPATH="$CATALYST/lib/site-packages:$PYTHONPATH" >> export PYTHONPATH="$CATALYST/lib/site-packages/paraview:$PYTHONPATH" >> export PYTHONPATH="$CATALYST/lib/site-packages/vtk:$PYTHONPATH" >> >> export LD_LIBRARY_PATH="$CATALYST/lib:$LD_LIBRARY_PATH" >> export DYLD_LIBRARY_PATH="$CATALYST/lib:$DYLD_LIBRARY_PATH" >> >> ./FortranPoissonSolver coproc.py >> >> but in this case, it complains as "ImportError: No module named site". I >> think that it might be realted with the definition of PYTHONHOME >> environment variable and somehow it causes problem in Python side. Anyway, >> i am using Enthought, Canopy (64bit) for python implementation under Mac OS >> and i also tried to add PYTHONPATH to shell script to define Canopy related >> modules >> >> export >> PYTHONPATH="/Applications/Canopy.app/appdata/canopy-1.4.1.1975.macosx-x86_64/Canopy.app/Contents/lib/python2.7:$PYTHONPATH" >> >> but again i am getting following error which could be related with the >> wrong definition of environment variables or their orders because sys has >> base_prefix method (tested under ipython) >> >> ... >> ... >> from sysconfig import get_config_var >> File >> "/Applications/Canopy.app/appdata/canopy-1.4.1.1975.macosx-x86_64/Canopy.app/Contents/lib/python2.7/sysconfig.py", >> line 95, in >> _BASE_PREFIX = os.path.normpath(sys.base_prefix) >> AttributeError: 'module' object has no attribute 'base_prefix' >> >> So, i just wonder that is there anybody that run these examples under >> MacOS along with Enthought, Canopy? Is there any custom script to run the >> example? Do you suggest me to go directly to Linux (i.e. Centos etc.) to >> solve these problems. >> >> Thanks, >> Best Regards, >> >> Ufuk Turuncoglu >> Istanbul Technical University >> Informatics Institute >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Apr 6 09:43:05 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 6 Apr 2015 09:43:05 -0400 Subject: [Paraview] [PARAVIEW INSTALLATION]_undefined reference to 'gzopen' 'gzclose' 'gzread' 'gzwrite' In-Reply-To: <55212CAE.4000602@al.t.u-tokyo.ac.jp> References: <55212CAE.4000602@al.t.u-tokyo.ac.jp> Message-ID: I am not seeing this on my Ubuntu 14.04. Mind attaching your CMakeCache.txt? Thanks. On Sun, Apr 5, 2015 at 8:38 AM, Ofosu Ampadu Joseph wrote: > Hello, > > I am new to Paraview and I am now making a fresh installation on a ubuntu > 14.04 LTS platform. However after about 50% building with the command "make" > I get the following error: > > Linking CXX shared library ../../../../../lib/libvtkxdmf2-pv4.3.so > CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::open(char > const*, int)': > /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:63: > undefined reference to `gzopen' > CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::close()': > /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:75: > undefined reference to `gzclose' > CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function > `gzstreambuf::underflow()': > /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:94: > undefined reference to `gzread' > CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function > `gzstreambuf::flush_buffer()': > /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:112: > undefined reference to `gzwrite' > collect2: error: ld returned 1 exit status > make[2]: *** [lib/libvtkxdmf2-pv4.3.so.1] Error 1 > make[1]: *** > [VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/vtkxdmf2.dir/all] Error 2 > make: *** [all] Error 2 > > Meanwhile, I have both gzstream.h and zlib.h header files in my include > directory and I still encounter this problem. > > I would be very grateful if someone could advice me on how to proceed. > Thanks!!!! > > -- > Ofosu Joseph Ampadu > The University of Tokyo > Graduate School of Frontier Sciences > Advanced Energy Department > Komurasaki Laboratory > joseph at al.t.u-tokyo.ac.jp > [+818044652407] > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Mon Apr 6 10:45:10 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 6 Apr 2015 10:45:10 -0400 Subject: [Paraview] ANN: ParaView Guide LaTeX source files are now available Message-ID: Folks, The LaTeX source files for the ParaView Guide - Community Edition are now available: https://gitlab.kitware.com/paraview/paraview-guide-ce Utkarsh From utkarsh.ayachit at kitware.com Mon Apr 6 10:45:44 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 6 Apr 2015 10:45:44 -0400 Subject: [Paraview] ParaView Guide sources? In-Reply-To: References: <1666672997.323330.1427963652290.JavaMail.open-xchange@ptangptang.store> Message-ID: Christoph, The guide is now available here: https://gitlab.kitware.com/paraview/paraview-guide-ce Utkarsh On Thu, Apr 2, 2015 at 2:41 PM, Utkarsh Ayachit wrote: > Christoph, > > I am working on putting in up on the Gitlab instance. It needs some minor > cleanups before I can make it public. It should happen within the next week, > if not sooner. > > Utkarsh > > On Thu, Apr 2, 2015 at 4:34 AM, Christoph Gr?ninger > wrote: >> >> Hi ParaView! >> >> I couldn't find the sources of the ParaView Guide. Where can I find them? >> Or are >> they not yet published? If this is the case, what is the planned release >> date? >> >> Thanks for the update Guide, anyway! >> >> Bye >> Christoph >> >> -- >> And I would also like the thank people for the occassional drive-by commit >> which has helped keep the existing functionality mostly working. >> -- Simon Edwards >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > From foss at grueninger.de Mon Apr 6 17:45:54 2015 From: foss at grueninger.de (=?UTF-8?B?Q2hyaXN0b3BoIEdyw7xuaW5nZXI=?=) Date: Mon, 06 Apr 2015 23:45:54 +0200 Subject: [Paraview] ParaView Guide sources? In-Reply-To: References: <1666672997.323330.1427963652290.JavaMail.open-xchange@ptangptang.store> Message-ID: <5522FE92.4030701@grueninger.de> Hi Utkarsh, thank you for publishing the source. I had some troubles to get it compiling, there are many LaTeX packages used, that are not provided as openSuse RPMs. That will need some more time. There are plenty CMake warnings about CMP0046. I have not yet investigated them further. Find attached a small fix for a small glitch, at least in the published PDF it was broken. Bye Christoph -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Fix-broken-circumflex.patch Type: text/x-patch Size: 1328 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Mon Apr 6 21:03:31 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 6 Apr 2015 21:03:31 -0400 Subject: [Paraview] ParaView Guide sources? In-Reply-To: <5522FE92.4030701@grueninger.de> References: <1666672997.323330.1427963652290.JavaMail.open-xchange@ptangptang.store> <5522FE92.4030701@grueninger.de> Message-ID: Thanks for the patch, Christoph. I've pushed the change in: https://gitlab.kitware.com/paraview/paraview-guide-ce/commit/f558439832cc4d28abfc9c536f58a6483eaeabbb Thanks, Utkarsh On Mon, Apr 6, 2015 at 5:45 PM, Christoph Gr?ninger wrote: > Hi Utkarsh, > thank you for publishing the source. I had some troubles to get it > compiling, there are many LaTeX packages used, that are not provided as > openSuse RPMs. That will need some more time. > There are plenty CMake warnings about CMP0046. I have not yet > investigated them further. > > Find attached a small fix for a small glitch, at least in the published > PDF it was broken. > > Bye > Christoph From livia.barazzetti at istb.unibe.ch Tue Apr 7 03:47:09 2015 From: livia.barazzetti at istb.unibe.ch (livia.barazzetti at istb.unibe.ch) Date: Tue, 7 Apr 2015 07:47:09 +0000 Subject: [Paraview] Using VTK Filters with Programmable Filter Message-ID: Hi, I have a question about the use of vtk filter. At page 91 of the paraview manual included in the binaries download, it is suggested to make a copy of the input ( input_copy = inputs[0].NewInstance() input_copy.UnRegister(None) input_copy.ShallowCopy(inputs[0].VTKObject) ) , but the reference is to the previous version of VTK. Does this still hold for VTK 6? In the paraview guide available for download under "documentation", this issue is not mentioned (but the guide is also shorter). I have been using the filter without making copy of the input and I haven't the impression of memory leaks in my code Livia Livia Barazzetti Ph.D. Student - Medical Image Analysis Institute for Surgical Technology and Biomechanics University of Bern Stauffacherstrasse 78 CH-3014 Bern Tel +41 31 631 59 48 http://www.istb.unibe.ch -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkxls23 at gmail.com Tue Apr 7 09:49:21 2015 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Tue, 07 Apr 2015 16:49:21 +0300 Subject: [Paraview] Fluid Flow Simulation in ParaView In-Reply-To: References: <550AEE85.9050102@bresnan.net> Message-ID: <5523E061.2020905@gmail.com> Hi Rohit, I had a look at your data file and I don't understand where your problem is. I can visualize the X and Y component of velocity and get seemingly correct results (i.e. X and Y have negative and positive values). The magnitude of the velocity vector is as expected everywhere positive. Also the Glyph filter produces reasonable results with the default settings (e.g. the arrows can be colored by X or Y component with positive and negative values or by magnitude with only positive values). So my question would be: What exactly do you want to visualize? -Armin On 04/06/2015 03:29 PM, Rohit Narurkar wrote: > Hello! > > I tried applying the "Glyph" filter, but still the negative values > aren't being considered. It considers only the magnitude. > > Can somebody please explain in detail how I should go about this? Please > have a look at the .vtk file I have attached above, I am stuck at this > point. > > Thank you > > On Thu, Mar 19, 2015 at 9:13 PM, Samuel Key > wrote: > > Rohit, > > Assuming that the x-component of VecVelocity has negative values, > then from the selection [Magnitude|x|y|z] pick x and then only > VecVelocity_x will be displayed. > > On the other hand, if "vector plots" are your goal, use PV's Glyph > filter. > > Sam > > > On 3/19/2015 5:49 AM, Rohit Narurkar wrote: >> Is there no simple feature or option that considers negative >> values as well? >> >> On Wed, Mar 18, 2015 at 5:50 PM, Utkarsh Ayachit >> > >> wrote: >> >> Try applying the "Glyph" filter or using the "Surface LIC" >> plugin[1] >> >> [1] >> http://www.paraview.org/Wiki/ParaView/Line_Integral_Convolution >> >> Utkarsh >> >> On Tue, Mar 17, 2015 at 8:37 AM, Rohit Narurkar >> > wrote: >> > Hello >> > >> > I wish to simulate fluid flow using ParaView. I have 1000 >> .vtk files for the >> > 1000 time steps. >> > I have attached along with this mail one of the .vtk files. >> When I open this >> > collection in ParaView, and change the 'coloring' to the >> velocity name I >> > have given i.e. "VecVelocity" as you can see in the sample >> .vtk file. There >> > is another option to its right which offers 'magnitude', >> 'x', 'y' and 'z'. >> > But there are some points with negative velocities and >> ParaView is only >> > considering the magnitude (hence positive). I wish to >> display even the >> > negative values. How do I do that? >> > >> > Any help would be great! >> > >> > Thank you! >> > >> > _______________________________________________ >> > 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 >> > >> > Search the list archives at: >> http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > >> >> >> >> >> _______________________________________________ >> Powered bywww.kitware.com >> >> Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at:http://paraview.org/Wiki/ParaView >> >> Search the list archives at:http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From yma74 at gatech.edu Tue Apr 7 14:34:27 2015 From: yma74 at gatech.edu (Yifei) Date: Tue, 7 Apr 2015 14:34:27 -0400 Subject: [Paraview] plot contour in ParaView Message-ID: Hi, I am trying to post-processing my simulation results from LAMMPS using ParaView. I first converted dump file into ensight file format using pizza.py. The script is attached behind. import sys from dump import dump from ensight import ensight d=dump("dump.peri"); d.map(1,"id",2,"type",3,"x",4,"y",5,"z",6,"damage",7,"vx",8,"vy",9,"vz"); e=ensight(d); e.one("disk","damage","Damage","y","Position_y","x","Position_x","z","Postion_z","vy","VY","vx","VX","vz","VZ?) Then, I imported the .case file into ParaView. Now I have the coordinate, damage scalar, and velocity components for each point. I wonder how can I use the Contour filter in ParaView to plot contours? When I try to do that, I got only one coloring option called Solid Color. How can I use damage or velocity as the coloring options? Thanks, Yifei From utkarsh.ayachit at kitware.com Tue Apr 7 15:44:36 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 7 Apr 2015 15:44:36 -0400 Subject: [Paraview] plot contour in ParaView In-Reply-To: References: Message-ID: > How can I use damage or velocity as the coloring options? Make sure you have "Compute Scalars" option checked on the "Properties" panel for the Contour filter. Utkarsh From yma74 at gatech.edu Tue Apr 7 16:13:00 2015 From: yma74 at gatech.edu (Yifei) Date: Tue, 7 Apr 2015 16:13:00 -0400 Subject: [Paraview] plot contour in ParaView In-Reply-To: References: Message-ID: <7057C6ED-F73B-41EF-BBFA-C50C2F9D4A08@gatech.edu> Hi, I just double checked. I did check the "Compute Scalars" option. Best, Yifei > On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit wrote: > >> How can I use damage or velocity as the coloring options? > > Make sure you have "Compute Scalars" option checked on the > "Properties" panel for the Contour filter. > > Utkarsh From utkarsh.ayachit at kitware.com Tue Apr 7 16:28:42 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 7 Apr 2015 16:28:42 -0400 Subject: [Paraview] plot contour in ParaView In-Reply-To: <7057C6ED-F73B-41EF-BBFA-C50C2F9D4A08@gatech.edu> References: <7057C6ED-F73B-41EF-BBFA-C50C2F9D4A08@gatech.edu> Message-ID: If you can share a sample dataset to illustrate the problem, it may help. Utkarsh On Tue, Apr 7, 2015 at 4:13 PM, Yifei wrote: > Hi, > > I just double checked. I did check the "Compute Scalars" option. > > Best, > Yifei > >> On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit wrote: >> >>> How can I use damage or velocity as the coloring options? >> >> Make sure you have "Compute Scalars" option checked on the >> "Properties" panel for the Contour filter. >> >> Utkarsh > From hachtanya at yandex.ru Tue Apr 7 23:45:23 2015 From: hachtanya at yandex.ru (=?koi8-r?B?6MHey8/XwSD0wdTY0c7B?=) Date: Wed, 08 Apr 2015 06:45:23 +0300 Subject: [Paraview] AMR with raw files In-Reply-To: <1043651428294680@web4h.yandex.ru> References: <1958711428047598@web15o.yandex.ru> <1043651428294680@web4h.yandex.ru> Message-ID: <277981428464723@web6j.yandex.ru> Aashish, what about AMR? :)) Should I use the vtkHierarchicalBoxDataSet? How does such set look like for Paraview? Can you give me an example? Tatyana. 06.04.2015, 07:31, "??????? ???????" : > Hey, Aashish, > > Yes - I need some help on how to create AMR with some our raw files? > > For example, > first raw file: 256*256*256, unsigned 16-bit, little Endian, x - fastest, mesh 0:50:12750 > second raw: 256*256*256, unsigned 16-bit, little Endian, x - fastest, mesh 0:5:1275 > > Thank you in advance. > Tatyana. > > 03.04.2015, 19:44, "Aashish Chaudhary" : >> ?Hey?Tatyana, >> >> ?So you are asking for some help on how to create AMR? Is that right. >> >> ?- Aashish >> >> ?On Fri, Apr 3, 2015 at 3:53 AM, ??????? ??????? wrote: >>> ?Hello! >>> ?I try to use Paraview for visualization of a geophysical data. I need to create AMR file with some levels (some meshes), where we want to place raw files. >>> >>> ?Can you help me? Can you send me a simple example of such structure for Paraview? >>> >>> ?Thank you in advance. >>> ?Tatyana. >>> ?_______________________________________________ >>> ?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 >>> >>> ?Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> ?Follow this link to subscribe/unsubscribe: >>> ?http://public.kitware.com/mailman/listinfo/paraview >> ?-- >> ?| Aashish Chaudhary >> ?| Technical Leader >> ?| Kitware Inc. >> ?|?http://www.kitware.com/company/team/chaudhary.html From Leonardo.Borchi at ducati.com Wed Apr 8 04:47:27 2015 From: Leonardo.Borchi at ducati.com (Borchi Leonardo) Date: Wed, 8 Apr 2015 08:47:27 +0000 Subject: [Paraview] Slices generation with pvpython Message-ID: Hi everybody, I have a problem when I tried to implement an automated procedure for postprocessing analysis. I have wrote and run (from command prompt) the following script with pvpython.exe. If the variable numberofslice is <= 20 the script run well, but if I try to generate 40 slides for example, after the twenty one, for a couple of slide, the image is blank. After that, the following slides are generated in a correct manner. I have tried to change the py with different type of algorithm ( for, while, if ) but the problem remain. Have you any ideas for resolve this strange issue?? Thanks for your support Leonardo #Import the simple module from the paraview from paraview.simple import * #Disable automatic camera reset on 'Show' paraview.simple._DisableFirstRenderCameraReset() #Create a new 'OpenFOAMReader' case_foam = OpenFOAMReader(FileName='\\\\SERVERCORSE\\RUN_051\\case.foam') (xmin,xmax,ymin,ymax,zmin,zmax) = case_foam.GetDataInformation().GetBounds() xmax = float(2.000) xmin = float(-0.200) ymax = float(0.250) ymin = float(-0.250) zmax = float(1.350) zmin = float(0.000) numberofslice = 20 deltax = (xmax-xmin)/numberofslice deltay = (ymax-ymin)/numberofslice deltaz = (zmax-zmin)/numberofslice case_foam.CellArrays = ['U', 'p'] case_foam.MeshRegions = ['internalMesh'] #Use node discretization instead of cell one. pointData = CellDatatoPointData(Input=case_foam) #Calculate Cp and Cg coefficients Cp = Calculator(Input=pointData) Cp.Function = 'p/(0.5*50*50)' Cp.ResultArrayName = 'Cp' Cg = Calculator(Input=Cp) Cg.Function = '(p+(0.5*(U.U)))/(0.5*50*50)' Cg.ResultArrayName = 'Cg' renderView_ = CreateRenderView() renderView_.ViewSize = [1920,1080] renderView_.InteractionMode ='2D' # Z SLICE #renderView_.CameraPosition = [1.104649161719515, 0.1483969716170493, 70.80596909030284] #renderView_.CameraFocalPoint = [1.104649161719515, 0.1483969716170493, 0.30000001192092896] #renderView_.CameraViewUp = [0.0, 1.0, 0.0] #renderView_.CameraParallelScale = 0.8642834397172128 # Y SLICE #renderView_.CameraPosition = [0.76, -70.50, 0.85] #renderView_.CameraFocalPoint = [0.76, 0.0, 0.85] #renderView_.CameraViewUp = [0.0, 0.0, 1.0] #renderView_.CameraParallelScale = 1.25 # X SLICE renderView_.CameraPosition = [16.89230484541337, 0.022500131777517626, 0.8954779729169607] renderView_.CameraFocalPoint = [0.5, 0.022500131777517626, 0.8954779729169607] renderView_.CameraViewUp = [0.0, 0.0, 1.0] renderView_.CameraParallelScale = 0.9233222262058975 cgCM_ = GetColorTransferFunction('Cg') cgCM_.RGBPoints = [-1.00, 0.0, 0.0, 1.0, 1.20, 1.0, 0.0, 0.0] cgCM_.ColorSpace = 'HSV' cgCM_.NanColor = [0.498039, 0.498039, 0.498039] cgCM_.ScalarRangeInitialized = 1.0 cgOM_ = GetOpacityTransferFunction('Cg') cgOM_.Points = [-1.00, -0.5, 0.0, 0.5, 1.0] cgOM_.ScalarRangeInitialized = 1 cgCMColorBar_ = GetScalarBar(cgCM_, renderView_) # Z SLICE #cgCMColorBar_.Position = [0.2924509803921572, 0.8569873380156294] #cgCMColorBar_.Position2 = [0.4299999999999994, 0.1200000000000001] # Y SLICE #cgCMColorBar_.Position = [0.30, 0.025] #cgCMColorBar_.Position2 = [0.45, 0.025] # X SLICE cgCMColorBar_.Position = [0.2675490196078431, 0.8524428726877044] cgCMColorBar_.Position2 = [0.42999999999999955, 0.11999999999999988] cgCMColorBar_.Orientation = 'Horizontal' cgCMColorBar_.Title = 'Cg' cgCMColorBar_.ComponentTitle = '' cgCMColorBar_.TextPosition = 'Ticks left/bottom, annotations right/top' cgCMColorBar_.RangeLabelFormat = '%4.3f' cgCMColorBar_.NumberOfLabels = 2 cgCMColorBar_.TitleBold = 1 cgCMColorBar_.TitleItalic = 1 cgCMColorBar_.LabelFontFamily = 'Courier' cgCMColorBar_.LabelBold = 1 cgCM_.LockScalarRange = 1 cgCM_.RescaleTransferFunction(-0.3, 1.2) cgOM_.RescaleTransferFunction(-0.3, 1.2) coord = xmin iteraz = 0 while coord < xmax: slice_ = Slice(Input=Cg) slice_.SliceType = 'Plane' slice_.SliceType.Origin = [coord, 0.000, 0.000] # slice_.SliceType.Origin = [0.000, coord, 0.000] # slice_.SliceType.Origin = [0.000, 0.000, coord] slice_.SliceType.Normal = [1.0, 0.0, 0.0] # slice_.SliceType.Normal = [0.0, 1.0, 0.0] # slice_.SliceType.Normal = [0.0, 0.0, 1.0] slice_.SliceOffsetValues = [0.0] slice_display_ = Show(slice_, renderView_) slice_display_.ColorArrayName = ['POINTS', 'Cg'] cgCM_.RescaleTransferFunction(-0.3, 1.2) cgOM_.RescaleTransferFunction(-0.3, 1.2) slice_display_.LookupTable = cgCM_ slice_display_.SetScalarBarVisibility(renderView_, True) name_file = '\\\\SERVER\\RUN_051\\postProcessing\\00%4.0d_img_%4.3f.png' % (iteraz, coord) Render(view=renderView_) SaveScreenshot(name_file, magnification=1, quality=100, view=renderView_) coord = coord + deltax iteraz = iteraz + 1 Delete(slice_) Delete(slice_display_) del slice_ del slice_display_ Delete(renderView_) del renderView_ -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Wed Apr 8 05:09:00 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Wed, 08 Apr 2015 12:09:00 +0300 Subject: [Paraview] problem in installing Paraview from source in MacOS Message-ID: <5524F02C.5080705@be.itu.edu.tr> Hi, I had a problem in the installation of Paraview fro the source. The make command gives error (at the end of the message) related with "QSQLITE driver". The code compiles without any problem until this step (63%) and i just wonder about the solution. I also found couple of threads related with this issue but i could not solve it. I also tried to install libqt4-sql-sqlite using macport but it did not help. By the way, i am using paraview version 4.3.1 along with Enthought Canopy (1.4.1) and MacOS 10.10.2. Regards, --ufuk ----- This warning is for project developers. Use -Wno-dev to suppress it. Generating done Build files have been written to: /Users/turuncu/Qsync/progs/paraview-4.3.1/Examples/All ======== End CMake output ====== Change Dir: /Users/turuncu/Qsync/progs/paraview-4.3.1/Examples/All Run Build Command:"/usr/bin/make" [ 1%] Compiling Qt help project SMMyElevation.qhp QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: Cannot open data base file /Users/turuncu/Qsync/progs/paraview-4.3.1/Examples/All/Plugins/Filter/doc/SMMyElevation.qch! Building up file structure... make[5]: *** [Plugins/Filter/doc/SMMyElevation.qch] Error 255 make[4]: *** [Plugins/Filter/CMakeFiles/SMMyElevation.dir/all] Error 2 make[3]: *** [all] Error 2 make[2]: *** [ParaViewExamples.done] Error 1 make[1]: *** [CMakeFiles/ParaViewExamples.dir/all] Error 2 make: *** [all] Error 2 ----- From shawn.waldon at kitware.com Wed Apr 8 10:20:33 2015 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Wed, 8 Apr 2015 10:20:33 -0400 Subject: [Paraview] problem in installing Paraview from source in MacOS In-Reply-To: <5524F02C.5080705@be.itu.edu.tr> References: <5524F02C.5080705@be.itu.edu.tr> Message-ID: It looks like the error is happening when building the examples. You might be able to get around it by rerunning CMake and turning the examples off unless you need the examples in your build. cd /path/to/build/dir cmake -DBUILD_EXAMPLES:BOOL=OFF . HTH, Shawn On Wed, Apr 8, 2015 at 5:09 AM, Ufuk Utku Turuncoglu (BE) < u.utku.turuncoglu at be.itu.edu.tr> wrote: > Hi, > > I had a problem in the installation of Paraview fro the source. The make > command gives error (at the end of the message) related with "QSQLITE > driver". The code compiles without any problem until this step (63%) and i > just wonder about the solution. I also found couple of threads related with > this issue but i could not solve it. I also tried to install > libqt4-sql-sqlite using macport but it did not help. By the way, i am using > paraview version 4.3.1 along with Enthought Canopy (1.4.1) and MacOS > 10.10.2. > > Regards, > > --ufuk > > ----- > This warning is for project developers. Use -Wno-dev to suppress it. > > Generating done > Build files have been written to: /Users/turuncu/Qsync/progs/ > paraview-4.3.1/Examples/All > ======== End CMake output ====== > Change Dir: /Users/turuncu/Qsync/progs/paraview-4.3.1/Examples/All > > Run Build Command:"/usr/bin/make" > [ 1%] Compiling Qt help project SMMyElevation.qhp > QSqlDatabase: QSQLITE driver not loaded > QSqlDatabase: available drivers: > Cannot open data base file /Users/turuncu/Qsync/progs/ > paraview-4.3.1/Examples/All/Plugins/Filter/doc/SMMyElevation.qch! > Building up file structure... > make[5]: *** [Plugins/Filter/doc/SMMyElevation.qch] Error 255 > make[4]: *** [Plugins/Filter/CMakeFiles/SMMyElevation.dir/all] Error 2 > make[3]: *** [all] Error 2 > make[2]: *** [ParaViewExamples.done] Error 1 > make[1]: *** [CMakeFiles/ParaViewExamples.dir/all] Error 2 > make: *** [all] Error 2 > ----- > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Apr 8 10:44:49 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 10:44:49 -0400 Subject: [Paraview] Slices generation with pvpython In-Reply-To: References: Message-ID: It's not clear what's doing on with out a sample dataset to try this out with. Can you share a dataset that will help reproduce the problem? Utkarsh On Wed, Apr 8, 2015 at 4:47 AM, Borchi Leonardo wrote: > Hi everybody, > > > > I have a problem when I tried to implement an automated procedure for > postprocessing analysis. > > I have wrote and run (from command prompt) the following script with > pvpython.exe. > > > > If the variable numberofslice is <= 20 the script run well, but if I try to > generate 40 slides for example, after the twenty one, for a couple of slide, > the image is blank. After that, the following slides are generated in a > correct manner. > > > > I have tried to change the py with different type of algorithm ( for, while, > if ) but the problem remain. > > > > Have you any ideas for resolve this strange issue?? > > > > Thanks for your support > > > > Leonardo > > > > #Import the simple module from the paraview > > from paraview.simple import * > > > > #Disable automatic camera reset on 'Show' > > paraview.simple._DisableFirstRenderCameraReset() > > > > #Create a new 'OpenFOAMReader' > > case_foam = OpenFOAMReader(FileName='\\\\SERVERCORSE\\RUN_051\\case.foam') > > (xmin,xmax,ymin,ymax,zmin,zmax) = case_foam.GetDataInformation().GetBounds() > > xmax = float(2.000) > > xmin = float(-0.200) > > ymax = float(0.250) > > ymin = float(-0.250) > > zmax = float(1.350) > > zmin = float(0.000) > > numberofslice = 20 > > deltax = (xmax-xmin)/numberofslice > > deltay = (ymax-ymin)/numberofslice > > deltaz = (zmax-zmin)/numberofslice > > case_foam.CellArrays = ['U', 'p'] > > case_foam.MeshRegions = ['internalMesh'] > > > > #Use node discretization instead of cell one. > > pointData = CellDatatoPointData(Input=case_foam) > > > > #Calculate Cp and Cg coefficients > > Cp = Calculator(Input=pointData) > > Cp.Function = 'p/(0.5*50*50)' > > Cp.ResultArrayName = 'Cp' > > Cg = Calculator(Input=Cp) > > Cg.Function = '(p+(0.5*(U.U)))/(0.5*50*50)' > > Cg.ResultArrayName = 'Cg' > > > > renderView_ = CreateRenderView() > > renderView_.ViewSize = [1920,1080] > > renderView_.InteractionMode ='2D' > > > > # Z SLICE > > #renderView_.CameraPosition = [1.104649161719515, 0.1483969716170493, > 70.80596909030284] > > #renderView_.CameraFocalPoint = [1.104649161719515, 0.1483969716170493, > 0.30000001192092896] > > #renderView_.CameraViewUp = [0.0, 1.0, 0.0] > > #renderView_.CameraParallelScale = 0.8642834397172128 > > > > # Y SLICE > > #renderView_.CameraPosition = [0.76, -70.50, 0.85] > > #renderView_.CameraFocalPoint = [0.76, 0.0, 0.85] > > #renderView_.CameraViewUp = [0.0, 0.0, 1.0] > > #renderView_.CameraParallelScale = 1.25 > > > > # X SLICE > > renderView_.CameraPosition = [16.89230484541337, 0.022500131777517626, > 0.8954779729169607] > > renderView_.CameraFocalPoint = [0.5, 0.022500131777517626, > 0.8954779729169607] > > renderView_.CameraViewUp = [0.0, 0.0, 1.0] > > renderView_.CameraParallelScale = 0.9233222262058975 > > > > cgCM_ = GetColorTransferFunction('Cg') > > cgCM_.RGBPoints = [-1.00, 0.0, 0.0, 1.0, 1.20, 1.0, 0.0, 0.0] > > cgCM_.ColorSpace = 'HSV' > > cgCM_.NanColor = [0.498039, 0.498039, 0.498039] > > cgCM_.ScalarRangeInitialized = 1.0 > > > > cgOM_ = GetOpacityTransferFunction('Cg') > > cgOM_.Points = [-1.00, -0.5, 0.0, 0.5, 1.0] > > cgOM_.ScalarRangeInitialized = 1 > > > > cgCMColorBar_ = GetScalarBar(cgCM_, renderView_) > > > > # Z SLICE > > #cgCMColorBar_.Position = [0.2924509803921572, 0.8569873380156294] > > #cgCMColorBar_.Position2 = [0.4299999999999994, 0.1200000000000001] > > > > # Y SLICE > > #cgCMColorBar_.Position = [0.30, 0.025] > > #cgCMColorBar_.Position2 = [0.45, 0.025] > > > > # X SLICE > > cgCMColorBar_.Position = [0.2675490196078431, 0.8524428726877044] > > cgCMColorBar_.Position2 = [0.42999999999999955, 0.11999999999999988] > > > > cgCMColorBar_.Orientation = 'Horizontal' > > cgCMColorBar_.Title = 'Cg' > > cgCMColorBar_.ComponentTitle = '' > > cgCMColorBar_.TextPosition = 'Ticks left/bottom, annotations right/top' > > cgCMColorBar_.RangeLabelFormat = '%4.3f' > > cgCMColorBar_.NumberOfLabels = 2 > > cgCMColorBar_.TitleBold = 1 > > cgCMColorBar_.TitleItalic = 1 > > cgCMColorBar_.LabelFontFamily = 'Courier' > > cgCMColorBar_.LabelBold = 1 > > cgCM_.LockScalarRange = 1 > > cgCM_.RescaleTransferFunction(-0.3, 1.2) > > cgOM_.RescaleTransferFunction(-0.3, 1.2) > > > > coord = xmin > > iteraz = 0 > > > > while coord < xmax: > > > > slice_ = Slice(Input=Cg) > > slice_.SliceType = 'Plane' > > slice_.SliceType.Origin = [coord, 0.000, 0.000] > > # slice_.SliceType.Origin = [0.000, coord, 0.000] > > # slice_.SliceType.Origin = [0.000, 0.000, coord] > > slice_.SliceType.Normal = [1.0, 0.0, 0.0] > > # slice_.SliceType.Normal = [0.0, 1.0, 0.0] > > # slice_.SliceType.Normal = [0.0, 0.0, 1.0] > > slice_.SliceOffsetValues = [0.0] > > > > slice_display_ = Show(slice_, renderView_) > > slice_display_.ColorArrayName = ['POINTS', 'Cg'] > > cgCM_.RescaleTransferFunction(-0.3, 1.2) > > cgOM_.RescaleTransferFunction(-0.3, 1.2) > > slice_display_.LookupTable = cgCM_ > > slice_display_.SetScalarBarVisibility(renderView_, > True) > > > > name_file = > '\\\\SERVER\\RUN_051\\postProcessing\\00%4.0d_img_%4.3f.png' % (iteraz, > coord) > > > > Render(view=renderView_) > > > > SaveScreenshot(name_file, magnification=1, > quality=100, view=renderView_) > > > > coord = coord + deltax > > iteraz = iteraz + 1 > > > > Delete(slice_) > > Delete(slice_display_) > > > > del slice_ > > del slice_display_ > > > > Delete(renderView_) > > del renderView_ > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed Apr 8 10:50:41 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 10:50:41 -0400 Subject: [Paraview] plot contour in ParaView In-Reply-To: <7595441C-68CD-4149-B167-DD946C9E8FD8@gatech.edu> References: <7057C6ED-F73B-41EF-BBFA-C50C2F9D4A08@gatech.edu> <7595441C-68CD-4149-B167-DD946C9E8FD8@gatech.edu> Message-ID: I am correct that your dataset is just a point-cloud or am I missing something? If it is a point cloud, how are you contouring it, in the first place? The contour filter cannot be applied to a point cloud. Utkarsh On Tue, Apr 7, 2015 at 4:35 PM, Yifei wrote: > Please find the dataset in the attachment. > > Thanks, > Yifei > > > > >> On Apr 7, 2015, at 4:28 PM, Utkarsh Ayachit wrote: >> >> If you can share a sample dataset to illustrate the problem, it may help. >> >> Utkarsh >> >> On Tue, Apr 7, 2015 at 4:13 PM, Yifei wrote: >>> Hi, >>> >>> I just double checked. I did check the "Compute Scalars" option. >>> >>> Best, >>> Yifei >>> >>>> On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit wrote: >>>> >>>>> How can I use damage or velocity as the coloring options? >>>> >>>> Make sure you have "Compute Scalars" option checked on the >>>> "Properties" panel for the Contour filter. >>>> >>>> Utkarsh >>> > > From utkarsh.ayachit at kitware.com Wed Apr 8 11:49:30 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 11:49:30 -0400 Subject: [Paraview] Using VTK Filters with Programmable Filter In-Reply-To: References: Message-ID: Livia, With VTK 6, there's no need create a shallow copy of the input. BTW, the ParaView Guide (http://www.paraview.org/paraview-guide/) is indeed the latest irrespective of the page count :). Utkarsh On Tue, Apr 7, 2015 at 3:47 AM, wrote: > Hi, > > I have a question about the use of vtk filter. At page 91 of the paraview > manual included in the binaries download, it is suggested to make a copy of > the input ( > > input_copy = inputs[0].NewInstance() > > input_copy.UnRegister(None) > > input_copy.ShallowCopy(inputs[0].VTKObject) ) , but the reference is to the > previous version of VTK. Does this still hold for VTK 6? > > In the paraview guide available for download under ?documentation?, this > issue is not mentioned (but the guide is also shorter). I have been using > the filter without making copy of the input and I haven?t the impression of > memory leaks in my code > > Livia > > > > > > Livia Barazzetti > Ph.D. Student - Medical Image Analysis > Institute for Surgical Technology and Biomechanics > University of Bern > Stauffacherstrasse 78 > CH-3014 Bern > Tel +41 31 631 59 48 > http://www.istb.unibe.ch > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed Apr 8 11:52:31 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 11:52:31 -0400 Subject: [Paraview] Get block ids for ExtractBlock In-Reply-To: References: Message-ID: Antoine, Are you looking to get the block names in a Programmable Filter, or in pvpython script? On Fri, Apr 3, 2015 at 10:09 AM, Antoine Dechaume wrote: > Dear list, > > I'm using python and I'd like to use the ExtractBlock filter on a multi > block data set that was read from a .vtm file. > I'm struggling to find the block indices that match a given block name from > the object returned by the reader, any help is welcome. > > Cheers, > Antoine. > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From lyon at fnal.gov Wed Apr 8 11:52:44 2015 From: lyon at fnal.gov (Adam Lyon) Date: Wed, 8 Apr 2015 10:52:44 -0500 Subject: [Paraview] Using VTK Filters with Programmable Filter In-Reply-To: <6d1eecdc7a2e4c068b875aa4a68c18d9@MAIL04V-CAS03.fnal.gov> References: <6d1eecdc7a2e4c068b875aa4a68c18d9@MAIL04V-CAS03.fnal.gov> Message-ID: Hi Utkarsh - Do you all update PDF from time to time or is it the same as when it was first released? If you do update it, is there a way to find that out (aside from downloading it again every so often). Thanks! -- Adam *------* *Adam L. Lyon* *Scientist; Associate Division Head for Systems for Scientific Applications* Scientific Computing Division & Muon g-2 Experiment Fermi National Accelerator Laboratory 630 840 5522 office www.fnal.gov lyon at fnal.gov Connect with us! Newsletter | Facebook | Twitter On Wed, Apr 8, 2015 at 10:49 AM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Livia, > > With VTK 6, there's no need create a shallow copy of the input. > > BTW, the ParaView Guide (http://www.paraview.org/paraview-guide/) is > indeed the latest irrespective of the page count :). > > Utkarsh > > On Tue, Apr 7, 2015 at 3:47 AM, wrote: > > Hi, > > > > I have a question about the use of vtk filter. At page 91 of the paraview > > manual included in the binaries download, it is suggested to make a > copy of > > the input ( > > > > input_copy = inputs[0].NewInstance() > > > > input_copy.UnRegister(None) > > > > input_copy.ShallowCopy(inputs[0].VTKObject) ) , but the reference is to > the > > previous version of VTK. Does this still hold for VTK 6? > > > > In the paraview guide available for download under ?documentation?, this > > issue is not mentioned (but the guide is also shorter). I have been using > > the filter without making copy of the input and I haven?t the impression > of > > memory leaks in my code > > > > Livia > > > > > > > > > > > > Livia Barazzetti > > Ph.D. Student - Medical Image Analysis > > Institute for Surgical Technology and Biomechanics > > University of Bern > > Stauffacherstrasse 78 > > CH-3014 Bern > > Tel +41 31 631 59 48 > > http://www.istb.unibe.ch > > > > > > > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Apr 8 11:55:09 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 11:55:09 -0400 Subject: [Paraview] Using VTK Filters with Programmable Filter In-Reply-To: References: <6d1eecdc7a2e4c068b875aa4a68c18d9@MAIL04V-CAS03.fnal.gov> Message-ID: It's not updated yet, but we have plans to setup a "builder" to build a new version of the PDF everytime the LaTeX files are updated. It isn't in place yet, however. On Wed, Apr 8, 2015 at 11:52 AM, Adam Lyon wrote: > Hi Utkarsh - Do you all update PDF from time to time or is it the same as > when it was first released? If you do update it, is there a way to find that > out (aside from downloading it again every so often). Thanks! -- Adam > > ------ > > Adam L. Lyon > Scientist; Associate Division Head for Systems for Scientific Applications > > Scientific Computing Division & Muon g-2 Experiment > Fermi National Accelerator Laboratory > 630 840 5522 office > www.fnal.gov > lyon at fnal.gov > > Connect with us! > Newsletter | Facebook | Twitter > > On Wed, Apr 8, 2015 at 10:49 AM, Utkarsh Ayachit > wrote: >> >> Livia, >> >> With VTK 6, there's no need create a shallow copy of the input. >> >> BTW, the ParaView Guide (http://www.paraview.org/paraview-guide/) is >> indeed the latest irrespective of the page count :). >> >> Utkarsh >> >> On Tue, Apr 7, 2015 at 3:47 AM, wrote: >> > Hi, >> > >> > I have a question about the use of vtk filter. At page 91 of the >> > paraview >> > manual included in the binaries download, it is suggested to make a >> > copy of >> > the input ( >> > >> > input_copy = inputs[0].NewInstance() >> > >> > input_copy.UnRegister(None) >> > >> > input_copy.ShallowCopy(inputs[0].VTKObject) ) , but the reference is to >> > the >> > previous version of VTK. Does this still hold for VTK 6? >> > >> > In the paraview guide available for download under ?documentation?, >> > this >> > issue is not mentioned (but the guide is also shorter). I have been >> > using >> > the filter without making copy of the input and I haven?t the impression >> > of >> > memory leaks in my code >> > >> > Livia >> > >> > >> > >> > >> > >> > Livia Barazzetti >> > Ph.D. Student - Medical Image Analysis >> > Institute for Surgical Technology and Biomechanics >> > University of Bern >> > Stauffacherstrasse 78 >> > CH-3014 Bern >> > Tel +41 31 631 59 48 >> > http://www.istb.unibe.ch >> > >> > >> > >> > >> > _______________________________________________ >> > 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 >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > From utkarsh.ayachit at kitware.com Wed Apr 8 11:57:11 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 11:57:11 -0400 Subject: [Paraview] Using VTK Filters with Programmable Filter In-Reply-To: References: <6d1eecdc7a2e4c068b875aa4a68c18d9@MAIL04V-CAS03.fnal.gov> Message-ID: > If you do update it, is there a way to find that > out (aside from downloading it again every so often). Thanks! -- Adam We can put a revision number of sorts, on the PDF to know that the PDF online is different from what you downloaded before. I am not sure how to setup notifications that a new revision is available, however. From utkarsh.ayachit at kitware.com Wed Apr 8 11:57:48 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 11:57:48 -0400 Subject: [Paraview] Lights in ParaView In-Reply-To: References: Message-ID: I am afraid this is not currently supported. On Wed, Apr 1, 2015 at 10:00 AM, Joe Young wrote: > Hello everyone, > > Is there a way to add a vtkLight source into ParaView? > I would like to position lights separately and avoid using the LightKit. > > Thanks in advance. > > Regards, > Joe. > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Wed Apr 8 12:02:21 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 12:02:21 -0400 Subject: [Paraview] TextureMapToSphere seam problem In-Reply-To: <55105042.5090404@lsce.ipsl.fr> References: <55105042.5090404@lsce.ipsl.fr> Message-ID: Patrick, Simply check the "Prevent Seam" checkbox on the Properties panel for the "TextureMapToSphere" filter and the seam will disappear. Utkarsh On Mon, Mar 23, 2015 at 1:41 PM, Patrick Brockmann wrote: > Hi, > > I have a "ghost wrapped image" at the seam when I apply a texture to > a sphere source. > > I don't know how to figure out this problem. > Attached 2 captures. > Let me know if I have misunderstood something or if there is a workaround. > Tested with 4.3.1 64-bit Linux > > Regards > Patrick > > -- > LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ > Data Analysis and Visualization Engineer > ICMC - IPSL Climate Modelling Centre > -- > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: sample.png Type: image/png Size: 159718 bytes Desc: not available URL: From Patrick.Brockmann at lsce.ipsl.fr Wed Apr 8 12:19:42 2015 From: Patrick.Brockmann at lsce.ipsl.fr (Patrick Brockmann) Date: Wed, 08 Apr 2015 18:19:42 +0200 Subject: [Paraview] TextureMapToSphere seam problem In-Reply-To: References: <55105042.5090404@lsce.ipsl.fr> Message-ID: <5525551E.8070406@lsce.ipsl.fr> Le 08/04/2015 18:02, Utkarsh Ayachit a ?crit : > Patrick, > > Simply check the "Prevent Seam" checkbox on the Properties panel for > the "TextureMapToSphere" filter and the seam will disappear. Hi, When you apply "Prevent Seam", it solves the problem but then you get a mirrored copy of the texture. Have a look to the continents displayed. Thanks Patrick >> Hi, >> >> I have a "ghost wrapped image" at the seam when I apply a texture to >> a sphere source. >> >> I don't know how to figure out this problem. >> Attached 2 captures. >> Let me know if I have misunderstood something or if there is a workaround. >> Tested with 4.3.1 64-bit Linux >> >> Regards >> Patrick >> >> -- >> LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ >> Data Analysis and Visualization Engineer >> ICMC - IPSL Climate Modelling Centre >> -- >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> -- LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ Data Analysis and Visualization Engineer ICMC - IPSL Climate Modelling Centre -- From utkarsh.ayachit at kitware.com Wed Apr 8 12:27:43 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 12:27:43 -0400 Subject: [Paraview] TextureMapToSphere seam problem In-Reply-To: <5525551E.8070406@lsce.ipsl.fr> References: <55105042.5090404@lsce.ipsl.fr> <5525551E.8070406@lsce.ipsl.fr> Message-ID: Ah....nvm :), this is indeed a bug. Feel free to report using the URL Christophe pointed to. One way to solve this would be create a new source that duplicates the points along the edge to avoid that interpolation between the texture coordinates at the seam. Thanks Utkarsh On Wed, Apr 8, 2015 at 12:19 PM, Patrick Brockmann wrote: > Le 08/04/2015 18:02, Utkarsh Ayachit a ?crit : >> >> Patrick, >> >> Simply check the "Prevent Seam" checkbox on the Properties panel for >> the "TextureMapToSphere" filter and the seam will disappear. > > Hi, > When you apply "Prevent Seam", it solves the problem but > then you get a mirrored copy of the texture. > Have a look to the continents displayed. > Thanks > Patrick > >>> Hi, >>> >>> I have a "ghost wrapped image" at the seam when I apply a texture to >>> a sphere source. >>> >>> I don't know how to figure out this problem. >>> Attached 2 captures. >>> Let me know if I have misunderstood something or if there is a >>> workaround. >>> Tested with 4.3.1 64-bit Linux >>> >>> Regards >>> Patrick >>> >>> -- >>> LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ >>> Data Analysis and Visualization Engineer >>> ICMC - IPSL Climate Modelling Centre >>> -- >>> >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> > > > -- > LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ > Data Analysis and Visualization Engineer > ICMC - IPSL Climate Modelling Centre > -- > From jeffrey.c.becker at nasa.gov Wed Apr 8 12:44:55 2015 From: jeffrey.c.becker at nasa.gov (Jeff Becker) Date: Wed, 8 Apr 2015 09:44:55 -0700 Subject: [Paraview] build errors Message-ID: <55255B07.7060200@nasa.gov> Hi. I'm trying to build paraview from source. It almost completes, but I get: (paths removed for simplicity) $ make ... Scanning dependencies of target pvbatch [100%] Building CXX object CommandLineExecutables/CMakeFiles/pvbatch.dir/pvbatch.cxx.o Linking CXX executable ../bin/pvbatch libXrender.so.1: undefined reference to `_XEatDataWords' libxcb-xlib.so.0: undefined reference to `_xcb_lock_io' libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io' libXrender.so.1: undefined reference to `_XGetRequest' collect2: ld returned 1 exit status make[2]: *** [bin/pvbatch] Error 1 make[1]: *** [CommandLineExecutables/CMakeFiles/pvbatch.dir/all] Error 2 make: *** [all] Error 2 I tried "make paraview" to avoid building pvbatch (which I don't really need), but I got the same error. Any help is appreciated. Thanks. -jeff From utkarsh.ayachit at kitware.com Wed Apr 8 13:26:56 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 13:26:56 -0400 Subject: [Paraview] Get block ids for ExtractBlock In-Reply-To: References: Message-ID: Antoine, Here's a sample script you can use in a Programmable Filter (since it's easier in Programmable Filter than pvpython). https://gitlab.kitware.com/paraview/paraview/snippets/1 Utkarsh On Wed, Apr 8, 2015 at 12:16 PM, Antoine Dechaume wrote: > Hi Utkarsh, > > I'm currently working with a pvpython script as I find it easier to toy > with, but my goal is to create a filter. > > On Wed, Apr 8, 2015 at 5:52 PM, Utkarsh Ayachit > wrote: >> >> Antoine, >> >> Are you looking to get the block names in a Programmable Filter, or in >> pvpython script? >> >> On Fri, Apr 3, 2015 at 10:09 AM, Antoine Dechaume >> wrote: >> > Dear list, >> > >> > I'm using python and I'd like to use the ExtractBlock filter on a multi >> > block data set that was read from a .vtm file. >> > I'm struggling to find the block indices that match a given block name >> > from >> > the object returned by the reader, any help is welcome. >> > >> > Cheers, >> > Antoine. >> > >> > _______________________________________________ >> > 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 >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > > > From utkarsh.ayachit at kitware.com Wed Apr 8 13:31:25 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 13:31:25 -0400 Subject: [Paraview] build errors In-Reply-To: <55255B07.7060200@nasa.gov> References: <55255B07.7060200@nasa.gov> Message-ID: Seems like a X issue. I wonder if this helps: http://www.linuxquestions.org/questions/linux-from-scratch-13/undefined-reference-to-%60_xeatdatawords%27-4175525638/ Utkarsh On Wed, Apr 8, 2015 at 12:44 PM, Jeff Becker wrote: > Hi. I'm trying to build paraview from source. It almost completes, but I > get: (paths removed for simplicity) > > $ make > ... > Scanning dependencies of target pvbatch > [100%] Building CXX object > CommandLineExecutables/CMakeFiles/pvbatch.dir/pvbatch.cxx.o > Linking CXX executable ../bin/pvbatch > libXrender.so.1: undefined reference to `_XEatDataWords' > libxcb-xlib.so.0: undefined reference to `_xcb_lock_io' > libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io' > libXrender.so.1: undefined reference to `_XGetRequest' > collect2: ld returned 1 exit status > make[2]: *** [bin/pvbatch] Error 1 > make[1]: *** [CommandLineExecutables/CMakeFiles/pvbatch.dir/all] Error 2 > make: *** [all] Error 2 > > I tried "make paraview" to avoid building pvbatch (which I don't really > need), but I got the same error. > > Any help is appreciated. Thanks. > > -jeff > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Wed Apr 8 13:33:18 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 13:33:18 -0400 Subject: [Paraview] Double property slider with integer rather than float In-Reply-To: <55195F51.2080909@lsce.ipsl.fr> References: <55195F51.2080909@lsce.ipsl.fr> Message-ID: > Is it possible to configure a"Double property slider" to display integer > rather than float > from Paraview XML GUI Parameters ? I am afraid not. This is not currently supported. Utkarsh From utkarsh.ayachit at kitware.com Wed Apr 8 13:40:17 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 13:40:17 -0400 Subject: [Paraview] running a python script with new PV variables created with the calculator In-Reply-To: References: Message-ID: Cihan, Hard to say. Do you have a sample dataset + state file to help reproduce the issue? Thanks Utkarsh On Tue, Mar 31, 2015 at 1:01 PM, Cihan A wrote: > Dear Paraviewers, > > I have very recently begun to use PV (been a VisItor up to this point) so > there are a lot of features with which I am not entirely familiar. I am > trying to run a python script which does some math then stream > tracing on two vectors variables "e" and "b". My code dumps out components > of each vector field > , which I read into PV > where they appear as point data.. I t > hen combine > this data > into vectors "e" and "b" with PV's calculator feature. After this step I run > my python script from Tools->Python Shell. The script (attached it as > fieldl_line.py -- looks terrible when opened with Vim) does not get very far > and complains about various things. I attached the log file entitled PVlog. > I cannot decipher > some of > these messages but I have a strong suspicion the inputs variable does not > get populated correctly or the script cannot find "e" and "b". Any ideas > where I have gone wrong? Is there an intermediate step after defining new > variables on the calculator to make the script aware of the existence of "e" > and "b". I plotted these new vector variables on PV without any issue. > > Thank you very much for your time and interest. > > -- > Cihan > > > > > -- > Cihan > > > > -- > Cihan > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed Apr 8 13:47:23 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 13:47:23 -0400 Subject: [Paraview] may be a typo? (CMake/smxml_to_xml.xsl) In-Reply-To: <20150327.165440.64549290.furutaka.kazuyoshi@jaea.go.jp> References: <20150327.165440.64549290.furutaka.kazuyoshi@jaea.go.jp> Message-ID: Thanks for the patch! I've created a merge-request for the same. It'll be merged in master soon. https://gitlab.kitware.com/paraview/paraview/merge_requests/49 Utkarsh On Fri, Mar 27, 2015 at 3:54 AM, Kazuyoshi Furutaka wrote: > diff --git a/CMake/smxml_to_xml.xsl b/CMake/smxml_to_xml.xsl > index 4b00e2a..fa4c77e 100644 > --- a/CMake/smxml_to_xml.xsl > +++ b/CMake/smxml_to_xml.xsl > @@ -124,7 +124,7 @@ > > > > - The dataset much contain a field array () > + The dataset must contain a field array () > > with component(s). > > -- > Kazuyoshi Furutaka > furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Wed Apr 8 13:48:31 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 13:48:31 -0400 Subject: [Paraview] modify data (cell data) from Spreadsheet View In-Reply-To: <711-55147700-77-2b866bc0@242178987> References: <711-55147700-77-2b866bc0@242178987> Message-ID: > The Spreadsheet View presents nicely selected cells but > only in my understanding in a read mode. That is correct. ParaView is not really designed for "editing" data in this way. One applies filters to change/modify data. Utkarsh From yma74 at gatech.edu Wed Apr 8 13:52:22 2015 From: yma74 at gatech.edu (Yifei) Date: Wed, 8 Apr 2015 13:52:22 -0400 Subject: [Paraview] plot contour in ParaView In-Reply-To: References: <7057C6ED-F73B-41EF-BBFA-C50C2F9D4A08@gatech.edu> <7595441C-68CD-4149-B167-DD946C9E8FD8@gatech.edu> Message-ID: <4D371BF9-E104-444C-872C-3BD73FA0EF83@gatech.edu> It is point cloud. What data type could the contour filter apply to? Is it possible to convert dump files from LAMMPS to this type of data? Thanks for your kindly help. Yifei > On Apr 8, 2015, at 10:50 AM, Utkarsh Ayachit wrote: > > I am correct that your dataset is just a point-cloud or am I missing > something? If it is a point cloud, how are you contouring it, in the > first place? The contour filter cannot be applied to a point cloud. > > Utkarsh > > > > On Tue, Apr 7, 2015 at 4:35 PM, Yifei wrote: >> Please find the dataset in the attachment. >> >> Thanks, >> Yifei >> >> >> >> >>> On Apr 7, 2015, at 4:28 PM, Utkarsh Ayachit wrote: >>> >>> If you can share a sample dataset to illustrate the problem, it may help. >>> >>> Utkarsh >>> >>> On Tue, Apr 7, 2015 at 4:13 PM, Yifei wrote: >>>> Hi, >>>> >>>> I just double checked. I did check the "Compute Scalars" option. >>>> >>>> Best, >>>> Yifei >>>> >>>>> On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit wrote: >>>>> >>>>>> How can I use damage or velocity as the coloring options? >>>>> >>>>> Make sure you have "Compute Scalars" option checked on the >>>>> "Properties" panel for the Contour filter. >>>>> >>>>> Utkarsh >>>> >> >> From utkarsh.ayachit at kitware.com Wed Apr 8 13:54:23 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 13:54:23 -0400 Subject: [Paraview] Add plugin for a particular cmake target only In-Reply-To: References: Message-ID: The name of the plugin is the default name for the target used. If you want to create another target, you can indeed use add_dependecies[1] to add dependency on the new target to the target created by add_paraview_plugin(). [1] http://www.cmake.org/cmake/help/v3.0/command/add_dependencies.html On Tue, Mar 24, 2015 at 1:21 PM, Gonzalo Brito Gadeschi wrote: > When I add a paraview plugin to my cmake project via: > > add_paraview_plugin(...) > > The plugin is compiled with just "make". > > It is possible to allow e.g. compiling the plugin via "make my_target" > using: > > add_dependencies(my_target MyPlugin) > > Is it possible to avoid that the plugin is automatically compiled via "make" > (without target)? That is, to control to which cmake target > add_paraview_plugin adds the plugin too? > > Bests, > Gonzalo BG > > -- > Dipl.-Ing. Gonzalo Brito Gadeschi > Institute of Aerodynamics and Chair of Fluid Mechanics > RWTH Aachen University > Wuellnerstra?e 5a > D-52062 Aachen > Germany > Phone: ++49-(0)241-80-94821 > Fax: ++49-(0)241-80-92257 > E-mail: g.brito at aia.rwth-aachen.de > Internet: www.aia.rwth-aachen.de > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed Apr 8 13:57:25 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 13:57:25 -0400 Subject: [Paraview] plot contour in ParaView In-Reply-To: <4D371BF9-E104-444C-872C-3BD73FA0EF83@gatech.edu> References: <7057C6ED-F73B-41EF-BBFA-C50C2F9D4A08@gatech.edu> <7595441C-68CD-4149-B167-DD946C9E8FD8@gatech.edu> <4D371BF9-E104-444C-872C-3BD73FA0EF83@gatech.edu> Message-ID: Yifei, Contouring as an operation doesn't make much sense for point clouds. The question would be what is your end goal? What information do you want to extract from the point could? Maybe I can suggestion alternative operations that can help you achieve that. Utkarsh On Wed, Apr 8, 2015 at 1:52 PM, Yifei wrote: > It is point cloud. What data type could the contour filter apply to? Is it possible to convert dump files from LAMMPS to this type of data? > > Thanks for your kindly help. > Yifei > >> On Apr 8, 2015, at 10:50 AM, Utkarsh Ayachit wrote: >> >> I am correct that your dataset is just a point-cloud or am I missing >> something? If it is a point cloud, how are you contouring it, in the >> first place? The contour filter cannot be applied to a point cloud. >> >> Utkarsh >> >> >> >> On Tue, Apr 7, 2015 at 4:35 PM, Yifei wrote: >>> Please find the dataset in the attachment. >>> >>> Thanks, >>> Yifei >>> >>> >>> >>> >>>> On Apr 7, 2015, at 4:28 PM, Utkarsh Ayachit wrote: >>>> >>>> If you can share a sample dataset to illustrate the problem, it may help. >>>> >>>> Utkarsh >>>> >>>> On Tue, Apr 7, 2015 at 4:13 PM, Yifei wrote: >>>>> Hi, >>>>> >>>>> I just double checked. I did check the "Compute Scalars" option. >>>>> >>>>> Best, >>>>> Yifei >>>>> >>>>>> On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit wrote: >>>>>> >>>>>>> How can I use damage or velocity as the coloring options? >>>>>> >>>>>> Make sure you have "Compute Scalars" option checked on the >>>>>> "Properties" panel for the Contour filter. >>>>>> >>>>>> Utkarsh >>>>> >>> >>> > From utkarsh.ayachit at kitware.com Wed Apr 8 13:58:31 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 13:58:31 -0400 Subject: [Paraview] Load text file delimited by tab In-Reply-To: References: Message-ID: Yes, this is indeed not supported. Feel free to add a bug report to the paraview bug tracker (http://paraview.org/Bug). Utkarsh On Wed, Mar 25, 2015 at 4:24 AM, wrote: > Hello, > > As an update to this issue (not being able to set tab as field delimiter > character for the csv reader in the gui ? it works only copy&pasting or > setting the field delimiter in python shell), I just found out that this > setting is also not loaded from the .pvsm file in paraview 4.3.1, while it > was in paraview 4.1.0 > > > > Regards > > Livia Barazzetti > > > > > > > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed Apr 8 14:02:30 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 14:02:30 -0400 Subject: [Paraview] colormap nan opacity In-Reply-To: <898A359B-611B-49D5-A736-10DC2CF5B09B@kitware.com> References: <898A359B-611B-49D5-A736-10DC2CF5B09B@kitware.com> Message-ID: > I haven't worked with rectilinear grids in a while... but at least one structured-data PV representation accepts a blanking array. If you're going this route, make sure you have the latest ParaView (from git/master) which includes this fix [1] [1] https://gitlab.kitware.com/paraview/paraview/commit/bfcc2237d1aad43309177934272699653fe3a425 From utkarsh.ayachit at kitware.com Wed Apr 8 14:04:35 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 14:04:35 -0400 Subject: [Paraview] Vector Glyph with FieldData In-Reply-To: <65B6BF06-6FD1-4729-8AB8-ECFFA12D69F7@gmail.com> References: <65B6BF06-6FD1-4729-8AB8-ECFFA12D69F7@gmail.com> Message-ID: Mind sharing a sample dataset? That'll make things easier. Thanks Utkarsh On Wed, Mar 4, 2015 at 3:22 AM, ABE Hiroshi wrote: > Dear All, > > I am new to the ParaView. > The software is quite nice and I can use it without any problems in many cases. > But I get a trouble in rendering 2D vector with my vtk file which contains ?Field Data? that is: > > # vtk DataFile Version 2.0 > mag.vtk, Created by Freefem++ > ASCII > DATASET UNSTRUCTURED_GRID > POINTS 46764 float > ? > FIELD FieldData 1 > mag.field 2 94956 float > 2.45639014e+00 -6.87174034e+00 1.62697911e+00 -8.08913136e+00 > ? > > This is actually 2D FEM magnetic field data (Hx, Hy) produced by FreeFem++. > > Loading the vtk file(mag.vtk) to ParaView and I can see ?mag.field? in the ParaView?s menu and ?Magnitude/X/Y? next to the menu. > Then select ?mag.vtk? in Pipeline Browser and click Glyph icon in the ParaView menu to see some weird Arrow in RenderView window. > I expect something in ?Vectors? in "Active Attributes? in ?Properties? panel but the menu is empty. > > I would be really obliged if you could tell me the missing things in my procedure to show vector field with Arrow Glyph. > > My Env. is : > > iMac 21.5 inch Late 2013 (16GB main memory, Core i5 2.9GHz, NVIDIA GeForce GT 750M) > Mac OS X 10.9.5 > ParaView 4.3.1 64 bit > > And I have some documents, > > ParaViewTutorial42.pdf > TheParaViewGuide-v4.3-CC-Edition.pdf > > ABE Hiroshi > from Tokorozawa, JAPAN > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From yma74 at gatech.edu Wed Apr 8 14:11:53 2015 From: yma74 at gatech.edu (Yifei) Date: Wed, 8 Apr 2015 14:11:53 -0400 Subject: [Paraview] plot contour in ParaView In-Reply-To: References: <7057C6ED-F73B-41EF-BBFA-C50C2F9D4A08@gatech.edu> <7595441C-68CD-4149-B167-DD946C9E8FD8@gatech.edu> <4D371BF9-E104-444C-872C-3BD73FA0EF83@gatech.edu> Message-ID: <1CD22E77-D158-44E7-B521-C76078DC4C6F@gatech.edu> Thanks for your reply. My goal is to plot stress contour for my simulation results. It seems to me that when I use pizza.py to convert dump file from LAMMPS into other file types, the data is always point data (coordinate and value at a point). So I wonder if I could convert the dump file into certain file types ParaView could use to plot contours? As far as I know, in MATLAB I could use griddata function to interpolate scattered data (point data in 2D). Then use contourf function to generate contours. I wonder if ParaView provides similar functions like griddata to convert the input data, then apply the contour filter? Thanks, Yifei > On Apr 8, 2015, at 1:57 PM, Utkarsh Ayachit wrote: > > Yifei, > > Contouring as an operation doesn't make much sense for point clouds. > The question would be what is your end goal? What information do you > want to extract from the point could? Maybe I can suggestion > alternative operations that can help you achieve that. > > Utkarsh > > On Wed, Apr 8, 2015 at 1:52 PM, Yifei wrote: >> It is point cloud. What data type could the contour filter apply to? Is it possible to convert dump files from LAMMPS to this type of data? >> >> Thanks for your kindly help. >> Yifei >> >>> On Apr 8, 2015, at 10:50 AM, Utkarsh Ayachit wrote: >>> >>> I am correct that your dataset is just a point-cloud or am I missing >>> something? If it is a point cloud, how are you contouring it, in the >>> first place? The contour filter cannot be applied to a point cloud. >>> >>> Utkarsh >>> >>> >>> >>> On Tue, Apr 7, 2015 at 4:35 PM, Yifei wrote: >>>> Please find the dataset in the attachment. >>>> >>>> Thanks, >>>> Yifei >>>> >>>> >>>> >>>> >>>>> On Apr 7, 2015, at 4:28 PM, Utkarsh Ayachit wrote: >>>>> >>>>> If you can share a sample dataset to illustrate the problem, it may help. >>>>> >>>>> Utkarsh >>>>> >>>>> On Tue, Apr 7, 2015 at 4:13 PM, Yifei wrote: >>>>>> Hi, >>>>>> >>>>>> I just double checked. I did check the "Compute Scalars" option. >>>>>> >>>>>> Best, >>>>>> Yifei >>>>>> >>>>>>> On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit wrote: >>>>>>> >>>>>>>> How can I use damage or velocity as the coloring options? >>>>>>> >>>>>>> Make sure you have "Compute Scalars" option checked on the >>>>>>> "Properties" panel for the Contour filter. >>>>>>> >>>>>>> Utkarsh >>>>>> >>>> >>>> >> From utkarsh.ayachit at kitware.com Wed Apr 8 14:15:15 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 14:15:15 -0400 Subject: [Paraview] change text color in python script In-Reply-To: References: Message-ID: > i am working on a script that makes screenshots. I need to use a white > background and therefore i want to change the font color of the color legend > to black. I have tried to get the necesarry commands via the trace function > but i have not seen any command that would help me. Which version of ParaView are you using? With 4.3.1, I get the following: # get color transfer function/color map for 'RTData' rTDataLUT = GetColorTransferFunction('RTData') # get color legend/bar for rTDataLUT in view renderView1 rTDataLUTColorBar = GetScalarBar(rTDataLUT, renderView1) # Properties modified on rTDataLUTColorBar rTDataLUTColorBar.TitleColor = [0.0, 0.0, 0.0] rTDataLUTColorBar.LabelColor = [0.0, 0.0, 0.0] From utkarsh.ayachit at kitware.com Wed Apr 8 15:30:29 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Apr 2015 15:30:29 -0400 Subject: [Paraview] plot contour in ParaView In-Reply-To: <1CD22E77-D158-44E7-B521-C76078DC4C6F@gatech.edu> References: <7057C6ED-F73B-41EF-BBFA-C50C2F9D4A08@gatech.edu> <7595441C-68CD-4149-B167-DD946C9E8FD8@gatech.edu> <4D371BF9-E104-444C-872C-3BD73FA0EF83@gatech.edu> <1CD22E77-D158-44E7-B521-C76078DC4C6F@gatech.edu> Message-ID: Yifei, Ideally, you want to put it out as an 10x10x20 Uniform Rectilinear Grid, vtkImageData (since that's what it seems to be). For information on what vtkImageData looks like, refer to Chapter 3 from The ParaView Guide which can be downloaded from here[1]. [1] http://www.paraview.org/paraview-guide/ On Wed, Apr 8, 2015 at 2:11 PM, Yifei wrote: > Thanks for your reply. My goal is to plot stress contour for my simulation results. It seems to me that when I use pizza.py to convert dump file from LAMMPS into other file types, the data is always point data (coordinate and value at a point). So I wonder if I could convert the dump file into certain file types ParaView could use to plot contours? > > As far as I know, in MATLAB I could use griddata function to interpolate scattered data (point data in 2D). Then use contourf function to generate contours. I wonder if ParaView provides similar functions like griddata to convert the input data, then apply the contour filter? > > Thanks, > Yifei > > > > >> On Apr 8, 2015, at 1:57 PM, Utkarsh Ayachit wrote: >> >> Yifei, >> >> Contouring as an operation doesn't make much sense for point clouds. >> The question would be what is your end goal? What information do you >> want to extract from the point could? Maybe I can suggestion >> alternative operations that can help you achieve that. >> >> Utkarsh >> >> On Wed, Apr 8, 2015 at 1:52 PM, Yifei wrote: >>> It is point cloud. What data type could the contour filter apply to? Is it possible to convert dump files from LAMMPS to this type of data? >>> >>> Thanks for your kindly help. >>> Yifei >>> >>>> On Apr 8, 2015, at 10:50 AM, Utkarsh Ayachit wrote: >>>> >>>> I am correct that your dataset is just a point-cloud or am I missing >>>> something? If it is a point cloud, how are you contouring it, in the >>>> first place? The contour filter cannot be applied to a point cloud. >>>> >>>> Utkarsh >>>> >>>> >>>> >>>> On Tue, Apr 7, 2015 at 4:35 PM, Yifei wrote: >>>>> Please find the dataset in the attachment. >>>>> >>>>> Thanks, >>>>> Yifei >>>>> >>>>> >>>>> >>>>> >>>>>> On Apr 7, 2015, at 4:28 PM, Utkarsh Ayachit wrote: >>>>>> >>>>>> If you can share a sample dataset to illustrate the problem, it may help. >>>>>> >>>>>> Utkarsh >>>>>> >>>>>> On Tue, Apr 7, 2015 at 4:13 PM, Yifei wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I just double checked. I did check the "Compute Scalars" option. >>>>>>> >>>>>>> Best, >>>>>>> Yifei >>>>>>> >>>>>>>> On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit wrote: >>>>>>>> >>>>>>>>> How can I use damage or velocity as the coloring options? >>>>>>>> >>>>>>>> Make sure you have "Compute Scalars" option checked on the >>>>>>>> "Properties" panel for the Contour filter. >>>>>>>> >>>>>>>> Utkarsh >>>>>>> >>>>> >>>>> >>> > From u.utku.turuncoglu at be.itu.edu.tr Wed Apr 8 15:30:30 2015 From: u.utku.turuncoglu at be.itu.edu.tr (u.utku.turuncoglu at be.itu.edu.tr) Date: Wed, 8 Apr 2015 22:30:30 +0300 (EEST) Subject: [Paraview] problem in installing Paraview from source in MacOS In-Reply-To: References: <5524F02C.5080705@be.itu.edu.tr> Message-ID: <65024.85.97.26.226.1428521430.squirrel@webmail.be.itu.edu.tr> Hi Shawn, Thanks for your help. I disabled examples but i got same error from Catalyst [ 98%] Built target CoProcessingPythonScriptExample [ 98%] Generating Documentation HTMLs from xmls Processing wiki sources Processing wiki filters Processing wiki writers Processing wiki readers [ 98%] Compiling Qt help project AnalyzeNIfTIIO.qhp Building up file structure... QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: Cannot open data base file /Users/turuncu/Qsync/progs/paraview-4.3.1/Plugins/AnalyzeNIfTIReaderWriter/doc/AnalyzeNIfTIIO.qch! make[2]: *** [Plugins/AnalyzeNIfTIReaderWriter/doc/AnalyzeNIfTIIO.qch] Error 255 make[1]: *** [Plugins/AnalyzeNIfTIReaderWriter/CMakeFiles/AnalyzeNIfTIIO.dir/all] Error 2 make: *** [all] Error 2 I could not deactivate Catalyst because i need Catalyst support. Any suggestion? --ufuk > It looks like the error is happening when building the examples. You > might > be able to get around it by rerunning CMake and turning the examples off > unless you need the examples in your build. > > cd /path/to/build/dir > cmake -DBUILD_EXAMPLES:BOOL=OFF . > > HTH, > Shawn > > On Wed, Apr 8, 2015 at 5:09 AM, Ufuk Utku Turuncoglu (BE) < > u.utku.turuncoglu at be.itu.edu.tr> wrote: > >> Hi, >> >> I had a problem in the installation of Paraview fro the source. The make >> command gives error (at the end of the message) related with "QSQLITE >> driver". The code compiles without any problem until this step (63%) and >> i >> just wonder about the solution. I also found couple of threads related >> with >> this issue but i could not solve it. I also tried to install >> libqt4-sql-sqlite using macport but it did not help. By the way, i am >> using >> paraview version 4.3.1 along with Enthought Canopy (1.4.1) and MacOS >> 10.10.2. >> >> Regards, >> >> --ufuk >> >> ----- >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> Generating done >> Build files have been written to: /Users/turuncu/Qsync/progs/ >> paraview-4.3.1/Examples/All >> ======== End CMake output ====== >> Change Dir: /Users/turuncu/Qsync/progs/paraview-4.3.1/Examples/All >> >> Run Build Command:"/usr/bin/make" >> [ 1%] Compiling Qt help project SMMyElevation.qhp >> QSqlDatabase: QSQLITE driver not loaded >> QSqlDatabase: available drivers: >> Cannot open data base file /Users/turuncu/Qsync/progs/ >> paraview-4.3.1/Examples/All/Plugins/Filter/doc/SMMyElevation.qch! >> Building up file structure... >> make[5]: *** [Plugins/Filter/doc/SMMyElevation.qch] Error 255 >> make[4]: *** [Plugins/Filter/CMakeFiles/SMMyElevation.dir/all] Error 2 >> make[3]: *** [all] Error 2 >> make[2]: *** [ParaViewExamples.done] Error 1 >> make[1]: *** [CMakeFiles/ParaViewExamples.dir/all] Error 2 >> make: *** [all] Error 2 >> ----- >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > From andy.bauer at kitware.com Wed Apr 8 15:53:53 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 8 Apr 2015 15:53:53 -0400 Subject: [Paraview] problem in installing Paraview from source in MacOS In-Reply-To: <65024.85.97.26.226.1428521430.squirrel@webmail.be.itu.edu.tr> References: <5524F02C.5080705@be.itu.edu.tr> <65024.85.97.26.226.1428521430.squirrel@webmail.be.itu.edu.tr> Message-ID: Are you building the documentation? If you are, I'd suggest not building that. Also, any of the reader plugins are not needed for Catalyst (ie. AnalyzeNIfTIReaderWriter) so you can disable them. Regards, Andy On Wed, Apr 8, 2015 at 3:30 PM, wrote: > Hi Shawn, > > Thanks for your help. I disabled examples but i got same error from > Catalyst > > [ 98%] Built target CoProcessingPythonScriptExample > [ 98%] Generating Documentation HTMLs from xmls > Processing wiki sources > Processing wiki filters > Processing wiki writers > Processing wiki readers > [ 98%] Compiling Qt help project AnalyzeNIfTIIO.qhp > Building up file structure... > QSqlDatabase: QSQLITE driver not loaded > QSqlDatabase: available drivers: > Cannot open data base file > > /Users/turuncu/Qsync/progs/paraview-4.3.1/Plugins/AnalyzeNIfTIReaderWriter/doc/AnalyzeNIfTIIO.qch! > make[2]: *** [Plugins/AnalyzeNIfTIReaderWriter/doc/AnalyzeNIfTIIO.qch] > Error 255 > make[1]: *** > [Plugins/AnalyzeNIfTIReaderWriter/CMakeFiles/AnalyzeNIfTIIO.dir/all] Error > 2 > make: *** [all] Error 2 > > I could not deactivate Catalyst because i need Catalyst support. Any > suggestion? > > --ufuk > > > It looks like the error is happening when building the examples. You > > might > > be able to get around it by rerunning CMake and turning the examples off > > unless you need the examples in your build. > > > > cd /path/to/build/dir > > cmake -DBUILD_EXAMPLES:BOOL=OFF . > > > > HTH, > > Shawn > > > > On Wed, Apr 8, 2015 at 5:09 AM, Ufuk Utku Turuncoglu (BE) < > > u.utku.turuncoglu at be.itu.edu.tr> wrote: > > > >> Hi, > >> > >> I had a problem in the installation of Paraview fro the source. The make > >> command gives error (at the end of the message) related with "QSQLITE > >> driver". The code compiles without any problem until this step (63%) and > >> i > >> just wonder about the solution. I also found couple of threads related > >> with > >> this issue but i could not solve it. I also tried to install > >> libqt4-sql-sqlite using macport but it did not help. By the way, i am > >> using > >> paraview version 4.3.1 along with Enthought Canopy (1.4.1) and MacOS > >> 10.10.2. > >> > >> Regards, > >> > >> --ufuk > >> > >> ----- > >> This warning is for project developers. Use -Wno-dev to suppress it. > >> > >> Generating done > >> Build files have been written to: /Users/turuncu/Qsync/progs/ > >> paraview-4.3.1/Examples/All > >> ======== End CMake output ====== > >> Change Dir: /Users/turuncu/Qsync/progs/paraview-4.3.1/Examples/All > >> > >> Run Build Command:"/usr/bin/make" > >> [ 1%] Compiling Qt help project SMMyElevation.qhp > >> QSqlDatabase: QSQLITE driver not loaded > >> QSqlDatabase: available drivers: > >> Cannot open data base file /Users/turuncu/Qsync/progs/ > >> paraview-4.3.1/Examples/All/Plugins/Filter/doc/SMMyElevation.qch! > >> Building up file structure... > >> make[5]: *** [Plugins/Filter/doc/SMMyElevation.qch] Error 255 > >> make[4]: *** [Plugins/Filter/CMakeFiles/SMMyElevation.dir/all] Error 2 > >> make[3]: *** [all] Error 2 > >> make[2]: *** [ParaViewExamples.done] Error 1 > >> make[1]: *** [CMakeFiles/ParaViewExamples.dir/all] Error 2 > >> make: *** [all] Error 2 > >> ----- > >> _______________________________________________ > >> 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 > >> > >> Search the list archives at: http://markmail.org/search/?q=ParaView > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/paraview > >> > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Wed Apr 8 20:52:47 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 9 Apr 2015 00:52:47 +0000 Subject: [Paraview] Mean Message-ID: I want to take the mean EQPS from the can.exo dataset, and plot it over time. Any idea how I can do this? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.dean at decisionsciencescorp.com Wed Apr 8 22:36:28 2015 From: kevin.dean at decisionsciencescorp.com (Kevin Dean) Date: Wed, 8 Apr 2015 19:36:28 -0700 Subject: [Paraview] vtk_use_system_protobuf Message-ID: hey, my name is Kevin. I am currently running into a problem with building against my system's protobuf libraries for 2.6.0. I have been able to successfully build against 2.4.1. However, I now receive this: vtkPVMessage.proto:65:14: Message extensions cannot have required fields. vtkPVMessage.proto:68:14: Message extensions cannot have required fields. vtkPVMessage.proto:103:14: Message extensions cannot have required fields. vtkPVMessage.proto:104:14: Message extensions cannot have required fields. vtkPVMessage.proto:209:14: Message extensions cannot have required fields. vtkPVMessage.proto:222:14: Message extensions cannot have required fields. vtkPVMessage.proto:245:14: Message extensions cannot have required fields. vtkPVMessage.proto:246:14: Message extensions cannot have required fields. vtkPVMessage.proto:259:14: Message extensions cannot have required fields. make[2]: *** [ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h] Error 1 make[1]: *** [ParaViewCore/ServerImplementation/Core/CMakeFiles/protobuf_code_generation.dir/all] Error 2 has anyone run into this problem? Might there be a work around? Thanks, Kevin -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Thu Apr 9 03:32:36 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Thu, 09 Apr 2015 10:32:36 +0300 Subject: [Paraview] problem in installing Paraview from source in MacOS In-Reply-To: References: <5524F02C.5080705@be.itu.edu.tr> <65024.85.97.26.226.1428521430.squirrel@webmail.be.itu.edu.tr> Message-ID: <55262B14.6090600@be.itu.edu.tr> No. i am not building documentation. I also set off the plugin as you suggest but the make command also gives same error for other plugins such as ArrowGlyph and EyeDomeLightingView. So, i could disable most of them except plugins related with Catalyst but i am not sure. Does it effect the main capabilities (such as making vectors etc.) of the Paraview? Those feature can be also used by in-situ visualization. Thanks, --ufuk On 08/04/15 22:53, Andy Bauer wrote: > Are you building the documentation? If you are, I'd suggest not > building that. Also, any of the reader plugins are not needed for > Catalyst (ie. AnalyzeNIfTIReaderWriter) so you can disable them. > > Regards, > Andy > > On Wed, Apr 8, 2015 at 3:30 PM, > wrote: > > Hi Shawn, > > Thanks for your help. I disabled examples but i got same error > from Catalyst > > [ 98%] Built target CoProcessingPythonScriptExample > [ 98%] Generating Documentation HTMLs from xmls > Processing wiki sources > Processing wiki filters > Processing wiki writers > Processing wiki readers > [ 98%] Compiling Qt help project AnalyzeNIfTIIO.qhp > Building up file structure... > QSqlDatabase: QSQLITE driver not loaded > QSqlDatabase: available drivers: > Cannot open data base file > /Users/turuncu/Qsync/progs/paraview-4.3.1/Plugins/AnalyzeNIfTIReaderWriter/doc/AnalyzeNIfTIIO.qch! > make[2]: *** [Plugins/AnalyzeNIfTIReaderWriter/doc/AnalyzeNIfTIIO.qch] > Error 255 > make[1]: *** > [Plugins/AnalyzeNIfTIReaderWriter/CMakeFiles/AnalyzeNIfTIIO.dir/all] > Error > 2 > make: *** [all] Error 2 > > I could not deactivate Catalyst because i need Catalyst support. Any > suggestion? > > --ufuk > > > It looks like the error is happening when building the > examples. You > > might > > be able to get around it by rerunning CMake and turning the > examples off > > unless you need the examples in your build. > > > > cd /path/to/build/dir > > cmake -DBUILD_EXAMPLES:BOOL=OFF . > > > > HTH, > > Shawn > > > > On Wed, Apr 8, 2015 at 5:09 AM, Ufuk Utku Turuncoglu (BE) < > > u.utku.turuncoglu at be.itu.edu.tr > > wrote: > > > >> Hi, > >> > >> I had a problem in the installation of Paraview fro the source. > The make > >> command gives error (at the end of the message) related with > "QSQLITE > >> driver". The code compiles without any problem until this step > (63%) and > >> i > >> just wonder about the solution. I also found couple of threads > related > >> with > >> this issue but i could not solve it. I also tried to install > >> libqt4-sql-sqlite using macport but it did not help. By the > way, i am > >> using > >> paraview version 4.3.1 along with Enthought Canopy (1.4.1) and > MacOS > >> 10.10.2. > >> > >> Regards, > >> > >> --ufuk > >> > >> ----- > >> This warning is for project developers. Use -Wno-dev to > suppress it. > >> > >> Generating done > >> Build files have been written to: /Users/turuncu/Qsync/progs/ > >> paraview-4.3.1/Examples/All > >> ======== End CMake output ====== > >> Change Dir: /Users/turuncu/Qsync/progs/paraview-4.3.1/Examples/All > >> > >> Run Build Command:"/usr/bin/make" > >> [ 1%] Compiling Qt help project SMMyElevation.qhp > >> QSqlDatabase: QSQLITE driver not loaded > >> QSqlDatabase: available drivers: > >> Cannot open data base file /Users/turuncu/Qsync/progs/ > >> paraview-4.3.1/Examples/All/Plugins/Filter/doc/SMMyElevation.qch! > >> Building up file structure... > >> make[5]: *** [Plugins/Filter/doc/SMMyElevation.qch] Error 255 > >> make[4]: *** [Plugins/Filter/CMakeFiles/SMMyElevation.dir/all] > Error 2 > >> make[3]: *** [all] Error 2 > >> make[2]: *** [ParaViewExamples.done] Error 1 > >> make[1]: *** [CMakeFiles/ParaViewExamples.dir/all] Error 2 > >> make: *** [all] Error 2 > >> ----- > >> _______________________________________________ > >> 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 > >> > >> Search the list archives at: http://markmail.org/search/?q=ParaView > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/paraview > >> > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Thu Apr 9 04:48:58 2015 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 9 Apr 2015 08:48:58 +0000 Subject: [Paraview] TextureMapToSphere seam problem In-Reply-To: References: <55105042.5090404@lsce.ipsl.fr> Message-ID: Hello Utkarsh > De : De la part de Utkarsh Ayachit > Envoy? : mercredi 8 avril 2015 18:02 > > Simply check the "Prevent Seam" checkbox on the Properties panel for the "TextureMapToSphere" filter and the seam will disappear. This displays the picture on one half of the sphere, and a mirror picture on the other half. This is not what I (and probably Patrick) would like to have. -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From utkarsh.ayachit at kitware.com Thu Apr 9 08:59:02 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 9 Apr 2015 08:59:02 -0400 Subject: [Paraview] TextureMapToSphere seam problem In-Reply-To: References: <55105042.5090404@lsce.ipsl.fr> Message-ID: > This is not what I (and probably Patrick) would like to have. Yes, we already had a follow on conversation on the mailing list about it :). Utkarsh From rohitnarurkar at gmail.com Thu Apr 9 09:06:47 2015 From: rohitnarurkar at gmail.com (Rohit Narurkar) Date: Thu, 9 Apr 2015 18:36:47 +0530 Subject: [Paraview] Fluid Flow Simulation in ParaView In-Reply-To: <5523E061.2020905@gmail.com> References: <550AEE85.9050102@bresnan.net> <5523E061.2020905@gmail.com> Message-ID: Hello I have one more doubt that I haven't found a detailed solution to online. With the same vtk file (uploaded above), can I view the streamlines distribution? I know it has to do with the 'Stream Tracer' filter, but which parameters do I use? Thank you! On Tue, Apr 7, 2015 at 7:19 PM, Armin Wehrfritz wrote: > Hi Rohit, > > I had a look at your data file and I don't understand where your problem > is. I can visualize the X and Y component of velocity and get seemingly > correct results (i.e. X and Y have negative and positive values). The > magnitude of the velocity vector is as expected everywhere positive. > > Also the Glyph filter produces reasonable results with the default > settings (e.g. the arrows can be colored by X or Y component with positive > and negative values or by magnitude with only positive values). > > So my question would be: What exactly do you want to visualize? > > -Armin > > > > > > > > > > > > > On 04/06/2015 03:29 PM, Rohit Narurkar wrote: > >> Hello! >> >> I tried applying the "Glyph" filter, but still the negative values >> aren't being considered. It considers only the magnitude. >> >> Can somebody please explain in detail how I should go about this? Please >> have a look at the .vtk file I have attached above, I am stuck at this >> point. >> >> Thank you >> >> On Thu, Mar 19, 2015 at 9:13 PM, Samuel Key > > wrote: >> >> Rohit, >> >> Assuming that the x-component of VecVelocity has negative values, >> then from the selection [Magnitude|x|y|z] pick x and then only >> VecVelocity_x will be displayed. >> >> On the other hand, if "vector plots" are your goal, use PV's Glyph >> filter. >> >> Sam >> >> >> On 3/19/2015 5:49 AM, Rohit Narurkar wrote: >> >>> Is there no simple feature or option that considers negative >>> values as well? >>> >>> On Wed, Mar 18, 2015 at 5:50 PM, Utkarsh Ayachit >>> > >>> wrote: >>> >>> Try applying the "Glyph" filter or using the "Surface LIC" >>> plugin[1] >>> >>> [1] >>> http://www.paraview.org/Wiki/ParaView/Line_Integral_Convolution >>> >>> Utkarsh >>> >>> On Tue, Mar 17, 2015 at 8:37 AM, Rohit Narurkar >>> > >>> wrote: >>> > Hello >>> > >>> > I wish to simulate fluid flow using ParaView. I have 1000 >>> .vtk files for the >>> > 1000 time steps. >>> > I have attached along with this mail one of the .vtk files. >>> When I open this >>> > collection in ParaView, and change the 'coloring' to the >>> velocity name I >>> > have given i.e. "VecVelocity" as you can see in the sample >>> .vtk file. There >>> > is another option to its right which offers 'magnitude', >>> 'x', 'y' and 'z'. >>> > But there are some points with negative velocities and >>> ParaView is only >>> > considering the magnitude (hence positive). I wish to >>> display even the >>> > negative values. How do I do that? >>> > >>> > Any help would be great! >>> > >>> > Thank you! >>> > >>> > _______________________________________________ >>> > 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 >>> > >>> > Search the list archives at: >>> http://markmail.org/search/?q=ParaView >>> > >>> > Follow this link to subscribe/unsubscribe: >>> > http://public.kitware.com/mailman/listinfo/paraview >>> > >>> >>> >>> >>> >>> _______________________________________________ >>> Powered bywww.kitware.com >>> >>> Visit other Kitware open-source projects athttp://www.kitware.com/ >>> opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at:http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/ >> opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Apr 9 09:23:33 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 9 Apr 2015 09:23:33 -0400 Subject: [Paraview] Mean In-Reply-To: References: Message-ID: Hi Alan, I think the quickest way to do it is to use the Integrate Variables filter which should pop up a spreadsheet view. Then go to cell data in the spreadsheet view and select the only cell and then do Plot Selection Over Time. I'm sure Utkarsh or Ken knows how to do it in at least 2 less steps though :). Regards, Andy On Wed, Apr 8, 2015 at 8:52 PM, Scott, W Alan wrote: > I want to take the mean EQPS from the can.exo dataset, and plot it over > time. Any idea how I can do this? > > Thanks, > > Alan > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Apr 9 09:25:09 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 9 Apr 2015 09:25:09 -0400 Subject: [Paraview] Mean In-Reply-To: References: Message-ID: Oops, I forgot a step. After the integrate variables, you should divide EQPS by volume to get the mean... On Thu, Apr 9, 2015 at 9:23 AM, Andy Bauer wrote: > Hi Alan, > > I think the quickest way to do it is to use the Integrate Variables filter > which should pop up a spreadsheet view. Then go to cell data in the > spreadsheet view and select the only cell and then do Plot Selection Over > Time. I'm sure Utkarsh or Ken knows how to do it in at least 2 less steps > though :). > > Regards, > Andy > > On Wed, Apr 8, 2015 at 8:52 PM, Scott, W Alan wrote: > >> I want to take the mean EQPS from the can.exo dataset, and plot it over >> time. Any idea how I can do this? >> >> Thanks, >> >> Alan >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Thu Apr 9 09:40:16 2015 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 9 Apr 2015 09:40:16 -0400 Subject: [Paraview] vtk_use_system_protobuf In-Reply-To: References: Message-ID: <20150409134016.GA7070@megas.kitware.com> On Wed, Apr 08, 2015 at 19:36:28 -0700, Kevin Dean wrote: > vtkPVMessage.proto:65:14: Message extensions cannot have required fields. > vtkPVMessage.proto:68:14: Message extensions cannot have required fields. > vtkPVMessage.proto:103:14: Message extensions cannot have required fields. > vtkPVMessage.proto:104:14: Message extensions cannot have required fields. > vtkPVMessage.proto:209:14: Message extensions cannot have required fields. > vtkPVMessage.proto:222:14: Message extensions cannot have required fields. > vtkPVMessage.proto:245:14: Message extensions cannot have required fields. > vtkPVMessage.proto:246:14: Message extensions cannot have required fields. > vtkPVMessage.proto:259:14: Message extensions cannot have required fields. > make[2]: *** [ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h] > Error 1 > make[1]: *** > [ParaViewCore/ServerImplementation/Core/CMakeFiles/protobuf_code_generation.dir/all] > Error 2 > > has anyone run into this problem? Might there be a work around? Doesn't seem so. Looks like ParaView will need changes for 2.6.0. Searching around, seems like the changes necessary for it are probably minor[1]. --Ben [1]https://github.com/rethinkdb/rethinkdb/issues/3137 From ben.boeckel at kitware.com Thu Apr 9 10:49:38 2015 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 9 Apr 2015 10:49:38 -0400 Subject: [Paraview] vtk_use_system_protobuf In-Reply-To: <20150409134016.GA7070@megas.kitware.com> References: <20150409134016.GA7070@megas.kitware.com> Message-ID: <20150409144938.GA15793@megas.kitware.com> On Thu, Apr 09, 2015 at 09:40:16 -0400, Ben Boeckel wrote: > Doesn't seem so. Looks like ParaView will need changes for 2.6.0. > Searching around, seems like the changes necessary for it are probably > minor[1]. An attempt at this: https://gitlab.kitware.com/paraview/paraview/merge_requests/52 This won't verify it works with 2.6.0 since we don't have any buildbot machines with 2.6.0, so if you could test that this branch works for you, that'd be great. Thanks, --Ben From kmorel at sandia.gov Thu Apr 9 10:56:12 2015 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Thu, 9 Apr 2015 14:56:12 +0000 Subject: [Paraview] Mean Message-ID: The easiest way "should" be to use the plot over time filter's internal ability to give you the average of everything it is plotting. Right now to do that is more awkward than it should be, so you have to do as least as many steps as Andy's solution. But here is a solution. 1. Open the Find Data dialog 2. Make a selection that selects everything (e.g. ID is >= 0) 3. Click the "Plot Selection Over Time" button 4. In the resulting plot, turn off all variables and then turn on the AVG(EQPS) series Note that this would collapse to one step (apply a filter) if bugs 0014978 and 0014945 were implemented. I suggest giving these a high priority. Bug 0014978 should be really easy to implement. Bug 0014945 is going to take more time, but it is really important to make all plot-over-time functionality useful. -Ken From: Andy Bauer > Date: Thursday, April 9, 2015 at 7:25 AM To: Walter Scott > Cc: "paraview at paraview.org" > Subject: [EXTERNAL] Re: [Paraview] Mean Oops, I forgot a step. After the integrate variables, you should divide EQPS by volume to get the mean... On Thu, Apr 9, 2015 at 9:23 AM, Andy Bauer > wrote: Hi Alan, I think the quickest way to do it is to use the Integrate Variables filter which should pop up a spreadsheet view. Then go to cell data in the spreadsheet view and select the only cell and then do Plot Selection Over Time. I'm sure Utkarsh or Ken knows how to do it in at least 2 less steps though :). Regards, Andy On Wed, Apr 8, 2015 at 8:52 PM, Scott, W Alan > wrote: I want to take the mean EQPS from the can.exo dataset, and plot it over time. Any idea how I can do this? Thanks, Alan _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.dean at decisionsciencescorp.com Thu Apr 9 18:17:19 2015 From: kevin.dean at decisionsciencescorp.com (Kevin Dean) Date: Thu, 9 Apr 2015 15:17:19 -0700 Subject: [Paraview] Setting up ParaViewConfig.cmake & VTKConfig.cmake Message-ID: So I have a project where I am trying to setup the PV install directory so I can link my personal builds against the ParaView and VTK Libraries. And it seems in order for this to work properly, I need the ParaViewConfig and VTKConfig files to be present in the install directory. However, they just get thrown into the Build directory. Is there a way to configure the files so that the output goes into the install directory? or is this just ill-advised? Thanks, Kevin E. Dean. -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Apr 9 18:24:54 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 9 Apr 2015 18:24:54 -0400 Subject: [Paraview] Setting up ParaViewConfig.cmake & VTKConfig.cmake In-Reply-To: References: Message-ID: Hi, You'll want to enable PARAVIEW_INSTALL_DEVELOPMENT_FILES in the CMake config of your ParaView build to have it install development files there. Regards, Andy On Thu, Apr 9, 2015 at 6:17 PM, Kevin Dean < kevin.dean at decisionsciencescorp.com> wrote: > So I have a project where I am trying to setup the PV install directory so > I can link my personal builds against the ParaView and VTK Libraries. And > it seems in order for this to work properly, I need the ParaViewConfig and > VTKConfig files to be present in the install directory. However, they just > get thrown into the Build directory. Is there a way to configure the files > so that the output goes into the install directory? or is this just > ill-advised? > > Thanks, > > Kevin E. Dean. > > This email and its contents are confidential. If you are not the intended > recipient, please do not disclose or use the information within this email > or its attachments. If you have received this email in error, please report > the error to the sender by return email and delete this communication from > your records. > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Apr 9 20:39:44 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 10 Apr 2015 00:39:44 +0000 Subject: [Paraview] Mean In-Reply-To: References: Message-ID: <0728624a66584edc87eec7b3c80bebe2@ES01AMSNLNT.srn.sandia.gov> Thanks, Ken. That's brilliant. I agree. I marked them for 4.4. Alan From: Moreland, Kenneth Sent: Thursday, April 09, 2015 8:56 AM To: Andy Bauer; Scott, W Alan Cc: paraview at paraview.org Subject: Re: [Paraview] Mean The easiest way "should" be to use the plot over time filter's internal ability to give you the average of everything it is plotting. Right now to do that is more awkward than it should be, so you have to do as least as many steps as Andy's solution. But here is a solution. 1. Open the Find Data dialog 2. Make a selection that selects everything (e.g. ID is >= 0) 3. Click the "Plot Selection Over Time" button 4. In the resulting plot, turn off all variables and then turn on the AVG(EQPS) series Note that this would collapse to one step (apply a filter) if bugs 0014978 and 0014945 were implemented. I suggest giving these a high priority. Bug 0014978 should be really easy to implement. Bug 0014945 is going to take more time, but it is really important to make all plot-over-time functionality useful. -Ken From: Andy Bauer > Date: Thursday, April 9, 2015 at 7:25 AM To: Walter Scott > Cc: "paraview at paraview.org" > Subject: [EXTERNAL] Re: [Paraview] Mean Oops, I forgot a step. After the integrate variables, you should divide EQPS by volume to get the mean... On Thu, Apr 9, 2015 at 9:23 AM, Andy Bauer > wrote: Hi Alan, I think the quickest way to do it is to use the Integrate Variables filter which should pop up a spreadsheet view. Then go to cell data in the spreadsheet view and select the only cell and then do Plot Selection Over Time. I'm sure Utkarsh or Ken knows how to do it in at least 2 less steps though :). Regards, Andy On Wed, Apr 8, 2015 at 8:52 PM, Scott, W Alan > wrote: I want to take the mean EQPS from the can.exo dataset, and plot it over time. Any idea how I can do this? Thanks, Alan _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From zhz1993622 at 163.com Thu Apr 9 23:17:31 2015 From: zhz1993622 at 163.com (=?GBK?B?1ty649ba?=) Date: Fri, 10 Apr 2015 11:17:31 +0800 (CST) Subject: [Paraview] Distribute data Message-ID: <6b5aa3b5.138e0.14ca1551c0c.Coremail.zhz1993622@163.com> Dear: I know that paraview use the "vtkDistributedDataFilter" file to redistribute vtkUnstructuredGrids when in Parallel .But I want to know which file it use to redistribute the structuredGrids espacially the ply file? who can tell me? Thank you for you help. zhou -------------- next part -------------- An HTML attachment was scrubbed... URL: From dingxyan at 163.com Fri Apr 10 04:56:02 2015 From: dingxyan at 163.com (=?GBK?B?tqHP/tHg?=) Date: Fri, 10 Apr 2015 16:56:02 +0800 (CST) Subject: [Paraview] =?gbk?b?wLTX1Lahz/7R4LXE08q8/g==?= In-Reply-To: References: Message-ID: <2b48c22d.19866.14ca28b0760.Coremail.dingxyan@163.com> Dear, I am a user of ParaviewWeb. The color rendered by ParaviewWeb is inconsistenet with the one specified in the .ply file. For example, we specify the red color in the ply file, but the scene shows blue. What's more, the color is not the same in different installed versions. For example, we specify the red color in the ply file, the scene shows red in version Paraview 4.1.0, but the scene shows blue in version Paraview 4.2.0. Thanks for early reply. Yours truly, dxy -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Apr 10 09:05:52 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 10 Apr 2015 09:05:52 -0400 Subject: [Paraview] Setting up ParaViewConfig.cmake & VTKConfig.cmake In-Reply-To: References: Message-ID: > You'll want to enable PARAVIEW_INSTALL_DEVELOPMENT_FILES in the CMake config > of your ParaView build to have it install development files there. Note that this is currently only tested/supported on Unix based systems (on OsX, you need to enable a PARAVIEW_DO_UNIX_STYLE_INSTALLS CMake flag). Utkarsh From yzs133 at psu.edu Fri Apr 10 12:21:47 2015 From: yzs133 at psu.edu (yufei shen) Date: Fri, 10 Apr 2015 12:21:47 -0400 Subject: [Paraview] Everything on graph disappears after choose 'volume' representation Message-ID: Good afternoon: I am just beginning to use Paraview, and I'm using it to plot a 3D current scalar field, with x,y,z being the coordinates of a point in space, while the forth column value represents the intensity of current passing through that point. My input file is .csv. After I have tetrahedralized my points, the figure show up in the plotting window perfectly with surface, point or any other representations except VOLUME. I can adjust color together with alpha values, however, as soon as I switch to 'volume', everything just disappears. I've also tried the same thing on all platforms (Mac, linux, Windows), but the problem is not solved. I wonder what's causing this problem? Should I used a different input file format other than .csv? It seems what I am doing is really simple compared with paraview's capability. I have also checked the archives but could not find any solution to this... I really appreciate your help! Best Regards Yufei -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Apr 10 14:30:23 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 10 Apr 2015 14:30:23 -0400 Subject: [Paraview] [PARAVIEW INSTALLATION]_undefined reference to 'gzopen' 'gzclose' 'gzread' 'gzwrite' In-Reply-To: <552361AC.7050101@al.t.u-tokyo.ac.jp> References: <55212CAE.4000602@al.t.u-tokyo.ac.jp> <552361AC.7050101@al.t.u-tokyo.ac.jp> Message-ID: Ofosu, Can you try the attached patch? You'll need to apply it in the VTK sub directory. I suspect Xdmf is accidentally including the wrong zlib header (using system version rather than the one built by VTK/ParaView). Thanks Utkarsh -------------- next part -------------- A non-text attachment was scrubbed... Name: VTK-FixZLib.patch Type: text/x-patch Size: 528 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Fri Apr 10 15:35:46 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 10 Apr 2015 15:35:46 -0400 Subject: [Paraview] Everything on graph disappears after choose 'volume' representation In-Reply-To: References: Message-ID: You cannot volume render data coming in from a CSV file. If you want to sned me a sample CSV, I can send you a Programmable Source code than will produce a volume renderable dataset. On Fri, Apr 10, 2015 at 12:21 PM, yufei shen wrote: > Good afternoon: > > I am just beginning to use Paraview, and I'm using it to plot a 3D current > scalar field, with x,y,z being the coordinates of a point in space, while > the forth column value represents the intensity of current passing through > that point. My input file is .csv. > > After I have tetrahedralized my points, the figure show up in the plotting > window perfectly with surface, point or any other representations except > VOLUME. I can adjust color together with alpha values, however, as soon as I > switch to 'volume', everything just disappears. I've also tried the same > thing on all platforms (Mac, linux, Windows), but the problem is not solved. > > I wonder what's causing this problem? Should I used a different input file > format other than .csv? It seems what I am doing is really simple compared > with paraview's capability. I have also checked the archives but could not > find any solution to this... > > I really appreciate your help! > > Best Regards > Yufei > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From richard.c.angelini.civ at mail.mil Fri Apr 10 16:09:37 2015 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY ARL (US)) Date: Fri, 10 Apr 2015 20:09:37 +0000 Subject: [Paraview] default_servers.pvsc question Message-ID: Question about the default_servers.pvsc file?.. I have this in my host profile: So, when the GUI pops up, the user has an opportunity to change the path to ssh. But, rather than hard-coding the default value, or presenting blank field and have the user put in the correct path, is it possible to query the user?s environment and find `which ssh` and substitute in that value?? ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Schlottke at aia.rwth-aachen.de Sat Apr 11 12:45:12 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Sat, 11 Apr 2015 16:45:12 +0000 Subject: [Paraview] Error when connecting to pvserver (pv 4.3.1) Message-ID: Hi, I just installed PV 4.3.1 from source as I need to compile some custom plugins. Using the GUI client in a standalone fashion is no problem and everything works as expected. However, I?ve had difficulties when trying to connect to a pvserver instance. The server dies with the following error messages: ####################################### Waiting for client... Connection URL: cs://aia257:11111 Accepting connection(s): aia257:11111 Client connected. Warning: In /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, line 170 vtkPVClientServerSynchronizedRenderers (0x1dfa530): Could not create the compressor by name . ERROR: In /home/mic/.pool/.src/ParaView-v4.3.1-source/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 878 vtkSocketCommunicator (0xbe1f50): Tag mismatch: got 10, expecting 1. Exiting? ####################################### While the client spills out a ton of messages like the following and finally dies with ?xcb_io.c?? error: ####################################### X Error: GLXBadContextTag 152 Extension: 145 (Uknown extension) Minor opcode: 115 (Unknown request) Resource id: 0x1 X Error: GLXBadContextTag 152 Extension: 145 (Uknown extension) Minor opcode: 1 (Unknown request) Resource id: 0x1 X Error: GLXBadContextTag 152 Extension: 145 (Uknown extension) Minor opcode: 145 (Unknown request) Resource id: 0x1 paraview: xcb_io.c:549: _XRead: Assertion `dpy->xcb->reply_data != ((void *)0)' failed. ####################################### Any ideas what I?m doing wrong? This happens directly on attempting to connect. I?ve added the configure command I used below. Thanks a lot in advance, Michael P.S: Used command to configure ParaView: CC=gcc CXX=g++ cmake $PV_SRC \ -DBUILD_DOCUMENTATION:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \ -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ -DPARAVIEW_USE_MPI:BOOL=ON \ -DPYTHON_LIBRARY:FILEPATH=$PYTHON27/lib/libpython2.7.so \ -DPYTHON_INCLUDE_DIR:PATH=$PYTHON27/include/python2.7 -- Michael Schlottke Chair of Fluid Mechanics and Institute of Aerodynamics RWTH Aachen University W?llnerstra?e 5a 52062 Aachen Germany Phone: +49 (241) 80 95188 Fax: +49 (241) 80 92257 Mail: m.schlottke at aia.rwth-aachen.de Web: http://www.aia.rwth-aachen.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sun Apr 12 14:29:05 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sun, 12 Apr 2015 14:29:05 -0400 Subject: [Paraview] Error when connecting to pvserver (pv 4.3.1) In-Reply-To: References: Message-ID: Are the client and server created using the similar build flags? One guess would be that you don't have MPI enabled on the server, but you do have it enabled on the client build. Is that correct? Utkarsh On Sat, Apr 11, 2015 at 12:45 PM, Schlottke, Michael wrote: > Hi, > > I just installed PV 4.3.1 from source as I need to compile some custom > plugins. Using the GUI client in a standalone fashion is no problem and > everything works as expected. However, I?ve had difficulties when trying to > connect to a pvserver instance. > > The server dies with the following error messages: > ####################################### > Waiting for client... > Connection URL: cs://aia257:11111 > Accepting connection(s): aia257:11111 > Client connected. > Warning: In > /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, > line 170 > vtkPVClientServerSynchronizedRenderers (0x1dfa530): Could not create the > compressor by name . > > ERROR: In > /home/mic/.pool/.src/ParaView-v4.3.1-source/VTK/Parallel/Core/vtkSocketCommunicator.cxx, > line 878 > vtkSocketCommunicator (0xbe1f50): Tag mismatch: got 10, expecting 1. > > Exiting? > ####################################### > > While the client spills out a ton of messages like the following and finally > dies with ?xcb_io.c?? error: > > ####################################### > X Error: GLXBadContextTag 152 > Extension: 145 (Uknown extension) > Minor opcode: 115 (Unknown request) > Resource id: 0x1 > X Error: GLXBadContextTag 152 > Extension: 145 (Uknown extension) > Minor opcode: 1 (Unknown request) > Resource id: 0x1 > X Error: GLXBadContextTag 152 > Extension: 145 (Uknown extension) > Minor opcode: 145 (Unknown request) > Resource id: 0x1 > paraview: xcb_io.c:549: _XRead: Assertion `dpy->xcb->reply_data != ((void > *)0)' failed. > ####################################### > > Any ideas what I?m doing wrong? This happens directly on attempting to > connect. I?ve added the configure command I used below. > > Thanks a lot in advance, > > Michael > > > P.S: > > Used command to configure ParaView: > CC=gcc CXX=g++ cmake $PV_SRC \ > -DBUILD_DOCUMENTATION:BOOL=ON \ > -DBUILD_SHARED_LIBS:BOOL=ON \ > -DCMAKE_BUILD_TYPE:STRING=Release \ > -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \ > -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ > -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ > -DPARAVIEW_USE_MPI:BOOL=ON \ > -DPYTHON_LIBRARY:FILEPATH=$PYTHON27/lib/libpython2.7.so \ > -DPYTHON_INCLUDE_DIR:PATH=$PYTHON27/include/python2.7 > > > -- > Michael Schlottke > > Chair of Fluid Mechanics and Institute of Aerodynamics > RWTH Aachen University > W?llnerstra?e 5a > 52062 Aachen > Germany > > Phone: +49 (241) 80 95188 > Fax: +49 (241) 80 92257 > Mail: m.schlottke at aia.rwth-aachen.de > Web: http://www.aia.rwth-aachen.de > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Sun Apr 12 14:31:33 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sun, 12 Apr 2015 14:31:33 -0400 Subject: [Paraview] default_servers.pvsc question In-Reply-To: References: Message-ID: Rick, Alas no, this isn't currently supported. But should be fairly straightforward to add. I've reported a bug: http://www.paraview.org/Bug/view.php?id=15421 Utkarsh On Fri, Apr 10, 2015 at 4:09 PM, Angelini, Richard C (Rick) CIV USARMY ARL (US) wrote: > Question about the default_servers.pvsc file?.. > > I have this in my host profile: > > > > > > > So, when the GUI pops up, the user has an opportunity to change the path to > ssh. But, rather than hard-coding the default value, or presenting blank > field and have the user put in the correct path, is it possible to query the > user?s environment and find `which ssh` and substitute in that value?? > > > > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Sun Apr 12 15:58:39 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sun, 12 Apr 2015 15:58:39 -0400 Subject: [Paraview] Everything on graph disappears after choose 'volume' representation In-Reply-To: References: Message-ID: Attached is a XML that you can load as a plugin using the Tools | Plugin Manager. This will add a new "Import CSV As Volume" source under the "Sources" menu. On creating this new source, you'll be able to select the CSV file and specify the relevant meta-data as properties. I've setup the defaults to match the file you sent. The Python code assumes that the CSV file has data in the same order as VTK expects i.e. X varying first, then Y and then Z. Hence the image dimensions are flipped. Also, this is designed to work only for a single process mode, it'll need some work if it's to work in parallel too. Utkarsh On Fri, Apr 10, 2015 at 3:35 PM, Utkarsh Ayachit wrote: > You cannot volume render data coming in from a CSV file. If you want > to sned me a sample CSV, I can send you a Programmable Source code > than will produce a volume renderable dataset. > > > On Fri, Apr 10, 2015 at 12:21 PM, yufei shen wrote: >> Good afternoon: >> >> I am just beginning to use Paraview, and I'm using it to plot a 3D current >> scalar field, with x,y,z being the coordinates of a point in space, while >> the forth column value represents the intensity of current passing through >> that point. My input file is .csv. >> >> After I have tetrahedralized my points, the figure show up in the plotting >> window perfectly with surface, point or any other representations except >> VOLUME. I can adjust color together with alpha values, however, as soon as I >> switch to 'volume', everything just disappears. I've also tried the same >> thing on all platforms (Mac, linux, Windows), but the problem is not solved. >> >> I wonder what's causing this problem? Should I used a different input file >> format other than .csv? It seems what I am doing is really simple compared >> with paraview's capability. I have also checked the archives but could not >> find any solution to this... >> >> I really appreciate your help! >> >> Best Regards >> Yufei >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> -------------- next part -------------- A non-text attachment was scrubbed... Name: csvtovolume.xml Type: text/xml Size: 4255 bytes Desc: not available URL: From burlen.loring at gmail.com Sun Apr 12 22:34:58 2015 From: burlen.loring at gmail.com (Burlen Loring) Date: Sun, 12 Apr 2015 19:34:58 -0700 Subject: [Paraview] default_servers.pvsc question In-Reply-To: References: Message-ID: <552B2B52.8020504@gmail.com> Hi Utkarsh, I think environment variables are kind of a band aid around a larger issue. In addition to leveraging the user's local environment, there's also no way to get information from the server side environment. for example list of account numbers a user can charge jobs to, or a list of active queues. One thing I have been thinking about is rather than just reading pvsc from an xml file, paraview could call a script to get the pvsc xml. This script could query the user's local/remote environment and generate the xml. A long time ago we had talked about a python based solution. What do you think? Burlen On 4/12/2015 11:31 AM, Utkarsh Ayachit wrote: > Rick, > > Alas no, this isn't currently supported. But should be fairly > straightforward to add. I've reported a bug: > http://www.paraview.org/Bug/view.php?id=15421 > > Utkarsh > > On Fri, Apr 10, 2015 at 4:09 PM, Angelini, Richard C (Rick) CIV USARMY > ARL (US) wrote: >> Question about the default_servers.pvsc file?.. >> >> I have this in my host profile: >> >> >> >> >> >> >> So, when the GUI pops up, the user has an opportunity to change the path to >> ssh. But, rather than hard-coding the default value, or presenting blank >> field and have the user put in the correct path, is it possible to query the >> user?s environment and find `which ssh` and substitute in that value?? >> >> >> >> >> ________________________________ >> Rick Angelini >> USArmy Research Laboratory >> CISD/HPC Architectures Team >> Phone: 410-278-6266 >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From M.Schlottke at aia.rwth-aachen.de Mon Apr 13 05:09:50 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Mon, 13 Apr 2015 09:09:50 +0000 Subject: [Paraview] Error when connecting to pvserver (pv 4.3.1) In-Reply-To: References: Message-ID: Hi Utkarsh, It is the same installed version that I use both for the client and the server. As you correctly pointed out, MPI is enabled. However, I somewhat narrowed down the scope of the problem. Apparently, if I use X forwarding via ssh, everything works correctly. Only if I run the ParaView client from within a VNC session the observed problems occur. Any idea where I might look for a possible solution? Using ParaView via X forwarding is unbearably slow in my current setup? Michael > On 12 Apr 2015, at 20:29 , Utkarsh Ayachit wrote: > > Are the client and server created using the similar build flags? One > guess would be that you don't have MPI enabled on the server, but you > do have it enabled on the client build. Is that correct? > > Utkarsh > > On Sat, Apr 11, 2015 at 12:45 PM, Schlottke, Michael > wrote: >> Hi, >> >> I just installed PV 4.3.1 from source as I need to compile some custom >> plugins. Using the GUI client in a standalone fashion is no problem and >> everything works as expected. However, I?ve had difficulties when trying to >> connect to a pvserver instance. >> >> The server dies with the following error messages: >> ####################################### >> Waiting for client... >> Connection URL: cs://aia257:11111 >> Accepting connection(s): aia257:11111 >> Client connected. >> Warning: In >> /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, >> line 170 >> vtkPVClientServerSynchronizedRenderers (0x1dfa530): Could not create the >> compressor by name . >> >> ERROR: In >> /home/mic/.pool/.src/ParaView-v4.3.1-source/VTK/Parallel/Core/vtkSocketCommunicator.cxx, >> line 878 >> vtkSocketCommunicator (0xbe1f50): Tag mismatch: got 10, expecting 1. >> >> Exiting? >> ####################################### >> >> While the client spills out a ton of messages like the following and finally >> dies with ?xcb_io.c?? error: >> >> ####################################### >> X Error: GLXBadContextTag 152 >> Extension: 145 (Uknown extension) >> Minor opcode: 115 (Unknown request) >> Resource id: 0x1 >> X Error: GLXBadContextTag 152 >> Extension: 145 (Uknown extension) >> Minor opcode: 1 (Unknown request) >> Resource id: 0x1 >> X Error: GLXBadContextTag 152 >> Extension: 145 (Uknown extension) >> Minor opcode: 145 (Unknown request) >> Resource id: 0x1 >> paraview: xcb_io.c:549: _XRead: Assertion `dpy->xcb->reply_data != ((void >> *)0)' failed. >> ####################################### >> >> Any ideas what I?m doing wrong? This happens directly on attempting to >> connect. I?ve added the configure command I used below. >> >> Thanks a lot in advance, >> >> Michael >> >> >> P.S: >> >> Used command to configure ParaView: >> CC=gcc CXX=g++ cmake $PV_SRC \ >> -DBUILD_DOCUMENTATION:BOOL=ON \ >> -DBUILD_SHARED_LIBS:BOOL=ON \ >> -DCMAKE_BUILD_TYPE:STRING=Release \ >> -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \ >> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ >> -DPARAVIEW_USE_MPI:BOOL=ON \ >> -DPYTHON_LIBRARY:FILEPATH=$PYTHON27/lib/libpython2.7.so \ >> -DPYTHON_INCLUDE_DIR:PATH=$PYTHON27/include/python2.7 >> >> >> -- >> Michael Schlottke >> >> Chair of Fluid Mechanics and Institute of Aerodynamics >> RWTH Aachen University >> W?llnerstra?e 5a >> 52062 Aachen >> Germany >> >> Phone: +49 (241) 80 95188 >> Fax: +49 (241) 80 92257 >> Mail: m.schlottke at aia.rwth-aachen.de >> Web: http://www.aia.rwth-aachen.de >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> From richard.c.angelini.civ at mail.mil Mon Apr 13 08:19:01 2015 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY ARL (US)) Date: Mon, 13 Apr 2015 12:19:01 +0000 Subject: [Paraview] default_servers.pvsc question In-Reply-To: <552B2B52.8020504@gmail.com> References: <552B2B52.8020504@gmail.com> Message-ID: Burlen/Utkarsh ?? my preferred solution is also to not set an environment variable if possible. For my particular issue, I?d much rather be able to do a `which ssh` (or equivalent) to get the answer than than asking the user to set an environment variable. Implementing a python-based default_servers definition opens things up for much more programmatic flexibility. # take a guess at which ssh command to use try: default_shell=os.popen("which ssh").read() default_shell=default_shell.rstrip("\r\n") except: default_shell="/usr/krb5/bin/ ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -----Original Message----- From: Burlen Loring Date: Sunday, April 12, 2015 at 10:34 PM To: Utkarsh Ayachit , Rick Angelini Cc: "paraview at paraview.org" Subject: Re: [Paraview] default_servers.pvsc question Hi Utkarsh, I think environment variables are kind of a band aid around a larger issue. In addition to leveraging the user's local environment, there's also no way to get information from the server side environment. for example list of account numbers a user can charge jobs to, or a list of active queues. One thing I have been thinking about is rather than just reading pvsc from an xml file, paraview could call a script to get the pvsc xml. This script could query the user's local/remote environment and generate the xml. A long time ago we had talked about a python based solution. What do you think? Burlen On 4/12/2015 11:31 AM, Utkarsh Ayachit wrote: > Rick, > > Alas no, this isn't currently supported. But should be fairly > straightforward to add. I've reported a bug: > http://www.paraview.org/Bug/view.php?id=15421 > > Utkarsh > > On Fri, Apr 10, 2015 at 4:09 PM, Angelini, Richard C (Rick) CIV USARMY > ARL (US) wrote: >> Question about the default_servers.pvsc file?.. >> >> I have this in my host profile: >> >> >> >> >> >> >> So, when the GUI pops up, the user has an opportunity to change the >>path to >> ssh. But, rather than hard-coding the default value, or presenting >>blank >> field and have the user put in the correct path, is it possible to >>query the >> user?s environment and find `which ssh` and substitute in that value?? >> >> >> >> >> ________________________________ >> Rick Angelini >> USArmy Research Laboratory >> CISD/HPC Architectures Team >> Phone: 410-278-6266 >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at >http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: >http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From M.Schlottke at aia.rwth-aachen.de Mon Apr 13 09:22:27 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Mon, 13 Apr 2015 13:22:27 +0000 Subject: [Paraview] MPI-aware reader plugin only has rank 0 Message-ID: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> Hi there, I?m having trouble getting my custom ParaView reader plugin to work correctly with MPI. ParaView was built with MPI enabled. After starting the server with mpirun -n NN pvserver I connect to it from a GUI client and try to load a datafile with the parallel reader plugin. To debug & test MPI first, I added the following lines to the RequestData method or the reader plugin: int rank, size; MPI_Comm_rank(MPI_COMM_WORLD, &rank); MPI_Comm_size(MPI_COMM_WORLD, &size); std::cout << ?rank/size: ? << rank << ?/? << size << std::endl; The expected output on the pvserver shell would be something like this: rank/size: 1/4 rank/size: 2/4 rank/size: 3/4 rank/size: 0/4 However, all I ever get is the last line, i.e. the output from rank 0. It thus seems like the communicator size is determined correctly, but only one process is really active. What am I doing wrong, or what do I have to do to get MPI to work as expected? Thank you very much in advance Michael P.S.: After starting the server and connecting to it, I get the following warning once per rank: Warning: In /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, line 170 vtkPVClientServerSynchronizedRenderers (0x1e000f0): Could not create the compressor by name . Maybe this is related to the problem described above? I also get this warning on the client side, although only once or twice. -- Michael Schlottke Chair of Fluid Mechanics and Institute of Aerodynamics RWTH Aachen University W?llnerstra?e 5a 52062 Aachen Germany Phone: +49 (241) 80 95188 Fax: +49 (241) 80 92257 Mail: m.schlottke at aia.rwth-aachen.de Web: http://www.aia.rwth-aachen.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Apr 13 09:53:52 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 13 Apr 2015 09:53:52 -0400 Subject: [Paraview] default_servers.pvsc question In-Reply-To: References: <552B2B52.8020504@gmail.com> Message-ID: Burlen/Rick, I am totally open to adding new features/refactoring the pvsc code. It hasn't changed much in a few years, and I am sure we know more than we did when we started with this :). Since you guys are the ones actually using this code in the field, it'd be great if you can identify the feature list of things missing or difficult to do in the current implementation and we can decide which would be best way forward. Should I create a google-doc or something which all can edit to built this list? Utkarsh On Mon, Apr 13, 2015 at 8:19 AM, Angelini, Richard C (Rick) CIV USARMY ARL (US) wrote: > Burlen/Utkarsh ?? my preferred solution is also to not set an environment > variable if possible. For my particular issue, I?d much rather be able to > do a `which ssh` (or equivalent) to get the answer than than asking the > user to set an environment variable. > > Implementing a python-based default_servers definition opens things up for > much more programmatic flexibility. > > # take a guess at which ssh command to use > > try: > default_shell=os.popen("which ssh").read() > default_shell=default_shell.rstrip("\r\n") > except: > default_shell="/usr/krb5/bin/ > > > > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > > > > -----Original Message----- > From: Burlen Loring > Date: Sunday, April 12, 2015 at 10:34 PM > To: Utkarsh Ayachit , Rick Angelini > > Cc: "paraview at paraview.org" > Subject: Re: [Paraview] default_servers.pvsc question > > Hi Utkarsh, > > I think environment variables are kind of a band aid around a larger > issue. In addition to leveraging the user's local environment, there's > also no way to get information from the server side environment. for > example list of account numbers a user can charge jobs to, or a list of > active queues. One thing I have been thinking about is rather than just > reading pvsc from an xml file, paraview could call a script to get the > pvsc xml. This script could query the user's local/remote environment > and generate the xml. A long time ago we had talked about a python based > solution. What do you think? > > Burlen > > On 4/12/2015 11:31 AM, Utkarsh Ayachit wrote: >> Rick, >> >> Alas no, this isn't currently supported. But should be fairly >> straightforward to add. I've reported a bug: >> http://www.paraview.org/Bug/view.php?id=15421 >> >> Utkarsh >> >> On Fri, Apr 10, 2015 at 4:09 PM, Angelini, Richard C (Rick) CIV USARMY >> ARL (US) wrote: >>> Question about the default_servers.pvsc file?.. >>> >>> I have this in my host profile: >>> >>> >>> >>> >>> >>> >>> So, when the GUI pops up, the user has an opportunity to change the >>>path to >>> ssh. But, rather than hard-coding the default value, or presenting >>>blank >>> field and have the user put in the correct path, is it possible to >>>query the >>> user?s environment and find `which ssh` and substitute in that value?? >>> >>> >>> >>> >>> ________________________________ >>> Rick Angelini >>> USArmy Research Laboratory >>> CISD/HPC Architectures Team >>> Phone: 410-278-6266 >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >>http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >>http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > From utkarsh.ayachit at kitware.com Mon Apr 13 09:55:54 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 13 Apr 2015 09:55:54 -0400 Subject: [Paraview] Error when connecting to pvserver (pv 4.3.1) In-Reply-To: References: Message-ID: Which vnc server are you using? Seems to me your VNC server is missing some X extensions (or something like that). We do use VNC servers here for running tests, so it's known to work. On Mon, Apr 13, 2015 at 5:09 AM, Schlottke, Michael wrote: > Hi Utkarsh, > > It is the same installed version that I use both for the client and the server. As you correctly pointed out, MPI is enabled. > > However, I somewhat narrowed down the scope of the problem. Apparently, if I use X forwarding via ssh, everything works correctly. Only if I run the ParaView client from within a VNC session the observed problems occur. Any idea where I might look for a possible solution? Using ParaView via X forwarding is unbearably slow in my current setup? > > Michael > >> On 12 Apr 2015, at 20:29 , Utkarsh Ayachit wrote: >> >> Are the client and server created using the similar build flags? One >> guess would be that you don't have MPI enabled on the server, but you >> do have it enabled on the client build. Is that correct? >> >> Utkarsh >> >> On Sat, Apr 11, 2015 at 12:45 PM, Schlottke, Michael >> wrote: >>> Hi, >>> >>> I just installed PV 4.3.1 from source as I need to compile some custom >>> plugins. Using the GUI client in a standalone fashion is no problem and >>> everything works as expected. However, I?ve had difficulties when trying to >>> connect to a pvserver instance. >>> >>> The server dies with the following error messages: >>> ####################################### >>> Waiting for client... >>> Connection URL: cs://aia257:11111 >>> Accepting connection(s): aia257:11111 >>> Client connected. >>> Warning: In >>> /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, >>> line 170 >>> vtkPVClientServerSynchronizedRenderers (0x1dfa530): Could not create the >>> compressor by name . >>> >>> ERROR: In >>> /home/mic/.pool/.src/ParaView-v4.3.1-source/VTK/Parallel/Core/vtkSocketCommunicator.cxx, >>> line 878 >>> vtkSocketCommunicator (0xbe1f50): Tag mismatch: got 10, expecting 1. >>> >>> Exiting? >>> ####################################### >>> >>> While the client spills out a ton of messages like the following and finally >>> dies with ?xcb_io.c?? error: >>> >>> ####################################### >>> X Error: GLXBadContextTag 152 >>> Extension: 145 (Uknown extension) >>> Minor opcode: 115 (Unknown request) >>> Resource id: 0x1 >>> X Error: GLXBadContextTag 152 >>> Extension: 145 (Uknown extension) >>> Minor opcode: 1 (Unknown request) >>> Resource id: 0x1 >>> X Error: GLXBadContextTag 152 >>> Extension: 145 (Uknown extension) >>> Minor opcode: 145 (Unknown request) >>> Resource id: 0x1 >>> paraview: xcb_io.c:549: _XRead: Assertion `dpy->xcb->reply_data != ((void >>> *)0)' failed. >>> ####################################### >>> >>> Any ideas what I?m doing wrong? This happens directly on attempting to >>> connect. I?ve added the configure command I used below. >>> >>> Thanks a lot in advance, >>> >>> Michael >>> >>> >>> P.S: >>> >>> Used command to configure ParaView: >>> CC=gcc CXX=g++ cmake $PV_SRC \ >>> -DBUILD_DOCUMENTATION:BOOL=ON \ >>> -DBUILD_SHARED_LIBS:BOOL=ON \ >>> -DCMAKE_BUILD_TYPE:STRING=Release \ >>> -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \ >>> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ >>> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ >>> -DPARAVIEW_USE_MPI:BOOL=ON \ >>> -DPYTHON_LIBRARY:FILEPATH=$PYTHON27/lib/libpython2.7.so \ >>> -DPYTHON_INCLUDE_DIR:PATH=$PYTHON27/include/python2.7 >>> >>> >>> -- >>> Michael Schlottke >>> >>> Chair of Fluid Mechanics and Institute of Aerodynamics >>> RWTH Aachen University >>> W?llnerstra?e 5a >>> 52062 Aachen >>> Germany >>> >>> Phone: +49 (241) 80 95188 >>> Fax: +49 (241) 80 92257 >>> Mail: m.schlottke at aia.rwth-aachen.de >>> Web: http://www.aia.rwth-aachen.de >>> >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> > From M.Schlottke at aia.rwth-aachen.de Mon Apr 13 10:05:00 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Mon, 13 Apr 2015 14:05:00 +0000 Subject: [Paraview] Error when connecting to pvserver (pv 4.3.1) In-Reply-To: References: Message-ID: <4B2A3B23-F20C-4943-8901-53D5F3BD657A@aia.rwth-aachen.de> Thanks for the hint, this seems to resolve my issue: I use tightvnc-1.3.9-110.1.x86_64 on the machine where it does not work, but on a different machine (with tightvnc-1.3.10-14.2.1.x86_64 installed) it works. Might not be just the vnc server version but maybe a related package, but it was definitely a fault with our site setup. Thanks for helping me to track this down! Michael > On 13 Apr 2015, at 15:55 , Utkarsh Ayachit wrote: > > Which vnc server are you using? Seems to me your VNC server is missing > some X extensions (or something like that). We do use VNC servers here > for running tests, so it's known to work. > > On Mon, Apr 13, 2015 at 5:09 AM, Schlottke, Michael > wrote: >> Hi Utkarsh, >> >> It is the same installed version that I use both for the client and the server. As you correctly pointed out, MPI is enabled. >> >> However, I somewhat narrowed down the scope of the problem. Apparently, if I use X forwarding via ssh, everything works correctly. Only if I run the ParaView client from within a VNC session the observed problems occur. Any idea where I might look for a possible solution? Using ParaView via X forwarding is unbearably slow in my current setup? >> >> Michael >> >>> On 12 Apr 2015, at 20:29 , Utkarsh Ayachit wrote: >>> >>> Are the client and server created using the similar build flags? One >>> guess would be that you don't have MPI enabled on the server, but you >>> do have it enabled on the client build. Is that correct? >>> >>> Utkarsh >>> >>> On Sat, Apr 11, 2015 at 12:45 PM, Schlottke, Michael >>> wrote: >>>> Hi, >>>> >>>> I just installed PV 4.3.1 from source as I need to compile some custom >>>> plugins. Using the GUI client in a standalone fashion is no problem and >>>> everything works as expected. However, I?ve had difficulties when trying to >>>> connect to a pvserver instance. >>>> >>>> The server dies with the following error messages: >>>> ####################################### >>>> Waiting for client... >>>> Connection URL: cs://aia257:11111 >>>> Accepting connection(s): aia257:11111 >>>> Client connected. >>>> Warning: In >>>> /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, >>>> line 170 >>>> vtkPVClientServerSynchronizedRenderers (0x1dfa530): Could not create the >>>> compressor by name . >>>> >>>> ERROR: In >>>> /home/mic/.pool/.src/ParaView-v4.3.1-source/VTK/Parallel/Core/vtkSocketCommunicator.cxx, >>>> line 878 >>>> vtkSocketCommunicator (0xbe1f50): Tag mismatch: got 10, expecting 1. >>>> >>>> Exiting? >>>> ####################################### >>>> >>>> While the client spills out a ton of messages like the following and finally >>>> dies with ?xcb_io.c?? error: >>>> >>>> ####################################### >>>> X Error: GLXBadContextTag 152 >>>> Extension: 145 (Uknown extension) >>>> Minor opcode: 115 (Unknown request) >>>> Resource id: 0x1 >>>> X Error: GLXBadContextTag 152 >>>> Extension: 145 (Uknown extension) >>>> Minor opcode: 1 (Unknown request) >>>> Resource id: 0x1 >>>> X Error: GLXBadContextTag 152 >>>> Extension: 145 (Uknown extension) >>>> Minor opcode: 145 (Unknown request) >>>> Resource id: 0x1 >>>> paraview: xcb_io.c:549: _XRead: Assertion `dpy->xcb->reply_data != ((void >>>> *)0)' failed. >>>> ####################################### >>>> >>>> Any ideas what I?m doing wrong? This happens directly on attempting to >>>> connect. I?ve added the configure command I used below. >>>> >>>> Thanks a lot in advance, >>>> >>>> Michael >>>> >>>> >>>> P.S: >>>> >>>> Used command to configure ParaView: >>>> CC=gcc CXX=g++ cmake $PV_SRC \ >>>> -DBUILD_DOCUMENTATION:BOOL=ON \ >>>> -DBUILD_SHARED_LIBS:BOOL=ON \ >>>> -DCMAKE_BUILD_TYPE:STRING=Release \ >>>> -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \ >>>> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ >>>> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ >>>> -DPARAVIEW_USE_MPI:BOOL=ON \ >>>> -DPYTHON_LIBRARY:FILEPATH=$PYTHON27/lib/libpython2.7.so \ >>>> -DPYTHON_INCLUDE_DIR:PATH=$PYTHON27/include/python2.7 >>>> >>>> >>>> -- >>>> Michael Schlottke >>>> >>>> Chair of Fluid Mechanics and Institute of Aerodynamics >>>> RWTH Aachen University >>>> W?llnerstra?e 5a >>>> 52062 Aachen >>>> Germany >>>> >>>> Phone: +49 (241) 80 95188 >>>> Fax: +49 (241) 80 92257 >>>> Mail: m.schlottke at aia.rwth-aachen.de >>>> Web: http://www.aia.rwth-aachen.de >>>> >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >> From utkarsh.ayachit at kitware.com Mon Apr 13 10:30:31 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 13 Apr 2015 10:30:31 -0400 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> Message-ID: Michael, Let me know if you're still seeing this issue after the pvserver fix and we can debug this further. Utkarsh On Mon, Apr 13, 2015 at 9:22 AM, Schlottke, Michael wrote: > Hi there, > > I?m having trouble getting my custom ParaView reader plugin to work > correctly with MPI. ParaView was built with MPI enabled. After starting the > server with > > mpirun -n NN pvserver > > I connect to it from a GUI client and try to load a datafile with the > parallel reader plugin. To debug & test MPI first, I added the following > lines to the RequestData method or the reader plugin: > > int rank, size; > MPI_Comm_rank(MPI_COMM_WORLD, &rank); > MPI_Comm_size(MPI_COMM_WORLD, &size); > std::cout << ?rank/size: ? << rank << ?/? << size << std::endl; > > The expected output on the pvserver shell would be something like this: > > rank/size: 1/4 > rank/size: 2/4 > rank/size: 3/4 > rank/size: 0/4 > > However, all I ever get is the last line, i.e. the output from rank 0. It > thus seems like the communicator size is determined correctly, but only one > process is really active. What am I doing wrong, or what do I have to do to > get MPI to work as expected? > > Thank you very much in advance > > Michael > > P.S.: > > After starting the server and connecting to it, I get the following warning > once per rank: > > Warning: In > /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, > line 170 > vtkPVClientServerSynchronizedRenderers (0x1e000f0): Could not create the > compressor by name . > > Maybe this is related to the problem described above? I also get this > warning on the client side, although only once or twice. > > -- > Michael Schlottke > > Chair of Fluid Mechanics and Institute of Aerodynamics > RWTH Aachen University > W?llnerstra?e 5a > 52062 Aachen > Germany > > Phone: +49 (241) 80 95188 > Fax: +49 (241) 80 92257 > Mail: m.schlottke at aia.rwth-aachen.de > Web: http://www.aia.rwth-aachen.de > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From M.Schlottke at aia.rwth-aachen.de Mon Apr 13 10:39:48 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Mon, 13 Apr 2015 14:39:48 +0000 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> Message-ID: Hi Utkarsh, Not 100% sure what you mean with the pvserver fix. If you refer to the previous issue (regarding vncserver & OpenGL), it does not affect this behavior. I can reproduce this using regular X forwarding via ssh. Michael > On 13 Apr 2015, at 16:30 , Utkarsh Ayachit wrote: > > Michael, > > Let me know if you're still seeing this issue after the pvserver fix > and we can debug this further. > > Utkarsh > > On Mon, Apr 13, 2015 at 9:22 AM, Schlottke, Michael > wrote: >> Hi there, >> >> I?m having trouble getting my custom ParaView reader plugin to work >> correctly with MPI. ParaView was built with MPI enabled. After starting the >> server with >> >> mpirun -n NN pvserver >> >> I connect to it from a GUI client and try to load a datafile with the >> parallel reader plugin. To debug & test MPI first, I added the following >> lines to the RequestData method or the reader plugin: >> >> int rank, size; >> MPI_Comm_rank(MPI_COMM_WORLD, &rank); >> MPI_Comm_size(MPI_COMM_WORLD, &size); >> std::cout << ?rank/size: ? << rank << ?/? << size << std::endl; >> >> The expected output on the pvserver shell would be something like this: >> >> rank/size: 1/4 >> rank/size: 2/4 >> rank/size: 3/4 >> rank/size: 0/4 >> >> However, all I ever get is the last line, i.e. the output from rank 0. It >> thus seems like the communicator size is determined correctly, but only one >> process is really active. What am I doing wrong, or what do I have to do to >> get MPI to work as expected? >> >> Thank you very much in advance >> >> Michael >> >> P.S.: >> >> After starting the server and connecting to it, I get the following warning >> once per rank: >> >> Warning: In >> /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, >> line 170 >> vtkPVClientServerSynchronizedRenderers (0x1e000f0): Could not create the >> compressor by name . >> >> Maybe this is related to the problem described above? I also get this >> warning on the client side, although only once or twice. >> >> -- >> Michael Schlottke >> >> Chair of Fluid Mechanics and Institute of Aerodynamics >> RWTH Aachen University >> W?llnerstra?e 5a >> 52062 Aachen >> Germany >> >> Phone: +49 (241) 80 95188 >> Fax: +49 (241) 80 92257 >> Mail: m.schlottke at aia.rwth-aachen.de >> Web: http://www.aia.rwth-aachen.de >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> From utkarsh.ayachit at kitware.com Mon Apr 13 10:57:15 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 13 Apr 2015 10:57:15 -0400 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> Message-ID: > Not 100% sure what you mean with the pvserver fix. If you refer to the previous issue (regarding vncserver & OpenGL), it does not affect this behavior. I can reproduce this using regular X forwarding via ssh. Yes, I was referring to the VNC issue. Well, try this: create a programmable source and try the following as the "Script". from paraview.servermanager import vtkProcessModule print "rank=", vtkProcessModule.GetProcessModule().GetPartitionId() print "total=", vtkProcessModule.GetProcessModule().GetNumberOfLocalPartitions() What do you get? From utkarsh.ayachit at kitware.com Mon Apr 13 10:58:56 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 13 Apr 2015 10:58:56 -0400 Subject: [Paraview] Fwd: Rendering speed sluggish using cluster In-Reply-To: References: Message-ID: Christian, Sorry for the late reply, just saw this email. You say things are slow when moving the scalar bar or resizing. Does that mean things are okay when interacting with the 3D view? Utkarsh On Tue, Mar 24, 2015 at 2:18 AM, Christian Butcher wrote: > Dear ParaView Users, > > I'm rendering a pseudo-2D data set of approx 7 million cells, running > 'mpirun ... pvserver'. > > I can connect remotely. The cluster does not have graphics cards > installed, so I'm using the '--use-offscreen-rendering' flag. > > The client options for 'Remote Render Threshold' and 'LODThreshold' > are both set to 0. > > On the cluster, I'm currently trying with 48 cores each using 16GB > RAM, just in case I was previously using too little. I'm pretty sure > this is overkill - certainly the problem seems comparable to when I > run it on 8 cores each using 4GB RAM etc. > > I suspect I'm just not using the software well, or have installed > either the client or (more likely?) the cluster's pvserver badly. > > Both are using 4.2.0, client has version "4.2.0-287-g1631961 64-bit", > pvserver returns just "4.2.0" as the version. > > When changing any aspect of the render view, the client becomes > unresponsive/sluggish for long periods of time. This includes, for > example, moving the coloring scale bar across the screen. > > I'm sure I'm missing something obvious (like a step to cut down the > requirements on the client workstation, for example). > > What should I be doing differently? > > The script I used to start ccmake is below - other options were left > at default values (iirc): > > ccmake \ > -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ > -DCMAKE_CXX_COMPILER:FILEPATH=/apps/gnu/openmpi.gcc/1.8.3/bin/mpic++ \ > -DCMAKE_C_COMPILER:FILEPATH=/apps/gnu/openmpi.gcc/1.8.3/bin/mpicc \ > -DCMAKE_Fortran_COMPILER:FILEPATH=/apps/gnu/openmpi.gcc/1.8.3/bin/mpifort > \ > -DPARAVIEW_USE_MPI:BOOL=ON \ > \ > -DCMAKE_INSTALL_PREFIX:PATH=/home/c/christian-butcher/Applications \ > -DBoost_INCLUDE_DIR:PATH=/home/c/christian-butcher/Applications/include > \ > -DBoost_LIBRARY_DIRS:FILEPATH=/home/c/christian-butcher/Applications/lib > \ > \ > -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF \ > -DBUILD_TESTING:BOOL=OFF \ > -DBUILD_EXAMPLES:BOOL=FALSE \ > -DBUILD_SHARED_LIBS:BOOL=ON \ > -DBUILD_DOCUMENTATION:BOOL=OFF \ > -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ > \ > -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ > -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \ > \ > -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ > -DVTK_USE_OFFSCREEN:BOOL=ON \ > -DVISIT_BUILD_READER_GMV:BOOL=OFF \ > \ > -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=OFF \ > -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=ON \ > -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE \ > -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE \ > -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE \ > -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE \ > -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE \ > -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE \ > \ > -DVTK_USE_SYSTEM_ZLIB:BOOL=ON \ > -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ > -DVTK_USE_X:BOOL=OFF \ > \ > -DModule_vtkFiltersParallelGeometry=ON \ > -DModule_vtkFiltersSMP=ON \ > -DModule_vtkFiltersSelection=ON \ > -DModule_vtkIOMPIParallel=ON \ > -DModule_vtkImagingMath=ON \ > -DModule_vtkImagingStatistics=ON \ > -DModule_vtkImagingStencil=ON \ > \ > -DOPENGL_INCLUDE_DIR:PATH=/home/c/christian-butcher/Applications/include > \ > -DOPENGL_gl_LIBRARY:FILEPATH=/home/c/christian-butcher/Applications/lib/libOSMesa.so > \ > -DOPENGL_glu_LIBRARY:FILEPATH=/home/c/christian-butcher/Applications/lib/libGLU.so > \ > -DOSMESA_LIBRARY:FILEPATH=/home/c/christian-butcher/Applications/lib/libOSMesa.so > \ > -DOSMESA_INCLUDE_DIR:PATH=/home/c/christian-butcher/Applications/include > \ > $APPS/source/git-sources/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From yzs133 at psu.edu Mon Apr 13 11:04:52 2015 From: yzs133 at psu.edu (yufei shen) Date: Mon, 13 Apr 2015 11:04:52 -0400 Subject: [Paraview] Everything on graph disappears after choose 'volume' representation In-Reply-To: References: Message-ID: Hi Utkarsh: The script you sent yesterday solved the problem for me, now I can 3D volume render the data! Thanks for the help! Yufei On Sun, Apr 12, 2015 at 3:58 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Attached is a XML that you can load as a plugin using the Tools | > Plugin Manager. This will add a new "Import CSV As Volume" source > under the "Sources" menu. On creating this new source, you'll be able > to select the CSV file and specify the relevant meta-data as > properties. I've setup the defaults to match the file you sent. The > Python code assumes that the CSV file has data in the same order as > VTK expects i.e. X varying first, then Y and then Z. Hence the image > dimensions are flipped. > > Also, this is designed to work only for a single process mode, it'll > need some work if it's to work in parallel too. > > Utkarsh > > > > On Fri, Apr 10, 2015 at 3:35 PM, Utkarsh Ayachit > wrote: > > You cannot volume render data coming in from a CSV file. If you want > > to sned me a sample CSV, I can send you a Programmable Source code > > than will produce a volume renderable dataset. > > > > > > On Fri, Apr 10, 2015 at 12:21 PM, yufei shen wrote: > >> Good afternoon: > >> > >> I am just beginning to use Paraview, and I'm using it to plot a 3D > current > >> scalar field, with x,y,z being the coordinates of a point in space, > while > >> the forth column value represents the intensity of current passing > through > >> that point. My input file is .csv. > >> > >> After I have tetrahedralized my points, the figure show up in the > plotting > >> window perfectly with surface, point or any other representations except > >> VOLUME. I can adjust color together with alpha values, however, as soon > as I > >> switch to 'volume', everything just disappears. I've also tried the same > >> thing on all platforms (Mac, linux, Windows), but the problem is not > solved. > >> > >> I wonder what's causing this problem? Should I used a different input > file > >> format other than .csv? It seems what I am doing is really simple > compared > >> with paraview's capability. I have also checked the archives but could > not > >> find any solution to this... > >> > >> I really appreciate your help! > >> > >> Best Regards > >> Yufei > >> > >> _______________________________________________ > >> 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 > >> > >> Search the list archives at: http://markmail.org/search/?q=ParaView > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/paraview > >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Schlottke at aia.rwth-aachen.de Mon Apr 13 11:09:02 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Mon, 13 Apr 2015 15:09:02 +0000 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> Message-ID: > Well, try this: create a programmable source and try the following as > the "Script". > > from paraview.servermanager import vtkProcessModule > print "rank=", vtkProcessModule.GetProcessModule().GetPartitionId() > print "total=", > vtkProcessModule.GetProcessModule().GetNumberOfLocalPartitions() > > What do you get? When I do not connect to a server, I get the expected output (rank=0, total=1). If I do connect to the server, I get the following error (once per rank) from pvserver: Traceback (most recent call last): File "", line 19, in File "", line 2, in RequestData File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 3184, in __initialize() File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 3175, in __initialize c = Connection(iter.GetCurrentSessionId(), iter.GetCurrentSession()) File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 1932, in __init__ _createModules(self.Modules) File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 2563, in _createModules m.sources = createModule('sources') File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 2593, in createModule pxm = ProxyManager() File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 1624, in __init__ self.SMProxyManager = session.GetSessionProxyManager() AttributeError: GetSessionProxyManager From utkarsh.ayachit at kitware.com Mon Apr 13 11:20:41 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 13 Apr 2015 11:20:41 -0400 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> Message-ID: Something's not right with your server. Is it possible you have multiple ParaView installations/builds on the server side? Utkarsh On Mon, Apr 13, 2015 at 11:09 AM, Schlottke, Michael wrote: >> Well, try this: create a programmable source and try the following as >> the "Script". >> >> from paraview.servermanager import vtkProcessModule >> print "rank=", vtkProcessModule.GetProcessModule().GetPartitionId() >> print "total=", >> vtkProcessModule.GetProcessModule().GetNumberOfLocalPartitions() >> >> What do you get? > > > When I do not connect to a server, I get the expected output (rank=0, total=1). > > If I do connect to the server, I get the following error (once per rank) from pvserver: > > Traceback (most recent call last): > File "", line 19, in > File "", line 2, in RequestData > File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 3184, in > __initialize() > File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 3175, in __initialize > c = Connection(iter.GetCurrentSessionId(), iter.GetCurrentSession()) > File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 1932, in __init__ > _createModules(self.Modules) > File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 2563, in _createModules > m.sources = createModule('sources') > File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 2593, in createModule > pxm = ProxyManager() > File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 1624, in __init__ > self.SMProxyManager = session.GetSessionProxyManager() > AttributeError: GetSessionProxyManager > From burlen.loring at gmail.com Mon Apr 13 11:29:02 2015 From: burlen.loring at gmail.com (Burlen Loring) Date: Mon, 13 Apr 2015 08:29:02 -0700 Subject: [Paraview] default_servers.pvsc question In-Reply-To: References: <552B2B52.8020504@gmail.com> Message-ID: <552BE0BE.9010003@gmail.com> Great, that sounds like a good way to start. On 04/13/2015 06:53 AM, Utkarsh Ayachit wrote: > Burlen/Rick, > > I am totally open to adding new features/refactoring the pvsc code. > It hasn't changed much in a few years, and I am sure we know more than > we did when we started with this :). Since you guys are the ones > actually using this code in the field, it'd be great if you can > identify the feature list of things missing or difficult to do in the > current implementation and we can decide which would be best way > forward. > > Should I create a google-doc or something which all can edit to built this list? > > Utkarsh > > On Mon, Apr 13, 2015 at 8:19 AM, Angelini, Richard C (Rick) CIV USARMY > ARL (US) wrote: >> Burlen/Utkarsh ?? my preferred solution is also to not set an environment >> variable if possible. For my particular issue, I?d much rather be able to >> do a `which ssh` (or equivalent) to get the answer than than asking the >> user to set an environment variable. >> >> Implementing a python-based default_servers definition opens things up for >> much more programmatic flexibility. >> >> # take a guess at which ssh command to use >> >> try: >> default_shell=os.popen("which ssh").read() >> default_shell=default_shell.rstrip("\r\n") >> except: >> default_shell="/usr/krb5/bin/ >> >> >> >> >> ________________________________ >> Rick Angelini >> USArmy Research Laboratory >> CISD/HPC Architectures Team >> Phone: 410-278-6266 >> >> >> >> >> -----Original Message----- >> From: Burlen Loring >> Date: Sunday, April 12, 2015 at 10:34 PM >> To: Utkarsh Ayachit , Rick Angelini >> >> Cc: "paraview at paraview.org" >> Subject: Re: [Paraview] default_servers.pvsc question >> >> Hi Utkarsh, >> >> I think environment variables are kind of a band aid around a larger >> issue. In addition to leveraging the user's local environment, there's >> also no way to get information from the server side environment. for >> example list of account numbers a user can charge jobs to, or a list of >> active queues. One thing I have been thinking about is rather than just >> reading pvsc from an xml file, paraview could call a script to get the >> pvsc xml. This script could query the user's local/remote environment >> and generate the xml. A long time ago we had talked about a python based >> solution. What do you think? >> >> Burlen >> >> On 4/12/2015 11:31 AM, Utkarsh Ayachit wrote: >>> Rick, >>> >>> Alas no, this isn't currently supported. But should be fairly >>> straightforward to add. I've reported a bug: >>> http://www.paraview.org/Bug/view.php?id=15421 >>> >>> Utkarsh >>> >>> On Fri, Apr 10, 2015 at 4:09 PM, Angelini, Richard C (Rick) CIV USARMY >>> ARL (US) wrote: >>>> Question about the default_servers.pvsc file?.. >>>> >>>> I have this in my host profile: >>>> >>>> >>>> >>>> >>>> >>>> >>>> So, when the GUI pops up, the user has an opportunity to change the >>>> path to >>>> ssh. But, rather than hard-coding the default value, or presenting >>>> blank >>>> field and have the user put in the correct path, is it possible to >>>> query the >>>> user?s environment and find `which ssh` and substitute in that value?? >>>> >>>> >>>> >>>> >>>> ________________________________ >>>> Rick Angelini >>>> USArmy Research Laboratory >>>> CISD/HPC Architectures Team >>>> Phone: 410-278-6266 >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >> From utkarsh.ayachit at kitware.com Mon Apr 13 11:33:11 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 13 Apr 2015 11:33:11 -0400 Subject: [Paraview] default_servers.pvsc question In-Reply-To: <552BE0BE.9010003@gmail.com> References: <552B2B52.8020504@gmail.com> <552BE0BE.9010003@gmail.com> Message-ID: Great, let's start here: https://docs.google.com/a/kitware.com/document/d/1uzi3VzpCxiGslhqaUde3ZbKcx-9LLG_ly3BYvDiPPx0/edit?usp=sharing Utkarsh On Mon, Apr 13, 2015 at 11:29 AM, Burlen Loring wrote: > Great, that sounds like a good way to start. > > > On 04/13/2015 06:53 AM, Utkarsh Ayachit wrote: >> >> Burlen/Rick, >> >> I am totally open to adding new features/refactoring the pvsc code. >> It hasn't changed much in a few years, and I am sure we know more than >> we did when we started with this :). Since you guys are the ones >> actually using this code in the field, it'd be great if you can >> identify the feature list of things missing or difficult to do in the >> current implementation and we can decide which would be best way >> forward. >> >> Should I create a google-doc or something which all can edit to built this >> list? >> >> Utkarsh >> >> On Mon, Apr 13, 2015 at 8:19 AM, Angelini, Richard C (Rick) CIV USARMY >> ARL (US) wrote: >>> >>> Burlen/Utkarsh ?? my preferred solution is also to not set an environment >>> variable if possible. For my particular issue, I?d much rather be able >>> to >>> do a `which ssh` (or equivalent) to get the answer than than asking the >>> user to set an environment variable. >>> >>> Implementing a python-based default_servers definition opens things up >>> for >>> much more programmatic flexibility. >>> >>> # take a guess at which ssh command to use >>> >>> try: >>> default_shell=os.popen("which ssh").read() >>> default_shell=default_shell.rstrip("\r\n") >>> except: >>> default_shell="/usr/krb5/bin/ >>> >>> >>> >>> >>> ________________________________ >>> Rick Angelini >>> USArmy Research Laboratory >>> CISD/HPC Architectures Team >>> Phone: 410-278-6266 >>> >>> >>> >>> >>> -----Original Message----- >>> From: Burlen Loring >>> Date: Sunday, April 12, 2015 at 10:34 PM >>> To: Utkarsh Ayachit , Rick Angelini >>> >>> Cc: "paraview at paraview.org" >>> Subject: Re: [Paraview] default_servers.pvsc question >>> >>> Hi Utkarsh, >>> >>> I think environment variables are kind of a band aid around a larger >>> issue. In addition to leveraging the user's local environment, there's >>> also no way to get information from the server side environment. for >>> example list of account numbers a user can charge jobs to, or a list of >>> active queues. One thing I have been thinking about is rather than just >>> reading pvsc from an xml file, paraview could call a script to get the >>> pvsc xml. This script could query the user's local/remote environment >>> and generate the xml. A long time ago we had talked about a python based >>> solution. What do you think? >>> >>> Burlen >>> >>> On 4/12/2015 11:31 AM, Utkarsh Ayachit wrote: >>>> >>>> Rick, >>>> >>>> Alas no, this isn't currently supported. But should be fairly >>>> straightforward to add. I've reported a bug: >>>> http://www.paraview.org/Bug/view.php?id=15421 >>>> >>>> Utkarsh >>>> >>>> On Fri, Apr 10, 2015 at 4:09 PM, Angelini, Richard C (Rick) CIV USARMY >>>> ARL (US) wrote: >>>>> >>>>> Question about the default_servers.pvsc file?.. >>>>> >>>>> I have this in my host profile: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> So, when the GUI pops up, the user has an opportunity to change the >>>>> path to >>>>> ssh. But, rather than hard-coding the default value, or presenting >>>>> blank >>>>> field and have the user put in the correct path, is it possible to >>>>> query the >>>>> user?s environment and find `which ssh` and substitute in that value?? >>>>> >>>>> >>>>> >>>>> >>>>> ________________________________ >>>>> Rick Angelini >>>>> USArmy Research Laboratory >>>>> CISD/HPC Architectures Team >>>>> Phone: 410-278-6266 >>>>> >>>>> _______________________________________________ >>>>> 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 >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> > From burlen.loring at gmail.com Mon Apr 13 11:48:47 2015 From: burlen.loring at gmail.com (Burlen Loring) Date: Mon, 13 Apr 2015 08:48:47 -0700 Subject: [Paraview] default_servers.pvsc question In-Reply-To: References: <552B2B52.8020504@gmail.com> <552BE0BE.9010003@gmail.com> Message-ID: <552BE55F.5040509@gmail.com> OK, I added some notes based on the above discussion. On 04/13/2015 08:33 AM, Utkarsh Ayachit wrote: > Great, let's start here: > > https://docs.google.com/a/kitware.com/document/d/1uzi3VzpCxiGslhqaUde3ZbKcx-9LLG_ly3BYvDiPPx0/edit?usp=sharing > > Utkarsh > > > > On Mon, Apr 13, 2015 at 11:29 AM, Burlen Loring wrote: >> Great, that sounds like a good way to start. >> >> >> On 04/13/2015 06:53 AM, Utkarsh Ayachit wrote: >>> Burlen/Rick, >>> >>> I am totally open to adding new features/refactoring the pvsc code. >>> It hasn't changed much in a few years, and I am sure we know more than >>> we did when we started with this :). Since you guys are the ones >>> actually using this code in the field, it'd be great if you can >>> identify the feature list of things missing or difficult to do in the >>> current implementation and we can decide which would be best way >>> forward. >>> >>> Should I create a google-doc or something which all can edit to built this >>> list? >>> >>> Utkarsh >>> >>> On Mon, Apr 13, 2015 at 8:19 AM, Angelini, Richard C (Rick) CIV USARMY >>> ARL (US) wrote: >>>> Burlen/Utkarsh ?? my preferred solution is also to not set an environment >>>> variable if possible. For my particular issue, I?d much rather be able >>>> to >>>> do a `which ssh` (or equivalent) to get the answer than than asking the >>>> user to set an environment variable. >>>> >>>> Implementing a python-based default_servers definition opens things up >>>> for >>>> much more programmatic flexibility. >>>> >>>> # take a guess at which ssh command to use >>>> >>>> try: >>>> default_shell=os.popen("which ssh").read() >>>> default_shell=default_shell.rstrip("\r\n") >>>> except: >>>> default_shell="/usr/krb5/bin/ >>>> >>>> >>>> >>>> >>>> ________________________________ >>>> Rick Angelini >>>> USArmy Research Laboratory >>>> CISD/HPC Architectures Team >>>> Phone: 410-278-6266 >>>> >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: Burlen Loring >>>> Date: Sunday, April 12, 2015 at 10:34 PM >>>> To: Utkarsh Ayachit , Rick Angelini >>>> >>>> Cc: "paraview at paraview.org" >>>> Subject: Re: [Paraview] default_servers.pvsc question >>>> >>>> Hi Utkarsh, >>>> >>>> I think environment variables are kind of a band aid around a larger >>>> issue. In addition to leveraging the user's local environment, there's >>>> also no way to get information from the server side environment. for >>>> example list of account numbers a user can charge jobs to, or a list of >>>> active queues. One thing I have been thinking about is rather than just >>>> reading pvsc from an xml file, paraview could call a script to get the >>>> pvsc xml. This script could query the user's local/remote environment >>>> and generate the xml. A long time ago we had talked about a python based >>>> solution. What do you think? >>>> >>>> Burlen >>>> >>>> On 4/12/2015 11:31 AM, Utkarsh Ayachit wrote: >>>>> Rick, >>>>> >>>>> Alas no, this isn't currently supported. But should be fairly >>>>> straightforward to add. I've reported a bug: >>>>> http://www.paraview.org/Bug/view.php?id=15421 >>>>> >>>>> Utkarsh >>>>> >>>>> On Fri, Apr 10, 2015 at 4:09 PM, Angelini, Richard C (Rick) CIV USARMY >>>>> ARL (US) wrote: >>>>>> Question about the default_servers.pvsc file?.. >>>>>> >>>>>> I have this in my host profile: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> So, when the GUI pops up, the user has an opportunity to change the >>>>>> path to >>>>>> ssh. But, rather than hard-coding the default value, or presenting >>>>>> blank >>>>>> field and have the user put in the correct path, is it possible to >>>>>> query the >>>>>> user?s environment and find `which ssh` and substitute in that value?? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ________________________________ >>>>>> Rick Angelini >>>>>> USArmy Research Laboratory >>>>>> CISD/HPC Architectures Team >>>>>> Phone: 410-278-6266 >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>> From andy.bauer at kitware.com Mon Apr 13 11:58:27 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 13 Apr 2015 11:58:27 -0400 Subject: [Paraview] memory inspector information through Python API Message-ID: Hi, It looks like vtkPVMemoryUseInformation is the main class that's used for the Memory Inspector. Has anyone tried using this through ParaView's Python API? It looks like it's getting wrapped but when I try to use it it causes a crash. Thanks, Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Mon Apr 13 12:03:10 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 13 Apr 2015 12:03:10 -0400 Subject: [Paraview] memory inspector information through Python API In-Reply-To: References: Message-ID: It looks like it's in benchmark.py: def get_memuse() : session = servermanager.ProxyManager().GetSessionProxyManager().GetSession() retval = [] infos = servermanager.vtkPVMemoryUseInformation() session.GatherInformation(session.CLIENT, infos, 0) procUse = str(infos.GetProcMemoryUse(0)) hostUse = str(infos.GetHostMemoryUse(0)) retval.append("CLIENT " + procUse + " / " + hostUse) infos = servermanager.vtkPVMemoryUseInformation() session.GatherInformation(session.DATA_SERVER, infos, 0) for i in range(0,infos.GetSize()): rank = str(infos.GetRank(i)) procUse = str(infos.GetProcMemoryUse(i)) hostUse = str(infos.GetHostMemoryUse(i)) retval.append("DS[" + rank + "] " + procUse + " / " + hostUse) return retval On Mon, Apr 13, 2015 at 11:58 AM, Andy Bauer wrote: > Hi, > > It looks like vtkPVMemoryUseInformation is the main class that's used for > the Memory Inspector. Has anyone tried using this through ParaView's Python > API? It looks like it's getting wrapped but when I try to use it it causes > a crash. > > Thanks, > Andy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Mon Apr 13 12:07:10 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 13 Apr 2015 12:07:10 -0400 Subject: [Paraview] memory inspector information through Python API In-Reply-To: References: Message-ID: Any problems with it via benchmark.py? It worked great perhaps six months ago. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Apr 13, 2015 at 12:03 PM, Andy Bauer wrote: > It looks like it's in benchmark.py: > > def get_memuse() : > session = > servermanager.ProxyManager().GetSessionProxyManager().GetSession() > > retval = [] > infos = servermanager.vtkPVMemoryUseInformation() > session.GatherInformation(session.CLIENT, infos, 0) > procUse = str(infos.GetProcMemoryUse(0)) > hostUse = str(infos.GetHostMemoryUse(0)) > retval.append("CLIENT " + procUse + " / " + hostUse) > > infos = servermanager.vtkPVMemoryUseInformation() > session.GatherInformation(session.DATA_SERVER, infos, 0) > for i in range(0,infos.GetSize()): > rank = str(infos.GetRank(i)) > procUse = str(infos.GetProcMemoryUse(i)) > hostUse = str(infos.GetHostMemoryUse(i)) > retval.append("DS[" + rank + "] " + procUse + " / " + hostUse) > return retval > > On Mon, Apr 13, 2015 at 11:58 AM, Andy Bauer > wrote: > >> Hi, >> >> It looks like vtkPVMemoryUseInformation is the main class that's used for >> the Memory Inspector. Has anyone tried using this through ParaView's Python >> API? It looks like it's getting wrapped but when I try to use it it causes >> a crash. >> >> Thanks, >> Andy >> > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Schlottke at aia.rwth-aachen.de Mon Apr 13 12:25:06 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Mon, 13 Apr 2015 16:25:06 +0000 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> Message-ID: <2917A757-1762-46D8-ADD2-71338F8FE9E3@aia.rwth-aachen.de> I do have multiple installations/builds. However, I don?t know how/if they could affect the execution of the paraview executable I?m using: both paraview and pvserver reside in the same (correct) directory on the PATH, and there?s nothing ParaView-related in the LD_LIBRARY_PATH. The only other variable I?ve found is PARAVIEWDIR, which was indeed pointing to an older installation; however, changing it to my installation did not change anything either. The only other way I can think of how my installation could be affected is that the PARAVIEWDIR variable being set to a ParaView 3.x installation during build/install time and/or that I am using a Python installation in a non-standard location (specified during configure as follows; the Bash variables $PV_SRC, $PREFIX and $PYTHON27 are set to valid paths): CC=gcc CXX=g++ cmake $PV_SRC \ -DBUILD_DOCUMENTATION:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \ -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ -DPARAVIEW_USE_MPI:BOOL=ON \ -DPYTHON_LIBRARY:FILEPATH=$PYTHON27/lib/libpython2.7.so \ -DPYTHON_INCLUDE_DIR:PATH=$PYTHON27/include/python2.7 > On 13 Apr 2015, at 17:20 , Utkarsh Ayachit wrote: > > Something's not right with your server. Is it possible you have > multiple ParaView installations/builds on the server side? > > Utkarsh > > On Mon, Apr 13, 2015 at 11:09 AM, Schlottke, Michael > wrote: >>> Well, try this: create a programmable source and try the following as >>> the "Script". >>> >>> from paraview.servermanager import vtkProcessModule >>> print "rank=", vtkProcessModule.GetProcessModule().GetPartitionId() >>> print "total=", >>> vtkProcessModule.GetProcessModule().GetNumberOfLocalPartitions() >>> >>> What do you get? >> >> >> When I do not connect to a server, I get the expected output (rank=0, total=1). >> >> If I do connect to the server, I get the following error (once per rank) from pvserver: >> >> Traceback (most recent call last): >> File "", line 19, in >> File "", line 2, in RequestData >> File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 3184, in >> __initialize() >> File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 3175, in __initialize >> c = Connection(iter.GetCurrentSessionId(), iter.GetCurrentSession()) >> File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 1932, in __init__ >> _createModules(self.Modules) >> File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 2563, in _createModules >> m.sources = createModule('sources') >> File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 2593, in createModule >> pxm = ProxyManager() >> File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 1624, in __init__ >> self.SMProxyManager = session.GetSessionProxyManager() >> AttributeError: GetSessionProxyManager >> From andy.bauer at kitware.com Mon Apr 13 13:23:26 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 13 Apr 2015 13:23:26 -0400 Subject: [Paraview] memory inspector information through Python API In-Reply-To: References: Message-ID: Still working nicely. Also works the way I want with pvbatch in symmetric mode! On Mon, Apr 13, 2015 at 12:07 PM, David E DeMarle wrote: > Any problems with it via benchmark.py? It worked great perhaps six months > ago. > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Mon, Apr 13, 2015 at 12:03 PM, Andy Bauer > wrote: > >> It looks like it's in benchmark.py: >> >> def get_memuse() : >> session = >> servermanager.ProxyManager().GetSessionProxyManager().GetSession() >> >> retval = [] >> infos = servermanager.vtkPVMemoryUseInformation() >> session.GatherInformation(session.CLIENT, infos, 0) >> procUse = str(infos.GetProcMemoryUse(0)) >> hostUse = str(infos.GetHostMemoryUse(0)) >> retval.append("CLIENT " + procUse + " / " + hostUse) >> >> infos = servermanager.vtkPVMemoryUseInformation() >> session.GatherInformation(session.DATA_SERVER, infos, 0) >> for i in range(0,infos.GetSize()): >> rank = str(infos.GetRank(i)) >> procUse = str(infos.GetProcMemoryUse(i)) >> hostUse = str(infos.GetHostMemoryUse(i)) >> retval.append("DS[" + rank + "] " + procUse + " / " + hostUse) >> return retval >> >> On Mon, Apr 13, 2015 at 11:58 AM, Andy Bauer >> wrote: >> >>> Hi, >>> >>> It looks like vtkPVMemoryUseInformation is the main class that's used >>> for the Memory Inspector. Has anyone tried using this through ParaView's >>> Python API? It looks like it's getting wrapped but when I try to use it it >>> causes a crash. >>> >>> Thanks, >>> Andy >>> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Mon Apr 13 13:25:59 2015 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Mon, 13 Apr 2015 17:25:59 +0000 Subject: [Paraview] ParaView and double precision Rendering Message-ID: <16363023d4454e1b9eb3b0d582c91bbd@RZJMBX2.jr1.local> Hello I made a paraview reader plugin which loads Point data of type double from an ASCII file (can be choosen as checkbox in reader parameter gui). It is important that point data type is double since our values have a huge offset, e.g. Coordinate in float: 3376382.75 -325198.59375 -121298.125 Coordinate in double: 3376382.849028525874 -325198.60899497801438 -121298.12806414699298 (same ASCII input file of type double, above printings come from spreadsheet view so loading is correct) (all my points have such small changes, I definitely can see those small changes in 3d) The problem is: I load the dataset once in float and once in double ( I checked result in spreadsheed view) I cannot see any differences in 3d renderer when I swap visibility of float and double input (but you can see in spreadsheet). Is the double precision rendering not correct/not supported? Any ideas? Best regards, Gerald Lodron Machine Vision Applications DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone:? +43-316-876-1751???????? fax: +43-316-876-1751 web:??? http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at From Ecarlson at eng.ua.edu Mon Apr 13 16:16:28 2015 From: Ecarlson at eng.ua.edu (Carlson, Eric) Date: Mon, 13 Apr 2015 15:16:28 -0500 Subject: [Paraview] numpy->ParaView for surface Message-ID: <2FE9F619592E8A4382310F62E7F06311022B82B40C30@MAIL1.ua-net.ua.edu> Hello, Is there an example of taking a simple two-index numpy array and creating a surface plot in ParaView through the python shell? An example of this for Mayavi is at http://docs.enthought.com/mayavi/mayavi/auto/example_canyon.html#example-canyon Really, if I just have some idea how to encapsulate the numpy array into some VTK structure and then send the structure to the ParaView pipeline, I can probably figure the rest out. I apologize if this is available someplace I haven't discovered yet (perhaps because of poor wording in my searches). Many Thanks, Eric Carlson -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Apr 13 17:38:28 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 13 Apr 2015 17:38:28 -0400 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: <2917A757-1762-46D8-ADD2-71338F8FE9E3@aia.rwth-aachen.de> References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> <2917A757-1762-46D8-ADD2-71338F8FE9E3@aia.rwth-aachen.de> Message-ID: My bad -- can't believe I made such a rookie mistake. Here's the correct script: from vtkPVClientServerCoreCorePython import vtkProcessModule print "rank=", vtkProcessModule.GetProcessModule().GetPartitionId() print "total=", vtkProcessModule.GetProcessModule().GetNumberOfLocalPartitions() From christian.butcher at oist.jp Mon Apr 13 22:31:08 2015 From: christian.butcher at oist.jp (Christian Butcher) Date: Tue, 14 Apr 2015 11:31:08 +0900 Subject: [Paraview] Fwd: Rendering speed sluggish using cluster In-Reply-To: <135a851d51394435b52c2ea29a7e0b98@OISTEXHUB02.oist.local> References: <135a851d51394435b52c2ea29a7e0b98@OISTEXHUB02.oist.local> Message-ID: Utkarsh, Previously, it was not okay when interacting with the 3D view. Now, however, I have recompiled ParaView (both on the cluster and on my workstation), and with settings at: Remote Render Threshold : 0 (I don't think this was the culprit - it was already low, but this makes it certain, I suppose) Still Render Image Reduction Factor : 1 (I can't increase this, or I seem unable to see the features of interest) Image Reduction Factor : 8 (I'm uncertain if this is helpful, but certainly the description would indicate it may be the option of interest) and mpirun -np 12 path/pvserver --use-offscreen-rendering each having a maximum of 16G RAM and an IB connection between nodes, the problem is vastly reduced/gone. I'm sorry I can't be more specific as to what changed to make this so much smoother - there are still delays, but now these are just a few seconds, and that seems reasonable, compared with the multiple minute lockups previously experienced. I suspect I might have had some combination of poorly chosen compilation options, and poorly chosen rendering settings. Best, Christian On 13 April 2015 at 23:58, Utkarsh Ayachit wrote: > Christian, > > Sorry for the late reply, just saw this email. > > You say things are slow when moving the scalar bar or resizing. Does > that mean things are okay when interacting with the 3D view? > > Utkarsh > > On Tue, Mar 24, 2015 at 2:18 AM, Christian Butcher > wrote: >> Dear ParaView Users, >> >> I'm rendering a pseudo-2D data set of approx 7 million cells, running >> 'mpirun ... pvserver'. >> >> I can connect remotely. The cluster does not have graphics cards >> installed, so I'm using the '--use-offscreen-rendering' flag. >> >> The client options for 'Remote Render Threshold' and 'LODThreshold' >> are both set to 0. >> >> On the cluster, I'm currently trying with 48 cores each using 16GB >> RAM, just in case I was previously using too little. I'm pretty sure >> this is overkill - certainly the problem seems comparable to when I >> run it on 8 cores each using 4GB RAM etc. >> >> I suspect I'm just not using the software well, or have installed >> either the client or (more likely?) the cluster's pvserver badly. >> >> Both are using 4.2.0, client has version "4.2.0-287-g1631961 64-bit", >> pvserver returns just "4.2.0" as the version. >> >> When changing any aspect of the render view, the client becomes >> unresponsive/sluggish for long periods of time. This includes, for >> example, moving the coloring scale bar across the screen. >> >> I'm sure I'm missing something obvious (like a step to cut down the >> requirements on the client workstation, for example). >> >> What should I be doing differently? >> >> The script I used to start ccmake is below - other options were left >> at default values (iirc): >> >> ccmake \ >> -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ >> -DCMAKE_CXX_COMPILER:FILEPATH=/apps/gnu/openmpi.gcc/1.8.3/bin/mpic++ \ >> -DCMAKE_C_COMPILER:FILEPATH=/apps/gnu/openmpi.gcc/1.8.3/bin/mpicc \ >> -DCMAKE_Fortran_COMPILER:FILEPATH=/apps/gnu/openmpi.gcc/1.8.3/bin/mpifort >> \ >> -DPARAVIEW_USE_MPI:BOOL=ON \ >> \ >> -DCMAKE_INSTALL_PREFIX:PATH=/home/c/christian-butcher/Applications \ >> -DBoost_INCLUDE_DIR:PATH=/home/c/christian-butcher/Applications/include >> \ >> -DBoost_LIBRARY_DIRS:FILEPATH=/home/c/christian-butcher/Applications/lib >> \ >> \ >> -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF \ >> -DBUILD_TESTING:BOOL=OFF \ >> -DBUILD_EXAMPLES:BOOL=FALSE \ >> -DBUILD_SHARED_LIBS:BOOL=ON \ >> -DBUILD_DOCUMENTATION:BOOL=OFF \ >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ >> \ >> -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ >> -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \ >> \ >> -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ >> -DVTK_USE_OFFSCREEN:BOOL=ON \ >> -DVISIT_BUILD_READER_GMV:BOOL=OFF \ >> \ >> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=OFF \ >> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=ON \ >> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE \ >> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE \ >> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE \ >> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE \ >> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE \ >> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE \ >> \ >> -DVTK_USE_SYSTEM_ZLIB:BOOL=ON \ >> -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ >> -DVTK_USE_X:BOOL=OFF \ >> \ >> -DModule_vtkFiltersParallelGeometry=ON \ >> -DModule_vtkFiltersSMP=ON \ >> -DModule_vtkFiltersSelection=ON \ >> -DModule_vtkIOMPIParallel=ON \ >> -DModule_vtkImagingMath=ON \ >> -DModule_vtkImagingStatistics=ON \ >> -DModule_vtkImagingStencil=ON \ >> \ >> -DOPENGL_INCLUDE_DIR:PATH=/home/c/christian-butcher/Applications/include >> \ >> -DOPENGL_gl_LIBRARY:FILEPATH=/home/c/christian-butcher/Applications/lib/libOSMesa.so >> \ >> -DOPENGL_glu_LIBRARY:FILEPATH=/home/c/christian-butcher/Applications/lib/libGLU.so >> \ >> -DOSMESA_LIBRARY:FILEPATH=/home/c/christian-butcher/Applications/lib/libOSMesa.so >> \ >> -DOSMESA_INCLUDE_DIR:PATH=/home/c/christian-butcher/Applications/include >> \ >> $APPS/source/git-sources/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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview From M.Schlottke at aia.rwth-aachen.de Tue Apr 14 01:36:10 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Tue, 14 Apr 2015 05:36:10 +0000 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> <2917A757-1762-46D8-ADD2-71338F8FE9E3@aia.rwth-aachen.de> Message-ID: <7E20E7E9-9E76-402C-9F29-7AEDEF8EF6DE@aia.rwth-aachen.de> > from vtkPVClientServerCoreCorePython import vtkProcessModule > print "rank=", vtkProcessModule.GetProcessModule().GetPartitionId() > print "total=", vtkProcessModule.GetProcessModule().GetNumberOfLocalPartitions() Thanks! This finally gives me hope that not everything is completely broken, as it yields the expected output (for 5 ranks): rank 0 total 5 rank 2 total 5 rank 1 total 5 rank 4 total 5 rank 3 total 5 No change on the reader plugin though. Are there certain commands/libraries I have to include in the CMakeLists.txt file to make the plugin run in parallel? Or additional (VTK) methods I have to call to make sure that all ranks are participating? Michael From biddisco at cscs.ch Tue Apr 14 01:47:28 2015 From: biddisco at cscs.ch (Biddiscombe, John A.) Date: Tue, 14 Apr 2015 05:47:28 +0000 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: <7E20E7E9-9E76-402C-9F29-7AEDEF8EF6DE@aia.rwth-aachen.de> References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> <2917A757-1762-46D8-ADD2-71338F8FE9E3@aia.rwth-aachen.de> <7E20E7E9-9E76-402C-9F29-7AEDEF8EF6DE@aia.rwth-aachen.de> Message-ID: <50320452A334BD42A5EC72BAD21450992510F355@MBX110.d.ethz.ch> When you said " rank/size: 0/4 However, all I ever get is the last line" are you sure you don't mean that only printf/std:::cout from rank 0 is visible? but I actual fact the other pvservers are fine. Create a sphere and check if it has N pieces. JB -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Schlottke, Michael Sent: 14 April 2015 07:36 To: Utkarsh Ayachit Cc: ParaView Subject: Re: [Paraview] MPI-aware reader plugin only has rank 0 > from vtkPVClientServerCoreCorePython import vtkProcessModule print > "rank=", vtkProcessModule.GetProcessModule().GetPartitionId() > print "total=", > vtkProcessModule.GetProcessModule().GetNumberOfLocalPartitions() Thanks! This finally gives me hope that not everything is completely broken, as it yields the expected output (for 5 ranks): rank 0 total 5 rank 2 total 5 rank 1 total 5 rank 4 total 5 rank 3 total 5 No change on the reader plugin though. Are there certain commands/libraries I have to include in the CMakeLists.txt file to make the plugin run in parallel? Or additional (VTK) methods I have to call to make sure that all ranks are participating? Michael _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From M.Schlottke at aia.rwth-aachen.de Tue Apr 14 03:09:26 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Tue, 14 Apr 2015 07:09:26 +0000 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: <50320452A334BD42A5EC72BAD21450992510F355@MBX110.d.ethz.ch> References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> <2917A757-1762-46D8-ADD2-71338F8FE9E3@aia.rwth-aachen.de> <7E20E7E9-9E76-402C-9F29-7AEDEF8EF6DE@aia.rwth-aachen.de> <50320452A334BD42A5EC72BAD21450992510F355@MBX110.d.ethz.ch> Message-ID: <3D0CE513-B9EA-46BF-B31C-1EF1C24BD16D@aia.rwth-aachen.de> > are you sure you don't mean that only printf/std:::cout from rank 0 is visible? I also thought that it might be a visibility issue, thus I opened a file with std::ofstream on each rank with the rank id encoded in the filename. Only one file ever gets created, though, and it is the one with ?0? in the name. > but I actual fact the other pvservers are fine. Create a sphere and check if it has N pieces. I did that and visualized it by vtkProcessId. The number of ids indeed matches the number of ranks, so I guess nothing fundamental is wrong with the MPI use within ParaView. I just can?t fathom why the reader plugin does not run in parallel. Just to be sure, I added a call MPI_Barrier(MPI_COMM_WORLD); in RequestData and indeed, ParaView gets stuck there, as apparently the collective call is never issued from any rank != 0. Michael From yves.rogez at obs.ujf-grenoble.fr Tue Apr 14 04:18:36 2015 From: yves.rogez at obs.ujf-grenoble.fr (Yves Rogez) Date: Tue, 14 Apr 2015 10:18:36 +0200 Subject: [Paraview] Clipping volume dataset with explicit surface Message-ID: <552CCD5C.10309@obs.ujf-grenoble.fr> Hello, I would like to know if there is a mean with paraview (or VTK, I could write a plugin) to easily clip a tetrahedron based geometry and data (built with a delaunay3D filter) with a polydata geometry (typically a triangle mesh) ? The implicit sphere-based clipping could be an approximation but an explicit 3D function would be better for my application... Thanks, Yves From biddisco at cscs.ch Tue Apr 14 04:42:07 2015 From: biddisco at cscs.ch (Biddiscombe, John A.) Date: Tue, 14 Apr 2015 08:42:07 +0000 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: <3D0CE513-B9EA-46BF-B31C-1EF1C24BD16D@aia.rwth-aachen.de> References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> <2917A757-1762-46D8-ADD2-71338F8FE9E3@aia.rwth-aachen.de> <7E20E7E9-9E76-402C-9F29-7AEDEF8EF6DE@aia.rwth-aachen.de> <50320452A334BD42A5EC72BAD21450992510F355@MBX110.d.ethz.ch> <3D0CE513-B9EA-46BF-B31C-1EF1C24BD16D@aia.rwth-aachen.de> Message-ID: <50320452A334BD42A5EC72BAD21450992510F8E3@MBX110.d.ethz.ch> aha, then your problem is that the way readers handle parallel has been changed and you didn't set CAN_HANDLE_PIECEs or whatever the new name is [pause] outInfo->Set(CAN_HANDLE_PIECE_REQUEST(), 1); is the new way. if you don't set this then your reader only gets created on rank 0 JB -----Original Message----- From: Schlottke, Michael [mailto:M.Schlottke at aia.rwth-aachen.de] Sent: 14 April 2015 09:09 To: Biddiscombe, John A. Cc: Utkarsh Ayachit; ParaView Subject: Re: [Paraview] MPI-aware reader plugin only has rank 0 > are you sure you don't mean that only printf/std:::cout from rank 0 is visible? I also thought that it might be a visibility issue, thus I opened a file with std::ofstream on each rank with the rank id encoded in the filename. Only one file ever gets created, though, and it is the one with ?0? in the name. > but I actual fact the other pvservers are fine. Create a sphere and check if it has N pieces. I did that and visualized it by vtkProcessId. The number of ids indeed matches the number of ranks, so I guess nothing fundamental is wrong with the MPI use within ParaView. I just can?t fathom why the reader plugin does not run in parallel. Just to be sure, I added a call MPI_Barrier(MPI_COMM_WORLD); in RequestData and indeed, ParaView gets stuck there, as apparently the collective call is never issued from any rank != 0. Michael From srikanth.nagella at stfc.ac.uk Tue Apr 14 04:07:33 2015 From: srikanth.nagella at stfc.ac.uk (srikanth.nagella at stfc.ac.uk) Date: Tue, 14 Apr 2015 08:07:33 +0000 Subject: [Paraview] 2k x 2k x 2k volume rendering using pvserver Message-ID: <77EF680B37D6CA4F9457525A0E59B1FF8CC19443@EXCHMBX01.fed.cclrc.ac.uk> Hi I am using Paraview 4.1.0 to render a 2k volume using two linux nodes and client on windows 7. In slice mode I can see the data but when I switch to volume mode it disappears. In the same configuration if I load a 512x512x512 volume, volume mode rendering is fine. Can anyone please help? Thanks Sri PS: each linux node have 2 x NVIDIA K40 card and 64GB RAM, on client I have switched on the Remote Render Threshold and set the value to 0Mbytes. -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Schlottke at aia.rwth-aachen.de Tue Apr 14 05:02:58 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Tue, 14 Apr 2015 09:02:58 +0000 Subject: [Paraview] MPI-aware reader plugin only has rank 0 In-Reply-To: <50320452A334BD42A5EC72BAD21450992510F8E3@MBX110.d.ethz.ch> References: <08115EE0-BE7C-4498-9B4A-CF8A8F436BBB@aia.rwth-aachen.de> <2917A757-1762-46D8-ADD2-71338F8FE9E3@aia.rwth-aachen.de> <7E20E7E9-9E76-402C-9F29-7AEDEF8EF6DE@aia.rwth-aachen.de> <50320452A334BD42A5EC72BAD21450992510F355@MBX110.d.ethz.ch> <3D0CE513-B9EA-46BF-B31C-1EF1C24BD16D@aia.rwth-aachen.de> <50320452A334BD42A5EC72BAD21450992510F8E3@MBX110.d.ethz.ch> Message-ID: <7892BA8D-1570-4179-BDD7-31ECBC686862@aia.rwth-aachen.de> Hi John, [pause] outInfo->Set(CAN_HANDLE_PIECE_REQUEST(), 1); is the new way. if you don't set this then your reader only gets created on rank 0 was that [pause] for effect? If yes, nicely done :) That was exactly the piece of information I needed. After googling I also stumbled upon this site, which helped explain a little further what I need to do: http://www.vtk.org/Wiki/VTK/Parallel_Pipeline Thanks again for all your collaborative help. Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From i.krukow at tu-braunschweig.de Tue Apr 14 05:55:41 2015 From: i.krukow at tu-braunschweig.de (Ian Krukow) Date: Tue, 14 Apr 2015 11:55:41 +0200 Subject: [Paraview] Python view Message-ID: <552CE41D.4040703@tu-braunschweig.de> Hi all, I want to try out the python view for the first time, but I am not getting anywhere. I have created a python view and defined the functions setup_data and render. I tried the example script from the Kitware Blog (http://www.kitware.com/blog/home/post/588), and I do get the memory size in the output messages, but the python view stays all black (no plot, no axes, nothing). Am I just missing something? I am using ParaView 4.3.1 64-bit Windows binaries. Besides, I find it a little confusing, that I do not really know, when the script is executed. What about something like an 'Apply' button? Kind regards Ian From jfavre at cscs.ch Tue Apr 14 08:02:07 2015 From: jfavre at cscs.ch (Favre Jean) Date: Tue, 14 Apr 2015 12:02:07 +0000 Subject: [Paraview] numpy->ParaView for surface In-Reply-To: <2FE9F619592E8A4382310F62E7F06311022B82B40C30@MAIL1.ua-net.ua.edu> References: <2FE9F619592E8A4382310F62E7F06311022B82B40C30@MAIL1.ua-net.ua.edu> Message-ID: <0EB9B6375711A04B820E6B6F5CCA9F683181F21F@MBX111.d.ethz.ch> The same example can be trivially done in ParaView using a ProgrammableSource programmableSource1 = ProgrammableSource() programmableSource1.OutputDataSetType = 'vtkImageData' programmableSource1.Script = 'import numpy as np\nimport zipfile\n\nexecutive = self.GetExecutive()\noutInfo = executive.GetOutputInformation(0)\nexts = [executive.UPDATE_EXTENT().Get(outInfo, i) for i in xrange(6)]\n\noutput.SetExtent(exts)\n\ndata = np.fromstring(zipfile.ZipFile(\'N36W113.hgt.zip\').read(\'N36W113.hgt\'), \'>i2\')\ndata = data.astype(np.float32)\ndata[data == -32768] = data[data > 0].min()\n\noutput.PointData.append(data, "scalar")' programmableSource1.ScriptRequestInformation = 'executive = self.GetExecutive ()\noutInfo = executive.GetOutputInformation(0)\n\ndims = [1201, 1201, 1]\noutInfo.Set(executive.WHOLE_EXTENT(), 0, dims[0]-1 , 0, dims[1]-1 , 0, dims[2]-1)\noutInfo.Set(vtk.vtkDataObject.SPACING(), 1, 1, 1)\noutInfo.Set(vtk.vtkDataObject.ORIGIN(), 0,0,0)\n' Jean/CSCS -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen.wornom at inria.fr Tue Apr 14 08:28:11 2015 From: stephen.wornom at inria.fr (Stephen Wornom) Date: Tue, 14 Apr 2015 14:28:11 +0200 Subject: [Paraview] PV 4.01 How to reduce the size of the slice plane Message-ID: <552D07DB.6040801@inria.fr> Say I select an x-slice. The slice plane is a rectangular dimensions 100x100. Has does one slice a subset of 10x10? Hope my question is clear, Stephen -- stephen.wornom at inria.fr 2004 route des lucioles - BP93 Sophia Antipolis 06902 CEDEX Tel: 04 92 38 50 54 Fax: 04 97 15 53 51 -------------- next part -------------- A non-text attachment was scrubbed... Name: stephen_wornom.vcf Type: text/x-vcard Size: 187 bytes Desc: not available URL: From M.Schlottke at aia.rwth-aachen.de Tue Apr 14 08:41:40 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Tue, 14 Apr 2015 12:41:40 +0000 Subject: [Paraview] How to disable "Warning: ... Could not create the compressor by name ." Message-ID: <24B8E379-C7B6-489D-A01F-A79F1D0E38A8@aia.rwth-aachen.de> Dear all, Whenever I connect the ParaView client to a pvserver instance, I get a warning like this: Warning: In /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, line 170 vtkPVClientServerSynchronizedRenderers (0x1deff60): Could not create the compressor by name . Does anyone have an idea what I can do to disable this warning? It is issued twice by the paraview client and once per pvserver instance (when running in MPI mode). Regards, Michael -- Michael Schlottke Chair of Fluid Mechanics and Institute of Aerodynamics RWTH Aachen University W?llnerstra?e 5a 52062 Aachen Germany Phone: +49 (241) 80 95188 Fax: +49 (241) 80 92257 Mail: m.schlottke at aia.rwth-aachen.de Web: http://www.aia.rwth-aachen.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Apr 14 09:09:07 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 14 Apr 2015 09:09:07 -0400 Subject: [Paraview] Python view In-Reply-To: <552CE41D.4040703@tu-braunschweig.de> References: <552CE41D.4040703@tu-braunschweig.de> Message-ID: Hi Ian, I'm glad to hear you are interested in the Python View. I want to try out the python view for the first time, but I am not getting > anywhere. I have created a python view and defined the functions setup_data > and render. I tried the example script from the Kitware Blog ( > http://www.kitware.com/blog/home/post/588), and I do get the memory size > in the output messages, but the python view stays all black (no plot, no > axes, nothing). Am I just missing something? > I am using ParaView 4.3.1 64-bit Windows binaries. > Did you copy and paste the script examples into the "Script" window, or did you load the example state file on the blog? I suggest loading the state file because the script examples in the blog post are missing some imports that are needed. The state file has the complete script - I just confirmed that it works on the 4.3.1 64-bit Windows binaries. You will have to point ParaView to the bluntfin.vts file when you load the state file, which you can download from http://www.paraview.org/gitweb?p=ParaViewData.git;a=blob_plain;f=Data/bluntfin.vts;hb=1fa9dce1c623e2d467c44b5337ba3a8378a6a537 > > Besides, I find it a little confusing, that I do not really know, when the > script is executed. What about something like an 'Apply' button? > The Script is an auto-update property of the Python View. As such, it is executed any time the view needs to re-render. This includes any time you edit the script and then click elsewhere in the GUI, resize the ParaView window, etc. It should work to click on the Python View after you have edited the script - think of it as a big Apply button :-) Thanks, Cory > > Kind regards > Ian > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ecarlson at eng.ua.edu Tue Apr 14 09:31:07 2015 From: Ecarlson at eng.ua.edu (Carlson, Eric) Date: Tue, 14 Apr 2015 08:31:07 -0500 Subject: [Paraview] numpy->ParaView for surface In-Reply-To: <0EB9B6375711A04B820E6B6F5CCA9F683181F21F@MBX111.d.ethz.ch> References: <2FE9F619592E8A4382310F62E7F06311022B82B40C30@MAIL1.ua-net.ua.edu> <0EB9B6375711A04B820E6B6F5CCA9F683181F21F@MBX111.d.ethz.ch> Message-ID: <2FE9F619592E8A4382310F62E7F06311022B82B40D69@MAIL1.ua-net.ua.edu> Many thanks! I can honestly say it may have taken years to figure that out on my own. It was helpful to add at the end: programmableSource1.UpdatePipeline() Also, the dimensions need to be perfect, so for anyone attempting this, the dimensions for this STRM elevation file are (3601,3601,1) and not (1201,1201,1) Cheers, Eric From: Favre Jean [mailto:jfavre at cscs.ch] Sent: Tuesday, April 14, 2015 7:02 AM To: Carlson, Eric; paraview at paraview.org Subject: RE: numpy->ParaView for surface The same example can be trivially done in ParaView using a ProgrammableSource programmableSource1 = ProgrammableSource() programmableSource1.OutputDataSetType = 'vtkImageData' programmableSource1.Script = 'import numpy as np\nimport zipfile\n\nexecutive = self.GetExecutive()\noutInfo = executive.GetOutputInformation(0)\nexts = [executive.UPDATE_EXTENT().Get(outInfo, i) for i in xrange(6)]\n\noutput.SetExtent(exts)\n\ndata = np.fromstring(zipfile.ZipFile(\'N36W113.hgt.zip\').read(\'N36W113.hgt\'), \'>i2\')\ndata = data.astype(np.float32)\ndata[data == -32768] = data[data > 0].min()\n\noutput.PointData.append(data, "scalar")' programmableSource1.ScriptRequestInformation = 'executive = self.GetExecutive ()\noutInfo = executive.GetOutputInformation(0)\n\ndims = [1201, 1201, 1]\noutInfo.Set(executive.WHOLE_EXTENT(), 0, dims[0]-1 , 0, dims[1]-1 , 0, dims[2]-1)\noutInfo.Set(vtk.vtkDataObject.SPACING(), 1, 1, 1)\noutInfo.Set(vtk.vtkDataObject.ORIGIN(), 0,0,0)\n' Jean/CSCS -------------- next part -------------- An HTML attachment was scrubbed... URL: From jfavre at cscs.ch Tue Apr 14 10:05:14 2015 From: jfavre at cscs.ch (Favre Jean) Date: Tue, 14 Apr 2015 14:05:14 +0000 Subject: [Paraview] numpy->ParaView for surface In-Reply-To: <2FE9F619592E8A4382310F62E7F06311022B82B40D69@MAIL1.ua-net.ua.edu> References: <2FE9F619592E8A4382310F62E7F06311022B82B40C30@MAIL1.ua-net.ua.edu> <0EB9B6375711A04B820E6B6F5CCA9F683181F21F@MBX111.d.ethz.ch>, <2FE9F619592E8A4382310F62E7F06311022B82B40D69@MAIL1.ua-net.ua.edu> Message-ID: <0EB9B6375711A04B820E6B6F5CCA9F683181F2E4@MBX111.d.ethz.ch> The dimensions set to (1201x1201x1) reflect the fact that the copy of the dataset I got had these dimensions, i.e. a lower resolution dataset then yours. I simply forgot to write it as a comment. I also omitted the UpdatePipeline() since it was automatically triggered in the full pipeline (including a Show()) which I had used. glad it helped. ----------------- Jean/CSCS -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Apr 14 10:37:03 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 14 Apr 2015 10:37:03 -0400 Subject: [Paraview] Clipping volume dataset with explicit surface In-Reply-To: <552CCD5C.10309@obs.ujf-grenoble.fr> References: <552CCD5C.10309@obs.ujf-grenoble.fr> Message-ID: Hi Yves, Do you want to actually cut the tetrahedra that the polydata geometry intersects? I don't know of anything that will do that exactly in VTK, but you could approximate it by using the vtkImplicitPolyDataDistance class with the vtkCutter to approximately cut the tetrahedra by the polydata. If you DON'T want to cut the tetrahedra, you could write a plugin that computes the distance field from each point in the tetrahedral mesh using vtkImplicitPolyDataDistance, then thresholds the mesh to keep only tetrahedra where at least some of the points have a negative signed distance from the polydata. I hope that helps, Cory On Tue, Apr 14, 2015 at 4:18 AM, Yves Rogez wrote: > Hello, > > I would like to know if there is a mean with paraview (or VTK, I could > write a plugin) to easily clip a tetrahedron based geometry and data (built > with a delaunay3D filter) with a polydata geometry (typically a triangle > mesh) ? > The implicit sphere-based clipping could be an approximation but an > explicit 3D function would be better for my application... > > Thanks, > > Yves > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Apr 14 11:08:27 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 14 Apr 2015 11:08:27 -0400 Subject: [Paraview] Fwd: Rendering speed sluggish using cluster In-Reply-To: References: <135a851d51394435b52c2ea29a7e0b98@OISTEXHUB02.oist.local> Message-ID: Good to know it's working. If you haven't seen already, the ParaView Guide's Chapter 15 covers details on various parallel rendering parameters, which may come in handy. You can download the free PDF from here [1], if needed. Utkarsh [1] http://www.paraview.org/paraview-guide/ On Mon, Apr 13, 2015 at 10:31 PM, Christian Butcher wrote: > Utkarsh, > > Previously, it was not okay when interacting with the 3D view. > > Now, however, I have recompiled ParaView (both on the cluster and on > my workstation), and with settings at: > > Remote Render Threshold : 0 (I don't think this was the culprit - it > was already low, but this makes it certain, I suppose) > Still Render Image Reduction Factor : 1 (I can't increase this, or I > seem unable to see the features of interest) > Image Reduction Factor : 8 (I'm uncertain if this is helpful, but > certainly the description would indicate it may be the option of > interest) > > and > mpirun -np 12 path/pvserver --use-offscreen-rendering > each having a maximum of 16G RAM and an IB connection between nodes, > the problem is vastly reduced/gone. > > I'm sorry I can't be more specific as to what changed to make this so > much smoother - there are still delays, but now these are just a few > seconds, and that seems reasonable, compared with the multiple minute > lockups previously experienced. > > I suspect I might have had some combination of poorly chosen > compilation options, and poorly chosen rendering settings. > > Best, > > Christian > > On 13 April 2015 at 23:58, Utkarsh Ayachit wrote: >> Christian, >> >> Sorry for the late reply, just saw this email. >> >> You say things are slow when moving the scalar bar or resizing. Does >> that mean things are okay when interacting with the 3D view? >> >> Utkarsh >> >> On Tue, Mar 24, 2015 at 2:18 AM, Christian Butcher >> wrote: >>> Dear ParaView Users, >>> >>> I'm rendering a pseudo-2D data set of approx 7 million cells, running >>> 'mpirun ... pvserver'. >>> >>> I can connect remotely. The cluster does not have graphics cards >>> installed, so I'm using the '--use-offscreen-rendering' flag. >>> >>> The client options for 'Remote Render Threshold' and 'LODThreshold' >>> are both set to 0. >>> >>> On the cluster, I'm currently trying with 48 cores each using 16GB >>> RAM, just in case I was previously using too little. I'm pretty sure >>> this is overkill - certainly the problem seems comparable to when I >>> run it on 8 cores each using 4GB RAM etc. >>> >>> I suspect I'm just not using the software well, or have installed >>> either the client or (more likely?) the cluster's pvserver badly. >>> >>> Both are using 4.2.0, client has version "4.2.0-287-g1631961 64-bit", >>> pvserver returns just "4.2.0" as the version. >>> >>> When changing any aspect of the render view, the client becomes >>> unresponsive/sluggish for long periods of time. This includes, for >>> example, moving the coloring scale bar across the screen. >>> >>> I'm sure I'm missing something obvious (like a step to cut down the >>> requirements on the client workstation, for example). >>> >>> What should I be doing differently? >>> >>> The script I used to start ccmake is below - other options were left >>> at default values (iirc): >>> >>> ccmake \ >>> -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ >>> -DCMAKE_CXX_COMPILER:FILEPATH=/apps/gnu/openmpi.gcc/1.8.3/bin/mpic++ \ >>> -DCMAKE_C_COMPILER:FILEPATH=/apps/gnu/openmpi.gcc/1.8.3/bin/mpicc \ >>> -DCMAKE_Fortran_COMPILER:FILEPATH=/apps/gnu/openmpi.gcc/1.8.3/bin/mpifort >>> \ >>> -DPARAVIEW_USE_MPI:BOOL=ON \ >>> \ >>> -DCMAKE_INSTALL_PREFIX:PATH=/home/c/christian-butcher/Applications \ >>> -DBoost_INCLUDE_DIR:PATH=/home/c/christian-butcher/Applications/include >>> \ >>> -DBoost_LIBRARY_DIRS:FILEPATH=/home/c/christian-butcher/Applications/lib >>> \ >>> \ >>> -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF \ >>> -DBUILD_TESTING:BOOL=OFF \ >>> -DBUILD_EXAMPLES:BOOL=FALSE \ >>> -DBUILD_SHARED_LIBS:BOOL=ON \ >>> -DBUILD_DOCUMENTATION:BOOL=OFF \ >>> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ >>> \ >>> -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ >>> -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \ >>> \ >>> -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ >>> -DVTK_USE_OFFSCREEN:BOOL=ON \ >>> -DVISIT_BUILD_READER_GMV:BOOL=OFF \ >>> \ >>> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=OFF \ >>> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=ON \ >>> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE \ >>> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE \ >>> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE \ >>> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE \ >>> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE \ >>> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE \ >>> \ >>> -DVTK_USE_SYSTEM_ZLIB:BOOL=ON \ >>> -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ >>> -DVTK_USE_X:BOOL=OFF \ >>> \ >>> -DModule_vtkFiltersParallelGeometry=ON \ >>> -DModule_vtkFiltersSMP=ON \ >>> -DModule_vtkFiltersSelection=ON \ >>> -DModule_vtkIOMPIParallel=ON \ >>> -DModule_vtkImagingMath=ON \ >>> -DModule_vtkImagingStatistics=ON \ >>> -DModule_vtkImagingStencil=ON \ >>> \ >>> -DOPENGL_INCLUDE_DIR:PATH=/home/c/christian-butcher/Applications/include >>> \ >>> -DOPENGL_gl_LIBRARY:FILEPATH=/home/c/christian-butcher/Applications/lib/libOSMesa.so >>> \ >>> -DOPENGL_glu_LIBRARY:FILEPATH=/home/c/christian-butcher/Applications/lib/libGLU.so >>> \ >>> -DOSMESA_LIBRARY:FILEPATH=/home/c/christian-butcher/Applications/lib/libOSMesa.so >>> \ >>> -DOSMESA_INCLUDE_DIR:PATH=/home/c/christian-butcher/Applications/include >>> \ >>> $APPS/source/git-sources/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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Tue Apr 14 11:14:28 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 14 Apr 2015 11:14:28 -0400 Subject: [Paraview] How to disable "Warning: ... Could not create the compressor by name ." In-Reply-To: <24B8E379-C7B6-489D-A01F-A79F1D0E38A8@aia.rwth-aachen.de> References: <24B8E379-C7B6-489D-A01F-A79F1D0E38A8@aia.rwth-aachen.de> Message-ID: What's the "Image Compression" setting set to? To access it, go the Edit | Settings dialog in ParaView UI and then on the "Render View" tab search for "compression". I suspect it's set to None. Change it to Squirt for now. It's indeed a bug with the "None" compression setting that I just noticed. I'll have a fix in soon. Utkarsh On Tue, Apr 14, 2015 at 8:41 AM, Schlottke, Michael wrote: > Dear all, > > Whenever I connect the ParaView client to a pvserver instance, I get a > warning like this: > > Warning: In > /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, > line 170 > vtkPVClientServerSynchronizedRenderers (0x1deff60): Could not create the > compressor by name . > > Does anyone have an idea what I can do to disable this warning? It is issued > twice by the paraview client and once per pvserver instance (when running in > MPI mode). > > Regards, > > Michael > > > -- > Michael Schlottke > > Chair of Fluid Mechanics and Institute of Aerodynamics > RWTH Aachen University > W?llnerstra?e 5a > 52062 Aachen > Germany > > Phone: +49 (241) 80 95188 > Fax: +49 (241) 80 92257 > Mail: m.schlottke at aia.rwth-aachen.de > Web: http://www.aia.rwth-aachen.de > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From M.Schlottke at aia.rwth-aachen.de Tue Apr 14 11:23:56 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Tue, 14 Apr 2015 15:23:56 +0000 Subject: [Paraview] How to disable "Warning: ... Could not create the compressor by name ." In-Reply-To: References: <24B8E379-C7B6-489D-A01F-A79F1D0E38A8@aia.rwth-aachen.de> Message-ID: You?re right on both accounts. Thanks for the fix! Michael > On 14 Apr 2015, at 17:14 , Utkarsh Ayachit wrote: > > What's the "Image Compression" setting set to? To access it, go the > Edit | Settings dialog in ParaView UI and then on the "Render View" > tab search for "compression". I suspect it's set to None. Change it to > Squirt for now. It's indeed a bug with the "None" compression setting > that I just noticed. I'll have a fix in soon. > > Utkarsh > > On Tue, Apr 14, 2015 at 8:41 AM, Schlottke, Michael > wrote: >> Dear all, >> >> Whenever I connect the ParaView client to a pvserver instance, I get a >> warning like this: >> >> Warning: In >> /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, >> line 170 >> vtkPVClientServerSynchronizedRenderers (0x1deff60): Could not create the >> compressor by name . >> >> Does anyone have an idea what I can do to disable this warning? It is issued >> twice by the paraview client and once per pvserver instance (when running in >> MPI mode). >> >> Regards, >> >> Michael >> >> >> -- >> Michael Schlottke >> >> Chair of Fluid Mechanics and Institute of Aerodynamics >> RWTH Aachen University >> W?llnerstra?e 5a >> 52062 Aachen >> Germany >> >> Phone: +49 (241) 80 95188 >> Fax: +49 (241) 80 92257 >> Mail: m.schlottke at aia.rwth-aachen.de >> Web: http://www.aia.rwth-aachen.de >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> From lyon at fnal.gov Tue Apr 14 11:49:17 2015 From: lyon at fnal.gov (Adam Lyon) Date: Tue, 14 Apr 2015 10:49:17 -0500 Subject: [Paraview] Python view In-Reply-To: References: <552CE41D.4040703@tu-braunschweig.de> Message-ID: Hi Cory - I wanted to try this -- I loaded the state file and the data file (thanks for the link). But when the python view tries to render, I get, Error: Cannot import matplotlib.backends.backend_agg.FigureCanvasAgg and nothing appears. I'm running Paraview 4.3.1 64-bit on my Mac with Yosemite. Is this a Mac problem? Thanks! -- Adam *------* *Adam L. Lyon* *Scientist; Associate Division Head for Systems for Scientific Applications* Scientific Computing Division & Muon g-2 Experiment Fermi National Accelerator Laboratory -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Apr 14 12:01:18 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 14 Apr 2015 12:01:18 -0400 Subject: [Paraview] Python view In-Reply-To: References: <552CE41D.4040703@tu-braunschweig.de> Message-ID: Can you try resizing the window or something like that? I wonder if its an update issue. On Tue, Apr 14, 2015 at 11:49 AM, Adam Lyon wrote: > Hi Cory - I wanted to try this -- I loaded the state file and the data file > (thanks for the link). But when the python view tries to render, I get, > > Error: Cannot import matplotlib.backends.backend_agg.FigureCanvasAgg > > and nothing appears. I'm running Paraview 4.3.1 64-bit on my Mac with > Yosemite. > > Is this a Mac problem? Thanks! -- Adam > > ------ > > Adam L. Lyon > Scientist; Associate Division Head for Systems for Scientific Applications > > Scientific Computing Division & Muon g-2 Experiment > Fermi National Accelerator Laboratory > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From berk.geveci at kitware.com Tue Apr 14 12:15:49 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Tue, 14 Apr 2015 12:15:49 -0400 Subject: [Paraview] [Paraview-developers] ParaView and double precision Rendering In-Reply-To: <16363023d4454e1b9eb3b0d582c91bbd@RZJMBX2.jr1.local> References: <16363023d4454e1b9eb3b0d582c91bbd@RZJMBX2.jr1.local> Message-ID: OpenGL does not support double precision. VTK does not do anything special in handling large coordinates and passes them to OpenGL directly. So currently, you have to handle this yourself by rescaling your data. Best, -berk On Mon, Apr 13, 2015 at 1:25 PM, Lodron, Gerald wrote: > Hello > > I made a paraview reader plugin which loads Point data of type double from > an ASCII file (can be choosen as checkbox in reader parameter gui). It is > important that point data type is double since our values have a huge > offset, e.g. > > Coordinate in float: 3376382.75 -325198.59375 -121298.125 > Coordinate in double: 3376382.849028525874 -325198.60899497801438 > -121298.12806414699298 > (same ASCII input file of type double, above printings come from > spreadsheet view so loading is correct) > (all my points have such small changes, I definitely can see those small > changes in 3d) > > The problem is: I load the dataset once in float and once in double ( I > checked result in spreadsheed view) I cannot see any differences in 3d > renderer when I swap visibility of float and double input (but you can see > in spreadsheet). Is the double precision rendering not correct/not > supported? > Any ideas? > > Best regards, > > Gerald Lodron > Machine Vision Applications > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 > fax: +43-316-876-1751 > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Search the list archives at: > http://markmail.org/search/?q=Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Apr 14 13:39:02 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 14 Apr 2015 13:39:02 -0400 Subject: [Paraview] PV 4.01 How to reduce the size of the slice plane In-Reply-To: <552D07DB.6040801@inria.fr> References: <552D07DB.6040801@inria.fr> Message-ID: Try applying "Extract Subset" filter to extract a slab of interest first, and then slice it. You may not even need to "Slice" it. You can extract a slice simply using Extract Subset filter as well. Just specify the extent accordingly. Utkarsh On Tue, Apr 14, 2015 at 8:28 AM, Stephen Wornom wrote: > Say I select an x-slice. The slice plane is a rectangular dimensions > 100x100. > Has does one slice a subset of 10x10? > Hope my question is clear, > Stephen > > -- > stephen.wornom at inria.fr > 2004 route des lucioles - BP93 > Sophia Antipolis > 06902 CEDEX > > Tel: 04 92 38 50 54 > Fax: 04 97 15 53 51 > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From cory.quammen at kitware.com Tue Apr 14 15:06:34 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 14 Apr 2015 15:06:34 -0400 Subject: [Paraview] Python view In-Reply-To: References: <552CE41D.4040703@tu-braunschweig.de> Message-ID: Hi Adam, I am trying to reproduce this with ParaView 4.3.1 64-bit on a Mac with Yosemite 10.10.2, but haven't been able to. This is the latest Mac binary available for download on paraview.org. The matplotlib pot shows up as in the blog post. Is your ParaView binary from paraview.org? Thanks, Cory On Tue, Apr 14, 2015 at 11:49 AM, Adam Lyon wrote: > Hi Cory - I wanted to try this -- I loaded the state file and the data > file (thanks for the link). But when the python view tries to render, I get, > > Error: Cannot import matplotlib.backends.backend_agg.FigureCanvasAgg > > and nothing appears. I'm running Paraview 4.3.1 64-bit on my Mac with > Yosemite. > > Is this a Mac problem? Thanks! -- Adam > > *------* > > *Adam L. Lyon* > *Scientist; Associate Division Head for Systems for Scientific > Applications* > > Scientific Computing Division & Muon g-2 Experiment > Fermi National Accelerator Laboratory > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Tue Apr 14 15:24:49 2015 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 14 Apr 2015 19:24:49 +0000 Subject: [Paraview] [Paraview-developers] ParaView and double precision Rendering In-Reply-To: References: <16363023d4454e1b9eb3b0d582c91bbd@RZJMBX2.jr1.local>, Message-ID: <70702988ef9845b69a91cb5ad563e8b8@RZJMBX2.jr1.local> ok, i thought something like that....thanks for clearification Our currently visualized point cloud is part of a very large one, and the global coordinate system has such a large offset.... Rescaling is an option but then the later processing chain results in wrong data (e.g. measurements have Values, needs also be scaled). So I would need to add a kind of field data "Data Offset" and "Data Scale" which every later added Filter needs to read (e.g. Ruler or some of our custom measurement filters). Is there anyting already mentioned for this in Paraview? I think I should not be the first one with that problem.... Best regards, Gerald ________________________________ Von: Berk Geveci Gesendet: Dienstag, 14. April 2015 18:15 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview-developers] ParaView and double precision Rendering OpenGL does not support double precision. VTK does not do anything special in handling large coordinates and passes them to OpenGL directly. So currently, you have to handle this yourself by rescaling your data. Best, -berk On Mon, Apr 13, 2015 at 1:25 PM, Lodron, Gerald > wrote: Hello I made a paraview reader plugin which loads Point data of type double from an ASCII file (can be choosen as checkbox in reader parameter gui). It is important that point data type is double since our values have a huge offset, e.g. Coordinate in float: 3376382.75 -325198.59375 -121298.125 Coordinate in double: 3376382.849028525874 -325198.60899497801438 -121298.12806414699298 (same ASCII input file of type double, above printings come from spreadsheet view so loading is correct) (all my points have such small changes, I definitely can see those small changes in 3d) The problem is: I load the dataset once in float and once in double ( I checked result in spreadsheed view) I cannot see any differences in 3d renderer when I swap visibility of float and double input (but you can see in spreadsheet). Is the double precision rendering not correct/not supported? Any ideas? Best regards, Gerald Lodron Machine Vision Applications DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Search the list archives at: http://markmail.org/search/?q=Paraview-developers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview-developers From i.krukow at tu-braunschweig.de Tue Apr 14 16:01:43 2015 From: i.krukow at tu-braunschweig.de (Ian Krukow) Date: Tue, 14 Apr 2015 22:01:43 +0200 Subject: [Paraview] Python view In-Reply-To: References: <552CE41D.4040703@tu-braunschweig.de> Message-ID: <552D7227.2090903@tu-braunschweig.de> Hi Cory, thanks a lot! I was missing the import statements. Now it works fine. And I will remember the big Apply button :-). Ian Am 14.04.2015 um 15:09 schrieb Cory Quammen: > Hi Ian, > > I'm glad to hear you are interested in the Python View. > > I want to try out the python view for the first time, but I am not > getting anywhere. I have created a python view and defined the > functions setup_data and render. I tried the example script from the > Kitware Blog (http://www.kitware.com/blog/__home/post/588 > ), and I do get the > memory size in the output messages, but the python view stays all > black (no plot, no axes, nothing). Am I just missing something? > I am using ParaView 4.3.1 64-bit Windows binaries. > > > Did you copy and paste the script examples into the "Script" window, or > did you load the example state file on the blog? I suggest loading the > state file because the script examples in the blog post are missing some > imports that are needed. The state file has the complete script - I just > confirmed that it works on the 4.3.1 64-bit Windows binaries. You will > have to point ParaView to the bluntfin.vts file when you load the state > file, which you can download from > > http://www.paraview.org/gitweb?p=ParaViewData.git;a=blob_plain;f=Data/bluntfin.vts;hb=1fa9dce1c623e2d467c44b5337ba3a8378a6a537 > > > Besides, I find it a little confusing, that I do not really know, > when the script is executed. What about something like an 'Apply' > button? > > > The Script is an auto-update property of the Python View. As such, it is > executed any time the view needs to re-render. This includes any time > you edit the script and then click elsewhere in the GUI, resize the > ParaView window, etc. It should work to click on the Python View after > you have edited the script - think of it as a big Apply button :-) > > Thanks, > Cory > > > Kind regards > Ian > _________________________________________________ > 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 > > Search the list archives at: > http://markmail.org/search/?q=__ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/__mailman/listinfo/paraview > > > > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. From i.krukow at tu-braunschweig.de Tue Apr 14 16:11:36 2015 From: i.krukow at tu-braunschweig.de (Ian Krukow) Date: Tue, 14 Apr 2015 22:11:36 +0200 Subject: [Paraview] Python view In-Reply-To: <552D7227.2090903@tu-braunschweig.de> References: <552CE41D.4040703@tu-braunschweig.de> <552D7227.2090903@tu-braunschweig.de> Message-ID: <552D7478.3060907@tu-braunschweig.de> One more question: How can I access the point coordinates in the python view? Ian Am 14.04.2015 um 22:01 schrieb Ian Krukow: > Hi Cory, > > thanks a lot! I was missing the import statements. Now it works fine. > And I will remember the big Apply button :-). > > Ian > > > > Am 14.04.2015 um 15:09 schrieb Cory Quammen: >> Hi Ian, >> >> I'm glad to hear you are interested in the Python View. >> >> I want to try out the python view for the first time, but I am not >> getting anywhere. I have created a python view and defined the >> functions setup_data and render. I tried the example script from the >> Kitware Blog (http://www.kitware.com/blog/__home/post/588 >> ), and I do get the >> memory size in the output messages, but the python view stays all >> black (no plot, no axes, nothing). Am I just missing something? >> I am using ParaView 4.3.1 64-bit Windows binaries. >> >> >> Did you copy and paste the script examples into the "Script" window, or >> did you load the example state file on the blog? I suggest loading the >> state file because the script examples in the blog post are missing some >> imports that are needed. The state file has the complete script - I just >> confirmed that it works on the 4.3.1 64-bit Windows binaries. You will >> have to point ParaView to the bluntfin.vts file when you load the state >> file, which you can download from >> >> http://www.paraview.org/gitweb?p=ParaViewData.git;a=blob_plain;f=Data/bluntfin.vts;hb=1fa9dce1c623e2d467c44b5337ba3a8378a6a537 >> >> >> >> Besides, I find it a little confusing, that I do not really know, >> when the script is executed. What about something like an 'Apply' >> button? >> >> >> The Script is an auto-update property of the Python View. As such, it is >> executed any time the view needs to re-render. This includes any time >> you edit the script and then click elsewhere in the GUI, resize the >> ParaView window, etc. It should work to click on the Python View after >> you have edited the script - think of it as a big Apply button :-) >> >> Thanks, >> Cory >> >> >> Kind regards >> Ian >> _________________________________________________ >> 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 >> >> >> Search the list archives at: >> http://markmail.org/search/?q=__ParaView >> >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/__mailman/listinfo/paraview >> >> >> >> >> >> -- >> Cory Quammen >> R&D Engineer >> Kitware, Inc. From lyon at fnal.gov Tue Apr 14 16:12:27 2015 From: lyon at fnal.gov (Adam Lyon) Date: Tue, 14 Apr 2015 15:12:27 -0500 Subject: [Paraview] Python view In-Reply-To: <409697d5dd3a436aa7b16c197d7b075f@MAIL05V-CAS02.fnal.gov> References: <552CE41D.4040703@tu-braunschweig.de> <409697d5dd3a436aa7b16c197d7b075f@MAIL05V-CAS02.fnal.gov> Message-ID: Hi Cory and Utkarsh - So I never see a plot - just a black window. The error message I sent earlier repeats every time I move my mouse over the python view window. I'm using Paraview 4.3.1 downloaded from paraview.org. Paraview's "about" box is below. Do you have a simple matplotlib plot I can try? Thanks! -- Adam [image: Inline image 1] *------* *Adam L. Lyon* *Scientist; Associate Division Head for Systems for Scientific Applications* Scientific Computing Division & Muon g-2 Experiment Fermi National Accelerator Laboratory 630 840 5522 office www.fnal.gov lyon at fnal.gov Connect with us! Newsletter | Facebook | Twitter On Tue, Apr 14, 2015 at 2:06 PM, Cory Quammen wrote: > Hi Adam, > > I am trying to reproduce this with ParaView 4.3.1 64-bit on a Mac with > Yosemite 10.10.2, but haven't been able to. This is the latest Mac binary > available for download on paraview.org. The matplotlib pot shows up as in > the blog post. Is your ParaView binary from paraview.org? > > Thanks, > Cory > > On Tue, Apr 14, 2015 at 11:49 AM, Adam Lyon wrote: > >> Hi Cory - I wanted to try this -- I loaded the state file and the data >> file (thanks for the link). But when the python view tries to render, I >> get, >> >> Error: Cannot import matplotlib.backends.backend_agg.FigureCanvasAgg >> >> and nothing appears. I'm running Paraview 4.3.1 64-bit on my Mac with >> Yosemite. >> >> Is this a Mac problem? Thanks! -- Adam >> >> *------* >> >> *Adam L. Lyon* >> *Scientist; Associate Division Head for Systems for Scientific >> Applications* >> >> Scientific Computing Division & Muon g-2 Experiment >> Fermi National Accelerator Laboratory >> >> > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 72569 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Tue Apr 14 17:00:38 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 14 Apr 2015 17:00:38 -0400 Subject: [Paraview] default_servers.pvsc question In-Reply-To: <552BE55F.5040509@gmail.com> References: <552B2B52.8020504@gmail.com> <552BE0BE.9010003@gmail.com> <552BE55F.5040509@gmail.com> Message-ID: Thanks Burlen/Rick. After discussing it with a few folks here, how about the following options: a. What if we make it possible to run an "executable" to obtain a value for any attribute in the XML. One could indeed use a Python script to produce that value or any other executable. b. We provide a mechanism to add a Python function in the PVSC. Before (and/or after) the PVSC is processed by the UI for display, it will pass the XML to that function which can update the XML as appropriate. This would mean that the Python code has to be aware of the PVSC's XML structure, but shouldn't be a problem since the Python code is embedded in the PVSC XML itself. Both will allow 1 and 2. 1 may still be a little hard work on the PVSC writer side, but it's a one time thing. Burlen, I think 3 is a little independent of this task. I do agree, we should embed all necessary tools in the paraview bundle -- something we've been talking about for a while. We should address that, I just don't want to commit to it just yet :). Thoughts? The more I think about it, I think I am leaning towards (b). For (a) the next logical question becomes how does one specify the path to the executable to run and we're back to the same problem we're trying to address :). What are your thoughts? Utkarsh On Mon, Apr 13, 2015 at 11:48 AM, Burlen Loring wrote: > OK, I added some notes based on the above discussion. > > > On 04/13/2015 08:33 AM, Utkarsh Ayachit wrote: >> >> Great, let's start here: >> >> >> https://docs.google.com/a/kitware.com/document/d/1uzi3VzpCxiGslhqaUde3ZbKcx-9LLG_ly3BYvDiPPx0/edit?usp=sharing >> >> Utkarsh >> >> >> >> On Mon, Apr 13, 2015 at 11:29 AM, Burlen Loring >> wrote: >>> >>> Great, that sounds like a good way to start. >>> >>> >>> On 04/13/2015 06:53 AM, Utkarsh Ayachit wrote: >>>> >>>> Burlen/Rick, >>>> >>>> I am totally open to adding new features/refactoring the pvsc code. >>>> It hasn't changed much in a few years, and I am sure we know more than >>>> we did when we started with this :). Since you guys are the ones >>>> actually using this code in the field, it'd be great if you can >>>> identify the feature list of things missing or difficult to do in the >>>> current implementation and we can decide which would be best way >>>> forward. >>>> >>>> Should I create a google-doc or something which all can edit to built >>>> this >>>> list? >>>> >>>> Utkarsh >>>> >>>> On Mon, Apr 13, 2015 at 8:19 AM, Angelini, Richard C (Rick) CIV USARMY >>>> ARL (US) wrote: >>>>> >>>>> Burlen/Utkarsh ?? my preferred solution is also to not set an >>>>> environment >>>>> variable if possible. For my particular issue, I?d much rather be able >>>>> to >>>>> do a `which ssh` (or equivalent) to get the answer than than asking the >>>>> user to set an environment variable. >>>>> >>>>> Implementing a python-based default_servers definition opens things up >>>>> for >>>>> much more programmatic flexibility. >>>>> >>>>> # take a guess at which ssh command to use >>>>> >>>>> try: >>>>> default_shell=os.popen("which ssh").read() >>>>> default_shell=default_shell.rstrip("\r\n") >>>>> except: >>>>> default_shell="/usr/krb5/bin/ >>>>> >>>>> >>>>> >>>>> >>>>> ________________________________ >>>>> Rick Angelini >>>>> USArmy Research Laboratory >>>>> CISD/HPC Architectures Team >>>>> Phone: 410-278-6266 >>>>> >>>>> >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: Burlen Loring >>>>> Date: Sunday, April 12, 2015 at 10:34 PM >>>>> To: Utkarsh Ayachit , Rick Angelini >>>>> >>>>> Cc: "paraview at paraview.org" >>>>> Subject: Re: [Paraview] default_servers.pvsc question >>>>> >>>>> Hi Utkarsh, >>>>> >>>>> I think environment variables are kind of a band aid around a larger >>>>> issue. In addition to leveraging the user's local environment, there's >>>>> also no way to get information from the server side environment. for >>>>> example list of account numbers a user can charge jobs to, or a list of >>>>> active queues. One thing I have been thinking about is rather than >>>>> just >>>>> reading pvsc from an xml file, paraview could call a script to get the >>>>> pvsc xml. This script could query the user's local/remote environment >>>>> and generate the xml. A long time ago we had talked about a python >>>>> based >>>>> solution. What do you think? >>>>> >>>>> Burlen >>>>> >>>>> On 4/12/2015 11:31 AM, Utkarsh Ayachit wrote: >>>>>> >>>>>> Rick, >>>>>> >>>>>> Alas no, this isn't currently supported. But should be fairly >>>>>> straightforward to add. I've reported a bug: >>>>>> http://www.paraview.org/Bug/view.php?id=15421 >>>>>> >>>>>> Utkarsh >>>>>> >>>>>> On Fri, Apr 10, 2015 at 4:09 PM, Angelini, Richard C (Rick) CIV USARMY >>>>>> ARL (US) wrote: >>>>>>> >>>>>>> Question about the default_servers.pvsc file?.. >>>>>>> >>>>>>> I have this in my host profile: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> So, when the GUI pops up, the user has an opportunity to change the >>>>>>> path to >>>>>>> ssh. But, rather than hard-coding the default value, or presenting >>>>>>> blank >>>>>>> field and have the user put in the correct path, is it possible to >>>>>>> query the >>>>>>> user?s environment and find `which ssh` and substitute in that >>>>>>> value?? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ________________________________ >>>>>>> Rick Angelini >>>>>>> USArmy Research Laboratory >>>>>>> CISD/HPC Architectures Team >>>>>>> Phone: 410-278-6266 >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at >>>>>> http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>>> http://paraview.org/Wiki/ParaView >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> > From cory.quammen at kitware.com Tue Apr 14 19:12:22 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 14 Apr 2015 19:12:22 -0400 Subject: [Paraview] Python view In-Reply-To: References: <552CE41D.4040703@tu-braunschweig.de> <409697d5dd3a436aa7b16c197d7b075f@MAIL05V-CAS02.fnal.gov> Message-ID: Hi Adam, I am running the exact same version of ParaView (my About box has the same contents as yours), so this is a little bit puzzling. Could you try two things: 1). Run ParaView, create a Python View, then enter this script: import matplotlib print matplotlib.__file__ import matplotlib.backends print matplotlib.backends.__file__ import matplotlib.backends.backend_agg print matplotlib.backends.backend_agg.__file__ Please report what the Output Messages window says. 2). Open the contents of your ParaView Mac bundle (right-click, "Show Package Contents"), open up Contents -> Python -> matplotlib -> backends. Please let me know if you see a backend_agg.py file in there. Thanks, Cory On Tue, Apr 14, 2015 at 4:12 PM, Adam Lyon wrote: > Hi Cory and Utkarsh - So I never see a plot - just a black window. The > error message I sent earlier repeats every time I move my mouse over the > python view window. I'm using Paraview 4.3.1 downloaded from paraview.org. > Paraview's "about" box is below. > > Do you have a simple matplotlib plot I can try? Thanks! -- Adam > > > [image: Inline image 1] > > *------* > > *Adam L. Lyon* > *Scientist; Associate Division Head for Systems for Scientific > Applications* > > Scientific Computing Division & Muon g-2 Experiment > Fermi National Accelerator Laboratory > 630 840 5522 office > www.fnal.gov > lyon at fnal.gov > > Connect with us! > Newsletter | Facebook > | Twitter > > > On Tue, Apr 14, 2015 at 2:06 PM, Cory Quammen > wrote: > >> Hi Adam, >> >> I am trying to reproduce this with ParaView 4.3.1 64-bit on a Mac with >> Yosemite 10.10.2, but haven't been able to. This is the latest Mac binary >> available for download on paraview.org. The matplotlib pot shows up as >> in the blog post. Is your ParaView binary from paraview.org? >> >> Thanks, >> Cory >> >> On Tue, Apr 14, 2015 at 11:49 AM, Adam Lyon wrote: >> >>> Hi Cory - I wanted to try this -- I loaded the state file and the data >>> file (thanks for the link). But when the python view tries to render, I >>> get, >>> >>> Error: Cannot import matplotlib.backends.backend_agg.FigureCanvasAgg >>> >>> and nothing appears. I'm running Paraview 4.3.1 64-bit on my Mac with >>> Yosemite. >>> >>> Is this a Mac problem? Thanks! -- Adam >>> >>> *------* >>> >>> *Adam L. Lyon* >>> *Scientist; Associate Division Head for Systems for Scientific >>> Applications* >>> >>> Scientific Computing Division & Muon g-2 Experiment >>> Fermi National Accelerator Laboratory >>> >>> >> >> >> -- >> Cory Quammen >> R&D Engineer >> Kitware, Inc. >> > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 72569 bytes Desc: not available URL: From lyon at fnal.gov Tue Apr 14 20:19:36 2015 From: lyon at fnal.gov (Adam Lyon) Date: Tue, 14 Apr 2015 19:19:36 -0500 Subject: [Paraview] Python view In-Reply-To: <15c8d73a0120417cafcc5826b5d8cfa5@MAIL04V-CAS03.fnal.gov> References: <552CE41D.4040703@tu-braunschweig.de> <409697d5dd3a436aa7b16c197d7b075f@MAIL05V-CAS02.fnal.gov> <15c8d73a0120417cafcc5826b5d8cfa5@MAIL04V-CAS03.fnal.gov> Message-ID: Hi Cory - I tried your little script and got an interesting response... /Applications/paraview4.3.1.app/Contents/Python/matplotlib/__init__.pyc /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/__init__.pyc Traceback (most recent call last): File "", line 7, in File "/Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/backend_agg.py", line 38, in from _backend_agg import RendererAgg as _RendererAgg ImportError: dlopen(/Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/_backend_agg.so, 2): Library not loaded: /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/install/lib/libfreetype.6.dylib Referenced from: /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/_backend_agg.so Reason: image not found These files exist, /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/_backend_agg.so /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/backend_agg.py /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/backend_agg.pyc Interestingly, these files exist, but don't seem to be used... /Applications/paraview4.3.1.app/Contents/Libraries/libfreetype.6.dylib /Applications/paraview4.3.1.app/Contents/Libraries/libfreetype.dylib If I run pvpython I see the same errors. BUT --- If I do, export DYLD_FALLBACK_LIBRARY_PATH=/Applications/paraview4.3.1.app/Contents/Libraries/ and then start Paraview from the command line, /Applications/paraview4.3.1.app/Contents/MacOS/paraview ... and load the state file and the bluntfin.vts file ... Now I can see the matplotlib plots!!!!!! So it looks to me like you aren't setting a dynamic library path correctly within Paraview's python. Hope this helps. Thanks for the simple thing to try. -- Adam *------* *Adam L. Lyon* *Scientist; Associate Division Head for Systems for Scientific Applications* Scientific Computing Division & Muon g-2 Experiment Fermi National Accelerator Laboratory 630 840 5522 office www.fnal.gov lyon at fnal.gov Connect with us! Newsletter | Facebook | Twitter On Tue, Apr 14, 2015 at 6:12 PM, Cory Quammen wrote: > Hi Adam, > > I am running the exact same version of ParaView (my About box has the > same contents as yours), so this is a little bit puzzling. > > Could you try two things: > > 1). Run ParaView, create a Python View, then enter this script: > > import matplotlib > > print matplotlib.__file__ > > > import matplotlib.backends > > print matplotlib.backends.__file__ > > > import matplotlib.backends.backend_agg > > print matplotlib.backends.backend_agg.__file__ > > > Please report what the Output Messages window says. > > > 2). Open the contents of your ParaView Mac bundle (right-click, "Show > Package Contents"), open up Contents -> Python -> matplotlib -> backends. > Please let me know if you see a backend_agg.py file in there. > > > Thanks, > > Cory > > On Tue, Apr 14, 2015 at 4:12 PM, Adam Lyon wrote: > >> Hi Cory and Utkarsh - So I never see a plot - just a black window. The >> error message I sent earlier repeats every time I move my mouse over the >> python view window. I'm using Paraview 4.3.1 downloaded from >> paraview.org. Paraview's "about" box is below. >> >> Do you have a simple matplotlib plot I can try? Thanks! -- Adam >> >> >> [image: Inline image 1] >> >> *------* >> >> *Adam L. Lyon* >> *Scientist; Associate Division Head for Systems for Scientific >> Applications* >> >> Scientific Computing Division & Muon g-2 Experiment >> Fermi National Accelerator Laboratory >> 630 840 5522 office >> www.fnal.gov >> lyon at fnal.gov >> >> Connect with us! >> Newsletter | Facebook >> | Twitter >> >> >> On Tue, Apr 14, 2015 at 2:06 PM, Cory Quammen >> wrote: >> >>> Hi Adam, >>> >>> I am trying to reproduce this with ParaView 4.3.1 64-bit on a Mac with >>> Yosemite 10.10.2, but haven't been able to. This is the latest Mac binary >>> available for download on paraview.org. The matplotlib pot shows up as >>> in the blog post. Is your ParaView binary from paraview.org? >>> >>> Thanks, >>> Cory >>> >>> On Tue, Apr 14, 2015 at 11:49 AM, Adam Lyon wrote: >>> >>>> Hi Cory - I wanted to try this -- I loaded the state file and the data >>>> file (thanks for the link). But when the python view tries to render, I >>>> get, >>>> >>>> Error: Cannot import matplotlib.backends.backend_agg.FigureCanvasAgg >>>> >>>> and nothing appears. I'm running Paraview 4.3.1 64-bit on my Mac with >>>> Yosemite. >>>> >>>> Is this a Mac problem? Thanks! -- Adam >>>> >>>> *------* >>>> >>>> *Adam L. Lyon* >>>> *Scientist; Associate Division Head for Systems for Scientific >>>> Applications* >>>> >>>> Scientific Computing Division & Muon g-2 Experiment >>>> Fermi National Accelerator Laboratory >>>> >>>> >>> >>> >>> -- >>> Cory Quammen >>> R&D Engineer >>> Kitware, Inc. >>> >> >> > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 72569 bytes Desc: not available URL: From yves.rogez at obs.ujf-grenoble.fr Wed Apr 15 02:56:13 2015 From: yves.rogez at obs.ujf-grenoble.fr (Yves Rogez) Date: Wed, 15 Apr 2015 08:56:13 +0200 Subject: [Paraview] Clipping volume dataset with explicit surface In-Reply-To: References: <552CCD5C.10309@obs.ujf-grenoble.fr> Message-ID: <552E0B8D.9050205@obs.ujf-grenoble.fr> Hi Cory, and thank you very much, your proposition works fine for illustration purposes. I need better accuracy, so I will do the computation completely differently. In fact I can achieve what I want with a simple contour applied on my surface wether using the volumic data. Anyways, below the programmable filter script (input 0 is the tetrahedra volume, input 1 is the cutting polydata surface): inpMain = self.GetInputDataObject( 0, 0 ) inpCut = self.GetInputDataObject( 0, 1 ) out = self.GetOutput() cutter = vtk.vtkCutter() cutter.SetInputDataObject( inpMain ) cutFunction = vtk.vtkImplicitPolyDataDistance() cutFunction.SetInput( inpCut ) cutter.SetCutFunction( cutFunction ) cutter.Update() outData = cutter.GetOutputDataObject( 0 ) out.DeepCopy( outData ) That helped, making me think about another way ;-) Yves Le 14/04/2015 16:37, Cory Quammen a ?crit : > Hi Yves, > > Do you want to actually cut the tetrahedra that the polydata geometry > intersects? I don't know of anything that will do that exactly in VTK, > but you could approximate it by using the vtkImplicitPolyDataDistance > class with the vtkCutter to approximately cut the tetrahedra by the > polydata. > > If you DON'T want to cut the tetrahedra, you could write a plugin that > computes the distance field from each point in the tetrahedral mesh > using vtkImplicitPolyDataDistance, then thresholds the mesh to keep > only tetrahedra where at least some of the points have a negative > signed distance from the polydata. > > I hope that helps, > Cory > > On Tue, Apr 14, 2015 at 4:18 AM, Yves Rogez > > wrote: > > Hello, > > I would like to know if there is a mean with paraview (or VTK, I > could write a plugin) to easily clip a tetrahedron based geometry > and data (built with a delaunay3D filter) with a polydata geometry > (typically a triangle mesh) ? > The implicit sphere-based clipping could be an approximation but > an explicit 3D function would be better for my application... > > Thanks, > > Yves > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. -- Yves Rogez /CONSERT Operations Engineer/ *IPAG* /Institut de Plan?tologie et d'Astrophysique de Grenoble / Bat D de Physique - BP. 53 - 38041 Grenoble - FRANCE tel : +33 (0)4 76 63 52 80 lab : +33 (0)4 76 63 57 60 -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen.wornom at inria.fr Wed Apr 15 04:38:39 2015 From: stephen.wornom at inria.fr (Stephen Wornom) Date: Wed, 15 Apr 2015 10:38:39 +0200 Subject: [Paraview] PV 4.01 How to reduce the size of the slice plane In-Reply-To: References: <552D07DB.6040801@inria.fr> Message-ID: <552E238F.8000002@inria.fr> Utkarsh Ayachit wrote: > Try applying "Extract Subset" filter to extract a slab of interest > first, and then slice it. I am using PV4.01 linux 64-bit binary version parallel version for the client downloaded from the paraview site. On the server, PV4.01 was created for the source. On my workstation I open the PV .pvtu file (I have 192 partition files and I am using 40 processors on the server for visualization. I see the "Extract Subset" filter but it is not high lighted, should it be? Stephen > You may not even need to "Slice" it. You can > extract a slice simply using Extract Subset filter as well. Just > specify the extent accordingly. > > Utkarsh > > On Tue, Apr 14, 2015 at 8:28 AM, Stephen Wornom wrote: >> Say I select an x-slice. The slice plane is a rectangular dimensions >> 100x100. >> Has does one slice a subset of 10x10? >> Hope my question is clear, >> Stephen >> >> -- >> stephen.wornom at inria.fr >> 2004 route des lucioles - BP93 >> Sophia Antipolis >> 06902 CEDEX >> >> Tel: 04 92 38 50 54 >> Fax: 04 97 15 53 51 >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- stephen.wornom at inria.fr 2004 route des lucioles - BP93 Sophia Antipolis 06902 CEDEX Tel: 04 92 38 50 54 Fax: 04 97 15 53 51 -------------- next part -------------- A non-text attachment was scrubbed... Name: stephen_wornom.vcf Type: text/x-vcard Size: 187 bytes Desc: not available URL: From stephen.wornom at inria.fr Wed Apr 15 05:09:20 2015 From: stephen.wornom at inria.fr (Stephen Wornom) Date: Wed, 15 Apr 2015 11:09:20 +0200 Subject: [Paraview] PV 4.01 How to reduce the size of the slice plane In-Reply-To: <552E238F.8000002@inria.fr> References: <552D07DB.6040801@inria.fr> <552E238F.8000002@inria.fr> Message-ID: <552E2AC0.5080602@inria.fr> Stephen Wornom wrote: > Utkarsh Ayachit wrote: >> Try applying "Extract Subset" filter to extract a slab of interest >> first, and then slice it. > I am using PV4.01 linux 64-bit binary version parallel version for the > client downloaded from the paraview site. > On the server, PV4.01 was created for the source. > > On my workstation I open the PV .pvtu file (I have 192 partition files > and I am using 40 processors on the server for visualization. > > I see the "Extract Subset" filter but it is not high lighted, should > it be? I looked at your youtube presentation "extract subset" with PV 3.3.0 (development). Forgot to mention that my mesh is unstructured. Stephen > Stephen >> You may not even need to "Slice" it. You can >> extract a slice simply using Extract Subset filter as well. Just >> specify the extent accordingly. >> >> Utkarsh >> >> On Tue, Apr 14, 2015 at 8:28 AM, Stephen Wornom >> wrote: >>> Say I select an x-slice. The slice plane is a rectangular dimensions >>> 100x100. >>> Has does one slice a subset of 10x10? >>> Hope my question is clear, >>> Stephen >>> >>> -- >>> stephen.wornom at inria.fr >>> 2004 route des lucioles - BP93 >>> Sophia Antipolis >>> 06902 CEDEX >>> >>> Tel: 04 92 38 50 54 >>> Fax: 04 97 15 53 51 >>> >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > -- stephen.wornom at inria.fr 2004 route des lucioles - BP93 Sophia Antipolis 06902 CEDEX Tel: 04 92 38 50 54 Fax: 04 97 15 53 51 -------------- next part -------------- A non-text attachment was scrubbed... Name: stephen_wornom.vcf Type: text/x-vcard Size: 187 bytes Desc: not available URL: From srikanth.nagella at stfc.ac.uk Wed Apr 15 07:50:57 2015 From: srikanth.nagella at stfc.ac.uk (srikanth.nagella at stfc.ac.uk) Date: Wed, 15 Apr 2015 11:50:57 +0000 Subject: [Paraview] Loading RAW file Message-ID: <77EF680B37D6CA4F9457525A0E59B1FF8CC1BAE6@EXCHMBX01.fed.cclrc.ac.uk> Hi I am using Paraview 4.3.1 in client server mode. After loading RAW file, when I switch the mode to slice it throws up these errors and renders half of the slice. ERROR: ParaView-v4.3.1-source/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx, line 857 vtkStreamingDemandDrivenPipeline (0x4e96c70): The update extent specified in the information for output port 0 on algorithm vtkTrivialProducer(0x4e965e0) is 0 511 0 511 228 228, which is outside the whole extent 0 511 0 255 0 456. ERROR: In ParaView-v4.3.1-source/VTK/Common/ExecutionModel/vtkTrivialProducer.cxx, line 279 vtkTrivialProducer (0x4e965e0): This data object does not contain the requested extent. Any solutions? Thanks Sri -------------- next part -------------- An HTML attachment was scrubbed... URL: From rohitnarurkar at gmail.com Wed Apr 15 08:16:29 2015 From: rohitnarurkar at gmail.com (Rohit Narurkar) Date: Wed, 15 Apr 2015 17:46:29 +0530 Subject: [Paraview] Saving data as image Message-ID: Hello I am viewing streamlines, but I wish to save that as an image (png) with a white background, axes colored black. How should I do that? I tried the 'save screenshot' option, but it gives the blue background color as well. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Apr 15 08:45:02 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 15 Apr 2015 08:45:02 -0400 Subject: [Paraview] PV 4.01 How to reduce the size of the slice plane In-Reply-To: <552E2AC0.5080602@inria.fr> References: <552D07DB.6040801@inria.fr> <552E238F.8000002@inria.fr> <552E2AC0.5080602@inria.fr> Message-ID: > I looked at your youtube presentation "extract subset" with PV 3.3.0 > (development). > Forgot to mention that my mesh is unstructured. > Stephen In that case, once you've applied the "Slice" filter, you can apply the "Clip" filter and select the "Clip Type" to be "Box" instead of "Plane" and then resize the clip-box. Utkarsh From cory.quammen at kitware.com Wed Apr 15 09:54:08 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 15 Apr 2015 09:54:08 -0400 Subject: [Paraview] Python view In-Reply-To: References: <552CE41D.4040703@tu-braunschweig.de> <409697d5dd3a436aa7b16c197d7b075f@MAIL05V-CAS02.fnal.gov> <15c8d73a0120417cafcc5826b5d8cfa5@MAIL04V-CAS03.fnal.gov> Message-ID: Thanks for the report, Adam. This is helpful. We'll look at getting it fixed. Cory On Tue, Apr 14, 2015 at 8:19 PM, Adam Lyon wrote: > Hi Cory - I tried your little script and got an interesting response... > > /Applications/paraview4.3.1.app/Contents/Python/matplotlib/__init__.pyc > > /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/__init__.pyc > Traceback (most recent call last): > File "", line 7, in > File > "/Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/backend_agg.py", > line 38, in > from _backend_agg import RendererAgg as _RendererAgg > ImportError: > dlopen(/Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/_backend_agg.so, > 2): Library not loaded: > /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/install/lib/libfreetype.6.dylib > Referenced from: > /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/_backend_agg.so > Reason: image not found > > These files exist, > > /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/_backend_agg.so > > /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/backend_agg.py > > /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/backend_agg.pyc > > > Interestingly, these files exist, but don't seem to be used... > /Applications/paraview4.3.1.app/Contents/Libraries/libfreetype.6.dylib > /Applications/paraview4.3.1.app/Contents/Libraries/libfreetype.dylib > > If I run pvpython I see the same errors. > > BUT --- If I do, > export > DYLD_FALLBACK_LIBRARY_PATH=/Applications/paraview4.3.1.app/Contents/Libraries/ > > and then start Paraview from the command line, > > /Applications/paraview4.3.1.app/Contents/MacOS/paraview > > ... and load the state file and the bluntfin.vts file ... Now I can see > the matplotlib plots!!!!!! > > So it looks to me like you aren't setting a dynamic library path correctly > within Paraview's python. > > Hope this helps. Thanks for the simple thing to try. > > -- Adam > > > *------* > > *Adam L. Lyon* > *Scientist; Associate Division Head for Systems for Scientific > Applications* > > Scientific Computing Division & Muon g-2 Experiment > Fermi National Accelerator Laboratory > 630 840 5522 office > www.fnal.gov > lyon at fnal.gov > > Connect with us! > Newsletter | Facebook > | Twitter > > > On Tue, Apr 14, 2015 at 6:12 PM, Cory Quammen > wrote: > >> Hi Adam, >> >> I am running the exact same version of ParaView (my About box has the >> same contents as yours), so this is a little bit puzzling. >> >> Could you try two things: >> >> 1). Run ParaView, create a Python View, then enter this script: >> >> import matplotlib >> >> print matplotlib.__file__ >> >> >> import matplotlib.backends >> >> print matplotlib.backends.__file__ >> >> >> import matplotlib.backends.backend_agg >> >> print matplotlib.backends.backend_agg.__file__ >> >> >> Please report what the Output Messages window says. >> >> >> 2). Open the contents of your ParaView Mac bundle (right-click, "Show >> Package Contents"), open up Contents -> Python -> matplotlib -> backends. >> Please let me know if you see a backend_agg.py file in there. >> >> >> Thanks, >> >> Cory >> >> On Tue, Apr 14, 2015 at 4:12 PM, Adam Lyon wrote: >> >>> Hi Cory and Utkarsh - So I never see a plot - just a black window. The >>> error message I sent earlier repeats every time I move my mouse over the >>> python view window. I'm using Paraview 4.3.1 downloaded from >>> paraview.org. Paraview's "about" box is below. >>> >>> Do you have a simple matplotlib plot I can try? Thanks! -- Adam >>> >>> >>> [image: Inline image 1] >>> >>> *------* >>> >>> *Adam L. Lyon* >>> *Scientist; Associate Division Head for Systems for Scientific >>> Applications* >>> >>> Scientific Computing Division & Muon g-2 Experiment >>> Fermi National Accelerator Laboratory >>> 630 840 5522 office >>> www.fnal.gov >>> lyon at fnal.gov >>> >>> Connect with us! >>> Newsletter | Facebook >>> | Twitter >>> >>> >>> On Tue, Apr 14, 2015 at 2:06 PM, Cory Quammen >>> wrote: >>> >>>> Hi Adam, >>>> >>>> I am trying to reproduce this with ParaView 4.3.1 64-bit on a Mac >>>> with Yosemite 10.10.2, but haven't been able to. This is the latest Mac >>>> binary available for download on paraview.org. The matplotlib pot >>>> shows up as in the blog post. Is your ParaView binary from paraview.org >>>> ? >>>> >>>> Thanks, >>>> Cory >>>> >>>> On Tue, Apr 14, 2015 at 11:49 AM, Adam Lyon wrote: >>>> >>>>> Hi Cory - I wanted to try this -- I loaded the state file and the data >>>>> file (thanks for the link). But when the python view tries to render, I >>>>> get, >>>>> >>>>> Error: Cannot import matplotlib.backends.backend_agg.FigureCanvasAgg >>>>> >>>>> and nothing appears. I'm running Paraview 4.3.1 64-bit on my Mac >>>>> with Yosemite. >>>>> >>>>> Is this a Mac problem? Thanks! -- Adam >>>>> >>>>> *------* >>>>> >>>>> *Adam L. Lyon* >>>>> *Scientist; Associate Division Head for Systems for Scientific >>>>> Applications* >>>>> >>>>> Scientific Computing Division & Muon g-2 Experiment >>>>> Fermi National Accelerator Laboratory >>>>> >>>>> >>>> >>>> >>>> -- >>>> Cory Quammen >>>> R&D Engineer >>>> Kitware, Inc. >>>> >>> >>> >> >> >> -- >> Cory Quammen >> R&D Engineer >> Kitware, Inc. >> > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 72569 bytes Desc: not available URL: From lyon at fnal.gov Wed Apr 15 11:40:47 2015 From: lyon at fnal.gov (Adam Lyon) Date: Wed, 15 Apr 2015 10:40:47 -0500 Subject: [Paraview] Python view In-Reply-To: <6891b2376a23403190375485f0491f0d@MAIL06V-CAS04.fnal.gov> References: <552CE41D.4040703@tu-braunschweig.de> <409697d5dd3a436aa7b16c197d7b075f@MAIL05V-CAS02.fnal.gov> <15c8d73a0120417cafcc5826b5d8cfa5@MAIL04V-CAS03.fnal.gov> <6891b2376a23403190375485f0491f0d@MAIL06V-CAS04.fnal.gov> Message-ID: Great! Glad this is useful! -- A *------* *Adam L. Lyon* *Scientist; Associate Division Head for Systems for Scientific Applications* Scientific Computing Division & Muon g-2 Experiment Fermi National Accelerator Laboratory 630 840 5522 office www.fnal.gov lyon at fnal.gov Connect with us! Newsletter | Facebook | Twitter On Wed, Apr 15, 2015 at 8:54 AM, Cory Quammen wrote: > Thanks for the report, Adam. This is helpful. We'll look at getting it > fixed. > > Cory > > On Tue, Apr 14, 2015 at 8:19 PM, Adam Lyon wrote: > >> Hi Cory - I tried your little script and got an interesting response... >> >> /Applications/paraview4.3.1.app/Contents/Python/matplotlib/__init__.pyc >> >> /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/__init__.pyc >> Traceback (most recent call last): >> File "", line 7, in >> File >> "/Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/backend_agg.py", >> line 38, in >> from _backend_agg import RendererAgg as _RendererAgg >> ImportError: >> dlopen(/Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/_backend_agg.so, >> 2): Library not loaded: >> /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/install/lib/libfreetype.6.dylib >> Referenced from: >> /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/_backend_agg.so >> Reason: image not found >> >> These files exist, >> >> /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/_backend_agg.so >> >> /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/backend_agg.py >> >> /Applications/paraview4.3.1.app/Contents/Python/matplotlib/backends/backend_agg.pyc >> >> >> Interestingly, these files exist, but don't seem to be used... >> /Applications/paraview4.3.1.app/Contents/Libraries/libfreetype.6.dylib >> /Applications/paraview4.3.1.app/Contents/Libraries/libfreetype.dylib >> >> If I run pvpython I see the same errors. >> >> BUT --- If I do, >> export >> DYLD_FALLBACK_LIBRARY_PATH=/Applications/paraview4.3.1.app/Contents/Libraries/ >> >> and then start Paraview from the command line, >> >> /Applications/paraview4.3.1.app/Contents/MacOS/paraview >> >> ... and load the state file and the bluntfin.vts file ... Now I can see >> the matplotlib plots!!!!!! >> >> So it looks to me like you aren't setting a dynamic library path >> correctly within Paraview's python. >> >> Hope this helps. Thanks for the simple thing to try. >> >> -- Adam >> >> >> *------* >> >> *Adam L. Lyon* >> *Scientist; Associate Division Head for Systems for Scientific >> Applications* >> >> Scientific Computing Division & Muon g-2 Experiment >> Fermi National Accelerator Laboratory >> 630 840 5522 office >> www.fnal.gov >> lyon at fnal.gov >> >> Connect with us! >> Newsletter | Facebook >> | Twitter >> >> >> On Tue, Apr 14, 2015 at 6:12 PM, Cory Quammen >> wrote: >> >>> Hi Adam, >>> >>> I am running the exact same version of ParaView (my About box has the >>> same contents as yours), so this is a little bit puzzling. >>> >>> Could you try two things: >>> >>> 1). Run ParaView, create a Python View, then enter this script: >>> >>> import matplotlib >>> >>> print matplotlib.__file__ >>> >>> >>> import matplotlib.backends >>> >>> print matplotlib.backends.__file__ >>> >>> >>> import matplotlib.backends.backend_agg >>> >>> print matplotlib.backends.backend_agg.__file__ >>> >>> >>> Please report what the Output Messages window says. >>> >>> >>> 2). Open the contents of your ParaView Mac bundle (right-click, "Show >>> Package Contents"), open up Contents -> Python -> matplotlib -> backends. >>> Please let me know if you see a backend_agg.py file in there. >>> >>> >>> Thanks, >>> >>> Cory >>> >>> On Tue, Apr 14, 2015 at 4:12 PM, Adam Lyon wrote: >>> >>>> Hi Cory and Utkarsh - So I never see a plot - just a black window. The >>>> error message I sent earlier repeats every time I move my mouse over the >>>> python view window. I'm using Paraview 4.3.1 downloaded from >>>> paraview.org. Paraview's "about" box is below. >>>> >>>> Do you have a simple matplotlib plot I can try? Thanks! -- Adam >>>> >>>> >>>> [image: Inline image 1] >>>> >>>> *------* >>>> >>>> *Adam L. Lyon* >>>> *Scientist; Associate Division Head for Systems for Scientific >>>> Applications* >>>> >>>> Scientific Computing Division & Muon g-2 Experiment >>>> Fermi National Accelerator Laboratory >>>> 630 840 5522 office >>>> www.fnal.gov >>>> lyon at fnal.gov >>>> >>>> Connect with us! >>>> Newsletter | Facebook >>>> | Twitter >>>> >>>> >>>> On Tue, Apr 14, 2015 at 2:06 PM, Cory Quammen >>> > wrote: >>>> >>>>> Hi Adam, >>>>> >>>>> I am trying to reproduce this with ParaView 4.3.1 64-bit on a Mac >>>>> with Yosemite 10.10.2, but haven't been able to. This is the latest Mac >>>>> binary available for download on paraview.org. The matplotlib pot >>>>> shows up as in the blog post. Is your ParaView binary from >>>>> paraview.org? >>>>> >>>>> Thanks, >>>>> Cory >>>>> >>>>> On Tue, Apr 14, 2015 at 11:49 AM, Adam Lyon wrote: >>>>> >>>>>> Hi Cory - I wanted to try this -- I loaded the state file and the >>>>>> data file (thanks for the link). But when the python view tries to render, >>>>>> I get, >>>>>> >>>>>> Error: Cannot import matplotlib.backends.backend_agg.FigureCanvasAgg >>>>>> >>>>>> and nothing appears. I'm running Paraview 4.3.1 64-bit on my Mac >>>>>> with Yosemite. >>>>>> >>>>>> Is this a Mac problem? Thanks! -- Adam >>>>>> >>>>>> *------* >>>>>> >>>>>> *Adam L. Lyon* >>>>>> *Scientist; Associate Division Head for Systems for Scientific >>>>>> Applications* >>>>>> >>>>>> Scientific Computing Division & Muon g-2 Experiment >>>>>> Fermi National Accelerator Laboratory >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Cory Quammen >>>>> R&D Engineer >>>>> Kitware, Inc. >>>>> >>>> >>>> >>> >>> >>> -- >>> Cory Quammen >>> R&D Engineer >>> Kitware, Inc. >>> >> >> > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 72569 bytes Desc: not available URL: From kmorel at sandia.gov Wed Apr 15 11:41:05 2015 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Wed, 15 Apr 2015 15:41:05 +0000 Subject: [Paraview] Saving data as image Message-ID: When you save a screenshot, the dialog box should give you an option labeled "Override Color Palette". If change that to "Print", it should write out the image with a white background. -Ken From: Rohit Narurkar > Date: Wednesday, April 15, 2015 at 6:16 AM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] Saving data as image Hello I am viewing streamlines, but I wish to save that as an image (png) with a white background, axes colored black. How should I do that? I tried the 'save screenshot' option, but it gives the blue background color as well. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MICHAEL.MASON at ngc.com Wed Apr 15 12:05:08 2015 From: MICHAEL.MASON at ngc.com (Mason, Michael (IS)) Date: Wed, 15 Apr 2015 16:05:08 +0000 Subject: [Paraview] Using MPI on a single machine Message-ID: <54481d580a2e47f0b57e3502a898ed5b@XCGVAG24.northgrum.com> Can anyone speculate on what sort of performance increase would be possible if I ran an MPI-enabled ParaView on a single standalone workstation? The machine is a new iMac with 32GB RAM, 8 cores, and an AMD Radeon R9 M295X (4 GB VRAM). I'm volume rendering a 4D NetCDF dataset (72 240 MB files). I'm worried that contention for the GPU among the multiple MPI processes will result in similar (or worse) performance. Using a single ParaView process, it takes about 15-20 seconds to volume render a single time step and I'm looking for ways to reduce the rendering time. I'd just like to know if there is even a small chance that I'll get better performance before going through the process of building ParaView from source on OSX. I've done it before on Linux, so this will be a new experience. One more question ... Would it be more efficient to combine/concat these individual files into a single, larger NetCDF file? Or does ParaView perform better with smaller files? Thanks, -Mike From burlen.loring at gmail.com Wed Apr 15 12:34:35 2015 From: burlen.loring at gmail.com (Burlen Loring) Date: Wed, 15 Apr 2015 09:34:35 -0700 Subject: [Paraview] default_servers.pvsc question In-Reply-To: References: <552B2B52.8020504@gmail.com> <552BE0BE.9010003@gmail.com> <552BE55F.5040509@gmail.com> Message-ID: <552E931B.5040002@gmail.com> about (a): running multiple commands for each field could be annoying if for ex one was trying to query a server side value and the user had to enter their password more than once. about (b), sounds OK but I'm not sure how it would work with the connections to remote site. in all this, I think we want to make the low-level (ie ssh tunnel) connection once and make use of it from then on, for everything. as opposed to making a connection for querying and then making another connection for submitting/connecting to pvserver etc (or in your (a) many connections). In my suggestion of allowing a script(or as you "executable") to generate the pvsc xml, PV can use a pipe to communicate to first fetch the xml from the script then report the user selection back all while keeping the script alive, and same connection open. On 04/14/2015 02:00 PM, Utkarsh Ayachit wrote: > Thanks Burlen/Rick. > > After discussing it with a few folks here, how about the following options: > > a. What if we make it possible to run an "executable" to obtain a > value for any attribute in the XML. One could indeed use a Python > script to produce that value or any other executable. > > b. We provide a mechanism to add a Python function in the PVSC. Before > (and/or after) the PVSC is processed by the UI for display, it will > pass the XML to that function which can update the XML as appropriate. > This would mean that the Python code has to be aware of the PVSC's XML > structure, but shouldn't be a problem since the Python code is > embedded in the PVSC XML itself. > > Both will allow 1 and 2. 1 may still be a little hard work on the PVSC > writer side, but it's a one time thing. > > Burlen, I think 3 is a little independent of this task. I do agree, we > should embed all necessary tools in the paraview bundle -- something > we've been talking about for a while. We should address that, I just > don't want to commit to it just yet :). > > Thoughts? The more I think about it, I think I am leaning towards (b). > For (a) the next logical question becomes how does one specify the > path to the executable to run and we're back to the same problem we're > trying to address :). What are your thoughts? > > Utkarsh > > On Mon, Apr 13, 2015 at 11:48 AM, Burlen Loring wrote: >> OK, I added some notes based on the above discussion. >> >> >> On 04/13/2015 08:33 AM, Utkarsh Ayachit wrote: >>> Great, let's start here: >>> >>> >>> https://docs.google.com/a/kitware.com/document/d/1uzi3VzpCxiGslhqaUde3ZbKcx-9LLG_ly3BYvDiPPx0/edit?usp=sharing >>> >>> Utkarsh >>> >>> >>> >>> On Mon, Apr 13, 2015 at 11:29 AM, Burlen Loring >>> wrote: >>>> Great, that sounds like a good way to start. >>>> >>>> >>>> On 04/13/2015 06:53 AM, Utkarsh Ayachit wrote: >>>>> Burlen/Rick, >>>>> >>>>> I am totally open to adding new features/refactoring the pvsc code. >>>>> It hasn't changed much in a few years, and I am sure we know more than >>>>> we did when we started with this :). Since you guys are the ones >>>>> actually using this code in the field, it'd be great if you can >>>>> identify the feature list of things missing or difficult to do in the >>>>> current implementation and we can decide which would be best way >>>>> forward. >>>>> >>>>> Should I create a google-doc or something which all can edit to built >>>>> this >>>>> list? >>>>> >>>>> Utkarsh >>>>> >>>>> On Mon, Apr 13, 2015 at 8:19 AM, Angelini, Richard C (Rick) CIV USARMY >>>>> ARL (US) wrote: >>>>>> Burlen/Utkarsh ?? my preferred solution is also to not set an >>>>>> environment >>>>>> variable if possible. For my particular issue, I?d much rather be able >>>>>> to >>>>>> do a `which ssh` (or equivalent) to get the answer than than asking the >>>>>> user to set an environment variable. >>>>>> >>>>>> Implementing a python-based default_servers definition opens things up >>>>>> for >>>>>> much more programmatic flexibility. >>>>>> >>>>>> # take a guess at which ssh command to use >>>>>> >>>>>> try: >>>>>> default_shell=os.popen("which ssh").read() >>>>>> default_shell=default_shell.rstrip("\r\n") >>>>>> except: >>>>>> default_shell="/usr/krb5/bin/ >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ________________________________ >>>>>> Rick Angelini >>>>>> USArmy Research Laboratory >>>>>> CISD/HPC Architectures Team >>>>>> Phone: 410-278-6266 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: Burlen Loring >>>>>> Date: Sunday, April 12, 2015 at 10:34 PM >>>>>> To: Utkarsh Ayachit , Rick Angelini >>>>>> >>>>>> Cc: "paraview at paraview.org" >>>>>> Subject: Re: [Paraview] default_servers.pvsc question >>>>>> >>>>>> Hi Utkarsh, >>>>>> >>>>>> I think environment variables are kind of a band aid around a larger >>>>>> issue. In addition to leveraging the user's local environment, there's >>>>>> also no way to get information from the server side environment. for >>>>>> example list of account numbers a user can charge jobs to, or a list of >>>>>> active queues. One thing I have been thinking about is rather than >>>>>> just >>>>>> reading pvsc from an xml file, paraview could call a script to get the >>>>>> pvsc xml. This script could query the user's local/remote environment >>>>>> and generate the xml. A long time ago we had talked about a python >>>>>> based >>>>>> solution. What do you think? >>>>>> >>>>>> Burlen >>>>>> >>>>>> On 4/12/2015 11:31 AM, Utkarsh Ayachit wrote: >>>>>>> Rick, >>>>>>> >>>>>>> Alas no, this isn't currently supported. But should be fairly >>>>>>> straightforward to add. I've reported a bug: >>>>>>> http://www.paraview.org/Bug/view.php?id=15421 >>>>>>> >>>>>>> Utkarsh >>>>>>> >>>>>>> On Fri, Apr 10, 2015 at 4:09 PM, Angelini, Richard C (Rick) CIV USARMY >>>>>>> ARL (US) wrote: >>>>>>>> Question about the default_servers.pvsc file?.. >>>>>>>> >>>>>>>> I have this in my host profile: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> So, when the GUI pops up, the user has an opportunity to change the >>>>>>>> path to >>>>>>>> ssh. But, rather than hard-coding the default value, or presenting >>>>>>>> blank >>>>>>>> field and have the user put in the correct path, is it possible to >>>>>>>> query the >>>>>>>> user?s environment and find `which ssh` and substitute in that >>>>>>>> value?? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ________________________________ >>>>>>>> Rick Angelini >>>>>>>> USArmy Research Laboratory >>>>>>>> CISD/HPC Architectures Team >>>>>>>> Phone: 410-278-6266 >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>>>> >>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> Powered by www.kitware.com >>>>>>> >>>>>>> Visit other Kitware open-source projects at >>>>>>> http://www.kitware.com/opensource/opensource.html >>>>>>> >>>>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>>>> http://paraview.org/Wiki/ParaView >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>> From Mark.Stock at nrel.gov Wed Apr 15 13:59:19 2015 From: Mark.Stock at nrel.gov (Stock, Mark) Date: Wed, 15 Apr 2015 17:59:19 +0000 Subject: [Paraview] Removing *some* color legends in multi-screen immersive Paraview Message-ID: Hello, I am digging through the Paraview code to find out where I can control which of our 6-projector VR CAVE screens will draw the color legends. The default seems to put all legends on all screens, which is very distracting. Does anyone know where I can intercept these draw calls with an MPI_RANK check? I'm on 4.2.0 with a 6-projector setup and a number of custom interactors. Not sure if the pvx and pvsm files are helpful, but I attached them anyway. Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: nrel.pvx Type: application/octet-stream Size: 1627 bytes Desc: nrel.pvx URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: v420_vrpn.pvsm Type: application/octet-stream Size: 25574 bytes Desc: v420_vrpn.pvsm URL: From utkarsh.ayachit at kitware.com Wed Apr 15 14:20:15 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 15 Apr 2015 14:20:15 -0400 Subject: [Paraview] Removing *some* color legends in multi-screen immersive Paraview In-Reply-To: References: Message-ID: In vtkPVRenderView.cxx, remove the following line: window->AddRenderer(this->NonCompositedRender). Now, none of the views will render any 2D annotations, including scalar bars. Once that work, you can tweak it to only skip adding that renderer on the views you don't care about using the MPI rank, obtained from the vtkMultProcessController::GetGlobalController() instance. Utkarsh On Wed, Apr 15, 2015 at 1:59 PM, Stock, Mark wrote: > Hello, > > I am digging through the Paraview code to find out where I can control which of our 6-projector VR CAVE screens will draw the color legends. The default seems to put all legends on all screens, which is very distracting. Does anyone know where I can intercept these draw calls with an MPI_RANK check? > > I'm on 4.2.0 with a 6-projector setup and a number of custom interactors. Not sure if the pvx and pvsm files are helpful, but I attached them anyway. > > Mark > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From Michael.Greenwood at NRCan-RNCan.gc.ca Wed Apr 15 15:49:19 2015 From: Michael.Greenwood at NRCan-RNCan.gc.ca (Greenwood, Michael) Date: Wed, 15 Apr 2015 19:49:19 +0000 Subject: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 Message-ID: Hi I've upgraded to paraview 4 and now when building contours of my 3D unstructured grid, the contours are pixelated. This was not the case in 3, and when you look at a slice of the contour overlayed with a slice of the volume data it is obvious that the contour in paraview 4 seems to be "hugging" the boundaries of my mesh instead of interpolating through it. How can I get my nice smooth contours I had in version 3? Thanks [cid:image001.png at 01D07793.BBE3F100] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62758 bytes Desc: image001.png URL: From utkarsh.ayachit at kitware.com Wed Apr 15 15:56:50 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 15 Apr 2015 15:56:50 -0400 Subject: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 In-Reply-To: References: Message-ID: Can you share a sample dataset to reproduce this? Thanks On Wed, Apr 15, 2015 at 3:49 PM, Greenwood, Michael < Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > Hi I?ve upgraded to paraview 4 and now when building contours of my 3D > unstructured grid, the contours are pixelated. This was not the case in 3, > and when you look at a slice of the contour overlayed with a slice of the > volume data it is obvious that the contour in paraview 4 seems to be > ?hugging? the boundaries of my mesh instead of interpolating through it. > How can I get my nice smooth contours I had in version 3? > > > > Thanks > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62758 bytes Desc: not available URL: From berk.geveci at kitware.com Wed Apr 15 15:56:43 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Wed, 15 Apr 2015 15:56:43 -0400 Subject: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 In-Reply-To: References: Message-ID: Very strange. I can't recall a change that can cause this. Do you have a dataset that we can reproduce this with? Best, -berk On Wed, Apr 15, 2015 at 3:49 PM, Greenwood, Michael < Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > Hi I?ve upgraded to paraview 4 and now when building contours of my 3D > unstructured grid, the contours are pixelated. This was not the case in 3, > and when you look at a slice of the contour overlayed with a slice of the > volume data it is obvious that the contour in paraview 4 seems to be > ?hugging? the boundaries of my mesh instead of interpolating through it. > How can I get my nice smooth contours I had in version 3? > > > > Thanks > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62758 bytes Desc: not available URL: From Michael.Greenwood at NRCan-RNCan.gc.ca Wed Apr 15 16:08:23 2015 From: Michael.Greenwood at NRCan-RNCan.gc.ca (Greenwood, Michael) Date: Wed, 15 Apr 2015 20:08:23 +0000 Subject: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 In-Reply-To: References: Message-ID: It seems that in paraview 3 it would interpolate inside the cell between the mesh points when building the polymesh for the contour and now it is snapping the interpolation to nearest grid point of my unstructured mesh. From: Berk Geveci [mailto:berk.geveci at kitware.com] Sent: April 15, 2015 15:57 To: Greenwood, Michael Cc: paraview at paraview.org Subject: Re: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 Very strange. I can't recall a change that can cause this. Do you have a dataset that we can reproduce this with? Best, -berk On Wed, Apr 15, 2015 at 3:49 PM, Greenwood, Michael > wrote: Hi I?ve upgraded to paraview 4 and now when building contours of my 3D unstructured grid, the contours are pixelated. This was not the case in 3, and when you look at a slice of the contour overlayed with a slice of the volume data it is obvious that the contour in paraview 4 seems to be ?hugging? the boundaries of my mesh instead of interpolating through it. How can I get my nice smooth contours I had in version 3? Thanks [cid:image001.png at 01D07796.42933DD0] _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62758 bytes Desc: image001.png URL: From Michael.Greenwood at NRCan-RNCan.gc.ca Wed Apr 15 16:09:15 2015 From: Michael.Greenwood at NRCan-RNCan.gc.ca (Greenwood, Michael) Date: Wed, 15 Apr 2015 20:09:15 +0000 Subject: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 In-Reply-To: References: Message-ID: The data file is being held in moderation since its larger size, let me see if I can find a place to store it and send a link. From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Greenwood, Michael Sent: April 15, 2015 16:08 To: Berk Geveci Cc: paraview at paraview.org Subject: Re: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 It seems that in paraview 3 it would interpolate inside the cell between the mesh points when building the polymesh for the contour and now it is snapping the interpolation to nearest grid point of my unstructured mesh. From: Berk Geveci [mailto:berk.geveci at kitware.com] Sent: April 15, 2015 15:57 To: Greenwood, Michael Cc: paraview at paraview.org Subject: Re: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 Very strange. I can't recall a change that can cause this. Do you have a dataset that we can reproduce this with? Best, -berk On Wed, Apr 15, 2015 at 3:49 PM, Greenwood, Michael > wrote: Hi I?ve upgraded to paraview 4 and now when building contours of my 3D unstructured grid, the contours are pixelated. This was not the case in 3, and when you look at a slice of the contour overlayed with a slice of the volume data it is obvious that the contour in paraview 4 seems to be ?hugging? the boundaries of my mesh instead of interpolating through it. How can I get my nice smooth contours I had in version 3? Thanks [cid:image001.png at 01D07796.42933DD0] _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62758 bytes Desc: image001.png URL: From Mark.Stock at nrel.gov Wed Apr 15 16:24:08 2015 From: Mark.Stock at nrel.gov (Stock, Mark) Date: Wed, 15 Apr 2015 20:24:08 +0000 Subject: [Paraview] Removing *some* color legends in multi-screen immersive Paraview In-Reply-To: References: , Message-ID: <10531ca5d2f14fa1aea3211d25bf83c6@xp11mbx2.nrel.gov> Utkarsh, That was exactly what I was looking for! It works perfectly. For future reference, at around line 230 of ParaViewCore/ClientServerCore/Rendering/vtkPVRenderView.cxx I removed window->AddRenderer(this->NonCompositedRenderer); And added vtkMultiProcessController* Controller = vtkMultiProcessController::GetGlobalController(); if (Controller->GetLocalProcessId() == 3) window->AddRenderer(this->NonCompositedRenderer); And it built and ran just fine. Thank you! Mark ________________________________________ From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com] Sent: Wednesday, April 15, 2015 12:20 PM To: Stock, Mark Cc: paraview at paraview.org Subject: Re: [Paraview] Removing *some* color legends in multi-screen immersive Paraview In vtkPVRenderView.cxx, remove the following line: window->AddRenderer(this->NonCompositedRender). Now, none of the views will render any 2D annotations, including scalar bars. Once that work, you can tweak it to only skip adding that renderer on the views you don't care about using the MPI rank, obtained from the vtkMultProcessController::GetGlobalController() instance. Utkarsh On Wed, Apr 15, 2015 at 1:59 PM, Stock, Mark wrote: > Hello, > > I am digging through the Paraview code to find out where I can control which of our 6-projector VR CAVE screens will draw the color legends. The default seems to put all legends on all screens, which is very distracting. Does anyone know where I can intercept these draw calls with an MPI_RANK check? > > I'm on 4.2.0 with a 6-projector setup and a number of custom interactors. Not sure if the pvx and pvsm files are helpful, but I attached them anyway. > > Mark > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From burlen.loring at gmail.com Wed Apr 15 16:46:34 2015 From: burlen.loring at gmail.com (Burlen Loring) Date: Wed, 15 Apr 2015 13:46:34 -0700 Subject: [Paraview] default_servers.pvsc question In-Reply-To: References: Message-ID: <552ECE2A.4040603@gmail.com> going back to your original question. when exec'ing new processes there are various flavors of exec, including one that uses your environment. Which made me wonder which flavor is PV using? I wrote a little pvsc to test this out(attached). Apparently PV does use the exec that includes your environment. So if you want to use the ssh that's in your path, don't give the path in your pvsc, in the example you gave change it to duh! (directed at myself) I hope this discovery doesn't derail our discussion because the other features about being able to get information back from the server side we are discussing would be useful. On 04/10/2015 01:09 PM, Angelini, Richard C (Rick) CIV USARMY ARL (US) wrote: > Question about the default_servers.pvsc file?.. > > I have this in my host profile: > > > > > > > So, when the GUI pops up, the user has an opportunity to change the > path to ssh. But, rather than hard-coding the default value, or > presenting blank field and have the user put in the correct path, is > it possible to query the user?s environment and find `which ssh` and > substitute in that value?? > > > > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- From cory.quammen at kitware.com Wed Apr 15 18:11:21 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 15 Apr 2015 18:11:21 -0400 Subject: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 In-Reply-To: References: Message-ID: Michael, I remember tracking down a similar bug like this. I recall it had to do with the type of the points being specified as an integral type. The change between 3 and 4 was that interpolation for the isocontours is now performed with the precision available in the point type, so if your point type is an integral value, you'll get this chunky result. Try changing your point type in your data file to float or double. Hope that helps, Cory On Wed, Apr 15, 2015 at 4:09 PM, Greenwood, Michael < Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > The data file is being held in moderation since its larger size, let me > see if I can find a place to store it and send a link. > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Greenwood, > Michael > *Sent:* April 15, 2015 16:08 > *To:* Berk Geveci > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Contours of unstructured grid paraview 3 vs > paraview 4 > > > > It seems that in paraview 3 it would interpolate inside the cell between > the mesh points when building the polymesh for the contour and now it is > snapping the interpolation to nearest grid point of my unstructured mesh. > > > > > > *From:* Berk Geveci [mailto:berk.geveci at kitware.com > ] > *Sent:* April 15, 2015 15:57 > *To:* Greenwood, Michael > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Contours of unstructured grid paraview 3 vs > paraview 4 > > > > Very strange. I can't recall a change that can cause this. Do you have a > dataset that we can reproduce this with? > > > > Best, > > -berk > > > > On Wed, Apr 15, 2015 at 3:49 PM, Greenwood, Michael < > Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > > Hi I?ve upgraded to paraview 4 and now when building contours of my 3D > unstructured grid, the contours are pixelated. This was not the case in 3, > and when you look at a slice of the contour overlayed with a slice of the > volume data it is obvious that the contour in paraview 4 seems to be > ?hugging? the boundaries of my mesh instead of interpolating through it. > How can I get my nice smooth contours I had in version 3? > > > > Thanks > > [image: cid:image001.png at 01D07796.42933DD0] > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62758 bytes Desc: not available URL: From kevin.dean at decisionsciencescorp.com Wed Apr 15 19:30:52 2015 From: kevin.dean at decisionsciencescorp.com (Kevin Dean) Date: Wed, 15 Apr 2015 16:30:52 -0700 Subject: [Paraview] ParaView as ThirdParty Message-ID: so, I have been able to use ParaView as a thirdparty (in it's own install/not build directory) for a little bit. However, there are a couple of things: (1) when selecting PARAVIEW_INSTALL_DEVELOPMENT_FILES, I must have PARAVIEW_ENABLE_PYTHON:BOOL=ON; otherwise I get build errors for missing libraries. (2) then after a successful build, I try to build my project against these ParaView/VTK libraries again; however, I get an error with vtkPVInitializePythonModules() Linking CXX executable mtview CMakeFiles/mtview.dir/ParaViewMainWindow.cxx.o: In function `ParaViewMainWindow': /home/kdean/workspace-dsc/mtview/ParaViewMainWindow.cxx:108: undefined reference to `*vtkPVInitializePythonModules*' collect2: ld returned 1 exit status make[2]: *** [mtview] Error 1 make[1]: *** [CMakeFiles/mtview.dir/all] Error 2 make: *** [all] Error 2 Is there a reference point to try and Debug this issue? Thanks a lot. Kevin E. Dean -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.dean at decisionsciencescorp.com Wed Apr 15 19:37:27 2015 From: kevin.dean at decisionsciencescorp.com (Kevin Dean) Date: Wed, 15 Apr 2015 16:37:27 -0700 Subject: [Paraview] ParaView as ThirdParty In-Reply-To: References: Message-ID: also, when execute paraview (with python enabled), I get Segmentation Fault... is there a way I can debug this to figure out what the problem might be... Kevin E. Dean On Wed, Apr 15, 2015 at 4:31 PM, Kevin Dean < kevin.dean at decisionsciencescorp.com> wrote: > > ---------- Forwarded message ---------- > From: Kevin Dean > Date: Wed, Apr 15, 2015 at 4:30 PM > Subject: ParaView as ThirdParty > To: ParaView at paraview.org > > > so, I have been able to use ParaView as a thirdparty (in it's own > install/not build directory) for a little bit. However, there are a couple > of things: > > (1) when selecting PARAVIEW_INSTALL_DEVELOPMENT_FILES, I must have > PARAVIEW_ENABLE_PYTHON:BOOL=ON; otherwise I get build errors for missing > libraries. > > (2) then after a successful build, I try to build my project against these > ParaView/VTK libraries again; however, I get an error with > vtkPVInitializePythonModules() > > Linking CXX executable mtview > CMakeFiles/mtview.dir/ParaViewMainWindow.cxx.o: In function > `ParaViewMainWindow': > /home/kdean/workspace-dsc/mtview/ParaViewMainWindow.cxx:108: undefined > reference to `*vtkPVInitializePythonModules*' > collect2: ld returned 1 exit status > make[2]: *** [mtview] Error 1 > make[1]: *** [CMakeFiles/mtview.dir/all] Error 2 > make: *** [all] Error 2 > > Is there a reference point to try and Debug this issue? Thanks a lot. > > Kevin E. Dean > > -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Wed Apr 15 21:29:52 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 15 Apr 2015 21:29:52 -0400 Subject: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 In-Reply-To: References: Message-ID: This email explains a bit more detail what I think the problem might be: http://www.paraview.org/pipermail/paraview/2014-October/032458.html - Cory On Wed, Apr 15, 2015 at 6:11 PM, Cory Quammen wrote: > Michael, > > I remember tracking down a similar bug like this. I recall it had to do > with the type of the points being specified as an integral type. The change > between 3 and 4 was that interpolation for the isocontours is now performed > with the precision available in the point type, so if your point type is an > integral value, you'll get this chunky result. > > Try changing your point type in your data file to float or double. > > Hope that helps, > Cory > > On Wed, Apr 15, 2015 at 4:09 PM, Greenwood, Michael < > Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > >> The data file is being held in moderation since its larger size, let me >> see if I can find a place to store it and send a link. >> >> >> >> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Greenwood, >> Michael >> *Sent:* April 15, 2015 16:08 >> *To:* Berk Geveci >> *Cc:* paraview at paraview.org >> *Subject:* Re: [Paraview] Contours of unstructured grid paraview 3 vs >> paraview 4 >> >> >> >> It seems that in paraview 3 it would interpolate inside the cell between >> the mesh points when building the polymesh for the contour and now it is >> snapping the interpolation to nearest grid point of my unstructured mesh. >> >> >> >> >> >> *From:* Berk Geveci [mailto:berk.geveci at kitware.com >> ] >> *Sent:* April 15, 2015 15:57 >> *To:* Greenwood, Michael >> *Cc:* paraview at paraview.org >> *Subject:* Re: [Paraview] Contours of unstructured grid paraview 3 vs >> paraview 4 >> >> >> >> Very strange. I can't recall a change that can cause this. Do you have a >> dataset that we can reproduce this with? >> >> >> >> Best, >> >> -berk >> >> >> >> On Wed, Apr 15, 2015 at 3:49 PM, Greenwood, Michael < >> Michael.Greenwood at nrcan-rncan.gc.ca> wrote: >> >> Hi I?ve upgraded to paraview 4 and now when building contours of my 3D >> unstructured grid, the contours are pixelated. This was not the case in 3, >> and when you look at a slice of the contour overlayed with a slice of the >> volume data it is obvious that the contour in paraview 4 seems to be >> ?hugging? the boundaries of my mesh instead of interpolating through it. >> How can I get my nice smooth contours I had in version 3? >> >> >> >> Thanks >> >> [image: cid:image001.png at 01D07796.42933DD0] >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62758 bytes Desc: not available URL: From boolegue at gmail.com Thu Apr 16 03:47:13 2015 From: boolegue at gmail.com (Antoine Dechaume) Date: Thu, 16 Apr 2015 09:47:13 +0200 Subject: [Paraview] Populate drop down list from filter data Message-ID: Dear list, our team is working on a filter bound to a GUI panel. The filter, among other things, stores a vector of strings. The GUI panel is a kind of customized properties panel (it derives from QDockWidget). In that custom panel, we want to create a drop down list with the data from the vector of strings held by the filter. The length of the vector of strings is determined at run time by the filter. We've been working on this for a couple of days, with the help of wiki and by looking around for a similar feature in the paraview sources, unfortunately without success. Does anyone know how we could do that? Cheers, Antoine. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rohitnarurkar at gmail.com Thu Apr 16 04:45:18 2015 From: rohitnarurkar at gmail.com (Rohit Narurkar) Date: Thu, 16 Apr 2015 14:15:18 +0530 Subject: [Paraview] Saving data as image In-Reply-To: References: Message-ID: thank you! On Wed, Apr 15, 2015 at 9:11 PM, Moreland, Kenneth wrote: > When you save a screenshot, the dialog box should give you an option > labeled "Override Color Palette". If change that to "Print", it should > write out the image with a white background. > > -Ken > > From: Rohit Narurkar > Date: Wednesday, April 15, 2015 at 6:16 AM > To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] Saving data as image > > Hello > > I am viewing streamlines, but I wish to save that as an image (png) with > a white background, axes colored black. How should I do that? > > I tried the 'save screenshot' option, but it gives the blue background > color as well. > > Thank you. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael.Greenwood at NRCan-RNCan.gc.ca Thu Apr 16 09:05:40 2015 From: Michael.Greenwood at NRCan-RNCan.gc.ca (Greenwood, Michael) Date: Thu, 16 Apr 2015 13:05:40 +0000 Subject: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 In-Reply-To: References: Message-ID: Yup, that was the issue, it was a simple matter of changing the coordinates of my grid to floating point instead of integer. From: Cory Quammen [mailto:cory.quammen at kitware.com] Sent: April 15, 2015 21:30 To: Greenwood, Michael Cc: Berk Geveci; paraview at paraview.org Subject: Re: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 This email explains a bit more detail what I think the problem might be: http://www.paraview.org/pipermail/paraview/2014-October/032458.html - Cory On Wed, Apr 15, 2015 at 6:11 PM, Cory Quammen > wrote: Michael, I remember tracking down a similar bug like this. I recall it had to do with the type of the points being specified as an integral type. The change between 3 and 4 was that interpolation for the isocontours is now performed with the precision available in the point type, so if your point type is an integral value, you'll get this chunky result. Try changing your point type in your data file to float or double. Hope that helps, Cory On Wed, Apr 15, 2015 at 4:09 PM, Greenwood, Michael > wrote: The data file is being held in moderation since its larger size, let me see if I can find a place to store it and send a link. From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Greenwood, Michael Sent: April 15, 2015 16:08 To: Berk Geveci Cc: paraview at paraview.org Subject: Re: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 It seems that in paraview 3 it would interpolate inside the cell between the mesh points when building the polymesh for the contour and now it is snapping the interpolation to nearest grid point of my unstructured mesh. From: Berk Geveci [mailto:berk.geveci at kitware.com] Sent: April 15, 2015 15:57 To: Greenwood, Michael Cc: paraview at paraview.org Subject: Re: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 Very strange. I can't recall a change that can cause this. Do you have a dataset that we can reproduce this with? Best, -berk On Wed, Apr 15, 2015 at 3:49 PM, Greenwood, Michael > wrote: Hi I?ve upgraded to paraview 4 and now when building contours of my 3D unstructured grid, the contours are pixelated. This was not the case in 3, and when you look at a slice of the contour overlayed with a slice of the volume data it is obvious that the contour in paraview 4 seems to be ?hugging? the boundaries of my mesh instead of interpolating through it. How can I get my nice smooth contours I had in version 3? Thanks [cid:image001.png at 01D07796.42933DD0] _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen R&D Engineer Kitware, Inc. -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62758 bytes Desc: image001.png URL: From cory.quammen at kitware.com Thu Apr 16 09:06:18 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 16 Apr 2015 09:06:18 -0400 Subject: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 In-Reply-To: References: Message-ID: Excellent! - Cory On Thu, Apr 16, 2015 at 9:05 AM, Greenwood, Michael < Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > Yup, that was the issue, it was a simple matter of changing the > coordinates of my grid to floating point instead of integer. > > > > *From:* Cory Quammen [mailto:cory.quammen at kitware.com] > *Sent:* April 15, 2015 21:30 > *To:* Greenwood, Michael > *Cc:* Berk Geveci; paraview at paraview.org > > *Subject:* Re: [Paraview] Contours of unstructured grid paraview 3 vs > paraview 4 > > > > This email explains a bit more detail what I think the problem might be: > > > > http://www.paraview.org/pipermail/paraview/2014-October/032458.html > > > > - Cory > > > > On Wed, Apr 15, 2015 at 6:11 PM, Cory Quammen > wrote: > > Michael, > > > > I remember tracking down a similar bug like this. I recall it had to do > with the type of the points being specified as an integral type. The change > between 3 and 4 was that interpolation for the isocontours is now performed > with the precision available in the point type, so if your point type is an > integral value, you'll get this chunky result. > > > > Try changing your point type in your data file to float or double. > > > > Hope that helps, > > Cory > > > > On Wed, Apr 15, 2015 at 4:09 PM, Greenwood, Michael < > Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > > The data file is being held in moderation since its larger size, let me > see if I can find a place to store it and send a link. > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Greenwood, > Michael > *Sent:* April 15, 2015 16:08 > *To:* Berk Geveci > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Contours of unstructured grid paraview 3 vs > paraview 4 > > > > It seems that in paraview 3 it would interpolate inside the cell between > the mesh points when building the polymesh for the contour and now it is > snapping the interpolation to nearest grid point of my unstructured mesh. > > > > > > *From:* Berk Geveci [mailto:berk.geveci at kitware.com > ] > *Sent:* April 15, 2015 15:57 > *To:* Greenwood, Michael > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Contours of unstructured grid paraview 3 vs > paraview 4 > > > > Very strange. I can't recall a change that can cause this. Do you have a > dataset that we can reproduce this with? > > > > Best, > > -berk > > > > On Wed, Apr 15, 2015 at 3:49 PM, Greenwood, Michael < > Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > > Hi I?ve upgraded to paraview 4 and now when building contours of my 3D > unstructured grid, the contours are pixelated. This was not the case in 3, > and when you look at a slice of the contour overlayed with a slice of the > volume data it is obvious that the contour in paraview 4 seems to be > ?hugging? the boundaries of my mesh instead of interpolating through it. > How can I get my nice smooth contours I had in version 3? > > > > Thanks > > [image: cid:image001.png at 01D07796.42933DD0] > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > -- > > Cory Quammen > R&D Engineer > Kitware, Inc. > > > > > > -- > > Cory Quammen > R&D Engineer > Kitware, Inc. > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62758 bytes Desc: not available URL: From Patrick.Brockmann at lsce.ipsl.fr Thu Apr 16 12:32:44 2015 From: Patrick.Brockmann at lsce.ipsl.fr (Patrick Brockmann) Date: Thu, 16 Apr 2015 18:32:44 +0200 Subject: [Paraview] animation changing geometry representation Message-ID: <552FE42C.5050109@lsce.ipsl.fr> Hi, How do change the representation of an object from the UI of paraview when you make an animation ? I know how to do change a property but not a type of representation of the geometry (Surface, Surface With Edges, Wireframe). Ideally I would to pass from one representation to another with a progressive ramp. Thanks for pointing me any tutorial on "making animation with paraview" if it exists. Regards Patrick -- LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ Data Analysis and Visualization Engineer ICMC - IPSL Climate Modelling Centre -- From zhz1993622 at 163.com Thu Apr 16 23:37:30 2015 From: zhz1993622 at 163.com (=?GBK?B?1ty649ba?=) Date: Fri, 17 Apr 2015 11:37:30 +0800 (CST) Subject: [Paraview] =?gbk?q?Do_Paraview_support_the_parallel_of_ply_file_?= =?gbk?b?o78=?= Message-ID: <36613ae8.6c1e.14cc573e993.Coremail.zhz1993622@163.com> Dear? I use a ply file to do the test . I use two servers to render it and MPI to support the communication . when I use the command: mpirun -n 2 /bin/env DISPLAY=:0 /usr/local/paraview4.2/bin/pvserver ,and a client connect the server . Then I render the file , I found that " vtkParallelRenderManager::SatelliteStartRender()?vtkParallelRenderManager::StartRender()",the two function in vtkParallelRenderManager.cxx file isn't use in this test and these fuctions in vtkCommunicator.css: int vtkCommunicator::Receive(vtkDataObject* data, int remoteHandle,int tag)? vtkDataObject *vtkCommunicator::ReceiveDataObject(int remoteHandle, int tag)? int vtkCommunicator::ReceiveDataObject(vtkDataObject* data, int remoteHandle,int tag, int dataType)? int vtkCommunicator::ReceiveElementalDataObject(vtkDataObject* data, int remoteHandle, int tag)? int vtkCommunicator::Receive(vtkDataArray* data, int remoteHandle, int tag) also haven't been use on the satellite process. I can't underStand , It used which function to receive the data from the node process . And where to distribute the data? Who can help me .Thank you ! Sincerely! zhz -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Apr 17 00:07:07 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 17 Apr 2015 00:07:07 -0400 Subject: [Paraview] Populate drop down list from filter data In-Reply-To: References: Message-ID: Here's a potential approach: With the following method prototypes: void SetChosenOne(const char*); vtkStringArray* GetAvailableOptions(); From jfavre at cscs.ch Fri Apr 17 02:07:47 2015 From: jfavre at cscs.ch (Favre Jean) Date: Fri, 17 Apr 2015 06:07:47 +0000 Subject: [Paraview] =?gb2312?b?RG8gUGFyYXZpZXcgc3VwcG9ydCB0aGUgcGFyYWxs?= =?gb2312?b?ZWwgb2YgcGx5IGZpbGUgo78=?= In-Reply-To: <36613ae8.6c1e.14cc573e993.Coremail.zhz1993622@163.com> References: <36613ae8.6c1e.14cc573e993.Coremail.zhz1993622@163.com> Message-ID: <0EB9B6375711A04B820E6B6F5CCA9F68318253F1@MBX211.d.ethz.ch> I have just a few days ago gotten to the same conclusion. Reading some large PLY files on our Cray nodes which only have 32Gb of memory, I would run out of memory and crash. Checking memory usage with the "Memory Inspector" will show that everything is loaded on rank 0. Using the D3 filter works and is able to re-distribute the data among all tasks. I suggest you try D3. Note also that ParaView is not able to animate through a time-dependent series of files, using the GUI. Never got any feedback on an earlier post (http://public.kitware.com/pipermail/paraview/2015-January/032999.html). I resorted to some python programming to run the animation. cheers ----------------- Jean/CSCS -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at bpi.cam.ac.uk Fri Apr 17 05:39:30 2015 From: chris at bpi.cam.ac.uk (Chris Richardson) Date: Fri, 17 Apr 2015 10:39:30 +0100 Subject: [Paraview] XDMF Set Message-ID: I would like to be able to specify data, or subsets of data in the XDMF format with Edge or Facet sets. According to the header file of XdmfSet.h: XdmfSet is a Class that handles sets of nodes,cells,faces, and edges on an XdmfGrid. They may be centered on the Node, Edge, Face, Cell. An XdmfSet can have from 1 to 3 DataItems. The last DataItem is always the "Ids" or the indexes into Nodes, Cells, etc. If SetType is "Face" or "Edge", the First DataItem defines the CellIds. If SetType is "Edge" second DataItem defines FaceIds I have two questions: 1) What is the purpose of the FaceIds for a set of Edges? From what I can tell, using ParaView, the three dataitems provide: global CellIDs, unused FaceIDs, cell-local EdgeIds e.g. in this case, the first DataItem "0 0 1 1" lists the cells, the second DataItem "0 1 2 3" is ignored, and the third DataItem "0 1 0 2" lists the cell-local Edges which have data attached? 0 0 1 1 0 1 2 3 0 1 0 2 100 200 400 600 Is that correct? 2) How can I specify an Edge set in 2D? Nothing seems to work in this case, as ParaView complains that the cells have invalid Faces. -- Chris Richardson BP Institute Madingley Road Cambridge CB3 0EZ From cory.quammen at kitware.com Fri Apr 17 09:11:04 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 17 Apr 2015 09:11:04 -0400 Subject: [Paraview] Python view In-Reply-To: <552D7478.3060907@tu-braunschweig.de> References: <552CE41D.4040703@tu-braunschweig.de> <552D7227.2090903@tu-braunschweig.de> <552D7478.3060907@tu-braunschweig.de> Message-ID: Ian, You should be able to access the point data in your "render" function with the following dataObject = view.GetVisibleDataObjectForRendering(i) dataObject.GetPoints() where i is the i-th visible object. This returns a vtkPoints object. I'm not 100% sure if this works in client/server mode, though. Cory On Tue, Apr 14, 2015 at 4:11 PM, Ian Krukow wrote: > One more question: How can I access the point coordinates in the python > view? > > Ian > > > > Am 14.04.2015 um 22:01 schrieb Ian Krukow: > >> Hi Cory, >> >> thanks a lot! I was missing the import statements. Now it works fine. >> And I will remember the big Apply button :-). >> >> Ian >> >> >> >> Am 14.04.2015 um 15:09 schrieb Cory Quammen: >> >>> Hi Ian, >>> >>> I'm glad to hear you are interested in the Python View. >>> >>> I want to try out the python view for the first time, but I am not >>> getting anywhere. I have created a python view and defined the >>> functions setup_data and render. I tried the example script from the >>> Kitware Blog (http://www.kitware.com/blog/__home/post/588 >>> ), and I do get the >>> memory size in the output messages, but the python view stays all >>> black (no plot, no axes, nothing). Am I just missing something? >>> I am using ParaView 4.3.1 64-bit Windows binaries. >>> >>> >>> Did you copy and paste the script examples into the "Script" window, or >>> did you load the example state file on the blog? I suggest loading the >>> state file because the script examples in the blog post are missing some >>> imports that are needed. The state file has the complete script - I just >>> confirmed that it works on the 4.3.1 64-bit Windows binaries. You will >>> have to point ParaView to the bluntfin.vts file when you load the state >>> file, which you can download from >>> >>> >>> http://www.paraview.org/gitweb?p=ParaViewData.git;a=blob_plain;f=Data/bluntfin.vts;hb=1fa9dce1c623e2d467c44b5337ba3a8378a6a537 >>> >>> >>> >>> Besides, I find it a little confusing, that I do not really know, >>> when the script is executed. What about something like an 'Apply' >>> button? >>> >>> >>> The Script is an auto-update property of the Python View. As such, it is >>> executed any time the view needs to re-render. This includes any time >>> you edit the script and then click elsewhere in the GUI, resize the >>> ParaView window, etc. It should work to click on the Python View after >>> you have edited the script - think of it as a big Apply button :-) >>> >>> Thanks, >>> Cory >>> >>> >>> Kind regards >>> Ian >>> _________________________________________________ >>> 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 >>> >>> >>> Search the list archives at: >>> http://markmail.org/search/?q=__ParaView >>> >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/__mailman/listinfo/paraview >>> >>> >>> >>> >>> >>> -- >>> Cory Quammen >>> R&D Engineer >>> Kitware, Inc. >>> >> -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph at al.t.u-tokyo.ac.jp Fri Apr 17 09:54:48 2015 From: joseph at al.t.u-tokyo.ac.jp (Ofosu Ampadu Joseph) Date: Fri, 17 Apr 2015 22:54:48 +0900 Subject: [Paraview] [PARAVIEW INSTALLATION]_undefined reference to 'gzopen' 'gzclose' 'gzread' 'gzwrite' In-Reply-To: References: <55212CAE.4000602@al.t.u-tokyo.ac.jp> <552361AC.7050101@al.t.u-tokyo.ac.jp> Message-ID: <553110A8.9010205@al.t.u-tokyo.ac.jp> Hello, Utkarsh, thanks for the advice. I had already installed from the ubuntu apt-get install system. Thus I didn't use the patch file you suggested. I will try and do a re-build from the source file once more and let you know of the outcome. Thanks. On 11/04/15 03:30, Utkarsh Ayachit wrote: > Ofosu, > > Can you try the attached patch? You'll need to apply it in the VTK sub > directory. I suspect Xdmf is accidentally including the wrong zlib > header (using system version rather than the one built by > VTK/ParaView). > > Thanks > Utkarsh -- ==================================== Ofosu Joseph Ampadu The University of Tokyo Graduate Sch. of Frontier Sciences Department of Advanced Energy Komurasaki Laboratory +81-4-7136-4030 ==================================== From i.krukow at tu-braunschweig.de Fri Apr 17 10:30:47 2015 From: i.krukow at tu-braunschweig.de (Ian Krukow) Date: Fri, 17 Apr 2015 16:30:47 +0200 Subject: [Paraview] Python view In-Reply-To: References: <552CE41D.4040703@tu-braunschweig.de> <552D7227.2090903@tu-braunschweig.de> <552D7478.3060907@tu-braunschweig.de> Message-ID: <55311917.2080404@tu-braunschweig.de> Wonderful, thanks! I don't work in client/server mode, so cannot say anything about it. Ian Am 17.04.2015 um 15:11 schrieb Cory Quammen: > Ian, > > You should be able to access the point data in your "render" function > with the following > > dataObject= view.GetVisibleDataObjectForRendering(i) > > dataObject.GetPoints() > > where i is the i-th visible object. This returns a vtkPoints object. I'm > not 100% sure if this works in client/server mode, though. > > Cory > > On Tue, Apr 14, 2015 at 4:11 PM, Ian Krukow > wrote: > > One more question: How can I access the point coordinates in the > python view? > > Ian > > > > Am 14.04.2015 um 22:01 schrieb Ian Krukow: > > Hi Cory, > > thanks a lot! I was missing the import statements. Now it works > fine. > And I will remember the big Apply button :-). > > Ian > > > > Am 14.04.2015 um 15:09 schrieb Cory Quammen: > > Hi Ian, > > I'm glad to hear you are interested in the Python View. > > I want to try out the python view for the first time, > but I am not > getting anywhere. I have created a python view and > defined the > functions setup_data and render. I tried the example > script from the > Kitware Blog (http://www.kitware.com/blog/__home/post/588 > ), and I do > get the > memory size in the output messages, but the python view > stays all > black (no plot, no axes, nothing). Am I just missing > something? > I am using ParaView 4.3.1 64-bit Windows binaries. > > > Did you copy and paste the script examples into the "Script" > window, or > did you load the example state file on the blog? I suggest > loading the > state file because the script examples in the blog post are > missing some > imports that are needed. The state file has the complete > script - I just > confirmed that it works on the 4.3.1 64-bit Windows > binaries. You will > have to point ParaView to the bluntfin.vts file when you > load the state > file, which you can download from > > http://www.paraview.org/gitweb?p=ParaViewData.git;a=blob_plain;f=Data/bluntfin.vts;hb=1fa9dce1c623e2d467c44b5337ba3a8378a6a537 > > > > Besides, I find it a little confusing, that I do not > really know, > when the script is executed. What about something like > an 'Apply' > button? > > > The Script is an auto-update property of the Python View. As > such, it is > executed any time the view needs to re-render. This includes > any time > you edit the script and then click elsewhere in the GUI, > resize the > ParaView window, etc. It should work to click on the Python > View after > you have edited the script - think of it as a big Apply > button :-) > > Thanks, > Cory > > > Kind regards > Ian > _________________________________________________ > 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 > > > Search the list archives at: > http://markmail.org/search/?q=__ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/__mailman/listinfo/paraview > > > > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > > > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. From leoni.massimiliano1 at gmail.com Sat Apr 18 06:40:02 2015 From: leoni.massimiliano1 at gmail.com (Massimiliano Leoni) Date: Sat, 18 Apr 2015 12:40:02 +0200 Subject: [Paraview] Pvbatch not performing significantly better in parallel Message-ID: <39706665.IzY32bs0e0@debianxps> Hi everybody, I am trying to run pvbatch in parallel to render an animation, with a very easy script that looks like * import sys * from paraview.simple import * * * # read pvsm file from command line and load it * stateFile = sys.argv[1] * simulation = stateFile.split("/")[-1].split(".")[0] * servermanager.LoadState(stateFile) * * # set active view and render animation * SetActiveView(GetRenderView()) * WriteAnimation(simulation + ".jpg",magnification=2,quality=2) I compiled paraview from sources, configuring with cmake -DPARAVIEW_BUILD_QT=OFF -DCMAKE_BUILD_TYPE=Release - DBUILD_TESTING=OFF -DPARAVIEW_ENABLE_PYTHON=ON - DPARAVIEW_USE_MPI=ON .. and then building all. I am doing a benchmark on 11GB of data distributed over many pvd/vtu files [written by an MPI application in parallel]. I copied the data to a tmpfs folder to ensure the execution is not slowed down by disk access. Executing pvbatch on 1 or 16 processors doesn't really seem to change anything.In particular, I was expecting to see the frames appearing in blocks of 16 when running with mpi on 16 procs, but they always appear one at a time at a constant pace, which makes me suspect that the other processes aren't really contributing to the rendering. What could I be doing wrong?Any suggestion is highly appreciated. Best regards, Massimiliano -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Sat Apr 18 10:52:10 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Sat, 18 Apr 2015 10:52:10 -0400 Subject: [Paraview] Pvbatch not performing significantly better in parallel In-Reply-To: <39706665.IzY32bs0e0@debianxps> References: <39706665.IzY32bs0e0@debianxps> Message-ID: Hi Massimiliano, I don't think the XML unstructured grid reader partitions the data so all of your cells are probably just ending up on process 0. You may want to look at ParaView's spatio-temporal parallelism ( http://www.paraview.org/Wiki/Spatio-Temporal_Parallelism). Make sure to use a time compartment size of 1 if you're just using the XML unstructured grid reader. Regards, Andy On Sat, Apr 18, 2015 at 6:40 AM, Massimiliano Leoni < leoni.massimiliano1 at gmail.com> wrote: > Hi everybody, > > > > I am trying to run pvbatch in parallel to render an animation, with a very > easy script that looks like > > - import sys > - from paraview.simple import * > - > - # read pvsm file from command line and load it > - stateFile = sys.argv[1] > - simulation = stateFile.split("/")[-1].split(".")[0] > - servermanager.LoadState(stateFile) > - > - # set active view and render animation > - SetActiveView(GetRenderView()) > - WriteAnimation(simulation + ".jpg",magnification=2,quality=2) > > I compiled paraview from sources, configuring with > > cmake -DPARAVIEW_BUILD_QT=OFF -DCMAKE_BUILD_TYPE=Release > -DBUILD_TESTING=OFF -DPARAVIEW_ENABLE_PYTHON=ON -DPARAVIEW_USE_MPI=ON .. > > and then building all. > > I am doing a benchmark on 11GB of data distributed over many pvd/vtu files > [written by an MPI application in parallel]. > > I copied the data to a tmpfs folder to ensure the execution is not slowed > down by disk access. > > Executing pvbatch on 1 or 16 processors doesn't really seem to change > anything. > In particular, I was expecting to see the frames appearing in blocks of 16 > when running with mpi on 16 procs, but they always appear one at a time at > a constant pace, which makes me suspect that the other processes aren't > really contributing to the rendering. > > > > What could I be doing wrong? > Any suggestion is highly appreciated. > > Best regards, > > Massimiliano > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From leoni.massimiliano1 at gmail.com Sun Apr 19 05:58:16 2015 From: leoni.massimiliano1 at gmail.com (Massimiliano Leoni) Date: Sun, 19 Apr 2015 11:58:16 +0200 Subject: [Paraview] Pvbatch not performing significantly better in parallel In-Reply-To: References: <39706665.IzY32bs0e0@debianxps> Message-ID: <4133733.3jp2doXB9M@debianxps> Hi Andy, thanks for your reply. I think my cells are being correctly partitioned. I attach a screenshot of the grid when I color it by vtkProcessId. The spatio-temporal parallelism could do the trick, but the nightly are unavailable in this moment and I can't find the plugin in my current installations. I'll try again later. Anyway, I think I should get at least some benefit from pure spatial parallelism, which instead I am not experiencing. Is there any setting I might be missing? Best regards, Massimiliano In data sabato 18 aprile 2015 10:52:10, Andy Bauer ha scritto: > Hi Massimiliano, > > I don't think the XML unstructured grid reader partitions the data so all > of your cells are probably just ending up on process 0. > > You may want to look at ParaView's spatio-temporal parallelism ( > http://www.paraview.org/Wiki/Spatio-Temporal_Parallelism). Make sure to use > a time compartment size of 1 if you're just using the XML unstructured grid > reader. > > Regards, > Andy > > On Sat, Apr 18, 2015 at 6:40 AM, Massimiliano Leoni < > > leoni.massimiliano1 at gmail.com> wrote: > > Hi everybody, > > > > I am trying to run pvbatch in parallel to render an animation, with a very > > easy script that looks like > > > > - import sys > > - from paraview.simple import * > > - > > - # read pvsm file from command line and load it > > - stateFile = sys.argv[1] > > - simulation = stateFile.split("/")[-1].split(".")[0] > > - servermanager.LoadState(stateFile) > > - > > - # set active view and render animation > > - SetActiveView(GetRenderView()) > > - WriteAnimation(simulation + ".jpg",magnification=2,quality=2) > > > > I compiled paraview from sources, configuring with > > > > cmake -DPARAVIEW_BUILD_QT=OFF -DCMAKE_BUILD_TYPE=Release > > -DBUILD_TESTING=OFF -DPARAVIEW_ENABLE_PYTHON=ON -DPARAVIEW_USE_MPI=ON .. > > > > and then building all. > > > > I am doing a benchmark on 11GB of data distributed over many pvd/vtu files > > [written by an MPI application in parallel]. > > > > I copied the data to a tmpfs folder to ensure the execution is not slowed > > down by disk access. > > > > Executing pvbatch on 1 or 16 processors doesn't really seem to change > > anything. > > In particular, I was expecting to see the frames appearing in blocks of 16 > > when running with mpi on 16 procs, but they always appear one at a time at > > a constant pace, which makes me suspect that the other processes aren't > > really contributing to the rendering. > > > > > > > > What could I be doing wrong? > > Any suggestion is highly appreciated. > > > > Best regards, > > > > Massimiliano > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- A non-text attachment was scrubbed... Name: vtkProcessId.jpg Type: image/jpeg Size: 55220 bytes Desc: not available URL: From andy.bauer at kitware.com Sun Apr 19 10:30:47 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Sun, 19 Apr 2015 10:30:47 -0400 Subject: [Paraview] Pvbatch not performing significantly better in parallel In-Reply-To: <4133733.3jp2doXB9M@debianxps> References: <39706665.IzY32bs0e0@debianxps> <4133733.3jp2doXB9M@debianxps> Message-ID: Can you share your full pipeline? Using the state file it's tough to see exactly what's going on. You'll need to do your own build of ParaView and enable the spatio-temporal plugin if you want to use that. On Sun, Apr 19, 2015 at 5:58 AM, Massimiliano Leoni < leoni.massimiliano1 at gmail.com> wrote: > Hi Andy, > > thanks for your reply. I think my cells are being correctly partitioned. I > attach a screenshot of the grid when I color it by vtkProcessId. > > The spatio-temporal parallelism could do the trick, but the nightly are > unavailable in this moment and I can't find the plugin in my current > installations. I'll try again later. > > Anyway, I think I should get at least some benefit from pure spatial > parallelism, which instead I am not experiencing. > Is there any setting I might be missing? > > Best regards, > Massimiliano > > > > In data sabato 18 aprile 2015 10:52:10, Andy Bauer ha scritto: > > Hi Massimiliano, > > > > I don't think the XML unstructured grid reader partitions the data so all > > of your cells are probably just ending up on process 0. > > > > You may want to look at ParaView's spatio-temporal parallelism ( > > http://www.paraview.org/Wiki/Spatio-Temporal_Parallelism). Make sure to > use > > a time compartment size of 1 if you're just using the XML unstructured > grid > > reader. > > > > Regards, > > Andy > > > > On Sat, Apr 18, 2015 at 6:40 AM, Massimiliano Leoni < > > > > leoni.massimiliano1 at gmail.com> wrote: > > > Hi everybody, > > > > > > I am trying to run pvbatch in parallel to render an animation, with a > very > > > easy script that looks like > > > > > > - import sys > > > - from paraview.simple import * > > > - > > > - # read pvsm file from command line and load it > > > - stateFile = sys.argv[1] > > > - simulation = stateFile.split("/")[-1].split(".")[0] > > > - servermanager.LoadState(stateFile) > > > - > > > - # set active view and render animation > > > - SetActiveView(GetRenderView()) > > > - WriteAnimation(simulation + ".jpg",magnification=2,quality=2) > > > > > > I compiled paraview from sources, configuring with > > > > > > cmake -DPARAVIEW_BUILD_QT=OFF -DCMAKE_BUILD_TYPE=Release > > > -DBUILD_TESTING=OFF -DPARAVIEW_ENABLE_PYTHON=ON -DPARAVIEW_USE_MPI=ON > .. > > > > > > and then building all. > > > > > > I am doing a benchmark on 11GB of data distributed over many pvd/vtu > files > > > [written by an MPI application in parallel]. > > > > > > I copied the data to a tmpfs folder to ensure the execution is not > slowed > > > down by disk access. > > > > > > Executing pvbatch on 1 or 16 processors doesn't really seem to change > > > anything. > > > In particular, I was expecting to see the frames appearing in blocks > of 16 > > > when running with mpi on 16 procs, but they always appear one at a > time at > > > a constant pace, which makes me suspect that the other processes aren't > > > really contributing to the rendering. > > > > > > > > > > > > What could I be doing wrong? > > > Any suggestion is highly appreciated. > > > > > > Best regards, > > > > > > Massimiliano > > > > > > _______________________________________________ > > > 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 > > > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > > > Follow this link to subscribe/unsubscribe: > > > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From leoni.massimiliano1 at gmail.com Sun Apr 19 10:39:29 2015 From: leoni.massimiliano1 at gmail.com (Massimiliano Leoni) Date: Sun, 19 Apr 2015 16:39:29 +0200 Subject: [Paraview] Pvbatch not performing significantly better in parallel In-Reply-To: References: <39706665.IzY32bs0e0@debianxps> <4133733.3jp2doXB9M@debianxps> Message-ID: <7332946.FQx50dAuj6@debianxps> Sure, I have a pressure scalar field with a contour filter, a velocity vector field with a clip filter and an annotated time. Do you want me to attach any file? In data domenica 19 aprile 2015 10:30:47, Andy Bauer ha scritto: > Can you share your full pipeline? Using the state file it's tough to see > exactly what's going on. > > You'll need to do your own build of ParaView and enable the spatio-temporal > plugin if you want to use that. > > > On Sun, Apr 19, 2015 at 5:58 AM, Massimiliano Leoni < > > leoni.massimiliano1 at gmail.com> wrote: > > Hi Andy, > > > > thanks for your reply. I think my cells are being correctly partitioned. I > > attach a screenshot of the grid when I color it by vtkProcessId. > > > > The spatio-temporal parallelism could do the trick, but the nightly are > > unavailable in this moment and I can't find the plugin in my current > > installations. I'll try again later. > > > > Anyway, I think I should get at least some benefit from pure spatial > > parallelism, which instead I am not experiencing. > > Is there any setting I might be missing? > > > > Best regards, > > Massimiliano > > > > In data sabato 18 aprile 2015 10:52:10, Andy Bauer ha scritto: > > > Hi Massimiliano, > > > > > > I don't think the XML unstructured grid reader partitions the data so > > > all > > > of your cells are probably just ending up on process 0. > > > > > > You may want to look at ParaView's spatio-temporal parallelism ( > > > http://www.paraview.org/Wiki/Spatio-Temporal_Parallelism). Make sure to > > > > use > > > > > a time compartment size of 1 if you're just using the XML unstructured > > > > grid > > > > > reader. > > > > > > Regards, > > > Andy > > > > > > On Sat, Apr 18, 2015 at 6:40 AM, Massimiliano Leoni < > > > > > > leoni.massimiliano1 at gmail.com> wrote: > > > > Hi everybody, > > > > > > > > I am trying to run pvbatch in parallel to render an animation, with a > > > > very > > > > > > easy script that looks like > > > > > > > > - import sys > > > > - from paraview.simple import * > > > > - > > > > - # read pvsm file from command line and load it > > > > - stateFile = sys.argv[1] > > > > - simulation = stateFile.split("/")[-1].split(".")[0] > > > > - servermanager.LoadState(stateFile) > > > > - > > > > - # set active view and render animation > > > > - SetActiveView(GetRenderView()) > > > > - WriteAnimation(simulation + ".jpg",magnification=2,quality=2) > > > > > > > > I compiled paraview from sources, configuring with > > > > > > > > cmake -DPARAVIEW_BUILD_QT=OFF -DCMAKE_BUILD_TYPE=Release > > > > -DBUILD_TESTING=OFF -DPARAVIEW_ENABLE_PYTHON=ON -DPARAVIEW_USE_MPI=ON > > > > .. > > > > > > and then building all. > > > > > > > > I am doing a benchmark on 11GB of data distributed over many pvd/vtu > > > > files > > > > > > [written by an MPI application in parallel]. > > > > > > > > I copied the data to a tmpfs folder to ensure the execution is not > > > > slowed > > > > > > down by disk access. > > > > > > > > Executing pvbatch on 1 or 16 processors doesn't really seem to change > > > > anything. > > > > In particular, I was expecting to see the frames appearing in blocks > > > > of 16 > > > > > > when running with mpi on 16 procs, but they always appear one at a > > > > time at > > > > > > a constant pace, which makes me suspect that the other processes > > > > aren't > > > > really contributing to the rendering. > > > > > > > > > > > > > > > > What could I be doing wrong? > > > > Any suggestion is highly appreciated. > > > > > > > > Best regards, > > > > > > > > Massimiliano > > > > > > > > _______________________________________________ > > > > 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 > > > > > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > > > > > Follow this link to subscribe/unsubscribe: > > > > http://public.kitware.com/mailman/listinfo/paraview From zhz1993622 at 163.com Sun Apr 19 23:09:14 2015 From: zhz1993622 at 163.com (=?GBK?B?1ty649ba?=) Date: Mon, 20 Apr 2015 11:09:14 +0800 (CST) Subject: [Paraview] =?gbk?q?Do_Paraview_support_the_parallel_of_ply_file_?= =?gbk?b?o78=?= In-Reply-To: <0EB9B6375711A04B820E6B6F5CCA9F68318253F1@MBX211.d.ethz.ch> References: <36613ae8.6c1e.14cc573e993.Coremail.zhz1993622@163.com> <0EB9B6375711A04B820E6B6F5CCA9F68318253F1@MBX211.d.ethz.ch> Message-ID: <135ce63a.ab6f.14cd4cd1dc9.Coremail.zhz1993622@163.com> Thank you for your reply . But I want to know whether the paraview can do the parallel with the ply data . And where it redistribute the data and send them to other process, and how it do this. In my experiment , I found that :(189 is the root process) 189::use_distributed_rendring::true 189::use_ordered_compositing::false 189::this->GetRenderWindow()->Render(); 190::use_distributed_rendring::true 190::use_ordered_compositing::false 190::this->GetRenderWindow()->Render(); we can see that it didn't use ordered_compositing, this to say ,it didn't need composite ,whether it say that it didn't need redistribute. Or It distribute data after IO? And 190 use its own window to render.It should use the 189's.I found 190::RenderEventPropagation::false . why this happen? At 2015-04-17 14:07:47, "Favre Jean" wrote: I have just a few days ago gotten to the same conclusion. Reading some large PLY files on our Cray nodes which only have 32Gb of memory, I would run out of memory and crash. Checking memory usage with the "Memory Inspector" will show that everything is loaded on rank 0. Using the D3 filter works and is able to re-distribute the data among all tasks. I suggest you try D3. Note also that ParaView is not able to animate through a time-dependent series of files, using the GUI. Never got any feedback on an earlier post (http://public.kitware.com/pipermail/paraview/2015-January/032999.html). I resorted to some python programming to run the animation. cheers ----------------- Jean/CSCS -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Mon Apr 20 15:33:17 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 20 Apr 2015 15:33:17 -0400 Subject: [Paraview] Pvbatch not performing significantly better in parallel In-Reply-To: <7332946.FQx50dAuj6@debianxps> References: <39706665.IzY32bs0e0@debianxps> <4133733.3jp2doXB9M@debianxps> <7332946.FQx50dAuj6@debianxps> Message-ID: Yes, please attach the state file and if it's small enough, one of the data files. On Sun, Apr 19, 2015 at 10:39 AM, Massimiliano Leoni < leoni.massimiliano1 at gmail.com> wrote: > Sure, I have a pressure scalar field with a contour filter, a velocity > vector > field with a clip filter and an annotated time. > > Do you want me to attach any file? > > > In data domenica 19 aprile 2015 10:30:47, Andy Bauer ha scritto: > > Can you share your full pipeline? Using the state file it's tough to see > > exactly what's going on. > > > > You'll need to do your own build of ParaView and enable the > spatio-temporal > > plugin if you want to use that. > > > > > > On Sun, Apr 19, 2015 at 5:58 AM, Massimiliano Leoni < > > > > leoni.massimiliano1 at gmail.com> wrote: > > > Hi Andy, > > > > > > thanks for your reply. I think my cells are being correctly > partitioned. I > > > attach a screenshot of the grid when I color it by vtkProcessId. > > > > > > The spatio-temporal parallelism could do the trick, but the nightly are > > > unavailable in this moment and I can't find the plugin in my current > > > installations. I'll try again later. > > > > > > Anyway, I think I should get at least some benefit from pure spatial > > > parallelism, which instead I am not experiencing. > > > Is there any setting I might be missing? > > > > > > Best regards, > > > Massimiliano > > > > > > In data sabato 18 aprile 2015 10:52:10, Andy Bauer ha scritto: > > > > Hi Massimiliano, > > > > > > > > I don't think the XML unstructured grid reader partitions the data so > > > > all > > > > of your cells are probably just ending up on process 0. > > > > > > > > You may want to look at ParaView's spatio-temporal parallelism ( > > > > http://www.paraview.org/Wiki/Spatio-Temporal_Parallelism). Make > sure to > > > > > > use > > > > > > > a time compartment size of 1 if you're just using the XML > unstructured > > > > > > grid > > > > > > > reader. > > > > > > > > Regards, > > > > Andy > > > > > > > > On Sat, Apr 18, 2015 at 6:40 AM, Massimiliano Leoni < > > > > > > > > leoni.massimiliano1 at gmail.com> wrote: > > > > > Hi everybody, > > > > > > > > > > I am trying to run pvbatch in parallel to render an animation, > with a > > > > > > very > > > > > > > > easy script that looks like > > > > > > > > > > - import sys > > > > > - from paraview.simple import * > > > > > - > > > > > - # read pvsm file from command line and load it > > > > > - stateFile = sys.argv[1] > > > > > - simulation = stateFile.split("/")[-1].split(".")[0] > > > > > - servermanager.LoadState(stateFile) > > > > > - > > > > > - # set active view and render animation > > > > > - SetActiveView(GetRenderView()) > > > > > - WriteAnimation(simulation + ".jpg",magnification=2,quality=2) > > > > > > > > > > I compiled paraview from sources, configuring with > > > > > > > > > > cmake -DPARAVIEW_BUILD_QT=OFF -DCMAKE_BUILD_TYPE=Release > > > > > -DBUILD_TESTING=OFF -DPARAVIEW_ENABLE_PYTHON=ON > -DPARAVIEW_USE_MPI=ON > > > > > > .. > > > > > > > > and then building all. > > > > > > > > > > I am doing a benchmark on 11GB of data distributed over many > pvd/vtu > > > > > > files > > > > > > > > [written by an MPI application in parallel]. > > > > > > > > > > I copied the data to a tmpfs folder to ensure the execution is not > > > > > > slowed > > > > > > > > down by disk access. > > > > > > > > > > Executing pvbatch on 1 or 16 processors doesn't really seem to > change > > > > > anything. > > > > > In particular, I was expecting to see the frames appearing in > blocks > > > > > > of 16 > > > > > > > > when running with mpi on 16 procs, but they always appear one at a > > > > > > time at > > > > > > > > a constant pace, which makes me suspect that the other processes > > > > > aren't > > > > > really contributing to the rendering. > > > > > > > > > > > > > > > > > > > > What could I be doing wrong? > > > > > Any suggestion is highly appreciated. > > > > > > > > > > Best regards, > > > > > > > > > > Massimiliano > > > > > > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > > Search the list archives at: > http://markmail.org/search/?q=ParaView > > > > > > > > > > Follow this link to subscribe/unsubscribe: > > > > > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Tue Apr 21 10:41:27 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 21 Apr 2015 10:41:27 -0400 Subject: [Paraview] Pvbatch not performing significantly better in parallel In-Reply-To: <8525094.GqdnGNsPnr@debianxps> References: <39706665.IzY32bs0e0@debianxps> <7332946.FQx50dAuj6@debianxps> <8525094.GqdnGNsPnr@debianxps> Message-ID: It looks like you're actually using the parallel XML reader (.pvtu extension) which should be decent for parallel performance. You probably want one process per vtu file that's specified in the pvtu file. On Mon, Apr 20, 2015 at 5:16 PM, Massimiliano Leoni < leoni.massimiliano1 at gmail.com> wrote: > Ok, here is my state file and a typical dataset. > > > In data luned? 20 aprile 2015 15:33:17, Andy Bauer ha scritto: > > Yes, please attach the state file and if it's small enough, one of the > data > > files. > > > > On Sun, Apr 19, 2015 at 10:39 AM, Massimiliano Leoni < > > > > leoni.massimiliano1 at gmail.com> wrote: > > > Sure, I have a pressure scalar field with a contour filter, a velocity > > > vector > > > field with a clip filter and an annotated time. > > > > > > Do you want me to attach any file? > > > > > > In data domenica 19 aprile 2015 10:30:47, Andy Bauer ha scritto: > > > > Can you share your full pipeline? Using the state file it's tough to > see > > > > exactly what's going on. > > > > > > > > You'll need to do your own build of ParaView and enable the > > > > > > spatio-temporal > > > > > > > plugin if you want to use that. > > > > > > > > > > > > On Sun, Apr 19, 2015 at 5:58 AM, Massimiliano Leoni < > > > > > > > > leoni.massimiliano1 at gmail.com> wrote: > > > > > Hi Andy, > > > > > > > > > > thanks for your reply. I think my cells are being correctly > > > > > > partitioned. I > > > > > > > > attach a screenshot of the grid when I color it by vtkProcessId. > > > > > > > > > > The spatio-temporal parallelism could do the trick, but the nightly > > > > > are > > > > > unavailable in this moment and I can't find the plugin in my > current > > > > > installations. I'll try again later. > > > > > > > > > > Anyway, I think I should get at least some benefit from pure > spatial > > > > > parallelism, which instead I am not experiencing. > > > > > Is there any setting I might be missing? > > > > > > > > > > Best regards, > > > > > Massimiliano > > > > > > > > > > In data sabato 18 aprile 2015 10:52:10, Andy Bauer ha scritto: > > > > > > Hi Massimiliano, > > > > > > > > > > > > I don't think the XML unstructured grid reader partitions the > data > > > > > > so > > > > > > all > > > > > > of your cells are probably just ending up on process 0. > > > > > > > > > > > > You may want to look at ParaView's spatio-temporal parallelism ( > > > > > > http://www.paraview.org/Wiki/Spatio-Temporal_Parallelism). Make > > > > > > sure to > > > > > > > > use > > > > > > > > > > > a time compartment size of 1 if you're just using the XML > > > > > > unstructured > > > > > > > > grid > > > > > > > > > > > reader. > > > > > > > > > > > > Regards, > > > > > > Andy > > > > > > > > > > > > On Sat, Apr 18, 2015 at 6:40 AM, Massimiliano Leoni < > > > > > > > > > > > > leoni.massimiliano1 at gmail.com> wrote: > > > > > > > Hi everybody, > > > > > > > > > > > > > > I am trying to run pvbatch in parallel to render an animation, > > > > > > with a > > > > > > > > very > > > > > > > > > > > > easy script that looks like > > > > > > > > > > > > > > - import sys > > > > > > > - from paraview.simple import * > > > > > > > - > > > > > > > - # read pvsm file from command line and load it > > > > > > > - stateFile = sys.argv[1] > > > > > > > - simulation = stateFile.split("/")[-1].split(".")[0] > > > > > > > - servermanager.LoadState(stateFile) > > > > > > > - > > > > > > > - # set active view and render animation > > > > > > > - SetActiveView(GetRenderView()) > > > > > > > - WriteAnimation(simulation + > ".jpg",magnification=2,quality=2) > > > > > > > > > > > > > > I compiled paraview from sources, configuring with > > > > > > > > > > > > > > cmake -DPARAVIEW_BUILD_QT=OFF -DCMAKE_BUILD_TYPE=Release > > > > > > > -DBUILD_TESTING=OFF -DPARAVIEW_ENABLE_PYTHON=ON > > > > > > -DPARAVIEW_USE_MPI=ON > > > > > > > > .. > > > > > > > > > > > > and then building all. > > > > > > > > > > > > > > I am doing a benchmark on 11GB of data distributed over many > > > > > > pvd/vtu > > > > > > > > files > > > > > > > > > > > > [written by an MPI application in parallel]. > > > > > > > > > > > > > > I copied the data to a tmpfs folder to ensure the execution is > not > > > > > > > > > > slowed > > > > > > > > > > > > down by disk access. > > > > > > > > > > > > > > Executing pvbatch on 1 or 16 processors doesn't really seem to > > > > > > change > > > > > > > > > > anything. > > > > > > > In particular, I was expecting to see the frames appearing in > > > > > > blocks > > > > > > > > of 16 > > > > > > > > > > > > when running with mpi on 16 procs, but they always appear one > at a > > > > > > > > > > time at > > > > > > > > > > > > a constant pace, which makes me suspect that the other > processes > > > > > > > aren't > > > > > > > really contributing to the rendering. > > > > > > > > > > > > > > > > > > > > > > > > > > > > What could I be doing wrong? > > > > > > > Any suggestion is highly appreciated. > > > > > > > > > > > > > > Best regards, > > > > > > > > > > > > > > Massimiliano > > > > > > > > > > > > > > _______________________________________________ > > > > > > > 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 > > > > > > > > > > Search the list archives at: > > > http://markmail.org/search/?q=ParaView > > > > > > > > > > Follow this link to subscribe/unsubscribe: > > > > > > > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Apr 21 15:13:28 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 21 Apr 2015 15:13:28 -0400 Subject: [Paraview] animation changing geometry representation In-Reply-To: <552FE42C.5050109@lsce.ipsl.fr> References: <552FE42C.5050109@lsce.ipsl.fr> Message-ID: The only representation properties currently supported from the UI are Visibility and Opacity. You can, however, add a "Python" animation track and then change arbitrary properties. On Thu, Apr 16, 2015 at 12:32 PM, Patrick Brockmann wrote: > Hi, > > How do change the representation of an object from the UI of paraview > when you make an animation ? > > I know how to do change a property but not a type of representation of the > geometry (Surface, Surface With Edges, Wireframe). > Ideally I would to pass from one representation to another with a > progressive ramp. > > Thanks for pointing me any tutorial on "making animation with paraview" if > it exists. > Regards > Patrick > > -- > LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ > Data Analysis and Visualization Engineer > ICMC - IPSL Climate Modelling Centre > -- > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Tue Apr 21 15:27:01 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 21 Apr 2015 15:27:01 -0400 Subject: [Paraview] ParaView as ThirdParty In-Reply-To: References: Message-ID: > (1) when selecting PARAVIEW_INSTALL_DEVELOPMENT_FILES, I must have > PARAVIEW_ENABLE_PYTHON:BOOL=ON; otherwise I get build errors for missing > libraries. That sounds like a bug. Mind posting the error messages? > (2) then after a successful build, I try to build my project against these > ParaView/VTK libraries again; however, I get an error with > vtkPVInitializePythonModules() You should link with the library providing this function, as done in ParaView/Applications/ParaView/CMakeLists.txt. Here's the relevant code: if (PARAVIEW_ENABLE_PYTHON) target_link_libraries(paraview LINK_PRIVATE vtkUtilitiesPythonInitializer) endif() From utkarsh.ayachit at kitware.com Tue Apr 21 15:28:25 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 21 Apr 2015 15:28:25 -0400 Subject: [Paraview] ParaView as ThirdParty In-Reply-To: References: Message-ID: Try doing a "Debug" build i.e. set CMAKE_BUILD_TYPE cmake variable to Debug and then attach a debugger. The call stack will provide some clues. Feel free to share the callstack. Utkarsh On Wed, Apr 15, 2015 at 7:37 PM, Kevin Dean wrote: > also, when execute paraview (with python enabled), I get Segmentation > Fault... is there a way I can debug this to figure out what the problem > might be... > > Kevin E. Dean > > On Wed, Apr 15, 2015 at 4:31 PM, Kevin Dean > wrote: > >> >> ---------- Forwarded message ---------- >> From: Kevin Dean >> Date: Wed, Apr 15, 2015 at 4:30 PM >> Subject: ParaView as ThirdParty >> To: ParaView at paraview.org >> >> >> so, I have been able to use ParaView as a thirdparty (in it's own >> install/not build directory) for a little bit. However, there are a couple >> of things: >> >> (1) when selecting PARAVIEW_INSTALL_DEVELOPMENT_FILES, I must have >> PARAVIEW_ENABLE_PYTHON:BOOL=ON; otherwise I get build errors for missing >> libraries. >> >> (2) then after a successful build, I try to build my project against these >> ParaView/VTK libraries again; however, I get an error with >> vtkPVInitializePythonModules() >> >> Linking CXX executable mtview >> CMakeFiles/mtview.dir/ParaViewMainWindow.cxx.o: In function >> `ParaViewMainWindow': >> /home/kdean/workspace-dsc/mtview/ParaViewMainWindow.cxx:108: undefined >> reference to `vtkPVInitializePythonModules' >> collect2: ld returned 1 exit status >> make[2]: *** [mtview] Error 1 >> make[1]: *** [CMakeFiles/mtview.dir/all] Error 2 >> make: *** [all] Error 2 >> >> Is there a reference point to try and Debug this issue? Thanks a lot. >> >> Kevin E. Dean >> > > > This email and its contents are confidential. If you are not the intended > recipient, please do not disclose or use the information within this email > or its attachments. If you have received this email in error, please report > the error to the sender by return email and delete this communication from > your records. > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From leoni.massimiliano1 at gmail.com Tue Apr 21 16:44:59 2015 From: leoni.massimiliano1 at gmail.com (Massimiliano Leoni) Date: Tue, 21 Apr 2015 22:44:59 +0200 Subject: [Paraview] Pvbatch not performing significantly better in parallel In-Reply-To: References: <39706665.IzY32bs0e0@debianxps> <8525094.GqdnGNsPnr@debianxps> Message-ID: <1506735.OXnpKmPvtU@debianxps> I think I tried that, but I will try again. Anyway, what I was hoping to achieve was to have processor 1 render frame 1 _while_ processor 2 renders frame 2 _while_ ... This is what the time parallelism you told me about is meant for, right? In data marted? 21 aprile 2015 10:41:27, Andy Bauer ha scritto: > It looks like you're actually using the parallel XML reader (.pvtu > extension) which should be decent for parallel performance. You probably > want one process per vtu file that's specified in the pvtu file. > > On Mon, Apr 20, 2015 at 5:16 PM, Massimiliano Leoni < > > leoni.massimiliano1 at gmail.com> wrote: > > Ok, here is my state file and a typical dataset. > > > > In data luned? 20 aprile 2015 15:33:17, Andy Bauer ha scritto: > > > Yes, please attach the state file and if it's small enough, one of the > > > > data > > > > > files. > > > > > > On Sun, Apr 19, 2015 at 10:39 AM, Massimiliano Leoni < > > > > > > leoni.massimiliano1 at gmail.com> wrote: > > > > Sure, I have a pressure scalar field with a contour filter, a velocity > > > > vector > > > > field with a clip filter and an annotated time. > > > > > > > > Do you want me to attach any file? > > > > > > > > In data domenica 19 aprile 2015 10:30:47, Andy Bauer ha scritto: > > > > > Can you share your full pipeline? Using the state file it's tough to > > > > see > > > > > > > exactly what's going on. > > > > > > > > > > You'll need to do your own build of ParaView and enable the > > > > > > > > spatio-temporal > > > > > > > > > plugin if you want to use that. > > > > > > > > > > > > > > > On Sun, Apr 19, 2015 at 5:58 AM, Massimiliano Leoni < > > > > > > > > > > leoni.massimiliano1 at gmail.com> wrote: > > > > > > Hi Andy, > > > > > > > > > > > > thanks for your reply. I think my cells are being correctly > > > > > > > > partitioned. I > > > > > > > > > > attach a screenshot of the grid when I color it by vtkProcessId. > > > > > > > > > > > > The spatio-temporal parallelism could do the trick, but the > > > > > > nightly > > > > > > are > > > > > > unavailable in this moment and I can't find the plugin in my > > > > current > > > > > > > > installations. I'll try again later. > > > > > > > > > > > > Anyway, I think I should get at least some benefit from pure > > > > spatial > > > > > > > > parallelism, which instead I am not experiencing. > > > > > > Is there any setting I might be missing? > > > > > > > > > > > > Best regards, > > > > > > Massimiliano > > > > > > > > > > > > In data sabato 18 aprile 2015 10:52:10, Andy Bauer ha scritto: > > > > > > > Hi Massimiliano, > > > > > > > > > > > > > > I don't think the XML unstructured grid reader partitions the > > > > data > > > > > > > > > so > > > > > > > all > > > > > > > of your cells are probably just ending up on process 0. > > > > > > > > > > > > > > You may want to look at ParaView's spatio-temporal parallelism ( > > > > > > > http://www.paraview.org/Wiki/Spatio-Temporal_Parallelism). Make > > > > > > > > sure to > > > > > > > > > > use > > > > > > > > > > > > > a time compartment size of 1 if you're just using the XML > > > > > > > > unstructured > > > > > > > > > > grid > > > > > > > > > > > > > reader. > > > > > > > > > > > > > > Regards, > > > > > > > Andy > > > > > > > > > > > > > > On Sat, Apr 18, 2015 at 6:40 AM, Massimiliano Leoni < > > > > > > > > > > > > > > leoni.massimiliano1 at gmail.com> wrote: > > > > > > > > Hi everybody, > > > > > > > > > > > > > > > > I am trying to run pvbatch in parallel to render an animation, > > > > > > > > with a > > > > > > > > > > very > > > > > > > > > > > > > > easy script that looks like > > > > > > > > > > > > > > > > - import sys > > > > > > > > - from paraview.simple import * > > > > > > > > - > > > > > > > > - # read pvsm file from command line and load it > > > > > > > > - stateFile = sys.argv[1] > > > > > > > > - simulation = stateFile.split("/")[-1].split(".")[0] > > > > > > > > - servermanager.LoadState(stateFile) > > > > > > > > - > > > > > > > > - # set active view and render animation > > > > > > > > - SetActiveView(GetRenderView()) > > > > > > > > - WriteAnimation(simulation + > > > > ".jpg",magnification=2,quality=2) > > > > > > > > > > I compiled paraview from sources, configuring with > > > > > > > > > > > > > > > > cmake -DPARAVIEW_BUILD_QT=OFF -DCMAKE_BUILD_TYPE=Release > > > > > > > > -DBUILD_TESTING=OFF -DPARAVIEW_ENABLE_PYTHON=ON > > > > > > > > -DPARAVIEW_USE_MPI=ON > > > > > > > > > > .. > > > > > > > > > > > > > > and then building all. > > > > > > > > > > > > > > > > I am doing a benchmark on 11GB of data distributed over many > > > > > > > > pvd/vtu > > > > > > > > > > files > > > > > > > > > > > > > > [written by an MPI application in parallel]. > > > > > > > > > > > > > > > > I copied the data to a tmpfs folder to ensure the execution is > > > > not > > > > > > > > slowed > > > > > > > > > > > > > > down by disk access. > > > > > > > > > > > > > > > > Executing pvbatch on 1 or 16 processors doesn't really seem to > > > > > > > > change > > > > > > > > > > > > anything. > > > > > > > > In particular, I was expecting to see the frames appearing in > > > > > > > > blocks > > > > > > > > > > of 16 > > > > > > > > > > > > > > when running with mpi on 16 procs, but they always appear one > > > > at a > > > > > > > > time at > > > > > > > > > > > > > > a constant pace, which makes me suspect that the other > > > > processes > > > > > > > > > > aren't > > > > > > > > really contributing to the rendering. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > What could I be doing wrong? > > > > > > > > Any suggestion is highly appreciated. > > > > > > > > > > > > > > > > Best regards, > > > > > > > > > > > > > > > > Massimiliano > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > 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 > > > > > > > > > > > > Search the list archives at: > > > > http://markmail.org/search/?q=ParaView > > > > > > > > > > > > Follow this link to subscribe/unsubscribe: > > > > > > > > http://public.kitware.com/mailman/listinfo/paraview From hobbsk at ohio.edu Wed Apr 22 11:43:51 2015 From: hobbsk at ohio.edu (Kevin H. Hobbs) Date: Wed, 22 Apr 2015 11:43:51 -0400 Subject: [Paraview] Segfault in PLY reader Message-ID: <5537C1B7.1050907@ohio.edu> Paraview segfaults when attempting to read Armadillo.ply from Stanford: http://graphics.stanford.edu/pub/3Dscanrep/armadillo/Armadillo.ply.gz The segfault happens both with the system PV on Fedora 20 : $ rpm -q paraview paraview-4.1.0-1.fc20.x86_64 and with the nightly dashboard version. This system is bubbles on the dashboard. I'm recompiling the nightly version with debug options now, but here is a backtrace from the system PV and gdb : #0 0x00007fffd9bb0746 in vtkPLYReader::RequestData (this=, outputVector=) at /usr/src/debug/ParaView-v4.1.0/VTK/IO/PLY/vtkPLYReader.cxx:294 #1 0x00007fffe2b98740 in vtkExecutive::CallAlgorithm (this=0x1f763a0, request=0x1efd1c0, direction=, inInfo=0x0, outInfo=0x1edb720) at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkExecutive.cxx:745 #2 0x00007fffe2b93997 in vtkDemandDrivenPipeline::ExecuteData (this=this at entry=0x1f763a0, request=request at entry=0x1efd1c0, inInfo=inInfo at entry=0x0, outInfo=outInfo at entry=0x1edb720) at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:497 #3 0x00007fffe2b91639 in vtkCompositeDataPipeline::ExecuteData (this=0x1f763a0, request=0x1efd1c0, inInfoVec=0x0, outInfoVec=0x1edb720) at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:175 #4 0x00007fffe2b96211 in vtkDemandDrivenPipeline::ProcessRequest (this=this at entry=0x1f763a0, request=request at entry=0x1efd1c0, inInfoVec=inInfoVec at entry=0x0, outInfoVec=outInfoVec at entry=0x1edb720) at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:279 #5 0x00007fffe2ba9169 in vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0x1f763a0, request=request at entry=0x1efd1c0, inInfoVec=0x0, outInfoVec=outInfoVec at entry=0x1edb720) at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:346 #6 0x00007fffe2b90bfa in vtkCompositeDataPipeline::ForwardUpstream (this=0x1f9a340, request=0x1efd1c0) at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:712 #7 0x00007fffe2b961bb in vtkDemandDrivenPipeline::ProcessRequest (this=this at entry=0x1f9a340, request=request at entry=0x1efd1c0, inInfoVec=inInfoVec at entry=0x1538320, outInfoVec=outInfoVec at entry=0x1f4aa30) at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:265 #8 0x00007fffe2ba9169 in vtkStreamingDemandDrivenPipeline::ProcessRequest (this=this at entry=0x1f9a340, request=0x1efd1c0, inInfoVec=0x1538320, outInfoVec=outInfoVec at entry=0x1f4aa30) at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:346 #9 0x00007fffe2b94e0d in vtkDemandDrivenPipeline::UpdateData (this=0x1f9a340, outputPort=) at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:448 #10 0x00007fffe2ba9cb5 in vtkStreamingDemandDrivenPipeline::Update (this=0x1f9a340, port=0) at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:399 #11 0x00007ffff301b2db in vtkSISourceProxyCommand (arlu=0xeacb40, ob=0x1f0b800, method=, msg=..., resultStream=...) at /usr/src/debug/ParaView-v4.1.0/fedora-openmpi/Wrapping/ClientServer/vtkSISourceProxyClientServer.cxx:113 #12 0x00007fffedc2e867 in vtkClientServerInterpreter::CallCommandFunction (this=this at entry=0xeacb40, cname=0x7ffff123a239 "vtkSISourceProxy", ptr=ptr at entry=0x1f0b800, method=method at entry=0x1f50009 "UpdatePipeline", msg=..., result=...) at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:840 #13 0x00007fffedc2ebb2 in vtkClientServerInterpreter::ProcessCommandInvoke (this=this at entry=0xeacb40, css=..., midx=midx at entry=0) at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:437 #14 0x00007fffedc2f54d in vtkClientServerInterpreter::ProcessOneMessage (this=this at entry=0xeacb40, css=..., message=message at entry=0) at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:269 #15 0x00007fffedc2f75d in vtkClientServerInterpreter::ProcessStream (this=0xeacb40, css=...) at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:238 #16 0x00007ffff11f3469 in vtkPVSessionCore::ExecuteStreamInternal (this=0xeacad0, stream=..., ignore_errors=) ---Type to continue, or q to quit--- at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:668 #17 0x00007ffff11f328e in vtkPVSessionCore::ExecuteStream (this=0xeacad0, location=, stream=..., ignore_errors=) at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:638 #18 0x00007ffff11f1f74 in vtkPVSessionBase::ExecuteStream (this=0xeaca40, location=1, stream=..., ignore_errors=) at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerImplementation/Core/vtkPVSessionBase.cxx:173 #19 0x00007ffff17138dc in vtkSMOutputPort::UpdatePipelineInternal (this=0x1f764f0, time=0, doTime=) at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerManager/Core/vtkSMOutputPort.cxx:211 #20 0x00007ffff1762030 in vtkSMSourceProxy::UpdatePipeline (this=0x1eb8690, time=0) at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerManager/Core/vtkSMSourceProxy.cxx:337 #21 0x00007ffff6c7da79 in pqDisplayPolicy::getPreferredViewType (this=, opPort=0x1f7e5c0, update_pipeline=) at /usr/src/debug/ParaView-v4.1.0/Qt/Core/pqDisplayPolicy.cxx:84 #22 0x00007ffff6c7d4e9 in pqDisplayPolicy::getPreferredView (this=0xbdc160, opPort=0x1f7e5c0, currentView=0x1a42240) at /usr/src/debug/ParaView-v4.1.0/Qt/Core/pqDisplayPolicy.cxx:165 #23 0x00007ffff6c7d0db in pqDisplayPolicy::createPreferredRepresentation (this=0xbdc160, opPort=0x1f7e5c0, view=, dont_create_view=) at /usr/src/debug/ParaView-v4.1.0/Qt/Core/pqDisplayPolicy.cxx:229 #24 0x00007ffff74681c0 in showData (this=, view=0x1a42240, source=0x1edbef0) at /usr/src/debug/ParaView-v4.1.0/Qt/Components/pqPropertiesPanel.cxx:188 #25 apply (view=0x1a42240, this=) at /usr/src/debug/ParaView-v4.1.0/Qt/Components/pqPropertiesPanel.cxx:148 #26 pqPropertiesPanel::apply (this=0xdadd60) at /usr/src/debug/ParaView-v4.1.0/Qt/Components/pqPropertiesPanel.cxx:686 #27 0x00007fffe086c35a in QMetaObject::activate (sender=sender at entry=0xdaf600, m=m at entry=0x7fffe1bd0bc0 , local_signal_index=local_signal_index at entry=2, argv=argv at entry=0x7fffffffce30) at kernel/qobject.cpp:3567 #28 0x00007fffe1753bd2 in QAbstractButton::clicked (this=this at entry=0xdaf600, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219 #29 0x00007fffe14973c3 in QAbstractButtonPrivate::emitClicked (this=this at entry=0xdb0310) at widgets/qabstractbutton.cpp:548 #30 0x00007fffe1498777 in QAbstractButtonPrivate::click (this=this at entry=0xdb0310) at widgets/qabstractbutton.cpp:541 #31 0x00007fffe149887c in QAbstractButton::mouseReleaseEvent (this=0xdaf600, e=0x7fffffffd350) at widgets/qabstractbutton.cpp:1123 #32 0x00007fffe1123cd8 in QWidget::event (this=0xdaf600, event=0x7fffffffd350) at kernel/qwidget.cpp:8389 #33 0x00007fffe10d0e6c in QApplicationPrivate::notify_helper (this=0xb1d7e0, receiver=0xdaf600, e=0x7fffffffd350) at kernel/qapplication.cpp:4565 #34 0x00007fffe10d7901 in QApplication::notify (this=, receiver=0xdaf600, e=0x7fffffffd350) at kernel/qapplication.cpp:4108 #35 0x00007fffe08578dd in QCoreApplication::notifyInternal (this=0x7fffffffdb10, receiver=0xdaf600, event=0x7fffffffd350) at kernel/qcoreapplication.cpp:953 #36 0x00007fffe10d7077 in QApplicationPrivate::sendMouseEvent (receiver=0xdaf600, event=0x7fffffffd350, alienWidget=0xdaf600, nativeWidget=0xda7ff0, buttonDown=, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231 #37 0x00007fffe114c6db in QETWidget::translateMouseEvent (this=0xda7ff0, event=) ---Type to continue, or q to quit--- at kernel/qapplication_x11.cpp:4540 #38 0x00007fffe114b14c in QApplication::x11ProcessEvent (this=0x7fffffffdb10, event=event at entry=0x7fffffffd6c0) at kernel/qapplication_x11.cpp:3663 #39 0x00007fffe1172b54 in x11EventSourceDispatch (s=s at entry=0xb1ea30, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #40 0x00007fffdbcf22a6 in g_main_dispatch (context=0xb1e900) at gmain.c:3066 #41 g_main_context_dispatch (context=context at entry=0xb1e900) at gmain.c:3642 #42 0x00007fffdbcf2628 in g_main_context_iterate (context=context at entry=0xb1e900, block=block at entry=1, dispatch=dispatch at entry=1, self=) at gmain.c:3713 #43 0x00007fffdbcf26dc in g_main_context_iteration (context=0xb1e900, may_block=1) at gmain.c:3774 #44 0x00007fffe08863fe in QEventDispatcherGlib::processEvents (this=0xb1e790, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #45 0x00007fffe1172cd6 in QGuiEventDispatcherGlib::processEvents (this=, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #46 0x00007fffe085636f in QEventLoop::processEvents (this=this at entry=0x7fffffffdab0, flags=...) at kernel/qeventloop.cpp:149 #47 0x00007fffe08566bd in QEventLoop::exec (this=this at entry=0x7fffffffdab0, flags=...) at kernel/qeventloop.cpp:204 #48 0x00007fffe085bd89 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #49 0x00007fffe10cf4ec in QApplication::exec () at kernel/qapplication.cpp:3823 #50 0x00000000004074b2 in main (argc=1, argv=0x7fffffffdc38) at /usr/src/debug/ParaView-v4.1.0/fedora-openmpi/Applications/ParaView/paraview_main.cxx:98 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 173 bytes Desc: OpenPGP digital signature URL: From boolegue at gmail.com Wed Apr 22 14:03:36 2015 From: boolegue at gmail.com (Antoine Dechaume) Date: Wed, 22 Apr 2015 20:03:36 +0200 Subject: [Paraview] Populate drop down list from filter data In-Reply-To: References: Message-ID: Hi Utkarsh, your approach works fine, thanks a lot! Cheers On Fri, Apr 17, 2015 at 6:07 AM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Here's a potential approach: > > command="SetChosenOne"> > > > name="AvailableOptionsInfo" /> > > > > information_only="1" > command="GetAvailableOptions" > si_class="vtkSIDataArrayProperty"> > > > > With the following method prototypes: > > void SetChosenOne(const char*); > vtkStringArray* GetAvailableOptions(); > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Apr 22 16:11:57 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 22 Apr 2015 16:11:57 -0400 Subject: [Paraview] Segfault in PLY reader In-Reply-To: <5537C1B7.1050907@ohio.edu> References: <5537C1B7.1050907@ohio.edu> Message-ID: This is indeed a bug in vtkPLYReader. Attached is a patch that fixes the issue. -------------- next part -------------- A non-text attachment was scrubbed... Name: FixPLYReader.patch Type: text/x-patch Size: 556 bytes Desc: not available URL: From Gerald.Lodron at joanneum.at Thu Apr 23 02:41:12 2015 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Thu, 23 Apr 2015 06:41:12 +0000 Subject: [Paraview] [Paraview-developers] ParaView and double precision Rendering In-Reply-To: References: <16363023d4454e1b9eb3b0d582c91bbd@RZJMBX2.jr1.local> Message-ID: <55b17027674e4f128cf42c2dad248475@RZJMBX2.jr1.local> Hi Today i got an (maybe stupid) idea: The solution of rescaling my double data to get correct viewing is not very elegant: All filter/sources settings will be in wrong relation (e.g. if I want to insert a sphere of radius 1, or if I want to measure my data using ruler, or if I want to watch my data in spreadsheet view) Wouldn?t it better to write a ?view plugin? where all data firstly is rescaled/mean subtracted before sending to 3d polydata mapper? In that case all filter settings, ruler and so on will also work like expected. I never wrote a view plugin but is this in principle possible? Or should I use a ?representation plugin? for that..... Any suggestions? Best regards, Gerald Lodron Von: Berk Geveci [mailto:berk.geveci at kitware.com] Gesendet: Dienstag, 14. April 2015 18:16 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview-developers] ParaView and double precision Rendering OpenGL does not support double precision. VTK does not do anything special in handling large coordinates and passes them to OpenGL directly. So currently, you have to handle this yourself by rescaling your data. Best, -berk On Mon, Apr 13, 2015 at 1:25 PM, Lodron, Gerald > wrote: Hello I made a paraview reader plugin which loads Point data of type double from an ASCII file (can be choosen as checkbox in reader parameter gui). It is important that point data type is double since our values have a huge offset, e.g. Coordinate in float: 3376382.75 -325198.59375 -121298.125 Coordinate in double: 3376382.849028525874 -325198.60899497801438 -121298.12806414699298 (same ASCII input file of type double, above printings come from spreadsheet view so loading is correct) (all my points have such small changes, I definitely can see those small changes in 3d) The problem is: I load the dataset once in float and once in double ( I checked result in spreadsheed view) I cannot see any differences in 3d renderer when I swap visibility of float and double input (but you can see in spreadsheet). Is the double precision rendering not correct/not supported? Any ideas? Best regards, Gerald Lodron Machine Vision Applications DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Search the list archives at: http://markmail.org/search/?q=Paraview-developers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Thu Apr 23 10:15:16 2015 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Thu, 23 Apr 2015 16:15:16 +0200 Subject: [Paraview] announce: VTK/ParaView Training - June 2 and 3, 2015, Lyon, France Message-ID: Kitware will be holding VTK and ParaView training courses respectively on June 2 and 3 in Lyon, France. Please visit our web site for more information and registration details at: VTK: http://training.kitware.fr/browse/102 ParaView: http://training.kitware.fr/browse/104 Note that the courses will be taught in English. If you have any question, please contact us at! formations at http://www.kitware.fr Thank you, *Joachim Pouderoux* *PhD, Technical Expert* *Kitware SAS * -------------- next part -------------- An HTML attachment was scrubbed... URL: From orion at cora.nwra.com Thu Apr 23 10:08:21 2015 From: orion at cora.nwra.com (Orion Poplawski) Date: Thu, 23 Apr 2015 08:08:21 -0600 Subject: [Paraview] vtk_use_system_protobuf w/ protobuf 2.6.0 In-Reply-To: <20150409144938.GA15793@megas.kitware.com> References: <20150409134016.GA7070@megas.kitware.com> <20150409144938.GA15793@megas.kitware.com> Message-ID: <5538FCD5.5060403@cora.nwra.com> On 04/09/2015 08:49 AM, Ben Boeckel wrote: > On Thu, Apr 09, 2015 at 09:40:16 -0400, Ben Boeckel wrote: >> Doesn't seem so. Looks like ParaView will need changes for 2.6.0. >> Searching around, seems like the changes necessary for it are probably >> minor[1]. > > An attempt at this: > > https://gitlab.kitware.com/paraview/paraview/merge_requests/52 > > This won't verify it works with 2.6.0 since we don't have any buildbot > machines with 2.6.0, so if you could test that this branch works for > you, that'd be great. Thanks, > > --Ben > _______________________________________________ > Ben - Thanks, that gets me farther, but I'm getting other errors now: /builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx: In member function 'virtual void vtkSMCameraLink::UpdateState()': /builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:367:45: error: no matching function for call to 'paraview_protobuf::Message::GetExtension(google::protobuf::internal::ExtensionIdentifier, 8u, false>&, int)' this->GetSynchronizeInteractiveRenders()); ^ In file included from /builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:25:0, from /builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerImplementation/Core/vtkSMMessage.h:30, from /builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:24: /builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: note: candidate: template typename _proto_TypeTraits::Singular::ConstType paraview_protobuf::Message::GetExtension(const google::protobuf::internal::ExtensionIdentifier&) const GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(Message) ^ /builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: note: template argument deduction/substitution failed: /builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:367:45: note: candidate expects 1 argument, 2 provided this->GetSynchronizeInteractiveRenders()); ^ In file included from /builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:25:0, from /builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerImplementation/Core/vtkSMMessage.h:30, from /builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:24: /builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: note: candidate: template typename _proto_TypeTraits::Repeated::ConstType paraview_protobuf::Message::GetExtension(const google::protobuf::internal::ExtensionIdentifier&, int) const GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(Message) ^ /builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: note: template argument deduction/substitution failed: /builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h: In substitution of 'template typename _proto_TypeTraits::Repeated::ConstType paraview_protobuf::Message::GetExtension(const google::protobuf::internal::ExtensionIdentifier&, int) const [with _proto_TypeTraits = google::protobuf::internal::PrimitiveTypeTraits; unsigned char _field_type = 8u; bool _is_packed = false]': /builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:367:45: required from here /builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: error: no type named 'Repeated' in 'class google::protobuf::internal::PrimitiveTypeTraits' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/ParaView-v4.3.1-source/fedora/CMakeFiles ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/build.make:199: recipe for target 'ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/vtkSMCameraLink.cxx.o' failed /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/ParaView-v4.3.1-source/fedora/CMakeFiles make[2]: *** [ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/vtkSMCameraLink.cxx.o] Error 1 - Orion -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane orion at cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com From dave.demarle at kitware.com Thu Apr 23 10:37:26 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 23 Apr 2015 10:37:26 -0400 Subject: [Paraview] [Paraview-developers] ParaView and double precision Rendering In-Reply-To: <55b17027674e4f128cf42c2dad248475@RZJMBX2.jr1.local> References: <16363023d4454e1b9eb3b0d582c91bbd@RZJMBX2.jr1.local> <55b17027674e4f128cf42c2dad248475@RZJMBX2.jr1.local> Message-ID: Sounds doable and very useful to me. Conceptually it is simple, use the world space bounding box to rescale the representations appropriately. You can mock it up at first in python with the transform filter and/or display transformations. Let us and especially the pv-developers list know if you run into problems. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Apr 23, 2015 at 2:41 AM, Lodron, Gerald wrote: > Hi > > > > Today i got an (maybe stupid) idea: > > > > The solution of rescaling my double data to get correct viewing is not > very elegant: All filter/sources settings will be in wrong relation (e.g. > if I want to insert a sphere of radius 1, or if I want to measure my data > using ruler, or if I want to watch my data in spreadsheet view) > > > > Wouldn?t it better to write a ?view plugin? where all data firstly is > rescaled/mean subtracted before sending to 3d polydata mapper? In that case > all filter settings, ruler and so on will also work like expected. I never > wrote a view plugin but is this in principle possible? Or should I use a > ?representation plugin? for that..... > > > > Any suggestions? > > > > Best regards, > > Gerald Lodron > > > > > > *Von:* Berk Geveci [mailto:berk.geveci at kitware.com] > *Gesendet:* Dienstag, 14. April 2015 18:16 > *An:* Lodron, Gerald > *Cc:* Paraview User (paraview at paraview.org); Paraview Developer ( > Paraview-developers at paraview.org) > *Betreff:* Re: [Paraview-developers] ParaView and double precision > Rendering > > > > OpenGL does not support double precision. VTK does not do anything special > in handling large coordinates and passes them to OpenGL directly. So > currently, you have to handle this yourself by rescaling your data. > > > > Best, > > -berk > > > > On Mon, Apr 13, 2015 at 1:25 PM, Lodron, Gerald > wrote: > > Hello > > I made a paraview reader plugin which loads Point data of type double from > an ASCII file (can be choosen as checkbox in reader parameter gui). It is > important that point data type is double since our values have a huge > offset, e.g. > > Coordinate in float: 3376382.75 -325198.59375 -121298.125 > Coordinate in double: 3376382.849028525874 -325198.60899497801438 > -121298.12806414699298 > (same ASCII input file of type double, above printings come from > spreadsheet view so loading is correct) > (all my points have such small changes, I definitely can see those small > changes in 3d) > > The problem is: I load the dataset once in float and once in double ( I > checked result in spreadsheed view) I cannot see any differences in 3d > renderer when I swap visibility of float and double input (but you can see > in spreadsheet). Is the double precision rendering not correct/not > supported? > Any ideas? > > Best regards, > > Gerald Lodron > Machine Vision Applications > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 > fax: +43-316-876-1751 > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Search the list archives at: > http://markmail.org/search/?q=Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.fastl at kcl.ac.uk Thu Apr 23 14:21:29 2015 From: thomas.fastl at kcl.ac.uk (Fastl, Thomas) Date: Thu, 23 Apr 2015 18:21:29 +0000 Subject: [Paraview] Rendering in Paraview Message-ID: <1429813289280.59896@kcl.ac.uk> Hello Community, I have a question concerning rendering in Paraview (Version 4.2.0). I have two .vtk files: i) an ellipsoidal volume geometry of hexahedral cells (cell type = 12) and ii) the internal surface of the ellipsoidal geometry represented using quadrilateral cells (cell type = 9). The first one is colored grey in the attached image, while the latter one is displayed in blue. Opening both of them at the same time leads to a quite confusing representation, which I don't really understand. In the image attached the quadrilateral surface was opened first followed by the hexahedral volume. So I can understand why Paraview renders the left part in the color of the volume, but I do not get why it splits the rendering and is checkered on the right side? Is this an intended behavior or might I have made a mistake? I checked the coordinates of the points in both files and they are identical. Thanks! Best, Thomas Fastl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ellipsoid.png Type: image/png Size: 119686 bytes Desc: ellipsoid.png URL: From cory.quammen at kitware.com Thu Apr 23 15:07:39 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 23 Apr 2015 15:07:39 -0400 Subject: [Paraview] Rendering in Paraview In-Reply-To: <1429813289280.59896@kcl.ac.uk> References: <1429813289280.59896@kcl.ac.uk> Message-ID: Thomas, This looks like a classic case of z-fighting: http://en.wikipedia.org/wiki/Z-fighting One way to remedy this is to turn off the display of one of the surfaces. Cory On Thu, Apr 23, 2015 at 2:21 PM, Fastl, Thomas wrote: > Hello Community, > > > I have a question concerning rendering in Paraview (Version 4.2.0). I > have two .vtk files: i) an ellipsoidal volume geometry of hexahedral cells (cell > type = 12) and ii) the internal surface of the ellipsoidal geometry > represented using quadrilateral cells (cell type = 9). The first one is > colored grey in the attached image, while the latter one is displayed in > blue. Opening both of them at the same time leads to a quite confusing > representation, which I don't really understand. > > > In the image attached the quadrilateral surface was opened first > followed by the hexahedral volume. So I can understand why Paraview renders > the left part in the color of the volume, but I do not get why it splits > the rendering and is checkered on the right side? Is this an intended > behavior or might I have made a mistake? I checked the coordinates of the > points in both files and they are identical. Thanks! > > > Best, Thomas Fastl > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Thu Apr 23 15:49:20 2015 From: samuelkey at bresnan.net (Samuel Key) Date: Thu, 23 Apr 2015 13:49:20 -0600 Subject: [Paraview] Rendering in Paraview In-Reply-To: <1429813289280.59896@kcl.ac.uk> References: <1429813289280.59896@kcl.ac.uk> Message-ID: <55394CC0.40300@bresnan.net> An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Thu Apr 23 17:19:59 2015 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Thu, 23 Apr 2015 21:19:59 +0000 Subject: [Paraview] Rendering in Paraview In-Reply-To: <55394CC0.40300@bresnan.net> References: <1429813289280.59896@kcl.ac.uk>,<55394CC0.40300@bresnan.net> Message-ID: <54C0F5C7-A480-4EB7-9D2B-481FE1A082D0@sandia.gov> If you want to use this approach, it is probably easier to use the transform filter and scale by 0.99 than use the calculator. -Ken Sent from my iPad so blame autocorrect. On Apr 23, 2015, at 4:13 PM, Samuel Key > wrote: Thomas, Assuming your x,y,z-origin is at the center of the ellipsoid, and you are using PV version4.3.1, you might be able to do the following: If you want to display these two objects at the same time, use the "eyeball" in the Pipeline Browser to turn off the hex mesh, then use the Calculator filter just on the quad mesh to shrink its x,y,z-coordinates by, say, 0.99. This will "pull" the quad mesh just inside the hex mesh. You can then do whatever variable display you like on the objects. If you are going to this display several times, the pipeline can be saved with Save State. Sam On 4/23/2015 12:21 PM, Fastl, Thomas wrote: Hello Community, I have a question concerning rendering in Paraview (Version 4.2.0). I have two .vtk files: i) an ellipsoidal volume geometry of hexahedral cells (cell type = 12) and ii) the internal surface of the ellipsoidal geometry represented using quadrilateral cells (cell type = 9). The first one is colored grey in the attached image, while the latter one is displayed in blue. Opening both of them at the same time leads to a quite confusing representation, which I don't really understand. In the image attached the quadrilateral surface was opened first followed by the hexahedral volume. So I can understand why Paraview renders the left part in the color of the volume, but I do not get why it splits the rendering and is checkered on the right side? Is this an intended behavior or might I have made a mistake? I checked the coordinates of the points in both files and they are identical. Thanks! Best, Thomas Fastl _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.fastl at kcl.ac.uk Thu Apr 23 18:31:16 2015 From: thomas.fastl at kcl.ac.uk (Fastl, Thomas) Date: Thu, 23 Apr 2015 22:31:16 +0000 Subject: [Paraview] Rendering in Paraview In-Reply-To: <54C0F5C7-A480-4EB7-9D2B-481FE1A082D0@sandia.gov> References: <1429813289280.59896@kcl.ac.uk>, <55394CC0.40300@bresnan.net>, <54C0F5C7-A480-4EB7-9D2B-481FE1A082D0@sandia.gov> Message-ID: <1429828275740.91887@kcl.ac.uk> Hello, thank you for the help so far, I really appreciate any input! ad Cory's response: I totally agree, seems to be a classic thing in rendering and makes total sense to me. However, strange is that this happens only for the right half of the ellipsoid. Any ideas on that? ad Sam's and Ken's response: I was thinking about doing that in Matlab during generation, but thanks for pointing out that I can do it pretty straight forward in Paraview directly, makes things easier. Again, I think it is just a little bit strange that the rendering problem occurs only on one half of the ellipsoid, maybe someone has experienced something similar? Thanks! Thomas ? ________________________________ From: ParaView on behalf of Moreland, Kenneth Sent: Thursday, April 23, 2015 10:19 PM To: Samuel Key Cc: paraview at paraview.org Subject: Re: [Paraview] Rendering in Paraview If you want to use this approach, it is probably easier to use the transform filter and scale by 0.99 than use the calculator. -Ken Sent from my iPad so blame autocorrect. On Apr 23, 2015, at 4:13 PM, Samuel Key > wrote: Thomas, Assuming your x,y,z-origin is at the center of the ellipsoid, and you are using PV version4.3.1, you might be able to do the following: If you want to display these two objects at the same time, use the "eyeball" in the Pipeline Browser to turn off the hex mesh, then use the Calculator filter just on the quad mesh to shrink its x,y,z-coordinates by, say, 0.99. This will "pull" the quad mesh just inside the hex mesh. You can then do whatever variable display you like on the objects. If you are going to this display several times, the pipeline can be saved with Save State. Sam On 4/23/2015 12:21 PM, Fastl, Thomas wrote: Hello Community, I have a question concerning rendering in Paraview (Version 4.2.0). I have two .vtk files: i) an ellipsoidal volume geometry of hexahedral cells (cell type = 12) and ii) the internal surface of the ellipsoidal geometry represented using quadrilateral cells (cell type = 9). The first one is colored grey in the attached image, while the latter one is displayed in blue. Opening both of them at the same time leads to a quite confusing representation, which I don't really understand. In the image attached the quadrilateral surface was opened first followed by the hexahedral volume. So I can understand why Paraview renders the left part in the color of the volume, but I do not get why it splits the rendering and is checkered on the right side? Is this an intended behavior or might I have made a mistake? I checked the coordinates of the points in both files and they are identical. Thanks! Best, Thomas Fastl _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Fri Apr 24 01:44:06 2015 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Fri, 24 Apr 2015 05:44:06 +0000 Subject: [Paraview] [Paraview-developers] ParaView and double precision Rendering In-Reply-To: References: <16363023d4454e1b9eb3b0d582c91bbd@RZJMBX2.jr1.local> <55b17027674e4f128cf42c2dad248475@RZJMBX2.jr1.local> Message-ID: Ok, thanks Good to know that it should theoretically work... The task is planned for a customer of us, the project is currently in acquisition phase so we do not definitely have the order yet... Thanks for opinions.... Von: David E DeMarle [mailto:dave.demarle at kitware.com] Gesendet: Donnerstag, 23. April 2015 16:37 An: Lodron, Gerald Cc: Berk Geveci; Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview] [Paraview-developers] ParaView and double precision Rendering Sounds doable and very useful to me. Conceptually it is simple, use the world space bounding box to rescale the representations appropriately. You can mock it up at first in python with the transform filter and/or display transformations. Let us and especially the pv-developers list know if you run into problems. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Apr 23, 2015 at 2:41 AM, Lodron, Gerald > wrote: Hi Today i got an (maybe stupid) idea: The solution of rescaling my double data to get correct viewing is not very elegant: All filter/sources settings will be in wrong relation (e.g. if I want to insert a sphere of radius 1, or if I want to measure my data using ruler, or if I want to watch my data in spreadsheet view) Wouldn?t it better to write a ?view plugin? where all data firstly is rescaled/mean subtracted before sending to 3d polydata mapper? In that case all filter settings, ruler and so on will also work like expected. I never wrote a view plugin but is this in principle possible? Or should I use a ?representation plugin? for that..... Any suggestions? Best regards, Gerald Lodron Von: Berk Geveci [mailto:berk.geveci at kitware.com] Gesendet: Dienstag, 14. April 2015 18:16 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview-developers] ParaView and double precision Rendering OpenGL does not support double precision. VTK does not do anything special in handling large coordinates and passes them to OpenGL directly. So currently, you have to handle this yourself by rescaling your data. Best, -berk On Mon, Apr 13, 2015 at 1:25 PM, Lodron, Gerald > wrote: Hello I made a paraview reader plugin which loads Point data of type double from an ASCII file (can be choosen as checkbox in reader parameter gui). It is important that point data type is double since our values have a huge offset, e.g. Coordinate in float: 3376382.75 -325198.59375 -121298.125 Coordinate in double: 3376382.849028525874 -325198.60899497801438 -121298.12806414699298 (same ASCII input file of type double, above printings come from spreadsheet view so loading is correct) (all my points have such small changes, I definitely can see those small changes in 3d) The problem is: I load the dataset once in float and once in double ( I checked result in spreadsheed view) I cannot see any differences in 3d renderer when I swap visibility of float and double input (but you can see in spreadsheet). Is the double precision rendering not correct/not supported? Any ideas? Best regards, Gerald Lodron Machine Vision Applications DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Search the list archives at: http://markmail.org/search/?q=Paraview-developers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview-developers _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From chengdi123000 at gmail.com Sat Apr 25 11:56:12 2015 From: chengdi123000 at gmail.com (=?UTF-8?B?56iL6L+q?=) Date: Sat, 25 Apr 2015 23:56:12 +0800 Subject: [Paraview] How to use calculate weighted sum of given timesteps in paraview? Message-ID: Dear all, I am doing proper orthogonal decomposition on a openfoam data set. The last step is to calculate the weighted sum of given timesteps of the dataset. But I found it is very difficult to do it in programmable filter because of 3 reasons: 1. In programmable filter it is difficult to pass weight vector to the Script; 2. In script of programmable filter, the locals() returns: [self, inputs, output, request], in which *self *is vtkPythonProgrammableFilter, *inputs *is a list of CompositeDataSet, *output *is CompositeDataSet, and *request *is vtkInformation. I do not know how to use it; And according to the blog [ http://berkgeveci.github.io/2014/09/02/programmable-filter/], I cannot loop over all timesteps in vtkPythonProgrammableFilter; The author of the blog recommend using vtkPythonAlgorithm, but 3. I do not know how to use vtk filters such as vtkPythonAlgorithm in paraview. I have tried some methods. But none of them worked. I tried to find how TemporalStatistics filter is implemented. I referred the code in this pipermail [ http://www.paraview.org/pipermail/paraview/2009-March/011443.html], it does not request different timestep. But only used timestep values passed with inputs; I read this article on wiki[http://www.paraview.org/Wiki/Time_in_ParaView]. But I am still confused. I tried >>>reader1.UpdatePipeline(t1) >>>reader2.UpdatePipeline(t2) The information tab in paraview shows different "Current data time" in reader1 and reader2. But if I use ProgrammableFilter to use reader1 and reader2 as inputs, it seems that the result is controlled by VCR time on the top of paraview GUI. Some more frustrating problem is because of the complexity of proxies/servermanager structure of paraview, I cannot access the vtk Object behind of paraview proxies. Even if I can write a vtk class in python like what Berk Geveci did in his blog [ http://berkgeveci.github.io/2014/11/09/streaming-time/], I cannot use it in paraview directly. My question is: What can I do next to calculate weighted sum of given timesteps in paraview? Thanks. Di CHENG Institute of Mechanics, Chinese Academy of Sciences No.15 Beisihuanxi Road, Beijing (100190) P. R. China E-mail: chengdi at imech.ac.cn Tel.: +86-15801594911 -------------- next part -------------- An HTML attachment was scrubbed... URL: From f.braennstroem at gmx.de Sat Apr 25 14:48:18 2015 From: f.braennstroem at gmx.de (Fabian Braennstroem) Date: Sat, 25 Apr 2015 20:48:18 +0200 Subject: [Paraview] python script loading state file and replace the datafile Message-ID: <553BE172.7040204@gmx.de> Hello, I am not able to find, how to change the ensight data file when loading a pvsm-state file with python. It would be great if you have an advice!? Thanks! Best Regards Fabian From yves.rogez at obs.ujf-grenoble.fr Sat Apr 25 16:18:54 2015 From: yves.rogez at obs.ujf-grenoble.fr (Yves Rogez) Date: Sat, 25 Apr 2015 22:18:54 +0200 Subject: [Paraview] pvpython with pvserver SelectionModel Message-ID: <553BF6AE.9070603@obs.ujf-grenoble.fr> Hello, I've just compiled paraview on its last git master branch and I get a strange segfault using pvpython with connection to a pvserver (no MPI, on localhost, linux). This occurs for instance, when creating a simple sphere with the following code: from paraview.simple import * servermanager.Connect( "localhost" ) s = Sphere() The strange thing is that under the ParaView GUI python shell all works well. I've made a little debugging and the error comes from ParaViewCore/ServerManager/Core/vtkSMParaViewPipelineController.cxx:609 (vtkSMParaViewPipelineController::RegisterPipelineProxy()) the selmodel variable is NULL after proxy->GetSessionProxyManager()->GetSelectionModel("ActiveSources") I recompiled on the * 4.3.1 release tag => same problem * 4.1.0 release tag => all works fine * 4.2.0 release tag => same problem Any idea ? Yves -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Sun Apr 26 08:54:39 2015 From: u.utku.turuncoglu at be.itu.edu.tr (u.utku.turuncoglu at be.itu.edu.tr) Date: Sun, 26 Apr 2015 15:54:39 +0300 (EEST) Subject: [Paraview] error when connecting to pvserver Message-ID: <51646.88.235.39.115.1430052879.squirrel@webmail.be.itu.edu.tr> Hi, I am trying to connect Paraview server (pvserver) to test the Paraview Catalyst example codes from GitHub account. So, i installed Paraview from source (under Centos 7.0) without any problem and then test code. The problem is that i am getting following error messages when i try to run the example, ERROR: In /opt/progs/paraview-4.3.1/src/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx, line 424 vtkTCPNetworkAccessManager (0x1063f00): ********************************************************************** Connection failed during handshake. This can happen for the following reasons: 1. Connection dropped during the handshake. 2. vtkSocketCommunicator::GetVersion() returns different values on the two connecting processes (Current value: 100). 3. ParaView handshake strings are different on the two connecting processes (Current value: paraview.4.3). ********************************************************************** In this case, both server and client are using same Paraview installation and i disabled both firewall and selinux to eliminate the possible error sources that might cause the problem. The server is also started using following command, [turuncu at epsilon-lnx CFullExample2]$ pvserver --server-port=22222 Waiting for client... Connection URL: cs://epsilon-lnx:22222 Accepting connection(s): epsilon-lnx:22222 and the client code is running as follows, [turuncu at epsilon-lnx CFullExample2]$ ./CFullExample2 SampleScripts/feslicescript.py I enabled live visualization by setting it True and proper server address and the port in the Python coprocessor code. I also tried to connect server from another machine directly using Paraview and it is working. At this point, i just need help to find the problem. Best Regards, --ufuk From patrick.brockmann at lsce.ipsl.fr Sun Apr 26 13:17:09 2015 From: patrick.brockmann at lsce.ipsl.fr (Patrick Brockmann) Date: Sun, 26 Apr 2015 19:17:09 +0200 Subject: [Paraview] CleantoGrid tolerance parameter for merging points Message-ID: <1d25-553d1d80-9-1f8bfc20@207986181> Hi, I like to see some points of an untsructured grid be merged ? Some points have coordinates equal to 1E-14, others 0. When applying the CleantoGrid filter there is no entries to specify a tolerance parameter. Am I missing something or the only way to do this today is to apply a Calculator filter before with some new coordinates results as: ceil(coordsX*1000)/1000*iHat + ceil(coordsY*1000)/1000*jHat + ceil(coordsZ*1000)/1000*kHat It works but I would have prefered this kind of setting available from the CleantoGrid filter. I have digged a similar question in 2007 http://www.paraview.org/pipermail/paraview/2007-May/004914.html Let me know if I should put a request on this missing feature on the paraview bug tracker or just live with it. Regards Patrick -- LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ Data Analysis and Visualization Engineer ICMC - IPSL Climate Modelling Centre -- From chengdi123000 at gmail.com Sun Apr 26 13:22:22 2015 From: chengdi123000 at gmail.com (=?UTF-8?B?56iL6L+q?=) Date: Mon, 27 Apr 2015 01:22:22 +0800 Subject: [Paraview] pvpython with pvserver SelectionModel Message-ID: Hi, Yves Rogez I have encountered the same problem. And I think it is a problem about the path. Please compare the python version and environment setting in different releases : >>> import sys >>> sys.version >>> sys.path And I think there are some differences responsible for the segfault . Di CHENG Institute of Mechanics, Chinese Academy of Sciences No.15 Beisihuanxi Road, Beijing (100190) P. R. China E-mail: chengdi at imech.ac.cn > > Message: 2 > Date: Sat, 25 Apr 2015 22:18:54 +0200 > From: Yves Rogez > To: paraview at paraview.org > Subject: [Paraview] pvpython with pvserver SelectionModel > Message-ID: <553BF6AE.9070603 at obs.ujf-grenoble.fr> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > Hello, > > I've just compiled paraview on its last git master branch and I get a > strange segfault using pvpython with connection to a pvserver (no MPI, > on localhost, linux). This occurs for instance, when creating a simple > sphere with the following code: > > from paraview.simple import * > servermanager.Connect( "localhost" ) > s = Sphere() > > The strange thing is that under the ParaView GUI python shell all works > well. > > I've made a little debugging and the error comes from > ParaViewCore/ServerManager/Core/vtkSMParaViewPipelineController.cxx:609 > (vtkSMParaViewPipelineController::RegisterPipelineProxy()) > the selmodel variable is NULL after > proxy->GetSessionProxyManager()->GetSelectionModel("ActiveSources") > > I recompiled on the > > * 4.3.1 release tag => same problem > * 4.1.0 release tag => all works fine > * 4.2.0 release tag => same problem > > Any idea ? > > Yves > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://public.kitware.com/pipermail/paraview/attachments/20150425/2e427e37/attachment-0001.html > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From uma.umayanganie at gmail.com Sun Apr 26 19:19:08 2015 From: uma.umayanganie at gmail.com (Uma Umayanganie) Date: Sun, 26 Apr 2015 17:19:08 -0600 Subject: [Paraview] Help with Catalyst build fail: MPIEXEC was empty Error Message-ID: Hello, I'm trying to build catalyst from the Catalyst editions provided in the downloads page. I tried version 4.1 and 4.3 but both builds fail with the following error. I'm in a cray machine. ?? ?I have the cray-mpich/7.0.3 mocule loaded. I have set both MPI_FORTRAN_INCLUDE_PATH and MPI_C_INCLUDE_PATH to /opt/cray/mpt/7.0.3/gni/mpich2-cray/83/include directory where the mpi.h and mpif.h are located. Error is 'could not find MPI_Fortran (missing : MPI_Fortran_LIBRARIES MPI_Fortran_INCLUDE_PATH) MPIEXEC was empty.' error. Online search indicated that I might need to point the MPIEXEC variable to mpiexec or mpirun executables, which I am unable to locate . This is bluewaters machne and we use aprun instead of mpiexec to run parallel programs. ? ?I'm stuck with this problem for 3 days and any help is appreciated! Thanks, Uma -------------- next part -------------- An HTML attachment was scrubbed... URL: From zhz1993622 at 163.com Sun Apr 26 23:12:16 2015 From: zhz1993622 at 163.com (=?GBK?B?1ty649ba?=) Date: Mon, 27 Apr 2015 11:12:16 +0800 (CST) Subject: [Paraview] Paraview Parallel Data Message-ID: <25317cc7.71b3.14cf8dc688b.Coremail.zhz1993622@163.com> Dear: I want to do some test to know where the paraview do the data distribution and how to controll it.But when I use ply data to do the test ,I found that it didn't do data distribution .So I want to get some paraview data like in http://www.paraview.org/Wiki/ParaView/ParaView_Readers_and_Parallel_Data_Distribution .who have some datas like that ? Can you give it to me ?Thank you! Sincerely zhou -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruggiero.guida at gmail.com Sun Apr 26 23:50:01 2015 From: ruggiero.guida at gmail.com (Ruggiero Guida) Date: Mon, 27 Apr 2015 07:50:01 +0400 Subject: [Paraview] Extract 'exact' bounded raster image from paraview Message-ID: Hi, I am trying to generate a 2d raster image from paraview in order to generate a texture for another program. Ideally I would like to extract an image with a number of pixels in the x and y direction that is in the same ratio as the x and y bounds. For example. Say I have a dataset with bounds [0, 19m] and [-10m, 23m] and i generate a 2D contour. I would like a raster image with [19 * s, 33 * s] pixel dimensions, where s is a scale factor. This image should also be perfectly fitted with the vtk dataset so that x_min => x_pixel = 0 x_max => x_pixel = x_max * s y_min => y_pixel = y_max * s y_max => y_pixel = 0 Is this possible at all? I assume that involves using python and this is not a problem. Thanks for any advice -------------- next part -------------- An HTML attachment was scrubbed... URL: From f_magician at mac.com Mon Apr 27 08:36:51 2015 From: f_magician at mac.com (Magician) Date: Mon, 27 Apr 2015 21:36:51 +0900 Subject: [Paraview] vtk.vtkPoints.SetData() Message-ID: <1CED4981-A92C-42AF-B68F-146321ADD05C@mac.com> Hi all, I?m going to generate pointclouds from CSV with Programmable Filter. On ParaView 4.1 or older, the script works: from paraview.vtk.dataset_adapter import numpyTovtkDataArray as da from paraview.vtk.dataset_adapter import vtkDataArrayToVTKArray as va pdi = self.GetInput() X = va(pdi.GetRowData().GetArray('x')) Y = va(pdi.GetRowData().GetArray('y')) Z = va(pdi.GetRowData().GetArray('z')) pts = vtk.vtkPoints() pts.SetData(da(hstack((X, Y, Z)), 'Points?)) But on 4.2 or newer, the script isn?t work: from paraview.vtk.numpy_interface.dataset_adapter import numpyTovtkDataArray as da from paraview.vtk.numpy_interface.dataset_adapter import vtkDataArrayToVTKArray as va pdi = self.GetInput() X = va(pdi.GetRowData().GetArray('x')) Y = va(pdi.GetRowData().GetArray('y')) Z = va(pdi.GetRowData().GetArray('z')) pts = vtk.vtkPoints() pts.SetData(da(hstack((X, Y, Z)), 'Points?)) The error message is as follows: ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/Core/vtkPoints.cxx, line 193 vtkPoints (0x1199f3a60): Number of components is different...can't set data How can I use SetData() method on latest ParaView? Magician From christophe.bourcier.pv at gmail.com Mon Apr 27 14:22:41 2015 From: christophe.bourcier.pv at gmail.com (Christophe Bourcier) Date: Mon, 27 Apr 2015 20:22:41 +0200 Subject: [Paraview] vtk.vtkPoints.SetData() Message-ID: Hi Magician, Since Paraview 4.2, you have to use column_stack instead of hstack to create a multi-component field. See this thread http://public.kitware.com/pipermail/paraview/2015-April/033756.html Christophe -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Apr 27 20:27:08 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Tue, 28 Apr 2015 00:27:08 +0000 Subject: [Paraview] selecting a cell at a point Message-ID: <030eea3f87da486992890e06eadd8f62@ES01AMSNLNT.srn.sandia.gov> I have a user that wants to select the cell that includes a point, for instance at 1,1,1. Any idea how to do this? (I bet I'm just being dumb, this is so simple...) Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Apr 28 10:39:23 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 28 Apr 2015 10:39:23 -0400 Subject: [Paraview] selecting a cell at a point In-Reply-To: <030eea3f87da486992890e06eadd8f62@ES01AMSNLNT.srn.sandia.gov> References: <030eea3f87da486992890e06eadd8f62@ES01AMSNLNT.srn.sandia.gov> Message-ID: There's no such thing as a dumb question :): See this: http://www.paraview.org/Bug/view.php?id=14526 The current workaround is to use the filter "Extract Location" to extract the cell at a specific location. Utkarsh On Mon, Apr 27, 2015 at 8:27 PM, Scott, W Alan wrote: > I have a user that wants to select the cell that includes a point, for > instance at 1,1,1. Any idea how to do this? (I bet I?m just being dumb, > this is so simple...) > > Thanks, > > Alan > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From dennis_conklin at goodyear.com Tue Apr 28 13:10:33 2015 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Tue, 28 Apr 2015 17:10:33 +0000 Subject: [Paraview] Idiot's Guide to Programmable Filter Message-ID: All, I'm a little confused by what objects are inside a programmable filter. I have a multi-block EXODUS dataset. When I read this in it is a Exodus2Reader object (sp?) and I can access the blocks, pointdata, celldata, etc in a python script. Once I get inside the Programmable filter, the blocks of the input[] seem to have different member functions than they did in a Python script. So I can't figure out how to get connectivity, number of cells in a block, generate new cell variables, etc. So, if I'm in a Programmable Filter, what object do I look at in either the Paraview or VTK class libraries to understand what the properties of the block are? Thanks very much for any insight you can give. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From f.braennstroem at gmx.de Tue Apr 28 14:43:01 2015 From: f.braennstroem at gmx.de (Fabian Braennstroem) Date: Tue, 28 Apr 2015 20:43:01 +0200 Subject: [Paraview] python script loading state file and replace the datafile In-Reply-To: <553BE172.7040204@gmx.de> References: <553BE172.7040204@gmx.de> Message-ID: <553FD4B5.2060009@gmx.de> Hello, sorry, me again. Would be great if someone has an advice! Thanks in advance! Best Regards Fabian On 04/25/2015 08:48 PM, Fabian Braennstroem wrote: > Hello, > > I am not able to find, how to change the ensight data file when > loading a pvsm-state file with python. > It would be great if you have an advice!? > > Thanks! > Best Regards > Fabian > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From spamrefuse at yahoo.com Tue Apr 28 21:26:28 2015 From: spamrefuse at yahoo.com (Stub) Date: Wed, 29 Apr 2015 01:26:28 +0000 (UTC) Subject: [Paraview] Beginner's question: new data set with same filters. How? Message-ID: <1463853653.141289.1430270788783.JavaMail.yahoo@mail.yahoo.com> Hi, After going through the tutorial, I am puzzled how to achieve the following: I have software that creates data, which I can visualize nicely with paraview.Different input parameters to the software create different data. Each time I want to view another dataset, I open paraview, load the data, and then put all the filters again in place. I find it a bit annoying that I need to organize the filters all over again, each time. I suppose there is a way that allows me to load the data into an existing filter arrangement, so that I quickly can visit one dataset after another. Can somebody give me some pointers how to do this in paraview? Thank you!Rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Tue Apr 28 21:44:08 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 29 Apr 2015 01:44:08 +0000 Subject: [Paraview] [EXTERNAL] Beginner's question: new data set with same filters. How? In-Reply-To: <1463853653.141289.1430270788783.JavaMail.yahoo@mail.yahoo.com> References: <1463853653.141289.1430270788783.JavaMail.yahoo@mail.yahoo.com> Message-ID: File/ Save State. File/ Load State. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Stub via ParaView Sent: Tuesday, April 28, 2015 7:26 PM To: Paraview Subject: [EXTERNAL] [Paraview] Beginner's question: new data set with same filters. How? Hi, After going through the tutorial, I am puzzled how to achieve the following: I have software that creates data, which I can visualize nicely with paraview. Different input parameters to the software create different data. Each time I want to view another dataset, I open paraview, load the data, and then put all the filters again in place. I find it a bit annoying that I need to organize the filters all over again, each time. I suppose there is a way that allows me to load the data into an existing filter arrangement, so that I quickly can visit one dataset after another. Can somebody give me some pointers how to do this in paraview? Thank you! Rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sevensam at udel.edu Tue Apr 28 21:45:40 2015 From: sevensam at udel.edu (Jesse Samluk) Date: Tue, 28 Apr 2015 21:45:40 -0400 Subject: [Paraview] Beginner's question: new data set with same filters. How? In-Reply-To: <1463853653.141289.1430270788783.JavaMail.yahoo@mail.yahoo.com> References: <1463853653.141289.1430270788783.JavaMail.yahoo@mail.yahoo.com> Message-ID: Rob, Did you try saving a ?state file?? What that is is basically it saves your current parameters/filters which you load after opening Paraview so that you don?t have to recreate them again. The way I do it is load my state file first, then my data. Works every time. Should be under File>Save State. Let us know if that?s what your looking for. > On Apr 28, 2015, at 9:26 PM, Stub via ParaView wrote: > > Hi, > > After going through the tutorial, I am puzzled how to achieve the following: > > I have software that creates data, which I can visualize nicely with paraview. > Different input parameters to the software create different data. > > Each time I want to view another dataset, I open paraview, load the data, and then put all the filters again in place. > > I find it a bit annoying that I need to organize the filters all over again, each time. > > I suppose there is a way that allows me to load the data into an existing filter arrangement, so that I quickly can visit one dataset after another. > > Can somebody give me some pointers how to do this in paraview? > > Thank you! > Rob. > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From sevensam at udel.edu Tue Apr 28 21:46:54 2015 From: sevensam at udel.edu (Jesse Samluk) Date: Tue, 28 Apr 2015 21:46:54 -0400 Subject: [Paraview] [EXTERNAL] Beginner's question: new data set with same filters. How? In-Reply-To: References: <1463853653.141289.1430270788783.JavaMail.yahoo@mail.yahoo.com> Message-ID: Ah - Alan got to you first. Thanks Alan! Jesse > On Apr 28, 2015, at 9:44 PM, Scott, W Alan wrote: > > File/ Save State. > > File/ Load State. > > Alan > > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Stub via ParaView > Sent: Tuesday, April 28, 2015 7:26 PM > To: Paraview > Subject: [EXTERNAL] [Paraview] Beginner's question: new data set with same filters. How? > > Hi, > > After going through the tutorial, I am puzzled how to achieve the following: > > I have software that creates data, which I can visualize nicely with paraview. > Different input parameters to the software create different data. > > Each time I want to view another dataset, I open paraview, load the data, and then put all the filters again in place. > > I find it a bit annoying that I need to organize the filters all over again, each time. > > I suppose there is a way that allows me to load the data into an existing filter arrangement, so that I quickly can visit one dataset after another. > > Can somebody give me some pointers how to do this in paraview? > > Thank you! > Rob. > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Apr 28 21:47:27 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 28 Apr 2015 21:47:27 -0400 Subject: [Paraview] Beginner's question: new data set with same filters. How? In-Reply-To: <1463853653.141289.1430270788783.JavaMail.yahoo@mail.yahoo.com> References: <1463853653.141289.1430270788783.JavaMail.yahoo@mail.yahoo.com> Message-ID: Rob, There are two ways to do this: 1). Once your pipeline is set up, you can right-click on the input object in the Pipeline Browers and choose Change Input... If you have loaded a new data set, you can change the input to this new one. 2). As others have said, you can save a ParaView state file. When you reload it, a dialog box asking you to confirm where the data files that were loaded are located will appear, and you can change the locations of those files to your new files there. Note that loading state files is cumulative - you will need to reset the state manually if you want to clear your old pipeline and data out. You can do this by clicking on the icon with the two computers and red x. Hope that helps, Cory On Tue, Apr 28, 2015 at 9:26 PM, Stub via ParaView wrote: > Hi, > > After going through the tutorial, I am puzzled how to achieve the > following: > > I have software that creates data, which I can visualize nicely with > paraview. > Different input parameters to the software create different data. > > Each time I want to view another dataset, I open paraview, load the data, > and then put all the filters again in place. > > I find it a bit annoying that I need to organize the filters all over > again, each time. > > I suppose there is a way that allows me to load the data into an existing > filter arrangement, so that I quickly can visit one dataset after another. > > Can somebody give me some pointers how to do this in paraview? > > Thank you! > Rob. > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Tue Apr 28 21:47:35 2015 From: samuelkey at bresnan.net (Samuel Key) Date: Tue, 28 Apr 2015 19:47:35 -0600 Subject: [Paraview] Beginner's question: new data set with same filters. How? In-Reply-To: <1463853653.141289.1430270788783.JavaMail.yahoo@mail.yahoo.com> References: <1463853653.141289.1430270788783.JavaMail.yahoo@mail.yahoo.com> Message-ID: <55403837.2040606@bresnan.net> An HTML attachment was scrubbed... URL: From spamrefuse at yahoo.com Tue Apr 28 22:06:33 2015 From: spamrefuse at yahoo.com (Stub) Date: Wed, 29 Apr 2015 02:06:33 +0000 (UTC) Subject: [Paraview] Beginner's question: new data set with same filters. How? In-Reply-To: References: Message-ID: <138936040.147860.1430273193953.JavaMail.yahoo@mail.yahoo.com> Thank you all for the very quick and helpful response!R. On Wednesday, April 29, 2015 10:47 AM, Cory Quammen wrote: Rob, There are two ways to do this: 1). Once your pipeline is set up, you can right-click on the input object in the Pipeline Browers and choose Change Input... If you have loaded a new data set, you can change the input to this new one. 2). As others have said, you can save a ParaView state file. When you reload it, a dialog box asking you to confirm where the data files that were loaded are located will appear, and you can change the locations of those files to your new files there. Note that loading state files is cumulative - you will need to reset the state manually if you want to clear your old pipeline and data out. You can do this by clicking on the icon with the two computers and red x. Hope that helps,Cory On Tue, Apr 28, 2015 at 9:26 PM, Stub via ParaView wrote: Hi, After going through the tutorial, I am puzzled how to achieve the following: I have software that creates data, which I can visualize nicely with paraview.Different input parameters to the software create different data. Each time I want to view another dataset, I open paraview, load the data, and then put all the filters again in place. I find it a bit annoying that I need to organize the filters all over again, each time. I suppose there is a way that allows me to load the data into an existing filter arrangement, so that I quickly can visit one dataset after another. Can somebody give me some pointers how to do this in paraview? Thank you!Rob. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Tue Apr 28 22:32:19 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 29 Apr 2015 02:32:19 +0000 Subject: [Paraview] [EXTERNAL] Idiot's Guide to Programmable Filter In-Reply-To: References: Message-ID: Dennis, The Python/ Programmable filter is a black box to me (i.e., I won't be much additional help). However, the place i would start would be the new, super-duper ParaView Guide. Kitware - and especially Utkarsh - have done a great job on it. Rather than giving the link, here is how to find it. It is sold in paper form on Amazon, and also is available as a .pdf for free (lacking 3 chapters, not related to the python filter). paraview.org/ Resources/ ParaView Guide. This includes the link to the .pdf. You are interested in (at least) chapter 13. It is listed under master section II, Reference Manual. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Dennis Conklin Sent: Tuesday, April 28, 2015 11:11 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Idiot's Guide to Programmable Filter All, I'm a little confused by what objects are inside a programmable filter. I have a multi-block EXODUS dataset. When I read this in it is a Exodus2Reader object (sp?) and I can access the blocks, pointdata, celldata, etc in a python script. Once I get inside the Programmable filter, the blocks of the input[] seem to have different member functions than they did in a Python script. So I can't figure out how to get connectivity, number of cells in a block, generate new cell variables, etc. So, if I'm in a Programmable Filter, what object do I look at in either the Paraview or VTK class libraries to understand what the properties of the block are? Thanks very much for any insight you can give. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From julia.weissflog at geophysik.tu-freiberg.de Wed Apr 29 04:54:33 2015 From: julia.weissflog at geophysik.tu-freiberg.de (Julia =?utf-8?b?V2Vpw59mbG9n?=) Date: Wed, 29 Apr 2015 10:54:33 +0200 Subject: [Paraview] Labeling of axis Message-ID: <20150429105433.168852lsoon5j421@webmail.tu-freiberg.de> Hello everybody, I use the tool 'Export Scene' in Paraview 4.3.1 to export a 2d clip to a vector graphic. All the time I got problems with the labeling of all axis. The numbers and labels (e.g. Y-Axis) are really blurry and not vectorized. How may I overcome this problem? Thank you for your help. Julia From f_magician at mac.com Wed Apr 29 09:05:55 2015 From: f_magician at mac.com (Magician) Date: Wed, 29 Apr 2015 22:05:55 +0900 Subject: [Paraview] vtk.vtkPoints.SetData() In-Reply-To: References: Message-ID: Hi Christophe, Thanks. column_stack() works correctly. Magician > On Apr 29, 2015, at 01:00, paraview-request at paraview.org wrote: > > Message: 1 > Date: Mon, 27 Apr 2015 20:22:41 +0200 > From: Christophe Bourcier > To: f_magician at mac.com > Cc: paraview at paraview.org > Subject: [Paraview] vtk.vtkPoints.SetData() > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Hi Magician, > > Since Paraview 4.2, you have to use column_stack instead of hstack to > create a multi-component field. See this thread > http://public.kitware.com/pipermail/paraview/2015-April/033756.html > > Christophe From berk.geveci at kitware.com Wed Apr 29 10:29:29 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Wed, 29 Apr 2015 10:29:29 -0400 Subject: [Paraview] [EXTERNAL] Idiot's Guide to Programmable Filter In-Reply-To: References: Message-ID: Hey Dennis, Which version of ParaView are you using? We have made some significant improvements to the way we handle multi-block datasets (which Exodus produces) in the latest version. The interface in the Programmable Filter is somewhat different than what you would have in a ParaView Python script. This is because you actually have access to the full data and the objects in there are of different types. If you give me some examples of what you are trying to do in the programmable filter, I can provide code that demonstrates the use of the API in the programmable filter. Best, -berk On Tue, Apr 28, 2015 at 10:32 PM, Scott, W Alan wrote: > Dennis, > > The Python/ Programmable filter is a black box to me (i.e., I won?t be > much additional help). However, the place i would start would be the new, > super-duper ParaView Guide. Kitware ? and especially Utkarsh ? have done a > great job on it. > > > > Rather than giving the link, here is how to find it. It is sold in paper > form on Amazon, and also is available as a .pdf for free (lacking 3 > chapters, not related to the python filter). > > > > paraview.org/ Resources/ ParaView Guide. This includes the link to the > .pdf. You are interested in (at least) chapter 13. It is listed under > master section II, Reference Manual. > > > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Dennis > Conklin > *Sent:* Tuesday, April 28, 2015 11:11 AM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Idiot's Guide to Programmable Filter > > > > All, > > > > I?m a little confused by what objects are inside a programmable filter. > I have a multi-block EXODUS dataset. When I read this in it is a > Exodus2Reader object (sp?) and I can access the blocks, pointdata, > celldata, etc in a python script. > > > > Once I get inside the Programmable filter, the blocks of the input[] seem > to have different member functions than they did in a Python script. So I > can?t figure out how to get connectivity, number of cells in a block, > generate new cell variables, etc. > > > > So, if I?m in a Programmable Filter, what object do I look at in either > the Paraview or VTK class libraries to understand what the properties of > the block are? > > > > Thanks very much for any insight you can give. > > > > Dennis > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Wed Apr 29 11:01:12 2015 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 29 Apr 2015 15:01:12 +0000 Subject: [Paraview] [EXTERNAL] Idiot's Guide to Programmable Filter In-Reply-To: References: Message-ID: Berk, Thanks for your reply. I am using Paraview 4.3, so hopefully that has the improvements you mentioned. I guess if I could figure out what objects are used for Blocks in side the Programmable filter I could do more on my own, but it?s clear they are different from in a python script, but still not clear what they are. So a typical application would be a special version of point data to cell data. I have some node variables. I want to find all the nodes attached to each element, do some calculations on those node variables to generate a new element variable. So basically like Loop over blocks Loop over elements in block Find all nodes connected to element Perform calculations based on node variables Assign new element variable(s) based on calculations Thanks for any insight ? Alan at Sandia has suggested I check the latest user guide, and I will, but I haven?t seen a good element example for the Programmable filter yet ? I don?t have any problem doing nodal manipulations, but I have a good example of that. Dennis From: Berk Geveci [mailto:berk.geveci at kitware.com] Sent: Wednesday, April 29, 2015 10:29 AM To: Scott, W Alan Cc: Dennis Conklin; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Idiot's Guide to Programmable Filter Hey Dennis, Which version of ParaView are you using? We have made some significant improvements to the way we handle multi-block datasets (which Exodus produces) in the latest version. The interface in the Programmable Filter is somewhat different than what you would have in a ParaView Python script. This is because you actually have access to the full data and the objects in there are of different types. If you give me some examples of what you are trying to do in the programmable filter, I can provide code that demonstrates the use of the API in the programmable filter. Best, -berk On Tue, Apr 28, 2015 at 10:32 PM, Scott, W Alan > wrote: Dennis, The Python/ Programmable filter is a black box to me (i.e., I won?t be much additional help). However, the place i would start would be the new, super-duper ParaView Guide. Kitware ? and especially Utkarsh ? have done a great job on it. Rather than giving the link, here is how to find it. It is sold in paper form on Amazon, and also is available as a .pdf for free (lacking 3 chapters, not related to the python filter). paraview.org/ Resources/ ParaView Guide. This includes the link to the .pdf. You are interested in (at least) chapter 13. It is listed under master section II, Reference Manual. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Dennis Conklin Sent: Tuesday, April 28, 2015 11:11 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Idiot's Guide to Programmable Filter All, I?m a little confused by what objects are inside a programmable filter. I have a multi-block EXODUS dataset. When I read this in it is a Exodus2Reader object (sp?) and I can access the blocks, pointdata, celldata, etc in a python script. Once I get inside the Programmable filter, the blocks of the input[] seem to have different member functions than they did in a Python script. So I can?t figure out how to get connectivity, number of cells in a block, generate new cell variables, etc. So, if I?m in a Programmable Filter, what object do I look at in either the Paraview or VTK class libraries to understand what the properties of the block are? Thanks very much for any insight you can give. Dennis _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From sturgman at gmail.com Wed Apr 29 13:05:26 2015 From: sturgman at gmail.com (Salomon Turgman Cohen) Date: Wed, 29 Apr 2015 13:05:26 -0400 Subject: [Paraview] Beginner's question: new data set with same filters. How? In-Reply-To: <138936040.147860.1430273193953.JavaMail.yahoo@mail.yahoo.com> References: <138936040.147860.1430273193953.JavaMail.yahoo@mail.yahoo.com> Message-ID: Related to this. What if I have a transient simulation and I change some parameters. The two simulations have a different number of time steps. How do I deal with this situation? Loading the state does not seem to work as expected (not all the timesteps are visible if the second simulation has more). Any ideas in this case? Also Jesse, what do you mean that you load your state file first? If I do that it ask me what data set I wish to load. Is that what you are referring to? -s- On Tue, Apr 28, 2015 at 10:06 PM, Stub via ParaView wrote: > Thank you all for the very quick and helpful response! > R. > > > > On Wednesday, April 29, 2015 10:47 AM, Cory Quammen < > cory.quammen at kitware.com> wrote: > > > Rob, > > There are two ways to do this: > > 1). Once your pipeline is set up, you can right-click on the input object > in the Pipeline Browers and choose Change Input... If you have loaded a new > data set, you can change the input to this new one. > > 2). As others have said, you can save a ParaView state file. When you > reload it, a dialog box asking you to confirm where the data files that > were loaded are located will appear, and you can change the locations of > those files to your new files there. Note that loading state files is > cumulative - you will need to reset the state manually if you want to clear > your old pipeline and data out. You can do this by clicking on the icon > with the two computers and red x. > > Hope that helps, > Cory > > On Tue, Apr 28, 2015 at 9:26 PM, Stub via ParaView > wrote: > > Hi, > > After going through the tutorial, I am puzzled how to achieve the > following: > > I have software that creates data, which I can visualize nicely with > paraview. > Different input parameters to the software create different data. > > Each time I want to view another dataset, I open paraview, load the data, > and then put all the filters again in place. > > I find it a bit annoying that I need to organize the filters all over > again, each time. > > I suppose there is a way that allows me to load the data into an existing > filter arrangement, so that I quickly can visit one dataset after another. > > Can somebody give me some pointers how to do this in paraview? > > Thank you! > Rob. > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Salomon Turgman Cohen Assistant Professor Chemical Engineering Kettering University (919) 341-9650 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sevensam at udel.edu Wed Apr 29 13:29:14 2015 From: sevensam at udel.edu (Jesse Samluk) Date: Wed, 29 Apr 2015 13:29:14 -0400 Subject: [Paraview] Beginner's question: new data set with same filters. How? In-Reply-To: References: <138936040.147860.1430273193953.JavaMail.yahoo@mail.yahoo.com> Message-ID: <381758DD-9528-422E-AE2F-E3EA881E53EB@udel.edu> Dr. Cohen, What I mean by this is, when I first start Paraview, I hit File>Load State. Basically, there?s instances with the data that I used that I want saved and loaded when I revisit Paraview., whether it be a certain aspect of an image, a different field piece (I?m working with electromagnetics), etc. Jesse > On Apr 29, 2015, at 1:05 PM, Salomon Turgman Cohen wrote: > > Related to this. What if I have a transient simulation and I change some parameters. The two simulations have a different number of time steps. How do I deal with this situation? Loading the state does not seem to work as expected (not all the timesteps are visible if the second simulation has more). Any ideas in this case? Also Jesse, what do you mean that you load your state file first? If I do that it ask me what data set I wish to load. Is that what you are referring to? > > -s- > > On Tue, Apr 28, 2015 at 10:06 PM, Stub via ParaView > wrote: > Thank you all for the very quick and helpful response! > R. > > > > On Wednesday, April 29, 2015 10:47 AM, Cory Quammen > wrote: > > > Rob, > > There are two ways to do this: > > 1). Once your pipeline is set up, you can right-click on the input object in the Pipeline Browers and choose Change Input... If you have loaded a new data set, you can change the input to this new one. > > 2). As others have said, you can save a ParaView state file. When you reload it, a dialog box asking you to confirm where the data files that were loaded are located will appear, and you can change the locations of those files to your new files there. Note that loading state files is cumulative - you will need to reset the state manually if you want to clear your old pipeline and data out. You can do this by clicking on the icon with the two computers and red x. > > Hope that helps, > Cory > > On Tue, Apr 28, 2015 at 9:26 PM, Stub via ParaView > wrote: > Hi, > > After going through the tutorial, I am puzzled how to achieve the following: > > I have software that creates data, which I can visualize nicely with paraview. > Different input parameters to the software create different data. > > Each time I want to view another dataset, I open paraview, load the data, and then put all the filters again in place. > > I find it a bit annoying that I need to organize the filters all over again, each time. > > I suppose there is a way that allows me to load the data into an existing filter arrangement, so that I quickly can visit one dataset after another. > > Can somebody give me some pointers how to do this in paraview? > > Thank you! > Rob. > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -- > Salomon Turgman Cohen > Assistant Professor > Chemical Engineering > Kettering University > (919) 341-9650 > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.c.angelini.civ at mail.mil Wed Apr 29 13:58:48 2015 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY ARL (US)) Date: Wed, 29 Apr 2015 17:58:48 +0000 Subject: [Paraview] Offscreen rendering? (UNCLASSIFIED) Message-ID: <345817C8A61EA841AAE0120EC1514D956EB23B13@umechpao0.easf.csd.disa.mil> CLASSIFICATION: UNCLASSIFIED I have a standard client-server connection set up to a remote system. I'm dumping out a long animation, saving JPG files. If I iconify my ParaView session or allow the Linux screenlock to kick in, my resulting saved images are corrupted (blank, black, garbled). In this scenario, is there some way to force ParaView to do offscreen rendering in this interactive session? I've been looking at settings and command line flags, but I don't see anything in the GUI or the client. There does seem to be a flag on the pvserver, but the user doesn't have access to that flag directly using the preconfigure job launching configuration scripts. CLASSIFICATION: UNCLASSIFIED -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5627 bytes Desc: not available URL: From wascott at sandia.gov Wed Apr 29 14:25:22 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 29 Apr 2015 18:25:22 +0000 Subject: [Paraview] [EXTERNAL] Offscreen rendering? (UNCLASSIFIED) In-Reply-To: <345817C8A61EA841AAE0120EC1514D956EB23B13@umechpao0.easf.csd.disa.mil> References: <345817C8A61EA841AAE0120EC1514D956EB23B13@umechpao0.easf.csd.disa.mil> Message-ID: Rick, Do you mean Edit/ Settings/ Render View/ Use Offscreen Rendering for Screenshots? Alan -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Angelini, Richard C (Rick) CIV USARMY ARL (US) Sent: Wednesday, April 29, 2015 11:59 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Offscreen rendering? (UNCLASSIFIED) CLASSIFICATION: UNCLASSIFIED I have a standard client-server connection set up to a remote system. I'm dumping out a long animation, saving JPG files. If I iconify my ParaView session or allow the Linux screenlock to kick in, my resulting saved images are corrupted (blank, black, garbled). In this scenario, is there some way to force ParaView to do offscreen rendering in this interactive session? I've been looking at settings and command line flags, but I don't see anything in the GUI or the client. There does seem to be a flag on the pvserver, but the user doesn't have access to that flag directly using the preconfigure job launching configuration scripts. CLASSIFICATION: UNCLASSIFIED From wascott at sandia.gov Wed Apr 29 15:21:33 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 29 Apr 2015 19:21:33 +0000 Subject: [Paraview] [EXTERNAL] Offscreen rendering? (UNCLASSIFIED) In-Reply-To: <345817C8A61EA841AAE0120EC1514D956EB23C29@umechpao0.easf.csd.disa.mil> References: <345817C8A61EA841AAE0120EC1514D956EB23B13@umechpao0.easf.csd.disa.mil> <345817C8A61EA841AAE0120EC1514D956EB23C29@umechpao0.easf.csd.disa.mil> Message-ID: <93a27d69db5247ed8b4c409a48e88e7d@ES01AMSNLNT.srn.sandia.gov> Sorry, my bad. This is an "advanced" setting. The Settings panels now have standard (default) and advanced layouts (sticky, which is what I currently have). You change it by clicking the little gear icon in the upper right corner of the Settings dialog. This setting is found in the advanced settings. Alan -----Original Message----- From: Angelini, Richard C (Rick) CIV USARMY ARL (US) [mailto:richard.c.angelini.civ at mail.mil] Sent: Wednesday, April 29, 2015 1:13 PM To: Scott, W Alan Subject: RE: [EXTERNAL] [Paraview] Offscreen rendering? (UNCLASSIFIED) CLASSIFICATION: UNCLASSIFIED That would do it if I could find such a thing! That exists in 4.3.1? Would I have had to do something at build time to enable such a feature???? -----Original Message----- From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Wednesday, April 29, 2015 2:25 PM To: Angelini, Richard C (Rick) CIV USARMY ARL (US); paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Offscreen rendering? (UNCLASSIFIED) Rick, Do you mean Edit/ Settings/ Render View/ Use Offscreen Rendering for Screenshots? Alan -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Angelini, Richard C (Rick) CIV USARMY ARL (US) Sent: Wednesday, April 29, 2015 11:59 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Offscreen rendering? (UNCLASSIFIED) CLASSIFICATION: UNCLASSIFIED I have a standard client-server connection set up to a remote system. I'm dumping out a long animation, saving JPG files. If I iconify my ParaView session or allow the Linux screenlock to kick in, my resulting saved images are corrupted (blank, black, garbled). In this scenario, is there some way to force ParaView to do offscreen rendering in this interactive session? I've been looking at settings and command line flags, but I don't see anything in the GUI or the client. There does seem to be a flag on the pvserver, but the user doesn't have access to that flag directly using the preconfigure job launching configuration scripts. CLASSIFICATION: UNCLASSIFIED CLASSIFICATION: UNCLASSIFIED From richard.c.angelini.civ at mail.mil Wed Apr 29 15:37:15 2015 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY ARL (US)) Date: Wed, 29 Apr 2015 19:37:15 +0000 Subject: [Paraview] [EXTERNAL] Offscreen rendering? (UNCLASSIFIED) In-Reply-To: <93a27d69db5247ed8b4c409a48e88e7d@ES01AMSNLNT.srn.sandia.gov> References: <345817C8A61EA841AAE0120EC1514D956EB23B13@umechpao0.easf.csd.disa.mil> <345817C8A61EA841AAE0120EC1514D956EB23C29@umechpao0.easf.csd.disa.mil> <93a27d69db5247ed8b4c409a48e88e7d@ES01AMSNLNT.srn.sandia.gov> Message-ID: <345817C8A61EA841AAE0120EC1514D956EB23C47@umechpao0.easf.csd.disa.mil> CLASSIFICATION: UNCLASSIFIED Bingo! There it is ... thanks! -----Original Message----- From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Wednesday, April 29, 2015 3:22 PM To: Angelini, Richard C (Rick) CIV USARMY ARL (US) Cc: paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Offscreen rendering? (UNCLASSIFIED) Sorry, my bad. This is an "advanced" setting. The Settings panels now have standard (default) and advanced layouts (sticky, which is what I currently have). You change it by clicking the little gear icon in the upper right corner of the Settings dialog. This setting is found in the advanced settings. Alan -----Original Message----- From: Angelini, Richard C (Rick) CIV USARMY ARL (US) [mailto:richard.c.angelini.civ at mail.mil] Sent: Wednesday, April 29, 2015 1:13 PM To: Scott, W Alan Subject: RE: [EXTERNAL] [Paraview] Offscreen rendering? (UNCLASSIFIED) CLASSIFICATION: UNCLASSIFIED That would do it if I could find such a thing! That exists in 4.3.1? Would I have had to do something at build time to enable such a feature???? -----Original Message----- From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Wednesday, April 29, 2015 2:25 PM To: Angelini, Richard C (Rick) CIV USARMY ARL (US); paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Offscreen rendering? (UNCLASSIFIED) Rick, Do you mean Edit/ Settings/ Render View/ Use Offscreen Rendering for Screenshots? Alan -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Angelini, Richard C (Rick) CIV USARMY ARL (US) Sent: Wednesday, April 29, 2015 11:59 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Offscreen rendering? (UNCLASSIFIED) CLASSIFICATION: UNCLASSIFIED I have a standard client-server connection set up to a remote system. I'm dumping out a long animation, saving JPG files. If I iconify my ParaView session or allow the Linux screenlock to kick in, my resulting saved images are corrupted (blank, black, garbled). In this scenario, is there some way to force ParaView to do offscreen rendering in this interactive session? I've been looking at settings and command line flags, but I don't see anything in the GUI or the client. There does seem to be a flag on the pvserver, but the user doesn't have access to that flag directly using the preconfigure job launching configuration scripts. CLASSIFICATION: UNCLASSIFIED CLASSIFICATION: UNCLASSIFIED CLASSIFICATION: UNCLASSIFIED -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5627 bytes Desc: not available URL: From u.utku.turuncoglu at be.itu.edu.tr Thu Apr 30 09:21:16 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Thu, 30 Apr 2015 16:21:16 +0300 Subject: [Paraview] Any suggestion for work environment to run Catalyst examples ??? Message-ID: <55422C4C.3050601@be.itu.edu.tr> Hi, I would like to run Catalyst examples but i failed in following attempts: *1 - MacOS 10.10.2 + **Enthought **Canopy_64bit 1.4.1.1995 + OpenMPI**1.8.4 + Paraview 4.3.1 source* When i trying to install Paraview 4.3.1, i am getting error related with qsqlite library after compiling %99 of the source. There are some discussion in the net but it does not solve the problem. * **2 - Centos 7.0 + output of package Python 2.7.5 + OpenMPI ***1.8.4 *+ **Paraview 4.3.1 (installed under VirtualBox)* It gives following error when i try to run the Catalyst examples. In this case, both Paraview and Catalyst examples are compiled without any problem ERROR: In /opt/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 812 vtkSocketCommunicator (0x13a6090): Could not receive tag. 1 when i try to use pre-compiled Paraview, then i am getting following error. ERROR: In /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/System/vtkSocket.cxx, line 572 vtkClientSocket (0x1deeb20): Socket error in call to send. Broken pipe. At this point, i just wonder about the details of work environment that runs Catalyst examples (found in Git repository) without any problem. Which operating system (Fedora, Ubuntu etc.) and version can be used? Which Python and Paraview version? Any particular library that will be used in the installation? Any success about running Catalyst examples? I just want to reproduce the results of the examples and first, i need to setup environment for it. Please let me know your experience about it. At this stage (with current documentation and information), it is impossible to not run the examples. Best Regard, --ufuk -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Apr 30 10:30:40 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 30 Apr 2015 10:30:40 -0400 Subject: [Paraview] Any suggestion for work environment to run Catalyst examples ??? In-Reply-To: <55422C4C.3050601@be.itu.edu.tr> References: <55422C4C.3050601@be.itu.edu.tr> Message-ID: Hi, It's tough to diagnose what's going on with the Catalyst examples. Can you try running pvbatch or pvserver in parallel? My guess is that could be the issue. Another possibility is confusion between header files. I don't regularly build on Macs so I don't have much experience there. I do know that the Catalyst examples are built on several architectures for testing. I hope to get a dashboard up in the near future to test this out better. Regards, Andy On Thu, Apr 30, 2015 at 9:21 AM, Ufuk Utku Turuncoglu (BE) < u.utku.turuncoglu at be.itu.edu.tr> wrote: > Hi, > > I would like to run Catalyst examples but i failed in following attempts: > > *1 - MacOS 10.10.2 + **Enthought **Canopy_64bit 1.4.1.1995 + OpenMPI** > 1.8.4 + Paraview 4.3.1 source* > > When i trying to install Paraview 4.3.1, i am getting error related with > qsqlite library after compiling %99 of the source. There are some > discussion in the net but it does not solve the problem. > > *2 - Centos 7.0 + output of package Python 2.7.5 + OpenMPI **1.8.4 + **Paraview > 4.3.1 (installed under VirtualBox)* > > It gives following error when i try to run the Catalyst examples. In this > case, both Paraview and Catalyst examples are compiled without any problem > > ERROR: In > /opt/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, > line 812 > vtkSocketCommunicator (0x13a6090): Could not receive tag. 1 > > when i try to use pre-compiled Paraview, then i am getting following error. > > ERROR: In > /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/System/vtkSocket.cxx, > line 572 > vtkClientSocket (0x1deeb20): Socket error in call to send. Broken pipe. > > At this point, i just wonder about the details of work environment that > runs Catalyst examples (found in Git repository) without any problem. Which > operating system (Fedora, Ubuntu etc.) and version can be used? Which > Python and Paraview version? Any particular library that will be used in > the installation? Any success about running Catalyst examples? I just > want to reproduce the results of the examples and first, i need to setup > environment for it. Please let me know your experience about it. At this > stage (with current documentation and information), it is impossible to not > run the examples. > > Best Regard, > > --ufuk > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Apr 30 11:06:26 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 30 Apr 2015 11:06:26 -0400 Subject: [Paraview] Labeling of axis In-Reply-To: <20150429105433.168852lsoon5j421@webmail.tu-freiberg.de> References: <20150429105433.168852lsoon5j421@webmail.tu-freiberg.de> Message-ID: Julia, Can you share a sample export result? It will make the problem a little clearer. Thanks On Wed, Apr 29, 2015 at 4:54 AM, Julia Wei?flog wrote: > Hello everybody, > > I use the tool 'Export Scene' in Paraview 4.3.1 to export a 2d clip to a > vector graphic. All the time I got problems with the labeling of all axis. > The numbers and labels (e.g. Y-Axis) are really blurry and not vectorized. > How may I overcome this problem? > > Thank you for your help. > > Julia > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From lisalenorelowe at gmail.com Thu Apr 30 12:16:54 2015 From: lisalenorelowe at gmail.com (Lisa Lowe) Date: Thu, 30 Apr 2015 12:16:54 -0400 Subject: [Paraview] Connecting to another computer Message-ID: I would like to run Paraview on my desktop but look at data that is on the supercomputer. Our sys admin has intalled Paraview and I have it installed. How do I connect to the supercomputer? Thanks, Lisa -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Apr 30 12:23:43 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 30 Apr 2015 12:23:43 -0400 Subject: [Paraview] Connecting to another computer In-Reply-To: References: Message-ID: Checkout Chapter 15 from the ParaView Guide. You can download the ParaView Guide here: http://www.paraview.org/paraview-guide/ On Thu, Apr 30, 2015 at 12:16 PM, Lisa Lowe wrote: > I would like to run Paraview on my desktop but look at data that is on the > supercomputer. Our sys admin has intalled Paraview and I have it installed. > How do I connect to the supercomputer? > Thanks, > Lisa > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Thu Apr 30 12:28:46 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 30 Apr 2015 12:28:46 -0400 Subject: [Paraview] Beginner's question: new data set with same filters. How? In-Reply-To: References: <138936040.147860.1430273193953.JavaMail.yahoo@mail.yahoo.com> Message-ID: On Wed, Apr 29, 2015 at 1:05 PM, Salomon Turgman Cohen wrote: > Related to this. What if I have a transient simulation and I change some > parameters. The two simulations have a different number of time steps. How > do I deal with this situation? Loading the state does not seem to work as > expected (not all the timesteps are visible if the second simulation has > more). Any ideas in this case? That is indeed a bug that has been fixed in the development version of ParaView. See http://www.paraview.org/Bug/view.php?id=15407. As a work around, you can manually delete the EndTime properties in the XML state file. Utkarsh From berk.geveci at kitware.com Thu Apr 30 12:51:02 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Thu, 30 Apr 2015 12:51:02 -0400 Subject: [Paraview] [EXTERNAL] Idiot's Guide to Programmable Filter In-Reply-To: References: Message-ID: Hi Dennis, Here is an example that works in 4.3: from vtk.numpy_interface import dataset_adapter as dsa iterator = dsa.MultiCompositeDataIterator([inputs[0], output]) for iblock, oblock in iterator: oblock.PointData.append(iblock.PointData['DISPL'], "DISPL") A few points: * MultiCompositeDataIterator() allows you to traverse the input and output datasets together so you get matching datasets * iblock and oblock correspond to input and output blocks * For the API for the iblock and oblock objects, see the User's Guide or numerous blogs that I wrote on the topic under www.kitware.com/blog * vtkDataSet API is also available through those objects so you can call things like GetNumberOfCells(), GetNumberOfPoints() etc. Best, -berk On Wed, Apr 29, 2015 at 11:01 AM, Dennis Conklin < dennis_conklin at goodyear.com> wrote: > Berk, > > > > Thanks for your reply. > > > > I am using Paraview 4.3, so hopefully that has the improvements you > mentioned. > > > > I guess if I could figure out what objects are used for Blocks in side the > Programmable filter I could do more on my own, but it?s clear they are > different from in a python script, but still not clear what they are. > > > > So a typical application would be a special version of point data to cell > data. > > > > I have some node variables. I want to find all the nodes attached to > each element, do some calculations on those node variables to generate a > new element variable. So basically like > > > > Loop over blocks > > Loop over elements in block > > Find all nodes connected to element > > Perform calculations based on node variables > > Assign new element variable(s) based on calculations > > > > Thanks for any insight ? Alan at Sandia has suggested I check the latest > user guide, and I will, but I haven?t seen a good element example for the > Programmable filter yet ? I don?t have any problem doing nodal > manipulations, but I have a good example of that. > > > > Dennis > > > > *From:* Berk Geveci [mailto:berk.geveci at kitware.com] > *Sent:* Wednesday, April 29, 2015 10:29 AM > *To:* Scott, W Alan > *Cc:* Dennis Conklin; paraview at paraview.org > *Subject:* Re: [Paraview] [EXTERNAL] Idiot's Guide to Programmable Filter > > > > Hey Dennis, > > > > Which version of ParaView are you using? We have made some significant > improvements to the way we handle multi-block datasets (which Exodus > produces) in the latest version. > > > > The interface in the Programmable Filter is somewhat different than what > you would have in a ParaView Python script. This is because you actually > have access to the full data and the objects in there are of different > types. > > > > If you give me some examples of what you are trying to do in the > programmable filter, I can provide code that demonstrates the use of the > API in the programmable filter. > > > > Best, > > -berk > > > > On Tue, Apr 28, 2015 at 10:32 PM, Scott, W Alan > wrote: > > Dennis, > > The Python/ Programmable filter is a black box to me (i.e., I won?t be > much additional help). However, the place i would start would be the new, > super-duper ParaView Guide. Kitware ? and especially Utkarsh ? have done a > great job on it. > > > > Rather than giving the link, here is how to find it. It is sold in paper > form on Amazon, and also is available as a .pdf for free (lacking 3 > chapters, not related to the python filter). > > > > paraview.org/ Resources/ ParaView Guide. This includes the link to the > .pdf. You are interested in (at least) chapter 13. It is listed under > master section II, Reference Manual. > > > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Dennis > Conklin > *Sent:* Tuesday, April 28, 2015 11:11 AM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Idiot's Guide to Programmable Filter > > > > All, > > > > I?m a little confused by what objects are inside a programmable filter. > I have a multi-block EXODUS dataset. When I read this in it is a > Exodus2Reader object (sp?) and I can access the blocks, pointdata, > celldata, etc in a python script. > > > > Once I get inside the Programmable filter, the blocks of the input[] seem > to have different member functions than they did in a Python script. So I > can?t figure out how to get connectivity, number of cells in a block, > generate new cell variables, etc. > > > > So, if I?m in a Programmable Filter, what object do I look at in either > the Paraview or VTK class libraries to understand what the properties of > the block are? > > > > Thanks very much for any insight you can give. > > > > Dennis > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.c.becker at nasa.gov Thu Apr 30 13:00:51 2015 From: jeffrey.c.becker at nasa.gov (Jeff Becker) Date: Thu, 30 Apr 2015 10:00:51 -0700 Subject: [Paraview] What vtk file formats may be volume rendered? Message-ID: <55425FC3.8050708@nasa.gov> I have a binary data set on an irregular (non-evenly spaced) rectangular grid, that I read into a numpy array and then convert via pyevtk to vtk. Besides unstructured grid format, do any others allow the Volume (Render) option to be available in the representation pulldown in ParaView? I tried .vtr format and that didn't work. Thanks. -jeff From dave.demarle at kitware.com Thu Apr 30 14:09:28 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 30 Apr 2015 14:09:28 -0400 Subject: [Paraview] What vtk file formats may be volume rendered? In-Reply-To: <55425FC3.8050708@nasa.gov> References: <55425FC3.8050708@nasa.gov> Message-ID: rectilinear grid (vtr), structured grid (vts), and polydata (vtp) can not unstructured grid (vtu) and image data (vti) can hope that helps David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Apr 30, 2015 at 1:00 PM, Jeff Becker wrote: > I have a binary data set on an irregular (non-evenly spaced) rectangular > grid, that I read into a numpy array and then convert via pyevtk to vtk. > Besides unstructured grid format, do any others allow the Volume (Render) > option to be available in the representation pulldown in ParaView? I tried > .vtr format and that didn't work. Thanks. > > -jeff > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Thu Apr 30 14:29:38 2015 From: u.utku.turuncoglu at be.itu.edu.tr (u.utku.turuncoglu at be.itu.edu.tr) Date: Thu, 30 Apr 2015 21:29:38 +0300 (EEST) Subject: [Paraview] Any suggestion for work environment to run Catalyst examples ??? In-Reply-To: References: <55422C4C.3050601@be.itu.edu.tr> Message-ID: <59403.88.235.39.115.1430418578.squirrel@webmail.be.itu.edu.tr> Hi Andy, Thanks for your kindly help. I am little bit desperate about testing Catalyst and i could not find detailed documentation about it. If i run it without any error, i will share my experience along with step by step guide as a reference for everyone. Anyway, as i told before, i testes two different system (MacOS and Centos) to make it run but i failed. As you suggest, i run the pvserver in parallel mode (under Centos) using following command, mpirun -np 2 pvserver --server-port=22222 and i opened Paraview (installed from source) and tried to connect to the server. In this case, i am getting following error in server ERROR: In /opt/progs/paraview-4.3.1/src/VTK/Common/System/vtkSocket.cxx, line 572 vtkClientSocket (0x2ee2d90): Socket error in call to send. Broken pipe. -------------------------------------------------------------------------- mpirun noticed that process rank 0 with PID 4557 on node epsilon-lnx exited on signal 11 (Segmentation fault). -------------------------------------------------------------------------- If i use prebuild version of Paraview, i could connect to server without any error. Then, i also use Catalyst menu to connect to the server too. After that i run the example code as follows, mpirun -np 2 ./CFullExample2 SampleScripts/feslicescript.py in this case, i modified the SampleScripts/feslicescript.py Python script coprocessor.EnableLiveVisualization(True, 1) to enable live visualization and i also change the port from 11111 to 22222. The server gives following error as before and exit ERROR: In /opt/progs/paraview-4.3.1/src/VTK/Common/System/vtkSocket.cxx, line 572 vtkClientSocket (0x26acd90): Socket error in call to send. Broken pipe. but code is working and produce the output. Do you have any idea what is going on there? I am open to any suggestion. Regards, --ufuk > Hi, > > It's tough to diagnose what's going on with the Catalyst examples. Can you > try running pvbatch or pvserver in parallel? My guess is that could be the > issue. Another possibility is confusion between header files. I don't > regularly build on Macs so I don't have much experience there. I do know > that the Catalyst examples are built on several architectures for testing. > I hope to get a dashboard up in the near future to test this out better. > > Regards, > Andy > > > > On Thu, Apr 30, 2015 at 9:21 AM, Ufuk Utku Turuncoglu (BE) < > u.utku.turuncoglu at be.itu.edu.tr> wrote: > >> Hi, >> >> I would like to run Catalyst examples but i failed in following >> attempts: >> >> *1 - MacOS 10.10.2 + **Enthought **Canopy_64bit 1.4.1.1995 + OpenMPI** >> 1.8.4 + Paraview 4.3.1 source* >> >> When i trying to install Paraview 4.3.1, i am getting error related with >> qsqlite library after compiling %99 of the source. There are some >> discussion in the net but it does not solve the problem. >> >> *2 - Centos 7.0 + output of package Python 2.7.5 + OpenMPI **1.8.4 + >> **Paraview >> 4.3.1 (installed under VirtualBox)* >> >> It gives following error when i try to run the Catalyst examples. In >> this >> case, both Paraview and Catalyst examples are compiled without any >> problem >> >> ERROR: In >> /opt/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, >> line 812 >> vtkSocketCommunicator (0x13a6090): Could not receive tag. 1 >> >> when i try to use pre-compiled Paraview, then i am getting following >> error. >> >> ERROR: In >> /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/System/vtkSocket.cxx, >> line 572 >> vtkClientSocket (0x1deeb20): Socket error in call to send. Broken pipe. >> >> At this point, i just wonder about the details of work environment that >> runs Catalyst examples (found in Git repository) without any problem. >> Which >> operating system (Fedora, Ubuntu etc.) and version can be used? Which >> Python and Paraview version? Any particular library that will be used in >> the installation? Any success about running Catalyst examples? I just >> want to reproduce the results of the examples and first, i need to setup >> environment for it. Please let me know your experience about it. At this >> stage (with current documentation and information), it is impossible to >> not >> run the examples. >> >> Best Regard, >> >> --ufuk >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >