From chrisneal at snumerics.com Mon Aug 1 12:18:45 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Mon, 01 Aug 2016 12:18:45 -0400 Subject: [Paraview] Profiling Paraview Message-ID: <9F2B762E-788D-423D-8613-A57616FD82EB@snumerics.com> Hello, For several months now I have had a serious issue with a Paraview Python script causing an enormous slowdown in the performance of Paraview as it executes. I have tried the old-fashioned method of peppering timing statements everywhere in the python script, but it is very tedious and hasn?t led me to the source of the issue. I was wondering if anyone has any suggestions for how to run a Paraview python script through a more advanced software profiler i.e. has anyone profiled the performance of Paraview as it executes a python script? And if so, what tools did you use? Thank you, Chris Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane at fujielectric.com Mon Aug 1 19:46:34 2016 From: stephane at fujielectric.com (=?UTF-8?B?c3RlcGhhbmXjg7Pjg4njg7PjgrAg44Oh44OV44Kh44ON?=) Date: Tue, 2 Aug 2016 08:46:34 +0900 Subject: [Paraview] Mass flow average In-Reply-To: References: Message-ID: Thank you! It worked perfectly!!! Stephane On Fri, Jul 29, 2016 at 9:08 PM, Andrew wrote: > Hello. AFAIK, there is no any elementary filter to do it. I usually create > a Density*Velocity and Density*Velocity*Scalar variables in Calculators and > then apply an Integrate variable filter. It integrates by area so I get > Rho*W*dF and Rho*W*Scalar*dF integrals. Dividing second by first I get mass > flow average of Scalar. Velocity must be a normal to control surface > component. > On Jul 29, 2016 13:08, "stephane???? ????" > wrote: > >> Hello, >> >> I would like to compute the massflow average of a scalar in paraview >> using the available filters. Any idea on the procedure is welcome. >> >> Stephane >> >> _______________________________________________ >> 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 Axel.Gerstenberger at Rolls-Royce.com Tue Aug 2 02:58:12 2016 From: Axel.Gerstenberger at Rolls-Royce.com (Gerstenberger, Axel) Date: Tue, 2 Aug 2016 06:58:12 +0000 Subject: [Paraview] Profiling Paraview In-Reply-To: <9F2B762E-788D-423D-8613-A57616FD82EB@snumerics.com> References: <9F2B762E-788D-423D-8613-A57616FD82EB@snumerics.com> Message-ID: <7BA6875C23078842B4E4B47B0D95450D91FFFCD6@GBDOXPR-MBX002.Rolls-Royce.Local> Hi Chris, I am using valgrind & callgrind and visualize with kcachegrind and use the RelWithDebInfo for cmake as a compromise for speed of execution and useful output. I have a bash script valgrind_callgrind in my PATH with: #!/bin/bash valgrind -v --numcallers=50 --trace-children=yes --tool=callgrind --collect-jumps=yes --dump-instr=yes --dump-line=yes --collect-systime=yes ?$@? and call that like valgrind_callgrind ./paraview or valgrind_callgrind script.py. You?ll get several callgrind.out.xxxxx for each process started. You can also profile Paraview python code and parallel runs, if you start pvserver with above command. kcachegrind is then used to look at each of these files. Callgrind execution is quite slow, but it helped me a lot. Cheers, Axel From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Christopher Neal Sent: Monday, August 01, 2016 6:19 PM To: paraview at paraview.org Subject: [Paraview] Profiling Paraview Hello, For several months now I have had a serious issue with a Paraview Python script causing an enormous slowdown in the performance of Paraview as it executes. I have tried the old-fashioned method of peppering timing statements everywhere in the python script, but it is very tedious and hasn?t led me to the source of the issue. I was wondering if anyone has any suggestions for how to run a Paraview python script through a more advanced software profiler i.e. has anyone profiled the performance of Paraview as it executes a python script? And if so, what tools did you use? Thank you, Chris Neal Rolls-Royce Deutschland Ltd & Co KG Sitz/Registered Office: Blankenfelde-Mahlow, Deutschland, Registergericht/Court of Register: Amtsgericht Potsdam, HRA 2731 P, Pers?nlich haftende Gesellschafterin/General Partner: Rolls-Royce General Partner Limited, Sitz/Registered Office: Derby, United Kingdom, Register: Registry of Companies Wales and England, 4066556, Directors/Gesch?ftsf?hrer: Paul O?Neil, Alastair McIntosh, Nicole Fehr, Dr. Holger Cartsburg Confidentiality Notice: This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. The data contained in, or attached to, this e-mail, may contain confidential information. If you have received it in error you should notify the sender immediately by reply e-mail, delete the message from your system and contact +44 (0) 3301235850 (Security Operations Centre) if you need assistance. Please do not copy it for any purpose, or disclose its contents to any other person. An e-mail response to this address may be subject to interception or monitoring for operational reasons or for lawful business practices. (c) 2016 Rolls-Royce plc Registered office: 62 Buckingham Gate, London SW1E 6AT Company number: 1003142. Registered in England. -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Deij at marin.nl Tue Aug 2 04:10:04 2016 From: M.Deij at marin.nl (Deij-van Rijswijk, Menno) Date: Tue, 2 Aug 2016 08:10:04 +0000 Subject: [Paraview] VTK 7.1 and co-processing Message-ID: <45a32035c76c490381910fa709cca79b@MAR190n2.marin.local> Hi, Recently I started upgrading our co-processing code to the latest paraview/VTK version. After having to modify our mapped data array classes to support the new *TypedTuple API, I run into the problem that these mapped data arrays are read-only. In the past this was no problem, but now I get errors because the pipeline tries to modify the read-only data arrays. Parts of the stack-trace include this: /libvtkCommonDataModel-pv5.1.so.1 : vtkDataSetAttributes::InternalCopyAllocate(vtkDataSetAttributes*, int, long long, long long, int)+0x1d2 /libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::UnstructuredGridExecute(vtkDataSet*, vtkPolyData*)+0x4b7 /libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)+0x107 And this /lib/libvtkCommonDataModel-pv5.1.so.1 : vtkDataSetAttributes::CopyData(vtkDataSetAttributes*, long long, long long)+0x6a /lib/libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::UnstructuredGridExecute(vtkDataSet*, vtkPolyData*)+0x173f /lib/libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)+0x107 I could really use some guidance on how to modify our co-processing code to make use of the new paraview/VTK version and API. I have to say I am somewhat surprised to see this go wrong all of a sudden. Thanks and best wishes, Menno Deij ? van Rijswijk dr. ir. Menno A. Deij-van Rijswijk | Researcher / Software Engineer | Maritime Simulation & Software Group MARIN | T +31 317 49 35 06 | mailto:M.Deij at marin.nl | http://www.marin.nl MARIN news: http://www.marin.nl/web/News/News-items/MARIN-Report-118-Renewable-energy-and-sustainable-ships.htm From M.Deij at marin.nl Tue Aug 2 06:42:27 2016 From: M.Deij at marin.nl (Deij-van Rijswijk, Menno) Date: Tue, 2 Aug 2016 10:42:27 +0000 Subject: [Paraview] VTK 7.1 and co-processing In-Reply-To: <45a32035c76c490381910fa709cca79b@MAR190n2.marin.local> References: <45a32035c76c490381910fa709cca79b@MAR190n2.marin.local> Message-ID: <433ebe1dfa3b4dd79a8cd0a79de12e09@MAR190n2.marin.local> For what it's worth, the problem was caused by the (in this case ill-advised) new use of vtkTemplateTypeMacro, instead of using vtkTypeTemplate<>. It appears that for classes that inherit from vtkMappedDataArray you need to use this template class MyMapped : public vtkMappedDataArray { vtkAbstractTemplateTypeMacro(MyMapped, vtkMappedDataArray); // don't use vtkTemplateTypeMacro vtkMappedDataArrayNewInstanceMacro(MyMapped); } Best wishes, Menno Deij - van Rijswijk dr. ir. Menno A. Deij-van Rijswijk | Researcher / Software Engineer | Maritime Simulation & Software Group MARIN | T +31 317 49 35 06 | mailto:M.Deij at marin.nl | http://www.marin.nl MARIN news: http://www.marin.nl/web/News/News-items/Joint-Industry-Project-LifeLine-kicks-off.htm -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Deij-van Rijswijk, Menno Sent: Tuesday, August 02, 2016 10:10 AM To: paraview at paraview.org Subject: [Paraview] VTK 7.1 and co-processing Hi, Recently I started upgrading our co-processing code to the latest paraview/VTK version. After having to modify our mapped data array classes to support the new *TypedTuple API, I run into the problem that these mapped data arrays are read-only. In the past this was no problem, but now I get errors because the pipeline tries to modify the read-only data arrays. Parts of the stack-trace include this: /libvtkCommonDataModel-pv5.1.so.1 : vtkDataSetAttributes::InternalCopyAllocate(vtkDataSetAttributes*, int, long long, long long, int)+0x1d2 /libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::UnstructuredGridExecute(vtkDataSet*, vtkPolyData*)+0x4b7 /libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)+0x107 And this /lib/libvtkCommonDataModel-pv5.1.so.1 : vtkDataSetAttributes::CopyData(vtkDataSetAttributes*, long long, long long)+0x6a /lib/libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::UnstructuredGridExecute(vtkDataSet*, vtkPolyData*)+0x173f /lib/libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)+0x107 I could really use some guidance on how to modify our co-processing code to make use of the new paraview/VTK version and API. I have to say I am somewhat surprised to see this go wrong all of a sudden. Thanks and best wishes, Menno Deij ? van Rijswijk dr. ir. Menno A. Deij-van Rijswijk | Researcher / Software Engineer | Maritime Simulation & Software Group MARIN | T +31 317 49 35 06 | mailto:M.Deij at marin.nl | http://www.marin.nl MARIN news: http://www.marin.nl/web/News/News-items/MARIN-Report-118-Renewable-energy-and-sustainable-ships.htm _______________________________________________ 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 corinnareuter75 at gmail.com Tue Aug 2 10:55:34 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Tue, 2 Aug 2016 16:55:34 +0200 Subject: [Paraview] custom filter doesn't update property in the Paraview UI In-Reply-To: References: Message-ID: Dear Cory, dear all, sorry for not getting back to this topic earlier. Your solution works perfectly for the described problem. When I create e.g. a SphereSource and attach the TestProperty filter with its NPoints property, this property is initialized with the correct number of points in the sphere. However, I have another requirement which is that the property should also be updated, when the input changes. I thought the same mechanism for initializing the property would also take care of updating the property upon modified input. If I modify the SphereSource from above by changing the ThetaResolution or PhiResolution, then vtkTestProperty::RequestInformation is called as expected, and the included print statements show the new number of points, but the NPoints property won't reflect this new value. Do you know of another short trick, how to fix this? You mentioned that you found the need for a domain element in the ParaView source code. Where exactly? If I understand what prevented the property initialization, I might be able to find out what prevents the update. The complete filter sources, updated to include your corrections, are attached. Thank you Corinna On Fri, Jul 15, 2016 at 6:02 PM, Cory Quammen wrote: > Corinna, > > Looking at the ParaView source code, I believe that vector properties > with information properties must have a domain associated with them. > In your case, you can add an IntRangeDomain with only a minimum > defined: > > command="SetNPoints" > information_property="NPointsInfo" > number_of_elements="1" > default_values="42"> > > > > 0 seems like a reasonable minimum in your case. > > Keep your information_only property as it is. You'll need to change > where your NPoints is set, though - moving this to the > RequestInformation() member function should work. > > Cory > > > On Fri, Jul 15, 2016 at 3:46 AM, corinna reuter > wrote: > > Cory, thanks for mentioning the TIFFReader proxy. I tried to modify my > > previously attached code such that the NPoints property links to a > > NPointsInfo property. Plus, I have removed the call > > "this->SetNPoints(nset);" inside vtkTestProperty::RequestData as > suggested > > by Utkarsh. The NPoints property is still showing the default "42", > though, > > and not initialized or updated from the number of points of the input > > dataset. I am obviously missing another important step in addition to > > changing the xml definitions, but which one? > > > > Here is the detailed modification of TestProperty.xml compared to the > > earlier attachment: > > replace > > " > command="SetNPoints" > > number_of_elements="1" > > default_values="42"> > > " > > with: > > " > command="SetNPoints" > > information_property="NPointsInfo" > > number_of_elements="1" > > default_values="42"> > > > > > command="GetNPoints" > > information_only="1"> > > > > " > > > > Thank you > > Corinna > > > > > > On Thu, Jul 14, 2016 at 5:24 PM, Cory Quammen > > wrote: > >> > >> Corinna, > >> > >> Take a look at the TIFFReader SourceProxy in > >> ParaViewCore/ServerManager/SMApplication/Resources/readers.xml. It has > >> a CustomDataSpacing property that enables you to set voxel spacing, > >> and has an associated information property CustomDataSpacingInfo that > >> should initially populate the spacing property when the reader is > >> created. > >> > >> HTH, > >> Cory > >> > >> On Thu, Jul 14, 2016 at 11:17 AM, Utkarsh Ayachit > >> wrote: > >> >> I'll check the meaning of MTime. > >> > > >> > See the implementation of vtkSetMacro() in vtkSetGet.h. Every time the > >> > value changes, it call this->Modified() which updates the MTime. Since > >> > VTK is a demand-driven pipeline, changes to MTime is what tells the > >> > pipeline that the algorithm has been modified and needs reexecution. > >> > If one modifies the MTime in RequestData() (the method called by the > >> > pipeline to process the input to produce output), the pipeline thinks > >> > the filter is always dirty and that can cause unexpected side effects. > >> > > >> > > >> >> I'd need something similar to an image resize filter. The output size > >> >> should > >> >> be identical to the input size, when the filter is first attached to > >> >> the > >> >> input. The output size should be shown in the UI and the user should > be > >> >> able > >> >> to enter a different output size. > >> > > >> > This is possible. Let me see if I can find you a simple example for > >> > the same. I'll get back to 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 > >> > >> > >> > >> -- > >> 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: TestProperty.new.tgz Type: application/x-gzip Size: 2720 bytes Desc: not available URL: From berk.geveci at kitware.com Tue Aug 2 11:35:31 2016 From: berk.geveci at kitware.com (Berk Geveci) Date: Tue, 2 Aug 2016 11:35:31 -0400 Subject: [Paraview] Deadline Extended: SC16 Visualization Showcase submission deadline - August 15, 2016 Message-ID: Due to multiple requests, we have extended the deadline to August 15, 2016Visualization Showcase ------------------------------ Important Dates: February 16, 2016: *Submissions open* August 15, 2016: *Submissions deadline* September 1, 2016: *Notifications sent* ------------------------------ *A new format for 2016!* SC16?s Visualization and Data Analytics Showcase Program provides a forum for the year?s most instrumental movies in HPC. This year, there will be both a live display throughout the conference so that attendees can experience and enjoy the latest in science and engineering HPC results expressed through state-of-the-art visualization technologies, and a session at SC16 dedicated to the best of the submissions. Selected entries will be displayed live in a museum/art gallery format and six finalists will compete for the Best Visualization Award, with each finalist presenting his or her movie in a 15-minute presentation. Movies are judged based on how their movie illuminates science, by the quality of the movie, and for innovations in the process used for creating the movie. The six finalist submissions will appear as short papers on the SC16 webpage and archive. *Review and selection process:* Submissions need to include a movie (up to 250MB in size) and a short paper (up to 4 pages including references). The short paper should describe the scientific story conveyed by the movie, how the visualization helps scientific discovery, and the ?state-of-the-practice? information ( ieeevis.org)information behind making the movie. Each submission will be peer reviewed by the Visualization and Data Analytics Showcase Committee. Criteria for review include: - How effective is the visual communication of the data? - How relevant to the HPC community is the visualization? - What is the impact of the science story and how well is it told? - What visualization techniques were necessary to create the movie? Finally, submissions should support SC16?s overall theme ?HPC matters.? http://sc16.supercomputing.org/submitters/showcases/scientific-visualization-showcase/ *Web Submissions:* https://submissions.supercomputing.org/ *Email Contact:* vis_showcase at info.supercomputing.org SC16 Visualization Showcase Chair Chris Johnson, University of Utah SC16 Visualization Showcase Vice Chair Kristin Potter, University of Oregon -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Aug 2 11:42:50 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 2 Aug 2016 11:42:50 -0400 Subject: [Paraview] Deadline Extended: ISAV2016: Call for Participation -- August 22, 2016 Message-ID: ** Paper deadline extended to Aug 22, 2016 *** ----------------------------------------------------------------- Call for Participation: ISAV 2016 ========================= ISAV2016: In Situ Infrastructures for Enabling Extreme-Scale Analysis and Visualization In cooperation with SIGHPC and held in conjunction with SC16: The International Conference on High Performance Computing, Networking, Storage and Analysis, Salt Lake City, Utah, U.S.A. Full-day Sunday November 13th, 2016 ISAV 2016 Web Site: http://vis.lbl.gov/Events/ISAV-2016/ Workshop Theme ------------------------ The considerable interest in the HPC community regarding in situ analysis and visualization is due to several factors. First is an I/O cost savings, where data is analyzed/visualized while being generated, without first storing to a file system. Second is the potential for increased accuracy, where fine temporal sampling of transient analysis might expose some complex behavior missed in coarse temporal sampling. Third is the ability to use all available resources, CPU?s and accelerators, in the computation of analysis products. The workshop brings together researchers, developers and practitioners from industry, academia, and government laboratories developing, applying, and deploying in situ methods in extreme-scale, high performance computing. The goal is to present research findings, lessons learned, and insights related to developing and applying in situ methods and infrastructure across a range of science and engineering applications in HPC environments; to discuss topics like opportunities presented by new architectures, existing infrastructure needs, requirements, and gaps, and experiences to foster and enable in situ analysis and visualization; to serve as a ?center of gravity? for researchers, practitioners, and users/consumers of in situ methods and infrastructure in the HPC space. Participation/Call for Papers and Oral Presentations --------------------------------------------------------------------- We invite two types of submissions to ISAV 2016: (1) short, 4-page papers that present research results, that identify opportunities or challenges, and that present case studies/best practices for in situ methods/infrastructure in the areas of data management, analysis and visualization; (2) lightning presentation submission, consisting of a 1- or 2-page submission, for a brief oral presentation at the workshop. Short papers will appear in the workshop proceedings and will be invited to give an oral presentation of 15 to 20 minutes; lightning round submissions that are invited to present at the workshop will have author names and titles included as part of the proceedings. Submissions of both types are welcome that fall within one or more areas of interest, as follows: Areas of interest for ISAV, include, but are not limited to: In situ infrastructures * Current Systems: production quality, research prototypes * Opportunities * Gaps System resources, hardware, and emerging architectures * Enabling Hardware * Hardware and architectures that provide opportunities for In situ processing, such as burst buffers, staging computations on I/O nodes, sharing cores within a node for both simulation and in situ processing Methods/algorithms/applications/Case studies * Best practices * Analysis: feature detection, statistical methods, temporal methods, geometric methods * Visualization: information visualization, scientific visualization, time- varying methods * Data reduction/compression * Examples/case studies of solving a specific science challenge with in situ methods/infrastructure. Simulation * Integration:data modeling, software-engineering * Resilience: error detection, fault recovery * Workflows for supporting complex in situ processing pipelines Requirements * Preserve important elements * Significantly reduce the data size * Flexibility for post-processing exploration Review Process ---------------------- All submissions will undergo a peer-review process consisting of three reviews by experts in the field, and evaluated according to relevance to the workshop theme, technical soundness, creativity, originality, and impactfulness of method/results. Lightning round submissions will be evaluated primarily for relevance to the workshop. Submission Process ---------------------------- Authors are invited to submit papers of at most 4 pages in PDF format, excluding references, and lightning presentations of at most 2 pages in PDF format, excluding references. Papers should be formatted in the ACM Proceedings Style (templates available at https://www.acm.org/publications/proceedings-template) and submitted via EasyChair (https://easychair.org/conferences/?conf=isav2016). No changes to the margins, spacing, or font sizes as specified by the style file are allowed. Papers must be self-contained and provide the technical substance required for the program committee to evaluate their contributions. Submitted papers must be original work that has not appeared in and is not under consideration for another conference or a journal. See the ACM Prior Publication Policy for more details. Papers can be submitted at https://easychair.org/conferences/?conf=isav2016. Publication in proceedings, presentation at the workshop --------------------------------------------------------------------------- All paper submissions that receive favorable reviews will be included as part of the workshop proceedings, which will be published through SIGHPC along with other SC16 workshop proceedings in the ACM Digital Library and IEEE Xplore. Lightning round submissions will not be included as part of the proceedings. Subject to the constraints of workshop length, some subset of the accepted publications will be invited to give a brief oral presentation at the workshop. The exact number of such presentations and their length will be determined after the review process has been completed. Timeline/Important Dates ----------------------------------- 22 August 2016 Paper submission deadline 15 September 2016 Author notification 30 September 2016 Camera ready copy due 15 October 2016 Final program posted to ISAV web page 13 November 2016 ISAV 2016 workshop at SC16 From dave.demarle at kitware.com Tue Aug 2 11:54:46 2016 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 2 Aug 2016 11:54:46 -0400 Subject: [Paraview] Please nominate ParaView for for the 2016 HPCwire Readers' Choice Awards Message-ID: We would like to thank everyone who contributed to version 5.1.2 of ParaView. To acknowledge the growth of ParaView, please join us in nominating the fruit of our combined efforts for a 2016 HPCwire Readers? Award in the ?Best HPC Visualization Product or Technology? category. Nominations can be made at http://www.hpcwire.com/2015-hpcwire-readers-choice-awards. Thank you for your support! For reference, here are some recent updates made to ParaView: - Enabled ray tracing through OSPRay - Added ?Point Interpolation? filters - Introduced the capability to render picture-in-picture visualizations - Launched a welcome screen with a link to ?ParaView Getting Started Guide? - Improved ParaView Catalyst and Cinema for In-Situ processing at extreme scales David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.jackson at bluequartz.net Tue Aug 2 13:38:30 2016 From: mike.jackson at bluequartz.net (Michael Jackson) Date: Tue, 02 Aug 2016 13:38:30 -0400 Subject: [Paraview] Xdmf Reader always asks for version 2 or Version 3 Message-ID: <57A0DA96.3060409@bluequartz.net> When we load our XDMF files ParaView will always ask which version of the XDMF reader to use: 2 or 3? Is there something we can put in our XDMF file that is used by ParaView to make this choice for us? Thanks -- Michael A. Jackson BlueQuartz Software, LLC [e]: mike.jackson at bluequartz.net From dave.demarle at kitware.com Tue Aug 2 13:46:37 2016 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 2 Aug 2016 13:46:37 -0400 Subject: [Paraview] Xdmf Reader always asks for version 2 or Version 3 In-Reply-To: <57A0DA96.3060409@bluequartz.net> References: <57A0DA96.3060409@bluequartz.net> Message-ID: Sorry not without hacking a bit. Thoughts about how to go about it: You can configure a ParaView build to have just one or the other, in which case the choice goes away. Change the .xdmf file extension to something like .xdmf2 or .xdmf3 and then register the extension to just one of the readers. Extend vtkXdmf*Reader::CanReadFile to check for some version attribute near the top of the file and return no if the file is meant for the other reader. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Aug 2, 2016 at 1:38 PM, Michael Jackson wrote: > When we load our XDMF files ParaView will always ask which version of the > XDMF reader to use: 2 or 3? Is there something we can put in our XDMF file > that is used by ParaView to make this choice for us? > > Thanks > > -- > Michael A. Jackson > BlueQuartz Software, LLC > [e]: mike.jackson at bluequartz.net > _______________________________________________ > 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 bflandard at gmail.com Tue Aug 2 14:00:30 2016 From: bflandard at gmail.com (Bob Flandard) Date: Tue, 2 Aug 2016 19:00:30 +0100 Subject: [Paraview] Hover Point bug with multiblock dataset Message-ID: Hello, Please see attached state file that demonstrates possible bug when using Hover Points to query data on a mesh. Sweep the cursor over the top plane (with Hover Points On) and points from both planes are highlighted and the data is randomly shown for either plane. I'm using Paraview 5.1 on Windows 7 64bit. Sorry if this isn't the place for such posts. I haven't been here for a while. Thanks, Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Hover Points multiblock bug.pvsm Type: application/octet-stream Size: 227451 bytes Desc: not available URL: From chrisneal at snumerics.com Tue Aug 2 13:22:46 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Tue, 02 Aug 2016 13:22:46 -0400 Subject: [Paraview] Profiling Paraview Message-ID: Thank you Axel! If I wanted to run the script through pvpython would I structure the command to be: valgrind_callgrind pvpython script.py? Thank you, Chris Neal From: ParaView on behalf of "Gerstenberger, Axel" Date: Tuesday, August 2, 2016 at 2:58 AM To: "paraview at paraview.org" Subject: Re: [Paraview] Profiling Paraview Hi Chris, I am using valgrind & callgrind and visualize with kcachegrind and use the RelWithDebInfo for cmake as a compromise for speed of execution and useful output. I have a bash script valgrind_callgrind in my PATH with: #!/bin/bash valgrind -v --numcallers=50 --trace-children=yes --tool=callgrind --collect-jumps=yes --dump-instr=yes --dump-line=yes --collect-systime=yes ?$@? and call that like valgrind_callgrind ./paraview or valgrind_callgrind script.py. You?ll get several callgrind.out.xxxxx for each process started. You can also profile Paraview python code and parallel runs, if you start pvserver with above command. kcachegrind is then used to look at each of these files. Callgrind execution is quite slow, but it helped me a lot. Cheers, Axel From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Christopher Neal Sent: Monday, August 01, 2016 6:19 PM To: paraview at paraview.org Subject: [Paraview] Profiling Paraview Hello, For several months now I have had a serious issue with a Paraview Python script causing an enormous slowdown in the performance of Paraview as it executes. I have tried the old-fashioned method of peppering timing statements everywhere in the python script, but it is very tedious and hasn?t led me to the source of the issue. I was wondering if anyone has any suggestions for how to run a Paraview python script through a more advanced software profiler i.e. has anyone profiled the performance of Paraview as it executes a python script? And if so, what tools did you use? Thank you, Chris Neal Rolls-Royce Deutschland Ltd & Co KG Sitz/Registered Office: Blankenfelde-Mahlow, Deutschland, Registergericht/Court of Register: Amtsgericht Potsdam, HRA 2731 P, Pers?nlich haftende Gesellschafterin/General Partner: Rolls-Royce General Partner Limited, Sitz/Registered Office: Derby, United Kingdom, Register: Registry of Companies Wales and England, 4066556, Directors/Gesch?ftsf?hrer: Paul O?Neil, Alastair McIntosh, Nicole Fehr, Dr. Holger Cartsburg Confidentiality Notice: This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. The data contained in, or attached to, this e-mail, may contain confidential information. If you have received it in error you should notify the sender immediately by reply e-mail, delete the message from your system and contact +44 (0) 3301235850 (Security Operations Centre) if you need assistance. Please do not copy it for any purpose, or disclose its contents to any other person. An e-mail response to this address may be subject to interception or monitoring for operational reasons or for lawful business practices. (c) 2016 Rolls-Royce plc Registered office: 62 Buckingham Gate, London SW1E 6AT Company number: 1003142. Registered in England. _______________________________________________ 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 chrisneal at snumerics.com Tue Aug 2 16:22:12 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Tue, 02 Aug 2016 16:22:12 -0400 Subject: [Paraview] Procedure for compiling Catalyst In-Reply-To: <61199131-2DC3-4DC5-B246-92E772F844C3@kitware.com> References: <3E6F7B47-F56B-4133-9408-0A7D60F62EA5@snumerics.com> <6F9C611E-06E6-4BC5-8E0F-2E91447DA1C0@snumerics.com> <744FEAD3-7AA5-4894-BBF9-A8487240CE91@kitware.com> <6BFCF0BB-4493-40AA-9BBD-86672D0166E7@kitware.com> <61199131-2DC3-4DC5-B246-92E772F844C3@kitware.com> Message-ID: <2CE747C7-A0AD-45C0-A4D6-966F08B3B9E2@snumerics.com> Hi T.J. I?m having trouble finding the ?include? directory in both the ParaView source as well as the build directory. I used the command below, which was modeled after your suggestion in the quoted email below, to see what path is given for the include directory. ParaView_build/bin/paraview-config --include --python vtkPVPythonCatalyst vtkPVServerManagerRendering vtkUtilitiesPythonInitializer The output of the command above is:? -I/home/neal/software/ParaView_build/include/paraview-5.1 The problem that I?m having is that there is no such directory in my ParaView_build directory. Is there a special CMAKE flag that I need to use in order to have an include directory added to the build directory? Thank you, Chris Neal From: "T.J. Corona" Date: Wednesday, July 27, 2016 at 12:35 PM To: Christopher Neal Cc: Andy Bauer , "paraview at paraview.org" , jeff wright Subject: Re: [Paraview] Procedure for compiling Catalyst Hi Christopher, I?m pretty sure the ?library keywords? are what ParaView refers to as ?modules?. These are defined within ParaView?s CMakeFile.txt-s as `vtk_module(###)`. If you are building a Catalyst plugin, you will probably get most of what you need by querying the vtkPVCatalyst module for its dependencies. As for the header files, I think paraview-config only gives the include directory (`paraview-config --include`). Putting this in your makefile should be sufficient for linking against ParaView. Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 On Jul 27, 2016, at 11:58 AM, Christopher Neal wrote: Thank you T.J! I think I understand what the paraview-config does(and it?s awesome). How would I know which library keywords(vtkPVPythonCatalyst, vtkUtilitiesPythonInitializer,etc) that I need to specify? Is there a list maintained somewhere of the available options? Also, your example provides the method for obtaining the library list to link to. Is there a way to get the list of header files to include with the ?I flag in a Makefile? Thank you, Chris From: "T.J. Corona" Date: Tuesday, July 26, 2016 at 3:23 PM To: Christopher Neal Cc: Adam Lyon , Andy Bauer , "paraview at paraview.org" , jeff wright Subject: Re: [Paraview] Procedure for compiling Catalyst Hi Chris, I believe that you can link against ParaView from a standard Makefile by using the `paraview-config` executable that gets built when building ParaView. An example of how to do this is something like this: ifeq "$(USE_PARAVIEW)" "true" PARAVIEW_CONFIG = $(PARAVIEW)/bin/paraview-config LIBS += $(shell $(PARAVIEW_CONFIG) --libs --python vtkPVPythonCatalyst vtkPVServerManagerRendering vtkUtilitiesPythonInitializer) -lparaview -Lparaview_catalyst/Adaptor-build -lMPASAdaptor endif I should mention, it is much easier to use CMake ;) Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 On Jul 26, 2016, at 2:51 PM, Christopher Neal wrote: Thanks T.J. Your suggestions has resolved the VTK issue. I did not know that it was a submodule. I just learned that submodules exist from this actually haha. I see that the examples for Catalyst are under the Paraview source tree. I was able to get Paraview to build with Catalyst. I compiled the examples using cmake -DCMAKE_PREFIX_PATH~/software/ParaView_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON ~/ParaView/Examples/Catalyst/ That seems to build all of the examples without throwing any errors. Now if I have a small C++ code that I have written that I want to try and link with the Catalyst headers and library files, is there a way to figure out what the command that was used to build the example cases was so that I can copy it? Reading the makefiles that are generated by cmake hasn?t been too helpful for me i.e. I can?t find the ?L and ?I sections of the compile statement that pulls the libraries and headers together. The end-game for me is to be able to write an adaptor for a simulation code to allow it to utilize the Catalyst functions. This code uses a standard make process, and so I would like to try and avoid having to re-cast the entire build process to cmake. Thank you, Chris From: "T.J. Corona" Date: Monday, July 25, 2016 at 3:45 PM To: Christopher Neal Cc: Adam Lyon , Andy Bauer , "paraview at paraview.org" Subject: Re: [Paraview] Procedure for compiling Catalyst Hi Chris, VTK is a submodule under VTK, so try the following: git clone https://github.com/Kitware/ParaView.git git submodule init git submodule update ?the rest of the build process. Hope this helps! Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 On Jul 25, 2016, at 3:43 PM, Christopher Neal wrote: Hey guys, Have you ever had an issue with cmake concerning some missing VTK files? I typed Adam?s command exactly after cloning the Paraview repo(git clone https://github.com/Kitware/ParaView.git). I made a ParaView_build directory and executed Adam?s command in the build directory. I?m seeing the error shown below. The VTK folder in the cloned source directory is completely empty. CMake Error at CMakeLists.txt:615 (include): include could not find load file: vtkModuleAPI CMake Error at CMakeLists.txt:616 (include): include could not find load file: vtkModuleMacros CMake Error at CMakeLists.txt:621 (include): include could not find load file: vtkDetermineCompilerFlags CMake Error at CMake/ParaViewModuleTop.cmake:44 (vtk_add_to_module_search_path): Unknown CMake command "vtk_add_to_module_search_path". Call Stack (most recent call first): CMakeLists.txt:652 (include) Thank you, Chris Neal From: Adam Lyon Date: Monday, July 25, 2016 at 1:50 PM To: Andy Bauer Cc: Christopher Neal , jeff wright , "paraview at paraview.org" Subject: Re: [Paraview] Procedure for compiling Catalyst Hi - I build the ParaView package with Catalyst turned on (but the ParaView GUI turned off). My cmake command is (sorry for the poor formatting, some of these options may not be useful for you)... cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF -DVTK_USE_CXX11_FEATURES:BOOL=ON -DCMAKE_INSTALL_PREFIX=/somewhere /path/to/paraview/git/source This will build ParaView, VTK, and Catalyst and install header files so you can build your code with it. -- 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! News | Facebook | Twitter On Mon, Jul 25, 2016 at 12:16 PM, Andy Bauer wrote: Hi Chris, Catalyst is not a separate entity from ParaView. It is a subset of ParaView that is used for in situ processing. The concept of the editions is that the subset of interest differs based on the desired in situ processing and linking your simulation code to all of ParaView Catalyst can take up a significant amount of memory. Hopefully the blog post at https://blog.kitware.com/paraview-catalyst-editions-what-are-they/ may clear up your confusion. Best, Andy On Mon, Jul 25, 2016 at 1:07 PM, Christopher Neal wrote: Thank you Andy, My understanding is that the Catalyst editions can be compiled separately from Paraview i.e. I do not need to have a version of Paraview compiled in order to compile a Catalyst edition. Is this correct? Thank you, Chris From: Andy Bauer Date: Friday, July 22, 2016 at 8:23 PM To: Christopher Neal Cc: "paraview at paraview.org" Subject: Re: [Paraview] Procedure for compiling Catalyst Hi Chris, You can get the Catalyst editions source code at http://www.paraview.org/download/ by just selecting Catalyst editions for Type of Download. If you're just getting started though I would recommend doing a build of ParaView without the GUI. Yes this will require learning a bit of CMake (see instructions for building ParaView at http://www.paraview.org/Wiki/ParaView:Build_And_Install) but it will likely be smoother for you for understanding Catalyst's capabilities. Also, it's much easier to link a simulation code with Catalyst through CMake than specifying all of the include directories and libraries. When you're looking for a lean build of Catalyst on an HPC machine then I'd suggest going the edition route (the editions help avoid cross-compilation issues on HPC machines too). Best, Andy On Fri, Jul 22, 2016 at 6:16 PM, Christopher Neal wrote: Hi All, I?m interesting in trying to compile Paraview Catalyst. I understand that there are ?Editions? of the Catalyst library that vary in the amount of functions that are included from the Paraview library. That?s about the extent of my knowledge about the actual source for the Catalyst library. The documentation that I have found for compiling Catalyst is a bit dated(~3 years old), and I haven?t been able to locate an up-to-date set of documents that detail the compilation procedure for building Catalyst. If I want Catalyst, must I first have a version of Paraview built from scratch on my system? The best documentation that I have found for building Paraview is (http://www.paraview.org/Wiki/ParaView:Build_And_Install#Download_ParaView_Source_Code), and I?m having trouble getting Paraview to build from the instructions(I?ve never used cmake before). Has anyone who has successfully built the Catalyst library or knows about the process lend me any tips about how I should approach building Catalyst? Thank you, Chris Neal _______________________________________________ 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 chrisneal at snumerics.com Wed Aug 3 14:55:10 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 03 Aug 2016 14:55:10 -0400 Subject: [Paraview] Procedure for compiling Catalyst In-Reply-To: References: <3E6F7B47-F56B-4133-9408-0A7D60F62EA5@snumerics.com> <6F9C611E-06E6-4BC5-8E0F-2E91447DA1C0@snumerics.com> <744FEAD3-7AA5-4894-BBF9-A8487240CE91@kitware.com> <6BFCF0BB-4493-40AA-9BBD-86672D0166E7@kitware.com> <61199131-2DC3-4DC5-B246-92E772F844C3@kitware.com> Message-ID: This was a case of ?User Error: Replace User?. I forgot to do the ?make install? step to generate the include directory /facepalm. One last issue that I am having with the compilation process for Catalyst is in the final ?make install? stage. It is trying to place the files in one of my root directories. I would like it to put the files in my Catalyst_build directory. I know how to specify the install directory from the cmake command line, but Catalyst uses a shell script to execute the cmake command. For example, I run the command shown below from within my ?Catalyst_build? directory. The argument to the cmake.sh script is the location of the source. How would I go about setting the -DCMAKE_INSTALL_PREFIX to be my ?Catalyst_build? directory? ./../Catalyst-v5.1.0-Base-Enable-Python-Essentials/cmake.sh ../Catalyst-v5.1.0-Base-Enable-Python-Essentials Thank you, Chris Neal From: Christopher Neal Date: Tuesday, August 2, 2016 at 4:22 PM To: "T.J. Corona" Cc: Andy Bauer , "paraview at paraview.org" , jeff wright Subject: Re: [Paraview] Procedure for compiling Catalyst Hi T.J. I?m having trouble finding the ?include? directory in both the ParaView source as well as the build directory. I used the command below, which was modeled after your suggestion in the quoted email below, to see what path is given for the include directory. ParaView_build/bin/paraview-config --include --python vtkPVPythonCatalyst vtkPVServerManagerRendering vtkUtilitiesPythonInitializer The output of the command above is: -I/home/neal/software/ParaView_build/include/paraview-5.1 The problem that I?m having is that there is no such directory in my ParaView_build directory. Is there a special CMAKE flag that I need to use in order to have an include directory added to the build directory? Thank you, Chris Neal From: "T.J. Corona" Date: Wednesday, July 27, 2016 at 12:35 PM To: Christopher Neal Cc: Andy Bauer , "paraview at paraview.org" , jeff wright Subject: Re: [Paraview] Procedure for compiling Catalyst Hi Christopher, I?m pretty sure the ?library keywords? are what ParaView refers to as ?modules?. These are defined within ParaView?s CMakeFile.txt-s as `vtk_module(###)`. If you are building a Catalyst plugin, you will probably get most of what you need by querying the vtkPVCatalyst module for its dependencies. As for the header files, I think paraview-config only gives the include directory (`paraview-config --include`). Putting this in your makefile should be sufficient for linking against ParaView. Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 On Jul 27, 2016, at 11:58 AM, Christopher Neal wrote: Thank you T.J! I think I understand what the paraview-config does(and it?s awesome). How would I know which library keywords(vtkPVPythonCatalyst, vtkUtilitiesPythonInitializer,etc) that I need to specify? Is there a list maintained somewhere of the available options? Also, your example provides the method for obtaining the library list to link to. Is there a way to get the list of header files to include with the ?I flag in a Makefile? Thank you, Chris From: "T.J. Corona" Date: Tuesday, July 26, 2016 at 3:23 PM To: Christopher Neal Cc: Adam Lyon , Andy Bauer , "paraview at paraview.org" , jeff wright Subject: Re: [Paraview] Procedure for compiling Catalyst Hi Chris, I believe that you can link against ParaView from a standard Makefile by using the `paraview-config` executable that gets built when building ParaView. An example of how to do this is something like this: ifeq "$(USE_PARAVIEW)" "true" PARAVIEW_CONFIG = $(PARAVIEW)/bin/paraview-config LIBS += $(shell $(PARAVIEW_CONFIG) --libs --python vtkPVPythonCatalyst vtkPVServerManagerRendering vtkUtilitiesPythonInitializer) -lparaview -Lparaview_catalyst/Adaptor-build -lMPASAdaptor endif I should mention, it is much easier to use CMake ;) Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 On Jul 26, 2016, at 2:51 PM, Christopher Neal wrote: Thanks T.J. Your suggestions has resolved the VTK issue. I did not know that it was a submodule. I just learned that submodules exist from this actually haha. I see that the examples for Catalyst are under the Paraview source tree. I was able to get Paraview to build with Catalyst. I compiled the examples using cmake -DCMAKE_PREFIX_PATH~/software/ParaView_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON ~/ParaView/Examples/Catalyst/ That seems to build all of the examples without throwing any errors. Now if I have a small C++ code that I have written that I want to try and link with the Catalyst headers and library files, is there a way to figure out what the command that was used to build the example cases was so that I can copy it? Reading the makefiles that are generated by cmake hasn?t been too helpful for me i.e. I can?t find the ?L and ?I sections of the compile statement that pulls the libraries and headers together. The end-game for me is to be able to write an adaptor for a simulation code to allow it to utilize the Catalyst functions. This code uses a standard make process, and so I would like to try and avoid having to re-cast the entire build process to cmake. Thank you, Chris From: "T.J. Corona" Date: Monday, July 25, 2016 at 3:45 PM To: Christopher Neal Cc: Adam Lyon , Andy Bauer , "paraview at paraview.org" Subject: Re: [Paraview] Procedure for compiling Catalyst Hi Chris, VTK is a submodule under VTK, so try the following: git clone https://github.com/Kitware/ParaView.git git submodule init git submodule update ?the rest of the build process. Hope this helps! Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 On Jul 25, 2016, at 3:43 PM, Christopher Neal wrote: Hey guys, Have you ever had an issue with cmake concerning some missing VTK files? I typed Adam?s command exactly after cloning the Paraview repo(git clone https://github.com/Kitware/ParaView.git). I made a ParaView_build directory and executed Adam?s command in the build directory. I?m seeing the error shown below. The VTK folder in the cloned source directory is completely empty. CMake Error at CMakeLists.txt:615 (include): include could not find load file: vtkModuleAPI CMake Error at CMakeLists.txt:616 (include): include could not find load file: vtkModuleMacros CMake Error at CMakeLists.txt:621 (include): include could not find load file: vtkDetermineCompilerFlags CMake Error at CMake/ParaViewModuleTop.cmake:44 (vtk_add_to_module_search_path): Unknown CMake command "vtk_add_to_module_search_path". Call Stack (most recent call first): CMakeLists.txt:652 (include) Thank you, Chris Neal From: Adam Lyon Date: Monday, July 25, 2016 at 1:50 PM To: Andy Bauer Cc: Christopher Neal , jeff wright , "paraview at paraview.org" Subject: Re: [Paraview] Procedure for compiling Catalyst Hi - I build the ParaView package with Catalyst turned on (but the ParaView GUI turned off). My cmake command is (sorry for the poor formatting, some of these options may not be useful for you)... cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF -DVTK_USE_CXX11_FEATURES:BOOL=ON -DCMAKE_INSTALL_PREFIX=/somewhere /path/to/paraview/git/source This will build ParaView, VTK, and Catalyst and install header files so you can build your code with it. -- 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! News | Facebook | Twitter On Mon, Jul 25, 2016 at 12:16 PM, Andy Bauer wrote: Hi Chris, Catalyst is not a separate entity from ParaView. It is a subset of ParaView that is used for in situ processing. The concept of the editions is that the subset of interest differs based on the desired in situ processing and linking your simulation code to all of ParaView Catalyst can take up a significant amount of memory. Hopefully the blog post at https://blog.kitware.com/paraview-catalyst-editions-what-are-they/ may clear up your confusion. Best, Andy On Mon, Jul 25, 2016 at 1:07 PM, Christopher Neal wrote: Thank you Andy, My understanding is that the Catalyst editions can be compiled separately from Paraview i.e. I do not need to have a version of Paraview compiled in order to compile a Catalyst edition. Is this correct? Thank you, Chris From: Andy Bauer Date: Friday, July 22, 2016 at 8:23 PM To: Christopher Neal Cc: "paraview at paraview.org" Subject: Re: [Paraview] Procedure for compiling Catalyst Hi Chris, You can get the Catalyst editions source code at http://www.paraview.org/download/ by just selecting Catalyst editions for Type of Download. If you're just getting started though I would recommend doing a build of ParaView without the GUI. Yes this will require learning a bit of CMake (see instructions for building ParaView at http://www.paraview.org/Wiki/ParaView:Build_And_Install) but it will likely be smoother for you for understanding Catalyst's capabilities. Also, it's much easier to link a simulation code with Catalyst through CMake than specifying all of the include directories and libraries. When you're looking for a lean build of Catalyst on an HPC machine then I'd suggest going the edition route (the editions help avoid cross-compilation issues on HPC machines too). Best, Andy On Fri, Jul 22, 2016 at 6:16 PM, Christopher Neal wrote: Hi All, I?m interesting in trying to compile Paraview Catalyst. I understand that there are ?Editions? of the Catalyst library that vary in the amount of functions that are included from the Paraview library. That?s about the extent of my knowledge about the actual source for the Catalyst library. The documentation that I have found for compiling Catalyst is a bit dated(~3 years old), and I haven?t been able to locate an up-to-date set of documents that detail the compilation procedure for building Catalyst. If I want Catalyst, must I first have a version of Paraview built from scratch on my system? The best documentation that I have found for building Paraview is (http://www.paraview.org/Wiki/ParaView:Build_And_Install#Download_ParaView_Source_Code), and I?m having trouble getting Paraview to build from the instructions(I?ve never used cmake before). Has anyone who has successfully built the Catalyst library or knows about the process lend me any tips about how I should approach building Catalyst? Thank you, Chris Neal _______________________________________________ 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 chrisneal at snumerics.com Wed Aug 3 16:22:04 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 03 Aug 2016 16:22:04 -0400 Subject: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' Message-ID: <7CD2E23C-EC0E-4CBF-BC6B-84C5DEA83891@snumerics.com> Hi All, I?m seeing something strange when I try to compile ParaView 5.1 from the source. I execute the following commands to compile ParaView: git clone https://github.com/Kitware/ParaView.git *Go into cloned ParaView directory* git submodule init git submodule update mkdir ParaView_build? *not inside the ParaView source directory, somewhere else* cd ParaView_build cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF -DVTK_USE_CXX11_FEATURES:BOOL=ON -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build ??/home/neal/software/ParaView (note the last 2 items are paths to the build directory and the source, respectively) make make install Everything up to ?make? looks to work just fine. Now, there is a file called ?vtkHashSource-pv5.1? that is located in the /bin directory of the ParaView build. When I type ?make install?, I get the following error: CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): ? file INSTALL cannot find ? "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/bin/vtkHashSource-pv5.1". Call Stack (most recent call first): ? VTK/cmake_install.cmake:420 (include) ? cmake_install.cmake:117 (include) Makefile:94: recipe for target 'install' failed make: *** [install] Error 1 I looked and it has moved or deleted the ?vtkHashSource-pv5.1? file that was originally in the ParaView/bin directory! I?m sure of it because I copied the file to a temp directory and it disappears every time I put it in the ParaView/bin and type ?make install?. Has anyone had this problem? Thank you, Chris Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From julio.hoffimann at gmail.com Wed Aug 3 22:53:09 2016 From: julio.hoffimann at gmail.com (=?UTF-8?Q?J=C3=BAlio_Hoffimann?=) Date: Wed, 3 Aug 2016 21:53:09 -0500 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 Message-ID: Dear all, I have a depth rendering issue that is now compromising my work on a Arch Linux laptop. This is a simple Dell XPS 13 with an integrated Intel(R) HD Graphics Skylake ULT GT2 GPU. The attached figure shows a 3D volume with incorrect depth rendering: ? Is this an issue with the graphics card driver? How can I solve it? I appreciate any guidance. Sincerely, -J?lio -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2016-08-03 21-48-26.png Type: image/png Size: 88959 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2016-08-03 21-48-26.png Type: image/png Size: 88959 bytes Desc: not available URL: From claytonfcampbell at gmail.com Thu Aug 4 00:13:41 2016 From: claytonfcampbell at gmail.com (Clayton C) Date: Wed, 3 Aug 2016 22:13:41 -0600 Subject: [Paraview] Save Animation Bug (possibly) Message-ID: I will try to make this short: -Running Paraview 5.1.0 on Windows -Layout with vertically split view port; toggled view port borders off -View port border width thickness is set to 0 pixels -Save screenshot generates an image of the layout without a border present -Save animation generates an image of the layout with a black border present where the split in the view port would have been. I'm not sure if this is intentional, but it would be great if the images generated from save screenshot and save animation were the same (without the view port border). Thanks, Clayton -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Thu Aug 4 02:48:27 2016 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Thu, 4 Aug 2016 09:48:27 +0300 Subject: [Paraview] capability of ParaView, Catalyst in distributed computing environment ... In-Reply-To: <52703.93.115.84.202.1466151462.squirrel@webmail.be.itu.edu.tr> References: <52703.93.115.84.202.1466151462.squirrel@webmail.be.itu.edu.tr> Message-ID: <36973cbc-2b54-0ab3-9e2a-a428b77f1de7@be.itu.edu.tr> Hi, After getting help from the list, i finished the initial implementation of the code but in this case i have a strange experience with Catalyst. The prototype code is working with allinputsgridwriter.py script and could write multi-piece dataset in VTK format without any problem. In this case, the code also handles four different input ports to get data in different grid structure and dimensions (2d/3d). The main problem is that if i try to use the same code to output a png file after creating iso-surface from single 3d field (141x115x14 = 227K), it is hanging. In this case, if i check the utilization of the processors (on Linux, Centos 7.1, 12064 turuncu 20 0 1232644 216400 77388 R 100.0 0.7 10:44.17 main.x 12068 turuncu 20 0 1672156 483712 70420 R 100.0 1.5 10:44.17 main.x 12069 turuncu 20 0 1660620 266716 70500 R 100.0 0.8 10:44.26 main.x 12070 turuncu 20 0 1660412 267204 71204 R 100.0 0.8 10:44.22 main.x 12071 turuncu 20 0 1659988 266644 71360 R 100.0 0.8 10:44.18 main.x 12065 turuncu 20 0 1220328 202224 77620 R 99.7 0.6 10:44.08 main.x 12066 turuncu 20 0 1220236 204696 77444 R 99.7 0.6 10:44.16 main.x 12067 turuncu 20 0 1219644 199116 77152 R 99.7 0.6 10:44.18 main.x 12078 turuncu 20 0 1704272 286924 102940 S 10.6 0.9 1:12.91 main.x 12074 turuncu 20 0 1704488 287668 103456 S 10.0 0.9 1:08.50 main.x 12072 turuncu 20 0 1704444 287488 103316 S 9.6 0.9 1:09.09 main.x 12076 turuncu 20 0 1704648 287268 102848 S 9.6 0.9 1:10.16 main.x 12073 turuncu 20 0 1704132 284128 103384 S 9.3 0.9 1:05.27 main.x 12077 turuncu 20 0 1706236 286228 103380 S 9.3 0.9 1:05.49 main.x 12079 turuncu 20 0 1699944 278800 102864 S 9.3 0.9 1:05.87 main.x 12075 turuncu 20 0 1704356 284408 103436 S 8.6 0.9 1:07.03 main.x they seems normal because the co-processing component only works on a subset of the resource (8 processor, has utilization around 99 percent). The GPU utilization (from nvidia-smi command) is +------------------------------------------------------+ | NVIDIA-SMI 352.79 Driver Version: 352.79 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 Quadro K5200 Off | 0000:42:00.0 On | Off | | 26% 42C P8 14W / 150W | 227MiB / 8191MiB | 0% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 1937 G /usr/bin/Xorg 81MiB | | 0 3817 G /usr/bin/gnome-shell 110MiB | | 0 9551 G paraview 16MiB | +-----------------------------------------------------------------------------+ So, the GPU is not overloaded in this case. I tested the code with two different version of ParaView (5.0.0 and 5.1.0). The results are same for both cases even if i create the co-processing Python scripts with same version of the ParaView that is used to compile the code. I also tried to use 2d field (141x115) but the result is also same and the code is still hanging. The different machine (MacOS+ParaView 5.0.0) works without problem. There might be a issue of Linux or installation but i am not sure and it was working before. Is there any flag or tool that allows to analyze Paraview deeply to find the source of the problem. Regards, --ufuk From roeber at dkrz.de Thu Aug 4 04:24:36 2016 From: roeber at dkrz.de (=?UTF-8?Q?Niklas_R=c3=b6ber?=) Date: Thu, 4 Aug 2016 10:24:36 +0200 Subject: [Paraview] ParaView Visualization Workshop in Hamburg, Germany ... In-Reply-To: <20160804081539.6034.49381@luv7.dkrz.de> References: <20160804081539.6034.49381@luv7.dkrz.de> Message-ID: Dear ParaView Users, in September DKRZ, the German Climate Computing Centre, hosts a visualization workshop for ParaView dedicated to the visualization and analysis of climate simulation data. If you're interested and a DKRZ user, please register, if you're not a DKRZ user and are still interested, please send me an Email. The workshop takes place in September at DKRZ in Hamburg. https://www.dkrz.de/Nutzerportal-en/workshops/paraview-workshop Cheer, Niklas -------- Forwarded Message -------- Subject: [DKRZ] ParaView Visualization Workshop - Sept. 12./13. - Registration Open Date: Thu, 04 Aug 2016 08:15:31 -0000 From: beratung+announcements at dkrz.de Reply-To: beratung+announcements at dkrz.de To: DKRZ Announcement list ParaView Visualization Workshop - Sept. 12./13. - Registration Open *affected system:* Mistral Dear users, On *Monday and Tuesday, September 12th and 13th*, the DKRZ hosts a visualization workshop dedicated to the 3D visualization software ParaView. ParaView is an open source visualization package that reads a variety of different data formats and lattices and implements the most common visualization techniques. In this two day workshop we will introduce the basics, as well as some of the more advanced features of ParaView. We'll work with rectilinear netCDF data, curvilinear MPI-OM data and ICON data sets. More information, as well as the registration, is available here: https://www.dkrz.de/Nutzerportal-en/workshops/paraview-workshop The workshop takes place at *DKRZ, Hamburg, main seminar room 034* and will be*limited to 25 seats*. Cheers, Niklas R?ber ------------------------------------------------------------------------ You have received this notification because you are subscribed to news about the system mentioned in 'affected system' above. To change your notification preferences, please click here: https://luv.dkrz.de/user/profile/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4916 bytes Desc: S/MIME Cryptographic Signature URL: From Axel.Gerstenberger at Rolls-Royce.com Thu Aug 4 06:01:55 2016 From: Axel.Gerstenberger at Rolls-Royce.com (Gerstenberger, Axel) Date: Thu, 4 Aug 2016 10:01:55 +0000 Subject: [Paraview] Profiling Paraview In-Reply-To: References: Message-ID: <7BA6875C23078842B4E4B47B0D95450D9200112B@GBDOXPR-MBX002.Rolls-Royce.Local> Hi Chris, Yes, the way you call it is what I am using (if that was a question). Likewise, for parallel runs I start pvserver with mpiexec -np 4 valgrind_callgrind pvserver and get 4 log files, one for each mpi execution. I have not tried pvbatch, but the logic should be similar. Regards, Axel From: Christopher Neal [mailto:chrisneal at snumerics.com] Sent: Tuesday, August 02, 2016 7:23 PM To: Gerstenberger, Axel; paraview at paraview.org Subject: Re: [Paraview] Profiling Paraview Thank you Axel! If I wanted to run the script through pvpython would I structure the command to be: valgrind_callgrind pvpython script.py Thank you, Chris Neal From: ParaView > on behalf of "Gerstenberger, Axel" > Date: Tuesday, August 2, 2016 at 2:58 AM To: "paraview at paraview.org" > Subject: Re: [Paraview] Profiling Paraview Hi Chris, I am using valgrind & callgrind and visualize with kcachegrind and use the RelWithDebInfo for cmake as a compromise for speed of execution and useful output. I have a bash script valgrind_callgrind in my PATH with: #!/bin/bash valgrind -v --numcallers=50 --trace-children=yes --tool=callgrind --collect-jumps=yes --dump-instr=yes --dump-line=yes --collect-systime=yes ?$@? and call that like valgrind_callgrind ./paraview or valgrind_callgrind script.py. You?ll get several callgrind.out.xxxxx for each process started. You can also profile Paraview python code and parallel runs, if you start pvserver with above command. kcachegrind is then used to look at each of these files. Callgrind execution is quite slow, but it helped me a lot. Cheers, Axel From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Christopher Neal Sent: Monday, August 01, 2016 6:19 PM To: paraview at paraview.org Subject: [Paraview] Profiling Paraview Hello, For several months now I have had a serious issue with a Paraview Python script causing an enormous slowdown in the performance of Paraview as it executes. I have tried the old-fashioned method of peppering timing statements everywhere in the python script, but it is very tedious and hasn?t led me to the source of the issue. I was wondering if anyone has any suggestions for how to run a Paraview python script through a more advanced software profiler i.e. has anyone profiled the performance of Paraview as it executes a python script? And if so, what tools did you use? Thank you, Chris Neal Rolls-Royce Deutschland Ltd & Co KG Sitz/Registered Office: Blankenfelde-Mahlow, Deutschland, Registergericht/Court of Register: Amtsgericht Potsdam, HRA 2731 P, Pers?nlich haftende Gesellschafterin/General Partner: Rolls-Royce General Partner Limited, Sitz/Registered Office: Derby, United Kingdom, Register: Registry of Companies Wales and England, 4066556, Directors/Gesch?ftsf?hrer: Paul O?Neil, Alastair McIntosh, Nicole Fehr, Dr. Holger Cartsburg Confidentiality Notice: This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. The data contained in, or attached to, this e-mail, may contain confidential information. If you have received it in error you should notify the sender immediately by reply e-mail, delete the message from your system and contact +44 (0) 3301235850 (Security Operations Centre) if you need assistance. Please do not copy it for any purpose, or disclose its contents to any other person. An e-mail response to this address may be subject to interception or monitoring for operational reasons or for lawful business practices. (c) 2016 Rolls-Royce plc Registered office: 62 Buckingham Gate, London SW1E 6AT Company number: 1003142. Registered in England. _______________________________________________ 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 Rolls-Royce Deutschland Ltd & Co KG Sitz/Registered Office: Blankenfelde-Mahlow, Deutschland, Registergericht/Court of Register: Amtsgericht Potsdam, HRA 2731 P, Pers?nlich haftende Gesellschafterin/General Partner: Rolls-Royce General Partner Limited, Sitz/Registered Office: Derby, United Kingdom, Register: Registry of Companies Wales and England, 4066556, Directors/Gesch?ftsf?hrer: Paul O?Neil, Alastair McIntosh, Nicole Fehr, Dr. Holger Cartsburg Confidentiality Notice: This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. The data contained in, or attached to, this e-mail, may contain confidential information. If you have received it in error you should notify the sender immediately by reply e-mail, delete the message from your system and contact +44 (0) 3301235850 (Security Operations Centre) if you need assistance. Please do not copy it for any purpose, or disclose its contents to any other person. An e-mail response to this address may be subject to interception or monitoring for operational reasons or for lawful business practices. (c) 2016 Rolls-Royce plc Registered office: 62 Buckingham Gate, London SW1E 6AT Company number: 1003142. Registered in England. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Thu Aug 4 09:35:05 2016 From: david.lonie at kitware.com (David Lonie) Date: Thu, 4 Aug 2016 09:35:05 -0400 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: This looks like the front faces of the surface have been culled. In the properties tab, enable advanced properties (the gear button) and locate the "Backface representation" setting. It's usually set to "Follow Frontface", but "Cull Frontface" will give results like you're seeing. Does changing this value help? On Wed, Aug 3, 2016 at 10:53 PM, J?lio Hoffimann wrote: > Dear all, > > I have a depth rendering issue that is now compromising my work on a Arch > Linux laptop. This is a simple Dell XPS 13 with an integrated Intel(R) HD > Graphics Skylake ULT GT2 GPU. > > The attached figure shows a 3D volume with incorrect depth rendering: > > > ? > Is this an issue with the graphics card driver? How can I solve it? > > I appreciate any guidance. > > Sincerely, > -J?lio > > _______________________________________________ > 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: Screenshot from 2016-08-03 21-48-26.png Type: image/png Size: 88959 bytes Desc: not available URL: From andy.bauer at kitware.com Thu Aug 4 09:37:04 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 4 Aug 2016 09:37:04 -0400 Subject: [Paraview] capability of ParaView, Catalyst in distributed computing environment ... In-Reply-To: <36973cbc-2b54-0ab3-9e2a-a428b77f1de7@be.itu.edu.tr> References: <52703.93.115.84.202.1466151462.squirrel@webmail.be.itu.edu.tr> <36973cbc-2b54-0ab3-9e2a-a428b77f1de7@be.itu.edu.tr> Message-ID: Can you share your Python script? Another thought is that your Python script was added to each process instead of the subset of processes that are supposed to do the calculation on it. For example, the Python script that is supposed to generate the image should only be added through a vtkCPPythonScriptPipeline on those 8 processes. On Thu, Aug 4, 2016 at 2:48 AM, Ufuk Utku Turuncoglu (BE) < u.utku.turuncoglu at be.itu.edu.tr> wrote: > Hi, > > After getting help from the list, i finished the initial implementation of > the code but in this case i have a strange experience with Catalyst. The > prototype code is working with allinputsgridwriter.py script and could > write multi-piece dataset in VTK format without any problem. In this case, > the code also handles four different input ports to get data in different > grid structure and dimensions (2d/3d). > > The main problem is that if i try to use the same code to output a png > file after creating iso-surface from single 3d field (141x115x14 = 227K), > it is hanging. In this case, if i check the utilization of the processors > (on Linux, Centos 7.1, > > 12064 turuncu 20 0 1232644 216400 77388 R 100.0 0.7 10:44.17 main.x > 12068 turuncu 20 0 1672156 483712 70420 R 100.0 1.5 10:44.17 main.x > 12069 turuncu 20 0 1660620 266716 70500 R 100.0 0.8 10:44.26 main.x > 12070 turuncu 20 0 1660412 267204 71204 R 100.0 0.8 10:44.22 main.x > 12071 turuncu 20 0 1659988 266644 71360 R 100.0 0.8 10:44.18 main.x > 12065 turuncu 20 0 1220328 202224 77620 R 99.7 0.6 10:44.08 main.x > 12066 turuncu 20 0 1220236 204696 77444 R 99.7 0.6 10:44.16 main.x > 12067 turuncu 20 0 1219644 199116 77152 R 99.7 0.6 10:44.18 main.x > 12078 turuncu 20 0 1704272 286924 102940 S 10.6 0.9 1:12.91 main.x > 12074 turuncu 20 0 1704488 287668 103456 S 10.0 0.9 1:08.50 main.x > 12072 turuncu 20 0 1704444 287488 103316 S 9.6 0.9 1:09.09 main.x > 12076 turuncu 20 0 1704648 287268 102848 S 9.6 0.9 1:10.16 main.x > 12073 turuncu 20 0 1704132 284128 103384 S 9.3 0.9 1:05.27 main.x > 12077 turuncu 20 0 1706236 286228 103380 S 9.3 0.9 1:05.49 main.x > 12079 turuncu 20 0 1699944 278800 102864 S 9.3 0.9 1:05.87 main.x > 12075 turuncu 20 0 1704356 284408 103436 S 8.6 0.9 1:07.03 main.x > > they seems normal because the co-processing component only works on a > subset of the resource (8 processor, has utilization around 99 percent). > The GPU utilization (from nvidia-smi command) is > > +------------------------------------------------------+ > | NVIDIA-SMI 352.79 Driver Version: 352.79 | > |-------------------------------+----------------------+---- > ------------------+ > | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. > ECC | > | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute > M. | > |===============================+======================+==== > ==================| > | 0 Quadro K5200 Off | 0000:42:00.0 On | > Off | > | 26% 42C P8 14W / 150W | 227MiB / 8191MiB | 0% Default | > +-------------------------------+----------------------+---- > ------------------+ > > +----------------------------------------------------------- > ------------------+ > | Processes: GPU Memory | > | GPU PID Type Process name Usage | > |=========================================================== > ==================| > | 0 1937 G /usr/bin/Xorg > 81MiB | > | 0 3817 G /usr/bin/gnome-shell > 110MiB | > | 0 9551 G paraview > 16MiB | > +----------------------------------------------------------- > ------------------+ > > So, the GPU is not overloaded in this case. I tested the code with two > different version of ParaView (5.0.0 and 5.1.0). The results are same for > both cases even if i create the co-processing Python scripts with same > version of the ParaView that is used to compile the code. I also tried to > use 2d field (141x115) but the result is also same and the code is still > hanging. The different machine (MacOS+ParaView 5.0.0) works without > problem. There might be a issue of Linux or installation but i am not sure > and it was working before. Is there any flag or tool that allows to analyze > Paraview deeply to find the source of the problem. > > Regards, > > --ufuk > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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 Aug 4 11:29:26 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 4 Aug 2016 11:29:26 -0400 Subject: [Paraview] Save Animation Bug (possibly) In-Reply-To: References: Message-ID: Clayton, I could not reproduce this. What was the size of the images you're saving? I wonder if that matters. Utkarsh On Thu, Aug 4, 2016 at 12:13 AM, Clayton C wrote: > I will try to make this short: > > -Running Paraview 5.1.0 on Windows > -Layout with vertically split view port; toggled view port borders off > -View port border width thickness is set to 0 pixels > -Save screenshot generates an image of the layout without a border present > -Save animation generates an image of the layout with a black border present > where the split in the view port would have been. > > I'm not sure if this is intentional, but it would be great if the images > generated from save screenshot and save animation were the same (without the > view port border). > > Thanks, > Clayton > > > > > _______________________________________________ > 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 Aug 4 11:32:29 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 4 Aug 2016 11:32:29 -0400 Subject: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' In-Reply-To: <7CD2E23C-EC0E-4CBF-BC6B-84C5DEA83891@snumerics.com> References: <7CD2E23C-EC0E-4CBF-BC6B-84C5DEA83891@snumerics.com> Message-ID: That's odd. Trying to see if I can reproduce this with your command line. I'll report back once the build is done. On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal wrote: > Hi All, > > > > I?m seeing something strange when I try to compile ParaView 5.1 from the > source. I execute the following commands to compile ParaView: > > > > git clone https://github.com/Kitware/ParaView.git > > *Go into cloned ParaView directory* > > git submodule init > > git submodule update > > mkdir ParaView_build *not inside the ParaView source directory, somewhere > else* > > cd ParaView_build > > > > cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES > -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF > -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON > -DPARAVIEW_ENABLE_PYTHON:BOOL=ON > -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON > -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON > -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE > -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF > -DVTK_USE_CXX11_FEATURES:BOOL=ON > -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build > /home/neal/software/ParaView > > > > (note the last 2 items are paths to the build directory and the source, > respectively) > > > > make > > make install > > > > Everything up to ?make? looks to work just fine. Now, there is a file called > ?vtkHashSource-pv5.1? that is located in the /bin directory of the ParaView > build. When I type ?make install?, I get the following error: > > > > CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): > > file INSTALL cannot find > > > "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/bin/vtkHashSource-pv5.1". > > Call Stack (most recent call first): > > VTK/cmake_install.cmake:420 (include) > > cmake_install.cmake:117 (include) > > > > Makefile:94: recipe for target 'install' failed > > make: *** [install] Error 1 > > > > > > I looked and it has moved or deleted the ?vtkHashSource-pv5.1? file that was > originally in the ParaView/bin directory! I?m sure of it because I copied > the file to a temp directory and it disappears every time I put it in the > ParaView/bin and type ?make install?. > > Has anyone had this problem? > > Thank you, > > Chris Neal > > > _______________________________________________ > 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 mathieu.westphal at kitware.com Thu Aug 4 11:44:27 2016 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Thu, 4 Aug 2016 17:44:27 +0200 Subject: [Paraview] Hover Point bug with multiblock dataset In-Reply-To: References: Message-ID: Hello Indeed, there is a bug here. I will report it on the bug tracker asap. Thanks for reporting. Regards, On Tue, Aug 2, 2016 at 8:00 PM, Bob Flandard wrote: > Hello, > > Please see attached state file that demonstrates possible bug when using > Hover Points to query data on a mesh. > > Sweep the cursor over the top plane (with Hover Points On) and points from > both planes are highlighted and the data is randomly shown for either plane. > > I'm using Paraview 5.1 on Windows 7 64bit. > > Sorry if this isn't the place for such posts. I haven't been here for a > while. > > Thanks, Bob > > _______________________________________________ > 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 Aug 4 11:52:00 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 4 Aug 2016 11:52:00 -0400 Subject: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' In-Reply-To: References: <7CD2E23C-EC0E-4CBF-BC6B-84C5DEA83891@snumerics.com> Message-ID: Sorry, no luck producing on Ubuntu 16.04 with CMake 3.5.1. On Thu, Aug 4, 2016 at 11:32 AM, Utkarsh Ayachit wrote: > That's odd. Trying to see if I can reproduce this with your command > line. I'll report back once the build is done. > > On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal > wrote: >> Hi All, >> >> >> >> I?m seeing something strange when I try to compile ParaView 5.1 from the >> source. I execute the following commands to compile ParaView: >> >> >> >> git clone https://github.com/Kitware/ParaView.git >> >> *Go into cloned ParaView directory* >> >> git submodule init >> >> git submodule update >> >> mkdir ParaView_build *not inside the ParaView source directory, somewhere >> else* >> >> cd ParaView_build >> >> >> >> cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF >> -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON >> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON >> -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON >> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF >> -DVTK_USE_CXX11_FEATURES:BOOL=ON >> -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build >> /home/neal/software/ParaView >> >> >> >> (note the last 2 items are paths to the build directory and the source, >> respectively) >> >> >> >> make >> >> make install >> >> >> >> Everything up to ?make? looks to work just fine. Now, there is a file called >> ?vtkHashSource-pv5.1? that is located in the /bin directory of the ParaView >> build. When I type ?make install?, I get the following error: >> >> >> >> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): >> >> file INSTALL cannot find >> >> >> "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/bin/vtkHashSource-pv5.1". >> >> Call Stack (most recent call first): >> >> VTK/cmake_install.cmake:420 (include) >> >> cmake_install.cmake:117 (include) >> >> >> >> Makefile:94: recipe for target 'install' failed >> >> make: *** [install] Error 1 >> >> >> >> >> >> I looked and it has moved or deleted the ?vtkHashSource-pv5.1? file that was >> originally in the ParaView/bin directory! I?m sure of it because I copied >> the file to a temp directory and it disappears every time I put it in the >> ParaView/bin and type ?make install?. >> >> Has anyone had this problem? >> >> Thank you, >> >> Chris Neal >> >> >> _______________________________________________ >> 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 agsmith424 at gmail.com Thu Aug 4 13:22:12 2016 From: agsmith424 at gmail.com (Andy Smith) Date: Thu, 4 Aug 2016 13:22:12 -0400 Subject: [Paraview] Surface LIC contrast enhancement invalid range Message-ID: A colleague of mine is having an issue using Surface LIC in ParaView 4.4: I am having issues while running a Python script in batch mode on a server with software rendering. While rendering a surface LIC image I receive the following error message: ERROR: In /ParaView/VTK/Rendering/LIC/vtkSurfaceLICPainter.cxx, line 3076 vtkPSurfaceLICPainter (0x5f0a3040): 6: Invalid range 1e+38, -1e+38 for color contrast enhancement The resulting image writes out but appears "dark". The interesting item here is that this only occurs on some images and not all of them. From image to image the only thing that I am changing is the position of a Slice. Any insight here would be great, I am out of ideas. We would like to switch to using ParaView 5.1.x but as far as we know surface LIC is not working in parallel yet. Thanks, Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Thu Aug 4 13:29:59 2016 From: u.utku.turuncoglu at be.itu.edu.tr (u.utku.turuncoglu at be.itu.edu.tr) Date: Thu, 4 Aug 2016 20:29:59 +0300 (EEST) Subject: [Paraview] capability of ParaView, Catalyst in distributed computing environment ... In-Reply-To: References: <52703.93.115.84.202.1466151462.squirrel@webmail.be.itu.edu.tr> <36973cbc-2b54-0ab3-9e2a-a428b77f1de7@be.itu.edu.tr> Message-ID: <65317.88.242.44.54.1470331799.squirrel@webmail.be.itu.edu.tr> Hi Andy, Thanks for your help. You can find the Python script as attachment. BTW, the "coprocessorinitializewithpython" method is called by subset of processors that are supposed to do co-processing. I think that the usage of vtkCPPythonScriptPipeline is correct in this case. It is weird but it works under Mac OS and allinputsgridwriter.py script works on both Linux and Mac OS. extern "C" void coprocessorinitializewithpython_(int *fcomm, const char* pythonScriptName, const char strarr[][255], int *size) { if (pythonScriptName != NULL) { if (!g_coprocessor) { g_coprocessor = vtkCPProcessor::New(); MPI_Comm handle = MPI_Comm_f2c(*fcomm); vtkMPICommunicatorOpaqueComm *Comm = new vtkMPICommunicatorOpaqueComm(&handle); g_coprocessor->Initialize(*Comm); vtkSmartPointer pipeline = vtkSmartPointer::New(); pipeline->Initialize(pythonScriptName); g_coprocessor->AddPipeline(pipeline); //pipeline->FastDelete(); } if (!g_coprocessorData) { g_coprocessorData = vtkCPDataDescription::New(); // must be input port for all model components and for all dimensions for (int i = 0; i < *size; i++) { g_coprocessorData->AddInput(strarr[i]); std::cout << "adding input port [" << i << "] = " << strarr[i] << std::endl; } } } } Regards, --ufuk > Can you share your Python script? Another thought is that your Python > script was added to each process instead of the subset of processes that > are supposed to do the calculation on it. For example, the Python script > that is supposed to generate the image should only be added through a > vtkCPPythonScriptPipeline on those 8 processes. > > On Thu, Aug 4, 2016 at 2:48 AM, Ufuk Utku Turuncoglu (BE) < > u.utku.turuncoglu at be.itu.edu.tr> wrote: > >> Hi, >> >> After getting help from the list, i finished the initial implementation >> of >> the code but in this case i have a strange experience with Catalyst. The >> prototype code is working with allinputsgridwriter.py script and could >> write multi-piece dataset in VTK format without any problem. In this >> case, >> the code also handles four different input ports to get data in >> different >> grid structure and dimensions (2d/3d). >> >> The main problem is that if i try to use the same code to output a png >> file after creating iso-surface from single 3d field (141x115x14 = >> 227K), >> it is hanging. In this case, if i check the utilization of the >> processors >> (on Linux, Centos 7.1, >> >> 12064 turuncu 20 0 1232644 216400 77388 R 100.0 0.7 10:44.17 >> main.x >> 12068 turuncu 20 0 1672156 483712 70420 R 100.0 1.5 10:44.17 >> main.x >> 12069 turuncu 20 0 1660620 266716 70500 R 100.0 0.8 10:44.26 >> main.x >> 12070 turuncu 20 0 1660412 267204 71204 R 100.0 0.8 10:44.22 >> main.x >> 12071 turuncu 20 0 1659988 266644 71360 R 100.0 0.8 10:44.18 >> main.x >> 12065 turuncu 20 0 1220328 202224 77620 R 99.7 0.6 10:44.08 >> main.x >> 12066 turuncu 20 0 1220236 204696 77444 R 99.7 0.6 10:44.16 >> main.x >> 12067 turuncu 20 0 1219644 199116 77152 R 99.7 0.6 10:44.18 >> main.x >> 12078 turuncu 20 0 1704272 286924 102940 S 10.6 0.9 1:12.91 main.x >> 12074 turuncu 20 0 1704488 287668 103456 S 10.0 0.9 1:08.50 main.x >> 12072 turuncu 20 0 1704444 287488 103316 S 9.6 0.9 1:09.09 main.x >> 12076 turuncu 20 0 1704648 287268 102848 S 9.6 0.9 1:10.16 main.x >> 12073 turuncu 20 0 1704132 284128 103384 S 9.3 0.9 1:05.27 main.x >> 12077 turuncu 20 0 1706236 286228 103380 S 9.3 0.9 1:05.49 main.x >> 12079 turuncu 20 0 1699944 278800 102864 S 9.3 0.9 1:05.87 main.x >> 12075 turuncu 20 0 1704356 284408 103436 S 8.6 0.9 1:07.03 main.x >> >> they seems normal because the co-processing component only works on a >> subset of the resource (8 processor, has utilization around 99 percent). >> The GPU utilization (from nvidia-smi command) is >> >> +------------------------------------------------------+ >> | NVIDIA-SMI 352.79 Driver Version: 352.79 | >> |-------------------------------+----------------------+---- >> ------------------+ >> | GPU Name Persistence-M| Bus-Id Disp.A | Volatile >> Uncorr. >> ECC | >> | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util >> Compute >> M. | >> |===============================+======================+==== >> ==================| >> | 0 Quadro K5200 Off | 0000:42:00.0 On | >> Off | >> | 26% 42C P8 14W / 150W | 227MiB / 8191MiB | 0% Default >> | >> +-------------------------------+----------------------+---- >> ------------------+ >> >> +----------------------------------------------------------- >> ------------------+ >> | Processes: GPU Memory | >> | GPU PID Type Process name Usage | >> |=========================================================== >> ==================| >> | 0 1937 G /usr/bin/Xorg >> 81MiB | >> | 0 3817 G /usr/bin/gnome-shell >> 110MiB | >> | 0 9551 G paraview >> 16MiB | >> +----------------------------------------------------------- >> ------------------+ >> >> So, the GPU is not overloaded in this case. I tested the code with two >> different version of ParaView (5.0.0 and 5.1.0). The results are same >> for >> both cases even if i create the co-processing Python scripts with same >> version of the ParaView that is used to compile the code. I also tried >> to >> use 2d field (141x115) but the result is also same and the code is still >> hanging. The different machine (MacOS+ParaView 5.0.0) works without >> problem. There might be a issue of Linux or installation but i am not >> sure >> and it was working before. Is there any flag or tool that allows to >> analyze >> Paraview deeply to find the source of the problem. >> >> Regards, >> >> --ufuk >> >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensou >> rce/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: atm3d_rhiso.py Type: text/x-python-script Size: 5460 bytes Desc: not available URL: From benjha at gmail.com Thu Aug 4 15:24:35 2016 From: benjha at gmail.com (=?UTF-8?B?QmVuamFtw61uIEhlcm7DoW5kZXo=?=) Date: Thu, 4 Aug 2016 15:24:35 -0400 Subject: [Paraview] pvbatch hangs when enabling OSPRay Message-ID: Hello, I've compiled Paraview 5.1 with multithreaded mpi and ospray (with OpenMP) support using the next modules: 1) gcc/4.8.2 5) xalt/0.5.3 9) szip/2.1 13) boost/1.61.0 2) openmpi/1.8.4_mtm 6) DefApps 10) hdf5/1.8.11 14) libtool/2.4.2 3) PE-gnu/4.8.2-1.8.4 7) qt4/4.8.5 11) mxml/2.9 15) git/1.8.0.2 4) lustredu/1.4 8) python/2.7.9 12) adios/1.9.0 16) cmake/3.5.2 and wrote a python script that loads a vtu file and renders it as glyph particles. When running pvbatch in one node it works fine, I can visualize and save images. However, when running pvbatch with mpi the script just hangs in the line that enables OSPRay: oSPRayRendered3DView1.EnableOSPRay = 1 I am using the next mpi commands with no success: mpirun -npernode 16 pvbatch --mpi --use-offscreen-rendering myscript inputfile.vtu outputimage.png mpirun -np 13 --map-by ppr:1:socket:pe=16 pvbatch --mpi --use-offscreen-rendering myscript inputfile.vtu outputimage.png I did a simpler script that does the following: #### import the simple module from the paraview from paraview.simple import * #### disable automatic camera reset on 'Show' paraview.simple._DisableFirstRenderCameraReset() # set active view SetActiveView(None) CreateLayout('Layout #1') # Create a new 'Render View' print "Creating render view" renderView1 = CreateView('RenderView') renderView1.ViewSize = [11520, 3240] renderView1.CameraPosition = [0.0, 0.0, 6.69] renderView1.CameraFocalPoint = [0.0, 0.0, 0.0] renderView1.CameraViewUp = [0.0, 1.0, 0.0] renderView1.CameraViewAngle = 30.0 renderView1.CameraParallelScale = 1.73 renderView1.Background = [0.32, 0.34, 0.43] print "Before Enabling OSPRay" renderView1.EnableOSPRay = 1 print "After Enabling OSPRay" renderView1.Shadows = 1 renderView1.AmbientSamples = 4 renderView1.SamplesPerPixel = 8 renderView1.MaxFrames = 1 renderView1.LightScale = 1.0 print "Done!" #### saving camera placements for all active views # current camera placement for renderView1 renderView1.CameraPosition = [148.48492741767512, 106.10239872416838, -28480.984448300518] renderView1.CameraFocalPoint = [137.62326776804608, 95.85538889348155, -28593.41405565134] renderView1.CameraViewUp = [-0.529722197084864, 0.8477698001026378, -0.02609137691878691] renderView1.CameraParallelScale = 19159.165918040744 but it never reaches the print "After Enabling OSPRay" line Any advice will be appreciated, Benjamin Hernandez OLCF Oak Ridge National Laboratory -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Aug 4 15:36:46 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 4 Aug 2016 15:36:46 -0400 Subject: [Paraview] Surface LIC contrast enhancement invalid range In-Reply-To: References: Message-ID: Andy, Surface LIC is now supported with 5.1.2 . Can you try it out and let us know if you see the same issue? Thanks, Utkarsh On Thu, Aug 4, 2016 at 1:22 PM, Andy Smith wrote: > A colleague of mine is having an issue using Surface LIC in ParaView 4.4: > > > I am having issues while running a Python script in batch mode on a server > with software rendering. While rendering a surface LIC image I receive the > following error message: > > ERROR: In /ParaView/VTK/Rendering/LIC/vtkSurfaceLICPainter.cxx, line 3076 > vtkPSurfaceLICPainter (0x5f0a3040): 6: Invalid range 1e+38, -1e+38 for > color contrast enhancement > > The resulting image writes out but appears "dark". The interesting item here > is that this only occurs on some images and not all of them. From image to > image the only thing that I am changing is the position of a Slice. > > Any insight here would be great, I am out of ideas. > > > We would like to switch to using ParaView 5.1.x but as far as we know > surface LIC is not working in parallel yet. > > 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 > From david.lonie at kitware.com Fri Aug 5 08:43:13 2016 From: david.lonie at kitware.com (David Lonie) Date: Fri, 5 Aug 2016 08:43:13 -0400 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: That is very odd. I use arch linux as well and don't see this here. I'm suspecting a graphics driver issue at this point. Try running paraview with the "--mesa-llvm" command line argument and see if it fares better. That will force paraview to use a software-based OpenGL implementation and bypass the GPU and system OpenGL drivers. You may also want to try the slightly newer 5.1.2 release here: http://www.paraview.org/download/ Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From julio.hoffimann at gmail.com Fri Aug 5 09:04:53 2016 From: julio.hoffimann at gmail.com (=?UTF-8?Q?J=C3=BAlio_Hoffimann?=) Date: Fri, 5 Aug 2016 08:04:53 -0500 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: Thank you David, I tried with Mesa and the result is the same. I'm gonna try the newer release, but I suspect it won't solve the issue. Any information that I can export and that can help figure out the root of the problem? -J?lio -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Fri Aug 5 09:24:20 2016 From: david.lonie at kitware.com (David Lonie) Date: Fri, 5 Aug 2016 09:24:20 -0400 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: The only other thing I can think of is that it might be an issue with the new depth peeling code, which is used to blend layers of translucent geometry. However, from the look of the screenshots, it appears that all of the geometry is opaque, in which case depth peeling wouldn't be used. Still, you can try setting the environment variable "VTK_USE_LEGACY_DEPTH_PEELING" to force the older depth peeling code. This was added for 5.1.2, so you'll need to test that on the new release. Other than that...I'm out of ideas, unfortunately. Maybe try an older 4.x version of paraview? Maybe someone else will have some idea what may be happening. It appears that the depth test has been reversed on these builds somehow. On Fri, Aug 5, 2016 at 9:04 AM, J?lio Hoffimann wrote: > Thank you David, I tried with Mesa and the result is the same. I'm gonna try > the newer release, but I suspect it won't solve the issue. > > Any information that I can export and that can help figure out the root of > the problem? > > -J?lio From arctica1963 at gmail.com Fri Aug 5 09:29:13 2016 From: arctica1963 at gmail.com (Lester Anderson) Date: Fri, 5 Aug 2016 14:29:13 +0100 Subject: [Paraview] Slicing a sphere based on longitudes and latitudes Message-ID: Hello, Quick query, but is there an easy way to slice a spherical Earth model based on longitude and latitude while keeping the origin at the centre? What I am looking to do is slice along a fixed longitude or latitude, e.g. Longitude slice at 150 degrees; Latitude slice at -30 degrees. Based on the use of a Great circle definition with the origin at 0,0,0. The data are stored based on the Earth radii. The reference frame (XYZ) orients with the axes Z (+/- 90), X( 0,180) and Y(-90,90) - overlaying a coastline vector goes in the right place. I can see where the values have to be entered using the origin/normal but not entirely sure about the formula to use. Hopefully someone can give a quick pointer on this? Thanks Lester From julio.hoffimann at gmail.com Fri Aug 5 09:44:16 2016 From: julio.hoffimann at gmail.com (=?UTF-8?Q?J=C3=BAlio_Hoffimann?=) Date: Fri, 5 Aug 2016 08:44:16 -0500 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: Thank you David, soon I have access to my workstation I'll try the other versions and report the results here. -J?lio -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Fri Aug 5 10:26:41 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Fri, 5 Aug 2016 14:26:41 +0000 Subject: [Paraview] Slicing a sphere based on longitudes and latitudes Message-ID: <59904e1aec7a4fa6a750aa489cd4c160@ES08AMSNLNT.srn.sandia.gov> Lester, This is pretty straightforward problem in geometry. As I give you the answer, I am assuming that your sphere is centered at the origin (as you said), the axis that runs through the north/south pole is along the Z axis, and the prime meridian (0 degrees longitude) is in the positive X direction. Making a slice along latitude is simply a slice by a plane parallel to the x-y plane offset by the Cartesian location of the latitude coordinate. The parameters of the latitude slice plane are: Origin: [0, 0, sin lat] Normal: [0, 0, 1] Note here that "lat" is the latitude measured in degrees with positive values for north and negative values for south. A slice along longitude can be thought of as the X-Z plane rotated about the Z axis by longitude degrees. You can do that by setting the X and Y of the normal of this plane to the sin and cos, respectively, of the longitude angle. Origin: [0, 0, 0] Normal: [sin lon, cos lon, 0] Here "lon" is the longitude measured in degrees with positive values for west and negative values for east. You should note that this longitude slice plane will give you a full circle, which technically gives you both the longitude you asked for plus the longitude 180 degrees away. If you just want the semicircle for a single longitude line, you can clip away the half you do not want. You can do this with the clip filter (NOT the slice filter) with the plane set as: Origin: [0, 0, 0] Normal: [cos lon, -sin lon, 0] As you do this calculations, be careful about degrees/radians conversions. Longitude/latitude is classically given in degrees and minutes whereas lots of computer trigonometry functions (including those in ParaView) perform sin and cos with radians. Also, if your sphere is oriented differently than I described, you will have to make corrections to these functions. -Ken -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Lester Anderson Sent: Friday, August 5, 2016 7:29 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Slicing a sphere based on longitudes and latitudes Hello, Quick query, but is there an easy way to slice a spherical Earth model based on longitude and latitude while keeping the origin at the centre? What I am looking to do is slice along a fixed longitude or latitude, e.g. Longitude slice at 150 degrees; Latitude slice at -30 degrees. Based on the use of a Great circle definition with the origin at 0,0,0. The data are stored based on the Earth radii. The reference frame (XYZ) orients with the axes Z (+/- 90), X( 0,180) and Y(-90,90) - overlaying a coastline vector goes in the right place. I can see where the values have to be entered using the origin/normal but not entirely sure about the formula to use. Hopefully someone can give a quick pointer on this? Thanks Lester _______________________________________________ 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 chrisneal at snumerics.com Fri Aug 5 11:40:31 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Fri, 05 Aug 2016 11:40:31 -0400 Subject: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' In-Reply-To: References: <7CD2E23C-EC0E-4CBF-BC6B-84C5DEA83891@snumerics.com> Message-ID: Thank you Utkarsh, I will try cmake 3.5.1 to see if that has any effect on the issue that I?m having. Output from: cmake ?version cmake version 3.6.20160722-g8842a Output from: lsb_relase ?a LSB Version: n/a Distributor ID: openSUSE project Description: openSUSE 13.2 (Harlequin) (x86_64) Release: 13.2 Codename: Harlequin Thank you, -Chris On 8/4/16, 11:52 AM, "Utkarsh Ayachit" wrote: Sorry, no luck producing on Ubuntu 16.04 with CMake 3.5.1. On Thu, Aug 4, 2016 at 11:32 AM, Utkarsh Ayachit wrote: > That's odd. Trying to see if I can reproduce this with your command > line. I'll report back once the build is done. > > On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal > wrote: >> Hi All, >> >> >> >> I?m seeing something strange when I try to compile ParaView 5.1 from the >> source. I execute the following commands to compile ParaView: >> >> >> >> git clone https://github.com/Kitware/ParaView.git >> >> *Go into cloned ParaView directory* >> >> git submodule init >> >> git submodule update >> >> mkdir ParaView_build *not inside the ParaView source directory, somewhere >> else* >> >> cd ParaView_build >> >> >> >> cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF >> -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON >> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON >> -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON >> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF >> -DVTK_USE_CXX11_FEATURES:BOOL=ON >> -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build >> /home/neal/software/ParaView >> >> >> >> (note the last 2 items are paths to the build directory and the source, >> respectively) >> >> >> >> make >> >> make install >> >> >> >> Everything up to ?make? looks to work just fine. Now, there is a file called >> ?vtkHashSource-pv5.1? that is located in the /bin directory of the ParaView >> build. When I type ?make install?, I get the following error: >> >> >> >> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): >> >> file INSTALL cannot find >> >> >> "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/bin/vtkHashSource-pv5.1". >> >> Call Stack (most recent call first): >> >> VTK/cmake_install.cmake:420 (include) >> >> cmake_install.cmake:117 (include) >> >> >> >> Makefile:94: recipe for target 'install' failed >> >> make: *** [install] Error 1 >> >> >> >> >> >> I looked and it has moved or deleted the ?vtkHashSource-pv5.1? file that was >> originally in the ParaView/bin directory! I?m sure of it because I copied >> the file to a temp directory and it disappears every time I put it in the >> ParaView/bin and type ?make install?. >> >> Has anyone had this problem? >> >> Thank you, >> >> Chris Neal >> >> >> _______________________________________________ >> 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 tossin at gmail.com Fri Aug 5 13:08:40 2016 From: tossin at gmail.com (Evan Kao) Date: Fri, 5 Aug 2016 10:08:40 -0700 Subject: [Paraview] Cannot access information from second input array in a XML custom filter Message-ID: Hey all, I'm trying to create a custom filter (using vtkPythonProgrammableFilter) that allows the user to specify two input arrays (the XML file is attached). As a guide, I mimicked the XML specifications for the Glyphs filter in the filters.xml file. The filter appears as it should, but I can't seem to access the information for the second data array: Request Data code: print 'ArrayInfo1' print self.GetInputArrayInformation(0) print 'ArrayInfo2' print self.GetInputArrayInformation(1) Console output (after generating a sphere): ArrayInfo1 vtkInformation (0000000015E2FD30) Debug: Off Modified Time: 866729 Reference Count: 2 Registered Events: (none) INPUT_PORT: 0 INPUT_CONNECTION: 0 FIELD_ASSOCIATION: 0 FIELD_NAME: Normals ArrayInfo2 vtkInformation (0000000015E47D80) Debug: Off Modified Time: 868190 Reference Count: 2 Registered Events: (none) No matter how I change the second array, there is no FIELD_NAME or FIELD_ASSOCIATION associated with it. Am I accessing it incorrectly? Did I prescribe it incorrectly in the XML file? Thanks, Evan Kao -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TestTwoInputArrays.xml Type: text/xml Size: 3379 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Fri Aug 5 13:15:57 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 5 Aug 2016 13:15:57 -0400 Subject: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' In-Reply-To: <8227F2C2-A0EF-4A20-8270-C4DE7996BF72@snumerics.com> References: <7CD2E23C-EC0E-4CBF-BC6B-84C5DEA83891@snumerics.com> <8227F2C2-A0EF-4A20-8270-C4DE7996BF72@snumerics.com> Message-ID: Ben, Can you take a look please? Thanks. On Fri, Aug 5, 2016 at 1:03 PM, Christopher Neal wrote: > I tried it again with cmake 3.5.1 and I see the same error. > > -- Up-to-date: /home/neal/software/ParaView5.2/build/lib/cmake/paraview-5.1/Modules/vtkUtilitiesHashSource.cmake > CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): > file INSTALL cannot find > "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1". > Call Stack (most recent call first): > VTK/cmake_install.cmake:148 (include) > cmake_install.cmake:117 (include) > > I did find a way around the issue by creating a ?tempbin? directory and copying the binaries into that directory and then making a symbolic link from the ?bin? to the binaries in the ?tempbin?. > > The code that the make install is failing on(VTK/Utilities/HashSource/cmake_install.cmake:46 ) has the following part that is leading to the error: > > if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "RuntimeLibraries") > if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND > NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") > file(RPATH_CHECK > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > RPATH "") > endif() > file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1") > if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND > NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") > file(RPATH_CHANGE > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:" > NEW_RPATH "") > if(CMAKE_INSTALL_DO_STRIP) > execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") > endif() > endif() > endif() > > > There?s a if statement that checks to see if the executable is symbolic, and if it is it skips the following operation, which I believe is the source of my issue: > > file(RPATH_CHANGE > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:" > NEW_RPATH "") > > -Chris > > > On 8/5/16, 11:40 AM, "ParaView on behalf of Christopher Neal" wrote: > > Thank you Utkarsh, > > I will try cmake 3.5.1 to see if that has any effect on the issue that I?m having. > > Output from: cmake ?version > cmake version 3.6.20160722-g8842a > > > Output from: lsb_relase ?a > LSB Version: n/a > Distributor ID: openSUSE project > Description: openSUSE 13.2 (Harlequin) (x86_64) > Release: 13.2 > Codename: Harlequin > > Thank you, > -Chris > > > On 8/4/16, 11:52 AM, "Utkarsh Ayachit" wrote: > > Sorry, no luck producing on Ubuntu 16.04 with CMake 3.5.1. > > On Thu, Aug 4, 2016 at 11:32 AM, Utkarsh Ayachit > wrote: > > That's odd. Trying to see if I can reproduce this with your command > > line. I'll report back once the build is done. > > > > On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal > > wrote: > >> Hi All, > >> > >> > >> > >> I?m seeing something strange when I try to compile ParaView 5.1 from the > >> source. I execute the following commands to compile ParaView: > >> > >> > >> > >> git clone https://github.com/Kitware/ParaView.git > >> > >> *Go into cloned ParaView directory* > >> > >> git submodule init > >> > >> git submodule update > >> > >> mkdir ParaView_build *not inside the ParaView source directory, somewhere > >> else* > >> > >> cd ParaView_build > >> > >> > >> > >> cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES > >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF > >> -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON > >> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON > >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON > >> -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON > >> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF > >> -DVTK_USE_CXX11_FEATURES:BOOL=ON > >> -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build > >> /home/neal/software/ParaView > >> > >> > >> > >> (note the last 2 items are paths to the build directory and the source, > >> respectively) > >> > >> > >> > >> make > >> > >> make install > >> > >> > >> > >> Everything up to ?make? looks to work just fine. Now, there is a file called > >> ?vtkHashSource-pv5.1? that is located in the /bin directory of the ParaView > >> build. When I type ?make install?, I get the following error: > >> > >> > >> > >> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): > >> > >> file INSTALL cannot find > >> > >> > >> "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/bin/vtkHashSource-pv5.1". > >> > >> Call Stack (most recent call first): > >> > >> VTK/cmake_install.cmake:420 (include) > >> > >> cmake_install.cmake:117 (include) > >> > >> > >> > >> Makefile:94: recipe for target 'install' failed > >> > >> make: *** [install] Error 1 > >> > >> > >> > >> > >> > >> I looked and it has moved or deleted the ?vtkHashSource-pv5.1? file that was > >> originally in the ParaView/bin directory! I?m sure of it because I copied > >> the file to a temp directory and it disappears every time I put it in the > >> ParaView/bin and type ?make install?. > >> > >> Has anyone had this problem? > >> > >> Thank you, > >> > >> Chris Neal > >> > >> > >> _______________________________________________ > >> 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 Fri Aug 5 13:19:59 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 5 Aug 2016 13:19:59 -0400 Subject: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' In-Reply-To: References: <7CD2E23C-EC0E-4CBF-BC6B-84C5DEA83891@snumerics.com> <8227F2C2-A0EF-4A20-8270-C4DE7996BF72@snumerics.com> Message-ID: Hi Chris, Are you trying to build from a Catalyst edition or directly from the full ParaView source? I want to make sure that we're going in the proper direction when trying to fix this problem. Thanks, Andy On Fri, Aug 5, 2016 at 1:15 PM, Utkarsh Ayachit wrote: > Ben, > > Can you take a look please? Thanks. > > On Fri, Aug 5, 2016 at 1:03 PM, Christopher Neal > wrote: > > I tried it again with cmake 3.5.1 and I see the same error. > > > > -- Up-to-date: /home/neal/software/ParaView5. > 2/build/lib/cmake/paraview-5.1/Modules/vtkUtilitiesHashSource.cmake > > CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): > > file INSTALL cannot find > > "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1". > > Call Stack (most recent call first): > > VTK/cmake_install.cmake:148 (include) > > cmake_install.cmake:117 (include) > > > > I did find a way around the issue by creating a ?tempbin? directory and > copying the binaries into that directory and then making a symbolic link > from the ?bin? to the binaries in the ?tempbin?. > > > > The code that the make install is failing on(VTK/Utilities/HashSource/cmake_install.cmake:46 > ) has the following part that is leading to the error: > > > > if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL > "RuntimeLibraries") > > if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > AND > > NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_ > PREFIX}/bin/vtkHashSource-pv5.1") > > file(RPATH_CHECK > > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_ > PREFIX}/bin/vtkHashSource-pv5.1" > > RPATH "") > > endif() > > file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE > FILES "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1") > > if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > AND > > NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_ > PREFIX}/bin/vtkHashSource-pv5.1") > > file(RPATH_CHANGE > > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_ > PREFIX}/bin/vtkHashSource-pv5.1" > > OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:" > > NEW_RPATH "") > > if(CMAKE_INSTALL_DO_STRIP) > > execute_process(COMMAND "/usr/bin/strip" > "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") > > endif() > > endif() > > endif() > > > > > > There?s a if statement that checks to see if the executable is symbolic, > and if it is it skips the following operation, which I believe is the > source of my issue: > > > > file(RPATH_CHANGE > > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_ > PREFIX}/bin/vtkHashSource-pv5.1" > > OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:" > > NEW_RPATH "") > > > > -Chris > > > > > > On 8/5/16, 11:40 AM, "ParaView on behalf of Christopher Neal" < > paraview-bounces at paraview.org on behalf of chrisneal at snumerics.com> wrote: > > > > Thank you Utkarsh, > > > > I will try cmake 3.5.1 to see if that has any effect on the issue > that I?m having. > > > > Output from: cmake ?version > > cmake version 3.6.20160722-g8842a > > > > > > Output from: lsb_relase ?a > > LSB Version: n/a > > Distributor ID: openSUSE project > > Description: openSUSE 13.2 (Harlequin) (x86_64) > > Release: 13.2 > > Codename: Harlequin > > > > Thank you, > > -Chris > > > > > > On 8/4/16, 11:52 AM, "Utkarsh Ayachit" > wrote: > > > > Sorry, no luck producing on Ubuntu 16.04 with CMake 3.5.1. > > > > On Thu, Aug 4, 2016 at 11:32 AM, Utkarsh Ayachit > > wrote: > > > That's odd. Trying to see if I can reproduce this with your > command > > > line. I'll report back once the build is done. > > > > > > On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal > > > wrote: > > >> Hi All, > > >> > > >> > > >> > > >> I?m seeing something strange when I try to compile ParaView > 5.1 from the > > >> source. I execute the following commands to compile ParaView: > > >> > > >> > > >> > > >> git clone https://github.com/Kitware/ParaView.git > > >> > > >> *Go into cloned ParaView directory* > > >> > > >> git submodule init > > >> > > >> git submodule update > > >> > > >> mkdir ParaView_build *not inside the ParaView source > directory, somewhere > > >> else* > > >> > > >> cd ParaView_build > > >> > > >> > > >> > > >> cmake -DCMAKE_BUILD_TYPE:STRING=Release > -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES > > >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF > > >> -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON > > >> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON > > >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON > > >> -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON > > >> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE > > >> -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF > > >> -DVTK_USE_CXX11_FEATURES:BOOL=ON > > >> -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build > > >> /home/neal/software/ParaView > > >> > > >> > > >> > > >> (note the last 2 items are paths to the build directory and > the source, > > >> respectively) > > >> > > >> > > >> > > >> make > > >> > > >> make install > > >> > > >> > > >> > > >> Everything up to ?make? looks to work just fine. Now, there > is a file called > > >> ?vtkHashSource-pv5.1? that is located in the /bin directory > of the ParaView > > >> build. When I type ?make install?, I get the following error: > > >> > > >> > > >> > > >> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 > (file): > > >> > > >> file INSTALL cannot find > > >> > > >> > > >> "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable- > Python-Essentials_build/bin/vtkHashSource-pv5.1". > > >> > > >> Call Stack (most recent call first): > > >> > > >> VTK/cmake_install.cmake:420 (include) > > >> > > >> cmake_install.cmake:117 (include) > > >> > > >> > > >> > > >> Makefile:94: recipe for target 'install' failed > > >> > > >> make: *** [install] Error 1 > > >> > > >> > > >> > > >> > > >> > > >> I looked and it has moved or deleted the > ?vtkHashSource-pv5.1? file that was > > >> originally in the ParaView/bin directory! I?m sure of it > because I copied > > >> the file to a temp directory and it disappears every time I > put it in the > > >> ParaView/bin and type ?make install?. > > >> > > >> Has anyone had this problem? > > >> > > >> Thank you, > > >> > > >> Chris Neal > > >> > > >> > > >> _______________________________________________ > > >> 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 chrisneal at snumerics.com Fri Aug 5 13:25:53 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Fri, 05 Aug 2016 13:25:53 -0400 Subject: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' In-Reply-To: References: <7CD2E23C-EC0E-4CBF-BC6B-84C5DEA83891@snumerics.com> <8227F2C2-A0EF-4A20-8270-C4DE7996BF72@snumerics.com> Message-ID: <7693169D-2876-4A9E-9136-F992859FE98D@snumerics.com> For the case outlined in this email chain, it is the ParaView source. I?m currently using Paraview5.2.? I have also had the same trouble with: Catalyst-v5.1.0-Base-Enable-Python-Essentials, with the symbolic link ad-hoc solution working with this case as well. From: Andy Bauer Date: Friday, August 5, 2016 at 1:19 PM To: Utkarsh Ayachit Cc: Christopher Neal , Ben Boeckel , "paraview at paraview.org" Subject: Re: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' Hi Chris, Are you trying to build from a Catalyst edition or directly from the full ParaView source? I want to make sure that we're going in the proper direction when trying to fix this problem. Thanks, Andy On Fri, Aug 5, 2016 at 1:15 PM, Utkarsh Ayachit wrote: Ben, Can you take a look please? Thanks. On Fri, Aug 5, 2016 at 1:03 PM, Christopher Neal wrote: > I tried it again with cmake 3.5.1 and I see the same error. > > -- Up-to-date: /home/neal/software/ParaView5.2/build/lib/cmake/paraview-5.1/Modules/vtkUtilitiesHashSource.cmake > CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): > file INSTALL cannot find > "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1". > Call Stack (most recent call first): > VTK/cmake_install.cmake:148 (include) > cmake_install.cmake:117 (include) > > I did find a way around the issue by creating a ?tempbin? directory and copying the binaries into that directory and then making a symbolic link from the ?bin? to the binaries in the ?tempbin?. > > The code that the make install is failing on(VTK/Utilities/HashSource/cmake_install.cmake:46 ) has the following part that is leading to the error: > > if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "RuntimeLibraries") > if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND > NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") > file(RPATH_CHECK > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > RPATH "") > endif() > file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1") > if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND > NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") > file(RPATH_CHANGE > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:" > NEW_RPATH "") > if(CMAKE_INSTALL_DO_STRIP) > execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") > endif() > endif() > endif() > > > There?s a if statement that checks to see if the executable is symbolic, and if it is it skips the following operation, which I believe is the source of my issue: > > file(RPATH_CHANGE > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:" > NEW_RPATH "") > > -Chris > > > On 8/5/16, 11:40 AM, "ParaView on behalf of Christopher Neal" wrote: > > Thank you Utkarsh, > > I will try cmake 3.5.1 to see if that has any effect on the issue that I?m having. > > Output from: cmake ?version > cmake version 3.6.20160722-g8842a > > > Output from: lsb_relase ?a > LSB Version: n/a > Distributor ID: openSUSE project > Description: openSUSE 13.2 (Harlequin) (x86_64) > Release: 13.2 > Codename: Harlequin > > Thank you, > -Chris > > > On 8/4/16, 11:52 AM, "Utkarsh Ayachit" wrote: > > Sorry, no luck producing on Ubuntu 16.04 with CMake 3.5.1. > > On Thu, Aug 4, 2016 at 11:32 AM, Utkarsh Ayachit > wrote: > > That's odd. Trying to see if I can reproduce this with your command > > line. I'll report back once the build is done. > > > > On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal > > wrote: > >> Hi All, > >> > >> > >> > >> I?m seeing something strange when I try to compile ParaView 5.1 from the > >> source. I execute the following commands to compile ParaView: > >> > >> > >> > >> git clone https://github.com/Kitware/ParaView.git > >> > >> *Go into cloned ParaView directory* > >> > >> git submodule init > >> > >> git submodule update > >> > >> mkdir ParaView_build *not inside the ParaView source directory, somewhere > >> else* > >> > >> cd ParaView_build > >> > >> > >> > >> cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES > >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF > >> -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON > >> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON > >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON > >> -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON > >> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF > >> -DVTK_USE_CXX11_FEATURES:BOOL=ON > >> -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build > >> /home/neal/software/ParaView > >> > >> > >> > >> (note the last 2 items are paths to the build directory and the source, > >> respectively) > >> > >> > >> > >> make > >> > >> make install > >> > >> > >> > >> Everything up to ?make? looks to work just fine. Now, there is a file called > >> ?vtkHashSource-pv5.1? that is located in the /bin directory of the ParaView > >> build. When I type ?make install?, I get the following error: > >> > >> > >> > >> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): > >> > >> file INSTALL cannot find > >> > >> > >> "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/bin/vtkHashSource-pv5.1". > >> > >> Call Stack (most recent call first): > >> > >> VTK/cmake_install.cmake:420 (include) > >> > >> cmake_install.cmake:117 (include) > >> > >> > >> > >> Makefile:94: recipe for target 'install' failed > >> > >> make: *** [install] Error 1 > >> > >> > >> > >> > >> > >> I looked and it has moved or deleted the ?vtkHashSource-pv5.1? file that was > >> originally in the ParaView/bin directory! I?m sure of it because I copied > >> the file to a temp directory and it disappears every time I put it in the > >> ParaView/bin and type ?make install?. > >> > >> Has anyone had this problem? > >> > >> Thank you, > >> > >> Chris Neal > >> > >> > >> _______________________________________________ > >> 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 chrisneal at snumerics.com Fri Aug 5 13:03:45 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Fri, 05 Aug 2016 13:03:45 -0400 Subject: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' In-Reply-To: References: <7CD2E23C-EC0E-4CBF-BC6B-84C5DEA83891@snumerics.com> Message-ID: <8227F2C2-A0EF-4A20-8270-C4DE7996BF72@snumerics.com> I tried it again with cmake 3.5.1 and I see the same error. -- Up-to-date: /home/neal/software/ParaView5.2/build/lib/cmake/paraview-5.1/Modules/vtkUtilitiesHashSource.cmake CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): file INSTALL cannot find "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1". Call Stack (most recent call first): VTK/cmake_install.cmake:148 (include) cmake_install.cmake:117 (include) I did find a way around the issue by creating a ?tempbin? directory and copying the binaries into that directory and then making a symbolic link from the ?bin? to the binaries in the ?tempbin?. The code that the make install is failing on(VTK/Utilities/HashSource/cmake_install.cmake:46 ) has the following part that is leading to the error: if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "RuntimeLibraries") if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") file(RPATH_CHECK FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" RPATH "") endif() file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1") if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") file(RPATH_CHANGE FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:" NEW_RPATH "") if(CMAKE_INSTALL_DO_STRIP) execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") endif() endif() endif() There?s a if statement that checks to see if the executable is symbolic, and if it is it skips the following operation, which I believe is the source of my issue: file(RPATH_CHANGE FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:" NEW_RPATH "") -Chris On 8/5/16, 11:40 AM, "ParaView on behalf of Christopher Neal" wrote: Thank you Utkarsh, I will try cmake 3.5.1 to see if that has any effect on the issue that I?m having. Output from: cmake ?version cmake version 3.6.20160722-g8842a Output from: lsb_relase ?a LSB Version: n/a Distributor ID: openSUSE project Description: openSUSE 13.2 (Harlequin) (x86_64) Release: 13.2 Codename: Harlequin Thank you, -Chris On 8/4/16, 11:52 AM, "Utkarsh Ayachit" wrote: Sorry, no luck producing on Ubuntu 16.04 with CMake 3.5.1. On Thu, Aug 4, 2016 at 11:32 AM, Utkarsh Ayachit wrote: > That's odd. Trying to see if I can reproduce this with your command > line. I'll report back once the build is done. > > On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal > wrote: >> Hi All, >> >> >> >> I?m seeing something strange when I try to compile ParaView 5.1 from the >> source. I execute the following commands to compile ParaView: >> >> >> >> git clone https://github.com/Kitware/ParaView.git >> >> *Go into cloned ParaView directory* >> >> git submodule init >> >> git submodule update >> >> mkdir ParaView_build *not inside the ParaView source directory, somewhere >> else* >> >> cd ParaView_build >> >> >> >> cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF >> -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON >> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON >> -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON >> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE >> -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF >> -DVTK_USE_CXX11_FEATURES:BOOL=ON >> -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build >> /home/neal/software/ParaView >> >> >> >> (note the last 2 items are paths to the build directory and the source, >> respectively) >> >> >> >> make >> >> make install >> >> >> >> Everything up to ?make? looks to work just fine. Now, there is a file called >> ?vtkHashSource-pv5.1? that is located in the /bin directory of the ParaView >> build. When I type ?make install?, I get the following error: >> >> >> >> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): >> >> file INSTALL cannot find >> >> >> "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/bin/vtkHashSource-pv5.1". >> >> Call Stack (most recent call first): >> >> VTK/cmake_install.cmake:420 (include) >> >> cmake_install.cmake:117 (include) >> >> >> >> Makefile:94: recipe for target 'install' failed >> >> make: *** [install] Error 1 >> >> >> >> >> >> I looked and it has moved or deleted the ?vtkHashSource-pv5.1? file that was >> originally in the ParaView/bin directory! I?m sure of it because I copied >> the file to a temp directory and it disappears every time I put it in the >> ParaView/bin and type ?make install?. >> >> Has anyone had this problem? >> >> Thank you, >> >> Chris Neal >> >> >> _______________________________________________ >> 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 julio.hoffimann at gmail.com Sun Aug 7 14:01:28 2016 From: julio.hoffimann at gmail.com (=?UTF-8?Q?J=C3=BAlio_Hoffimann?=) Date: Sun, 7 Aug 2016 13:01:28 -0500 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: Hi David, I downloaded all 4.x.x releases and everything works as expected. I downloaded ParaView 5.0.1 and ParaView 5.1.2, both give me the following error message about the driver: libGL error: unable to load driver: i965_dri.so libGL error: driver pointer missing libGL error: failed to load driver: i965 libGL error: unable to load driver: i965_dri.so libGL error: driver pointer missing libGL error: failed to load driver: i965 libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast Segmentation fault (core dumped) Based on that outcome, I confirm that this is a bug introduced somewhere in between the 4.x.x and 5.x.x releases. How can we go and investigate this further? I can print more information about my system in case it is needed. -J?lio 2016-08-05 8:44 GMT-05:00 J?lio Hoffimann : > Thank you David, soon I have access to my workstation I'll try the other > versions and report the results here. > > -J?lio > -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.cohen at gmail.com Mon Aug 8 04:03:31 2016 From: denis.cohen at gmail.com (denis cohen) Date: Mon, 8 Aug 2016 10:03:31 +0200 Subject: [Paraview] Reading pvd file Message-ID: Hello, In trying to read a pvd file (with time stamps) and I am getting this error. I am running Paraview 5.1.0 64 bit on Linux. Thanks Denis mesh $ ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/IO/XML/vtkXMLReader.cxx, line 247 vtkXMLUnstructuredGridReader (0x31454c0): Error opening file /home/dcohen/research/projects/nagra/models/permafrost/2d/flowlines/a11_001.14-8/meshes/mesh_nu300x24x12_noice/results/simul001/mesh/results/simul001/mesh/simul001_tr0001.vtu ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkCompositeDataPipeline (0x3274fb0): Algorithm vtkXMLUnstructuredGridReader(0x31454c0) returned failure for request: vtkInformation (0x3277220) Debug: Off Modified Time: 12123059 Reference Count: 1 Registered Events: (none) Request: REQUEST_INFORMATION ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/IO/XML/vtkXMLReader.cxx, line 247 vtkXMLUnstructuredGridReader (0x31454c0): Error opening file /home/dcohen/research/projects/nagra/models/permafrost/2d/flowlines/a11_001.14-8/meshes/mesh_nu300x24x12_noice/results/simul001/mesh/results/simul001/mesh/simul001_tr0001.vtu ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkCompositeDataPipeline (0x3274fb0): Algorithm vtkXMLUnstructuredGridReader(0x31454c0) returned failure for request: vtkInformation (0xa43b780) Debug: Off Modified Time: 12131838 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 FROM_OUTPUT_PORT: 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From fangyi.zhou15 at imperial.ac.uk Mon Aug 8 07:52:25 2016 From: fangyi.zhou15 at imperial.ac.uk (Zhou, Fangyi) Date: Mon, 8 Aug 2016 11:52:25 +0000 Subject: [Paraview] Importing paraview.simple from python Message-ID: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> Dear All I?m trying to import paraview.simple from python and I get this error message: Running on Linux: Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import paraview.simple Error: Could not import vtkCommonComputationalGeometry Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/paraview-5.1/site-packages/paraview/simple.py", line 39, in import servermanager File "/usr/local/lib/paraview-5.1/site-packages/paraview/servermanager.py", line 52, in from paraview import vtk File "/usr/local/lib/paraview-5.1/site-packages/paraview/vtk/__init__.py", line 7, in from vtkCommonCore import * File "/usr/local/lib/paraview-5.1/site-packages/paraview/vtk/vtkCommonCore.py", line 15, in from vtkCommonKitPython import * ImportError: No module named vtkCommonKitPython The envs have been set as follows >>> os.environ["PYTHONPATH"] '/usr/local/lib/paraview-5.1:/usr/local/lib/paraview-5.1/site-packages:/paraview/lib' >>> os.environ["LD_LIBRARY_PATH"] '/usr/local/lib/paraview-5.1:/usr/local/lib/paraview-5.1/site-packages? The intention of importing the modules of paraview to python instead of pvpython is that the simulation script needs to be run under virtualenv. If there are alternatives ways to get over it, it would be appreciated. Thanks in advance. Regards Fangyi Zhou From david.lonie at kitware.com Mon Aug 8 08:46:48 2016 From: david.lonie at kitware.com (David Lonie) Date: Mon, 8 Aug 2016 08:46:48 -0400 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: Hi Julio, On Sun, Aug 7, 2016 at 2:01 PM, J?lio Hoffimann wrote: > Hi David, > > I downloaded all 4.x.x releases and everything works as expected. I > downloaded ParaView 5.0.1 and ParaView 5.1.2, both give me the following > error message about the driver: > > libGL error: unable to load driver: i965_dri.so > libGL error: driver pointer missing > libGL error: failed to load driver: i965 > libGL error: unable to load driver: i965_dri.so > libGL error: driver pointer missing > libGL error: failed to load driver: i965 > libGL error: unable to load driver: swrast_dri.so > libGL error: failed to load driver: swrast > Segmentation fault (core dumped) > > Based on that outcome, I confirm that this is a bug introduced somewhere in > between the 4.x.x and 5.x.x releases. How can we go and investigate this > further? I can print more information about my system in case it is needed. Are those drivers installed correctly? Looks like they're provided by the intel-dri and mesa packages on archlinux: $ pkgfile i965_dri.so extra/intel-dri $ pkgfile swrast_dri.so extra/mesa Those errors, and that the 5.x releases are working on other archlinux installs, make me think this is a configuration issue with this specific machine. The X log file /var/log/Xorg.0.log may have some clues if there's a problem initializing the driver support needed for the newer paraview. I'm not convinced this is a bug in ParaView just yet -- the 5.x versions require different OpenGL contexts than the 4.x versions, so it may be that something is not quite right for the newer contexts. Have you tried building from source and setting VTK_RENDERING_BACKEND to OpenGL (instead of OpenGL2) in cmake? That would build paraview with the older backend used by the 4.x line, and might work better for you. The only other idea that comes to mind would be to grab the development branch from git and use 'git bisect' to identify the commit that introduced the functionality that's failing on this installation: Getting the sources from git: https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/git/develop.md Git bisect: http://stackoverflow.com/questions/4713088/how-to-use-git-bisect Hope this helps, Dave From roeber at dkrz.de Mon Aug 8 08:54:08 2016 From: roeber at dkrz.de (=?UTF-8?Q?Niklas_R=c3=b6ber?=) Date: Mon, 8 Aug 2016 14:54:08 +0200 Subject: [Paraview] Animated Particles in ParaView ... In-Reply-To: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> References: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> Message-ID: <23d5d11f-4688-634a-49f2-25264b3cc42f@dkrz.de> Hi, I have an animation in ParaView with 1440 timesteps. Additionally, I have about 500 particles/points which I would like to combine with this animation. The particles are also animated over time but not over the entire length of the animation. The lifetime of a typical particle is about 60 to 500 timesteps, and of course they all start at different times. ;-) At the moment I have all data stored as CSV time series, but doing everything using CSV is not only alot of work, but might also be too much for ParaView. Therefore, I am looking for a smarter way to store, load and animate my particles. Anybody any idea how to do it? Any help is much appreciated! Thanks and Cheers... Niklas -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4916 bytes Desc: S/MIME Cryptographic Signature URL: From claytonfcampbell at gmail.com Mon Aug 8 11:18:06 2016 From: claytonfcampbell at gmail.com (Clayton C) Date: Mon, 8 Aug 2016 09:18:06 -0600 Subject: [Paraview] Save Animation Bug (possibly) In-Reply-To: References: Message-ID: Hey Utkarsh, I have tried various resolutions: 640 X 480 in animation view yielded a huge border; 1030 X 820 yielded a smaller border. 'Multi-view image border width' is set to 0 in settings. If I set the 'Multi-view image border' to a value and set the color to non-black (red for instance), I end up with the same black line that splits the view port, but with red lines on either side of the black line where the view port split is. I have also tried various file formats: tif, png, jpg, and the avi option. This problem disappears when I use 'Savescreenshot', but I am unable to create an animation. Any help would be greatly appreciated. Cheers, Clayton On Thu, Aug 4, 2016 at 9:29 AM, Utkarsh Ayachit wrote: > Clayton, > > I could not reproduce this. What was the size of the images you're > saving? I wonder if that matters. > > Utkarsh > > On Thu, Aug 4, 2016 at 12:13 AM, Clayton C > wrote: > > I will try to make this short: > > > > -Running Paraview 5.1.0 on Windows > > -Layout with vertically split view port; toggled view port borders off > > -View port border width thickness is set to 0 pixels > > -Save screenshot generates an image of the layout without a border > present > > -Save animation generates an image of the layout with a black border > present > > where the split in the view port would have been. > > > > I'm not sure if this is intentional, but it would be great if the images > > generated from save screenshot and save animation were the same (without > the > > view port border). > > > > Thanks, > > Clayton > > > > > > > > > > _______________________________________________ > > 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 Aug 8 11:24:33 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 8 Aug 2016 11:24:33 -0400 Subject: [Paraview] Save Animation Bug (possibly) In-Reply-To: References: Message-ID: I am still having trouble reproducing this issue and hence don't have any thing to suggest. Let's try this: 1. Open ParaVIew. From to Tools menu, check "Lock View Size" 2. File | Save Animation, set resolution to 600x300. Save as pngs. Do you still see the border? If not, can you create a state file with no dataset at all with which you can reprouce the issue? Hopefully that sheds some light on the issue. Thanks Utkarsh On Mon, Aug 8, 2016 at 11:18 AM, Clayton C wrote: > Hey Utkarsh, > > I have tried various resolutions: 640 X 480 in animation view yielded a huge > border; 1030 X 820 yielded a smaller border. 'Multi-view image border width' > is set to 0 in settings. If I set the 'Multi-view image border' to a value > and set the color to non-black (red for instance), I end up with the same > black line that splits the view port, but with red lines on either side of > the black line where the view port split is. I have also tried various file > formats: tif, png, jpg, and the avi option. > > This problem disappears when I use 'Savescreenshot', but I am unable to > create an animation. > Any help would be greatly appreciated. > > Cheers, > Clayton > > > > > On Thu, Aug 4, 2016 at 9:29 AM, Utkarsh Ayachit > wrote: >> >> Clayton, >> >> I could not reproduce this. What was the size of the images you're >> saving? I wonder if that matters. >> >> Utkarsh >> >> On Thu, Aug 4, 2016 at 12:13 AM, Clayton C >> wrote: >> > I will try to make this short: >> > >> > -Running Paraview 5.1.0 on Windows >> > -Layout with vertically split view port; toggled view port borders off >> > -View port border width thickness is set to 0 pixels >> > -Save screenshot generates an image of the layout without a border >> > present >> > -Save animation generates an image of the layout with a black border >> > present >> > where the split in the view port would have been. >> > >> > I'm not sure if this is intentional, but it would be great if the images >> > generated from save screenshot and save animation were the same (without >> > the >> > view port border). >> > >> > Thanks, >> > Clayton >> > >> > >> > >> > >> > _______________________________________________ >> > 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 claytonfcampbell at gmail.com Mon Aug 8 13:05:16 2016 From: claytonfcampbell at gmail.com (Clayton C) Date: Mon, 8 Aug 2016 11:05:16 -0600 Subject: [Paraview] Save Animation Bug (possibly) In-Reply-To: References: Message-ID: Hey Utkarsh, I ended up with the same problem. However, I started deleting components from the pipeline to see if that had any impact. I deleted the .stl files I had loaded in that I was using to better define the geometry. I ran Save Animation with the default settings as before and my problem disappeared. I exited Paraview without saving the state file, reloaded the state file that had my .stl files, and when I ran Save Animation again the problem was no longer there. I'm not really sure what solved it, but it seems to be working now. I have been playing with this for a week or so and for it to just start working is a bit puzzling. Thank you for your help. Cheers, Clayton On Mon, Aug 8, 2016 at 9:24 AM, Utkarsh Ayachit wrote: > I am still having trouble reproducing this issue and hence don't have > any thing to suggest. Let's try this: > > 1. Open ParaVIew. From to Tools menu, check "Lock View Size" > 2. File | Save Animation, set resolution to 600x300. Save as pngs. > > Do you still see the border? > > If not, can you create a state file with no dataset at all with which > you can reprouce the issue? Hopefully that sheds some light on the > issue. > > Thanks > Utkarsh > > On Mon, Aug 8, 2016 at 11:18 AM, Clayton C > wrote: > > Hey Utkarsh, > > > > I have tried various resolutions: 640 X 480 in animation view yielded a > huge > > border; 1030 X 820 yielded a smaller border. 'Multi-view image border > width' > > is set to 0 in settings. If I set the 'Multi-view image border' to a > value > > and set the color to non-black (red for instance), I end up with the same > > black line that splits the view port, but with red lines on either side > of > > the black line where the view port split is. I have also tried various > file > > formats: tif, png, jpg, and the avi option. > > > > This problem disappears when I use 'Savescreenshot', but I am unable to > > create an animation. > > Any help would be greatly appreciated. > > > > Cheers, > > Clayton > > > > > > > > > > On Thu, Aug 4, 2016 at 9:29 AM, Utkarsh Ayachit > > wrote: > >> > >> Clayton, > >> > >> I could not reproduce this. What was the size of the images you're > >> saving? I wonder if that matters. > >> > >> Utkarsh > >> > >> On Thu, Aug 4, 2016 at 12:13 AM, Clayton C > >> wrote: > >> > I will try to make this short: > >> > > >> > -Running Paraview 5.1.0 on Windows > >> > -Layout with vertically split view port; toggled view port borders off > >> > -View port border width thickness is set to 0 pixels > >> > -Save screenshot generates an image of the layout without a border > >> > present > >> > -Save animation generates an image of the layout with a black border > >> > present > >> > where the split in the view port would have been. > >> > > >> > I'm not sure if this is intentional, but it would be great if the > images > >> > generated from save screenshot and save animation were the same > (without > >> > the > >> > view port border). > >> > > >> > Thanks, > >> > Clayton > >> > > >> > > >> > > >> > > >> > _______________________________________________ > >> > 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 danielbo17 at hotmail.com Mon Aug 8 13:11:47 2016 From: danielbo17 at hotmail.com (Daniel Oliveira) Date: Mon, 8 Aug 2016 14:11:47 -0300 Subject: [Paraview] Problems with export pdf In-Reply-To: References: Message-ID: Dear all, I have had problems to export a scene in pdf in Paravis 5.0 of the Salome-7.8.0.The scenario is: when I load a file with some results in a timestep I am able to see all my results normally. https://mega.nz/#!Z1EgCJbC!-UFNy_yDMRUpYTj6ihr9rtE3Xtv5KgancOoqctFGhTE Then I position my study in a timestep and export the results in pdf format using that configuration: https://mega.nz/#!NgUkFDIB!V0SCj4PqCtryE0nv_E0bSD74K5jqZS_dudV5hxlI2Ow The result is a picture with only the geometry without any colors. https://mega.nz/#!wlMRWC6S!RJQrAbLHcflmdNS4eVtxLK7CdVKe7oF_4cQVvsYjjN8 The resulting pdf: https://mega.nz/#!5g1lwThI!HFXiK-vFRr_eMtSUWdgkwfKfdRdp_sNYBJlR2bMZ8NMI don't know what is happening, but I really wish to extract my results in vector format.Can anyone help with this?I thank you in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Imagem2.png Type: image/png Size: 30268 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Imagem11.png Type: image/png Size: 148351 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagem22.png Type: image/png Size: 18637 bytes Desc: not available URL: From david.lonie at kitware.com Mon Aug 8 13:16:19 2016 From: david.lonie at kitware.com (David Lonie) Date: Mon, 8 Aug 2016 13:16:19 -0400 Subject: [Paraview] Problems with export pdf In-Reply-To: References: Message-ID: This is a known limitation of the GL2PS library used to generate the pdf files. The geometry colors are rendered using textures, and textures are not recognized by the export library. The best solution available would be to use the "Rasterize 3D geometry" option. The geometry will no longer be stored as vectors, but the text/etc will still be. HTH, Dave On Mon, Aug 8, 2016 at 1:11 PM, Daniel Oliveira wrote: > Dear all, > > I have had problems to export a scene in pdf in Paravis 5.0 of the > Salome-7.8.0. > The scenario is: when I load a file with some results in a timestep I am > able to see all my results normally. > > > > > https://mega.nz/#!Z1EgCJbC!-UFNy_yDMRUpYTj6ihr9rtE3Xtv5KgancOoqctFGhTE > > Then I position my study in a timestep and export the results in pdf > format using that configuration: > > > > > https://mega.nz/#!NgUkFDIB!V0SCj4PqCtryE0nv_E0bSD74K5jqZS_dudV5hxlI2Ow > > The result is a picture with only the geometry without any colors. > > > > https://mega.nz/#!wlMRWC6S!RJQrAbLHcflmdNS4eVtxLK7CdVKe7oF_4cQVvsYjjN8 > > > The resulting pdf: https://mega.nz/#!5g1lwThI!HFXiK-vFRr_ > eMtSUWdgkwfKfdRdp_sNYBJlR2bMZ8NM > I don't know what is happening, but I really wish to extract my results in > vector format. > Can anyone help with this? > I thank you in advance. > > _______________________________________________ > 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: Imagem2.png Type: image/png Size: 30268 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Imagem11.png Type: image/png Size: 148351 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagem22.png Type: image/png Size: 18637 bytes Desc: not available URL: From danielbo17 at hotmail.com Mon Aug 8 13:49:30 2016 From: danielbo17 at hotmail.com (Daniel Oliveira) Date: Mon, 8 Aug 2016 14:49:30 -0300 Subject: [Paraview] Problems with export pdf In-Reply-To: References: Message-ID: I really needed vector images, There is a lost of quality in rasterize, but I will do like you said and rasterize my imagesThank you very much Dave. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mlohry at gmail.com Mon Aug 8 14:04:09 2016 From: mlohry at gmail.com (Mark Lohry) Date: Mon, 8 Aug 2016 12:04:09 -0600 Subject: [Paraview] Problems with export pdf In-Reply-To: References: Message-ID: Hi Daniel, I've had similar issues in trying to get high quality publication-worthy plots out of paraview of late. I've been meaning to write up my hack method for getting something satisfactory, but I'll summarize it here. I had problems with the "rasterize 3d image" setting -- some things were outright rendering incorrectly (wrong colors, missing elements), and additionally apparently there's no anti-aliasing output. My wishlist: - vector graphic output (not possible). - TeX / raw text output for any text fields so LaTeX publications render it in the appropriate font / math. Since neither vector output or anti-aliased high resolution raster images are available, and the rasterized-graphic-vector-text formats seem to give lousy images, my hybrid process is like this: 1) Save screenshot: Export image as a rasterized png at high resolution (say 16x desired resolution), but remove any text / colorbar legends. 1a) optional: Shrink this image using some interpolating resizing algorithm (AFAIK this is essentially FSAA anti-aliasing). 2) Export scene: Export a second file as SVG with rasterized image. This ends up giving you an svg file with plaintext, but also with an embedded PNG in 64 bit code. 3) Replace the embedded PNG in the SVG with your high quality image from (1). You can either convert your original PNG to bytecode and embed that directly in the SVG, or you can make a hyperlink to the PNG file. The former is recommended so that you have only one self-contained image file and don't have to worry about the link breaking. You can automate this process with some shell scripts to make it relatively painless. On Mon, Aug 8, 2016 at 11:49 AM, Daniel Oliveira wrote: > I really needed vector images, > There is a lost of quality in rasterize, but I will do like you said and > rasterize my images > Thank you very much Dave. > > _______________________________________________ > 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 corinnareuter75 at gmail.com Mon Aug 8 14:14:47 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Mon, 8 Aug 2016 20:14:47 +0200 Subject: [Paraview] custom filter doesn't update property in the Paraview UI In-Reply-To: References: Message-ID: Dear Cory, I wonder, if you still have an idea how to implement a filter that initializes its properties from upstream objects and updates these properties when those objects change. Isn't the whole ParaView designed such that changes are propagated along the pipeline? Why is it so complicated to render propagated changes in the filter parameters visible? Thank you Corinna On Tue, Aug 2, 2016 at 4:55 PM, corinna reuter wrote: > Dear Cory, dear all, > sorry for not getting back to this topic earlier. Your solution works > perfectly for the described problem. When I create e.g. a SphereSource and > attach the TestProperty filter with its NPoints property, this property is > initialized with the correct number of points in the sphere. > > However, I have another requirement which is that the property should also > be updated, when the input changes. I thought the same mechanism for > initializing the property would also take care of updating the property > upon modified input. > > If I modify the SphereSource from above by changing the ThetaResolution or > PhiResolution, then vtkTestProperty::RequestInformation is called as > expected, and the included print statements show the new number of points, > but the NPoints property won't reflect this new value. Do you know of > another short trick, how to fix this? You mentioned that you found the need > for a domain element in the ParaView source code. Where exactly? If I > understand what prevented the property initialization, I might be able to > find out what prevents the update. > > The complete filter sources, updated to include your corrections, are > attached. > > Thank you > Corinna > > On Fri, Jul 15, 2016 at 6:02 PM, Cory Quammen > wrote: > >> Corinna, >> >> Looking at the ParaView source code, I believe that vector properties >> with information properties must have a domain associated with them. >> In your case, you can add an IntRangeDomain with only a minimum >> defined: >> >> > command="SetNPoints" >> information_property="NPointsInfo" >> number_of_elements="1" >> default_values="42"> >> >> >> >> 0 seems like a reasonable minimum in your case. >> >> Keep your information_only property as it is. You'll need to change >> where your NPoints is set, though - moving this to the >> RequestInformation() member function should work. >> >> Cory >> >> >> On Fri, Jul 15, 2016 at 3:46 AM, corinna reuter >> wrote: >> > Cory, thanks for mentioning the TIFFReader proxy. I tried to modify my >> > previously attached code such that the NPoints property links to a >> > NPointsInfo property. Plus, I have removed the call >> > "this->SetNPoints(nset);" inside vtkTestProperty::RequestData as >> suggested >> > by Utkarsh. The NPoints property is still showing the default "42", >> though, >> > and not initialized or updated from the number of points of the input >> > dataset. I am obviously missing another important step in addition to >> > changing the xml definitions, but which one? >> > >> > Here is the detailed modification of TestProperty.xml compared to the >> > earlier attachment: >> > replace >> > "> > command="SetNPoints" >> > number_of_elements="1" >> > default_values="42"> >> > " >> > with: >> > "> > command="SetNPoints" >> > information_property="NPointsInfo" >> > number_of_elements="1" >> > default_values="42"> >> > >> > > > command="GetNPoints" >> > information_only="1"> >> > >> > " >> > >> > Thank you >> > Corinna >> > >> > >> > On Thu, Jul 14, 2016 at 5:24 PM, Cory Quammen > > >> > wrote: >> >> >> >> Corinna, >> >> >> >> Take a look at the TIFFReader SourceProxy in >> >> ParaViewCore/ServerManager/SMApplication/Resources/readers.xml. It has >> >> a CustomDataSpacing property that enables you to set voxel spacing, >> >> and has an associated information property CustomDataSpacingInfo that >> >> should initially populate the spacing property when the reader is >> >> created. >> >> >> >> HTH, >> >> Cory >> >> >> >> On Thu, Jul 14, 2016 at 11:17 AM, Utkarsh Ayachit >> >> wrote: >> >> >> I'll check the meaning of MTime. >> >> > >> >> > See the implementation of vtkSetMacro() in vtkSetGet.h. Every time >> the >> >> > value changes, it call this->Modified() which updates the MTime. >> Since >> >> > VTK is a demand-driven pipeline, changes to MTime is what tells the >> >> > pipeline that the algorithm has been modified and needs reexecution. >> >> > If one modifies the MTime in RequestData() (the method called by the >> >> > pipeline to process the input to produce output), the pipeline thinks >> >> > the filter is always dirty and that can cause unexpected side >> effects. >> >> > >> >> > >> >> >> I'd need something similar to an image resize filter. The output >> size >> >> >> should >> >> >> be identical to the input size, when the filter is first attached to >> >> >> the >> >> >> input. The output size should be shown in the UI and the user >> should be >> >> >> able >> >> >> to enter a different output size. >> >> > >> >> > This is possible. Let me see if I can find you a simple example for >> >> > the same. I'll get back to 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 >> >> >> >> >> >> >> >> -- >> >> Cory Quammen >> >> R&D Engineer >> >> Kitware, Inc. >> > >> > >> >> >> >> -- >> Cory Quammen >> R&D Engineer >> Kitware, Inc. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Aug 8 14:29:32 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 8 Aug 2016 14:29:32 -0400 Subject: [Paraview] custom filter doesn't update property in the Paraview UI In-Reply-To: References: Message-ID: Hi Corinna, Utkarsh addressed the updating of properties in his earlier response about the directionality of property changes in ParaView: " 2. ParaView's properties are not bi-directional. They are only intended to be set on the UI side and pushed to the VTK side. There are of course exceptions to this, and you can add what's called a "information_only" property that instead reads a value from the VTK side and provides it on the "client" side, but for such properties, often there's no UI. They are instead, used to define the "domain" for the property which controls things like range for the slider, for example. " So, in short, ParaView is not really designed to do this. However, it may be possible to define a custom panel for your NPoints property that, when clicked, updates the property value to the current scalar range. For example, there is a custom panel widget in the Threshold filter that lets you update the ranges based on the range of the currently selected scalar array. You would need this kind of custom panel widget for your NPoints property. The only catch is you would need to update the value manually, or perhaps you could use a QTimer to periodically refresh the value. HTH, Cory On Mon, Aug 8, 2016 at 2:14 PM, corinna reuter wrote: > Dear Cory, > I wonder, if you still have an idea how to implement a filter that > initializes its properties from upstream objects and updates these > properties when those objects change. > Isn't the whole ParaView designed such that changes are propagated along the > pipeline? Why is it so complicated to render propagated changes in the > filter parameters visible? > > > Thank you > Corinna > > > On Tue, Aug 2, 2016 at 4:55 PM, corinna reuter > wrote: >> >> Dear Cory, dear all, >> sorry for not getting back to this topic earlier. Your solution works >> perfectly for the described problem. When I create e.g. a SphereSource and >> attach the TestProperty filter with its NPoints property, this property is >> initialized with the correct number of points in the sphere. >> >> However, I have another requirement which is that the property should also >> be updated, when the input changes. I thought the same mechanism for >> initializing the property would also take care of updating the property upon >> modified input. >> >> If I modify the SphereSource from above by changing the ThetaResolution or >> PhiResolution, then vtkTestProperty::RequestInformation is called as >> expected, and the included print statements show the new number of points, >> but the NPoints property won't reflect this new value. Do you know of >> another short trick, how to fix this? You mentioned that you found the need >> for a domain element in the ParaView source code. Where exactly? If I >> understand what prevented the property initialization, I might be able to >> find out what prevents the update. >> >> The complete filter sources, updated to include your corrections, are >> attached. >> >> Thank you >> Corinna >> >> On Fri, Jul 15, 2016 at 6:02 PM, Cory Quammen >> wrote: >>> >>> Corinna, >>> >>> Looking at the ParaView source code, I believe that vector properties >>> with information properties must have a domain associated with them. >>> In your case, you can add an IntRangeDomain with only a minimum >>> defined: >>> >>> >> command="SetNPoints" >>> information_property="NPointsInfo" >>> number_of_elements="1" >>> default_values="42"> >>> >>> >>> >>> 0 seems like a reasonable minimum in your case. >>> >>> Keep your information_only property as it is. You'll need to change >>> where your NPoints is set, though - moving this to the >>> RequestInformation() member function should work. >>> >>> Cory >>> >>> >>> On Fri, Jul 15, 2016 at 3:46 AM, corinna reuter >>> wrote: >>> > Cory, thanks for mentioning the TIFFReader proxy. I tried to modify my >>> > previously attached code such that the NPoints property links to a >>> > NPointsInfo property. Plus, I have removed the call >>> > "this->SetNPoints(nset);" inside vtkTestProperty::RequestData as >>> > suggested >>> > by Utkarsh. The NPoints property is still showing the default "42", >>> > though, >>> > and not initialized or updated from the number of points of the input >>> > dataset. I am obviously missing another important step in addition to >>> > changing the xml definitions, but which one? >>> > >>> > Here is the detailed modification of TestProperty.xml compared to the >>> > earlier attachment: >>> > replace >>> > ">> > command="SetNPoints" >>> > number_of_elements="1" >>> > default_values="42"> >>> > " >>> > with: >>> > ">> > command="SetNPoints" >>> > information_property="NPointsInfo" >>> > number_of_elements="1" >>> > default_values="42"> >>> > >>> > >> > command="GetNPoints" >>> > information_only="1"> >>> > >>> > " >>> > >>> > Thank you >>> > Corinna >>> > >>> > >>> > On Thu, Jul 14, 2016 at 5:24 PM, Cory Quammen >>> > >>> > wrote: >>> >> >>> >> Corinna, >>> >> >>> >> Take a look at the TIFFReader SourceProxy in >>> >> ParaViewCore/ServerManager/SMApplication/Resources/readers.xml. It has >>> >> a CustomDataSpacing property that enables you to set voxel spacing, >>> >> and has an associated information property CustomDataSpacingInfo that >>> >> should initially populate the spacing property when the reader is >>> >> created. >>> >> >>> >> HTH, >>> >> Cory >>> >> >>> >> On Thu, Jul 14, 2016 at 11:17 AM, Utkarsh Ayachit >>> >> wrote: >>> >> >> I'll check the meaning of MTime. >>> >> > >>> >> > See the implementation of vtkSetMacro() in vtkSetGet.h. Every time >>> >> > the >>> >> > value changes, it call this->Modified() which updates the MTime. >>> >> > Since >>> >> > VTK is a demand-driven pipeline, changes to MTime is what tells the >>> >> > pipeline that the algorithm has been modified and needs reexecution. >>> >> > If one modifies the MTime in RequestData() (the method called by the >>> >> > pipeline to process the input to produce output), the pipeline >>> >> > thinks >>> >> > the filter is always dirty and that can cause unexpected side >>> >> > effects. >>> >> > >>> >> > >>> >> >> I'd need something similar to an image resize filter. The output >>> >> >> size >>> >> >> should >>> >> >> be identical to the input size, when the filter is first attached >>> >> >> to >>> >> >> the >>> >> >> input. The output size should be shown in the UI and the user >>> >> >> should be >>> >> >> able >>> >> >> to enter a different output size. >>> >> > >>> >> > This is possible. Let me see if I can find you a simple example for >>> >> > the same. I'll get back to 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 >>> >> >>> >> >>> >> >>> >> -- >>> >> Cory Quammen >>> >> R&D Engineer >>> >> Kitware, Inc. >>> > >>> > >>> >>> >>> >>> -- >>> Cory Quammen >>> R&D Engineer >>> Kitware, Inc. >> >> > -- Cory Quammen R&D Engineer Kitware, Inc. From julio.hoffimann at gmail.com Mon Aug 8 21:55:36 2016 From: julio.hoffimann at gmail.com (=?UTF-8?Q?J=C3=BAlio_Hoffimann?=) Date: Mon, 8 Aug 2016 20:55:36 -0500 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: Hi David, On my laptop, the command pkgfile doesn't find any repo for the drivers i965_dri.so and swrast_dri.so. *This is what I have installed from the list of open-source drivers:* extra/xf86-video-fbdev 0.4.4-5 (xorg-drivers xorg) [installed] X.org framebuffer video driver extra/xf86-video-intel 1:2.99.917+691+ga77397a-1 (xorg-drivers xorg) [installed] X.org Intel i810/i830/i915/945G/G965+ video drivers extra/xf86-video-vesa 2.3.4-2 (xorg-drivers xorg) [installed] X.org vesa video driver *This is the relevant section of my /var/log/Xorg.0.log:* [ 4.483] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000 [ 4.483] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100 [ 4.483] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300 [ 4.483] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 4.483] (II) FBDEV: driver for framebuffer: fbdev [ 4.483] (II) VESA: driver for VESA chipsets: vesa [ 4.494] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160229 [ 4.494] (II) intel(0): SNA compiled from 2.99.917-691-ga77397a [ 4.494] (WW) Falling back to old probe method for modesetting [ 4.494] (WW) Falling back to old probe method for fbdev [ 4.494] (II) Loading sub module "fbdevhw" [ 4.494] (II) LoadModule: "fbdevhw" [ 4.494] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 4.495] (II) Module fbdevhw: vendor="X.Org Foundation" [ 4.495] compiled for 1.18.4, module version = 0.0.2 [ 4.495] ABI class: X.Org Video Driver, version 20.0 [ 4.495] (WW) Falling back to old probe method for vesa According to the Arch Linux documentation ( https://wiki.archlinux.org/index.php/xorg#Driver_installation), the Intel driver has priority over the others, is it being picked up in the log? I updated ParaView from AUR, could you confirm that 5.x.x releases are working with Arch? I only have another machine with Ubuntu to test on. -J?lio 2016-08-08 7:46 GMT-05:00 David Lonie : > Hi Julio, > > On Sun, Aug 7, 2016 at 2:01 PM, J?lio Hoffimann > wrote: > > Hi David, > > > > I downloaded all 4.x.x releases and everything works as expected. I > > downloaded ParaView 5.0.1 and ParaView 5.1.2, both give me the following > > error message about the driver: > > > > libGL error: unable to load driver: i965_dri.so > > libGL error: driver pointer missing > > libGL error: failed to load driver: i965 > > libGL error: unable to load driver: i965_dri.so > > libGL error: driver pointer missing > > libGL error: failed to load driver: i965 > > libGL error: unable to load driver: swrast_dri.so > > libGL error: failed to load driver: swrast > > Segmentation fault (core dumped) > > > > Based on that outcome, I confirm that this is a bug introduced somewhere > in > > between the 4.x.x and 5.x.x releases. How can we go and investigate this > > further? I can print more information about my system in case it is > needed. > > Are those drivers installed correctly? Looks like they're provided by > the intel-dri and mesa packages on archlinux: > > $ pkgfile i965_dri.so > extra/intel-dri > $ pkgfile swrast_dri.so > extra/mesa > > Those errors, and that the 5.x releases are working on other archlinux > installs, make me think this is a configuration issue with this > specific machine. The X log file /var/log/Xorg.0.log may have some > clues if there's a problem initializing the driver support needed for > the newer paraview. I'm not convinced this is a bug in ParaView just > yet -- the 5.x versions require different OpenGL contexts than the 4.x > versions, so it may be that something is not quite right for the newer > contexts. > > Have you tried building from source and setting VTK_RENDERING_BACKEND > to OpenGL (instead of OpenGL2) in cmake? That would build paraview > with the older backend used by the 4.x line, and might work better for > you. > > The only other idea that comes to mind would be to grab the > development branch from git and use 'git bisect' to identify the > commit that introduced the functionality that's failing on this > installation: > > Getting the sources from git: > https://gitlab.kitware.com/paraview/paraview/blob/master/ > Documentation/dev/git/develop.md > > Git bisect: > http://stackoverflow.com/questions/4713088/how-to-use-git-bisect > > Hope this helps, > Dave > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arctica1963 at gmail.com Tue Aug 9 03:38:31 2016 From: arctica1963 at gmail.com (Lester Anderson) Date: Tue, 9 Aug 2016 08:38:31 +0100 Subject: [Paraview] Slicing a sphere based on longitudes and latitudes In-Reply-To: <59904e1aec7a4fa6a750aa489cd4c160@ES08AMSNLNT.srn.sandia.gov> References: <59904e1aec7a4fa6a750aa489cd4c160@ES08AMSNLNT.srn.sandia.gov> Message-ID: Hi Ken, Thanks for the info, that all worked fine. Sorry bit of a late response. On a similar theme, is it easy to make a great circle slice (with the origin at 000) that plots through two long-lat points? I'm guessing that this scenario would be a rotation about x, y and z ? Thanks Lester From zackary.beaugelin at epitech.eu Tue Aug 9 05:31:28 2016 From: zackary.beaugelin at epitech.eu (zackary beaugelin) Date: Tue, 9 Aug 2016 09:31:28 +0000 Subject: [Paraview] Custom filters displayed in a category Message-ID: Hello dear users, I'm currently developing some filters (compiled into a custom plugin) under a custom version of Paraview. The different filters are (supposed to be) displayed in a category in the menu "Filters". On a Ubuntu 14.04 64bits computer they are not displayed (2 out of 3 still findable/applicable by crtl-space), and on a Kubuntu 16.04 64bits computer they are in their category (all findable/applicable). They both have the same Paraview version (5.1.0) and have the same sources. The filters are displayed in the category while under Paraview (both PC), but then going under the custom version they are not shown (Ubuntu, while they are shown under Kubuntu PC). Does anybody have a clue on how to make those filters appear? Regards, Zack -------------- next part -------------- An HTML attachment was scrubbed... URL: From roeber at dkrz.de Tue Aug 9 08:27:08 2016 From: roeber at dkrz.de (=?UTF-8?Q?Niklas_R=c3=b6ber?=) Date: Tue, 9 Aug 2016 14:27:08 +0200 Subject: [Paraview] Animated Particles in ParaView ... In-Reply-To: <23d5d11f-4688-634a-49f2-25264b3cc42f@dkrz.de> References: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> <23d5d11f-4688-634a-49f2-25264b3cc42f@dkrz.de> Message-ID: <4123551b-0250-a137-e3c9-eb0a060f2f82@dkrz.de> Never mind. If someone else needs to do similar things, have a closer look at the vtkParticleReader class: http://www.vtk.org/doc/nightly/html/classvtkParticleReader.html Just wrote a Matlab script that transforms all my data into a particle time series, which can be opened in ParaView, even with additional scalars assigned. Afterwards, I applied the filter TemporalParticlesToPathlines and the animation looks pretty cool. Cheers, Niklas > Hi, > > I have an animation in ParaView with 1440 timesteps. Additionally, I > have about 500 particles/points which I would like to combine with > this animation. The particles are also animated over time but not over > the entire length of the animation. The lifetime of a typical particle > is about 60 to 500 timesteps, and of course they all start at > different times. ;-) At the moment I have all data stored as CSV time > series, but doing everything using CSV is not only alot of work, but > might also be too much for ParaView. Therefore, I am looking for a > smarter way to store, load and animate my particles. Anybody any idea > how to do it? Any help is much appreciated! > > Thanks and Cheers... > Niklas > > > > > > _______________________________________________ > 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. Niklas R?ber Visualisierung Abteilung Anwendungen Deutsches Klimarechenzentrum GmbH (DKRZ) Bundesstra?e 45 a ? D-20146 Hamburg ? Germany email: roeber at dkrz.de phone: +49 (0)40 460094 283 fax: +49 (0)40 460094 270 web: http://www.dkrz.de/ Gesch?ftsf?hrer: Prof. Dr. Thomas Ludwig Sitz der Gesellschaft: Hamburg Amtsgericht Hamburg HRB 39784 ______________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4916 bytes Desc: S/MIME Cryptographic Signature URL: From david.lonie at kitware.com Tue Aug 9 08:49:19 2016 From: david.lonie at kitware.com (David Lonie) Date: Tue, 9 Aug 2016 08:49:19 -0400 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: On Mon, Aug 8, 2016 at 9:55 PM, J?lio Hoffimann wrote: > According to the Arch Linux documentation > (https://wiki.archlinux.org/index.php/xorg#Driver_installation), the Intel > driver has priority over the others, is it being picked up in the log? I'm afraid this is going beyond my ability to help, I'm not terribly familiar with these details. But it does look to me like the drivers are loaded correctly in the log. > I updated ParaView from AUR, could you confirm that 5.x.x releases are > working with Arch? I only have another machine with Ubuntu to test on. I updated my arch box yesterday, and can confirm the the 5.x branches are working correctly, both using the proprietary nVidia drivers and the bundled mesa-llvm implementation. I don't have an intel card to test on, but the mesa-llvm test rules out the hardware driver. The only thing left I can think of would be to bisect the source, but that can be a very time consuming process. If you locate the commit that's causing the error, perhaps it would shed some light on what's happening. I'm out of ideas at this point -- maybe someone else will have some suggestions? Good luck, Dave From utkarsh.ayachit at kitware.com Tue Aug 9 10:01:28 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 9 Aug 2016 10:01:28 -0400 Subject: [Paraview] Save Animation Bug (possibly) In-Reply-To: References: Message-ID: Odd, but glad it's working. Utkarsh On Mon, Aug 8, 2016 at 1:05 PM, Clayton C wrote: > Hey Utkarsh, > > I ended up with the same problem. However, I started deleting components > from the pipeline to see if that had any impact. I deleted the .stl files I > had loaded in that I was using to better define the geometry. I ran Save > Animation with the default settings as before and my problem disappeared. I > exited Paraview without saving the state file, reloaded the state file that > had my .stl files, and when I ran Save Animation again the problem was no > longer there. > > I'm not really sure what solved it, but it seems to be working now. I have > been playing with this for a week or so and for it to just start working is > a bit puzzling. > Thank you for your help. > > Cheers, > Clayton > > On Mon, Aug 8, 2016 at 9:24 AM, Utkarsh Ayachit > wrote: >> >> I am still having trouble reproducing this issue and hence don't have >> any thing to suggest. Let's try this: >> >> 1. Open ParaVIew. From to Tools menu, check "Lock View Size" >> 2. File | Save Animation, set resolution to 600x300. Save as pngs. >> >> Do you still see the border? >> >> If not, can you create a state file with no dataset at all with which >> you can reprouce the issue? Hopefully that sheds some light on the >> issue. >> >> Thanks >> Utkarsh >> >> On Mon, Aug 8, 2016 at 11:18 AM, Clayton C >> wrote: >> > Hey Utkarsh, >> > >> > I have tried various resolutions: 640 X 480 in animation view yielded a >> > huge >> > border; 1030 X 820 yielded a smaller border. 'Multi-view image border >> > width' >> > is set to 0 in settings. If I set the 'Multi-view image border' to a >> > value >> > and set the color to non-black (red for instance), I end up with the >> > same >> > black line that splits the view port, but with red lines on either side >> > of >> > the black line where the view port split is. I have also tried various >> > file >> > formats: tif, png, jpg, and the avi option. >> > >> > This problem disappears when I use 'Savescreenshot', but I am unable to >> > create an animation. >> > Any help would be greatly appreciated. >> > >> > Cheers, >> > Clayton >> > >> > >> > >> > >> > On Thu, Aug 4, 2016 at 9:29 AM, Utkarsh Ayachit >> > wrote: >> >> >> >> Clayton, >> >> >> >> I could not reproduce this. What was the size of the images you're >> >> saving? I wonder if that matters. >> >> >> >> Utkarsh >> >> >> >> On Thu, Aug 4, 2016 at 12:13 AM, Clayton C >> >> wrote: >> >> > I will try to make this short: >> >> > >> >> > -Running Paraview 5.1.0 on Windows >> >> > -Layout with vertically split view port; toggled view port borders >> >> > off >> >> > -View port border width thickness is set to 0 pixels >> >> > -Save screenshot generates an image of the layout without a border >> >> > present >> >> > -Save animation generates an image of the layout with a black border >> >> > present >> >> > where the split in the view port would have been. >> >> > >> >> > I'm not sure if this is intentional, but it would be great if the >> >> > images >> >> > generated from save screenshot and save animation were the same >> >> > (without >> >> > the >> >> > view port border). >> >> > >> >> > Thanks, >> >> > Clayton >> >> > >> >> > >> >> > >> >> > >> >> > _______________________________________________ >> >> > 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 Jim.Eliot at awe.co.uk Tue Aug 9 10:02:23 2016 From: Jim.Eliot at awe.co.uk (Jim.Eliot at awe.co.uk) Date: Tue, 9 Aug 2016 14:02:23 +0000 Subject: [Paraview] Face-centered variables Message-ID: <201608091358.u79DwIeN029790@msw1.awe.co.uk> Good afternoon ParaView users, Is there a method for plotting face-centered variables within ParaView? The variable appears in the Variables list of the Properties panel but I can't find a way to plot it. Any ideas? Kind regards, Jim Jim Eliot High Performance Computing Group AWE, Aldermaston, Reading, RG7 4PR The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify us immediately by email at admin.internet(at)awe.co.uk, and then delete this message from your computer. While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected. AWE Plc Registered in England and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Aug 9 10:25:13 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 9 Aug 2016 10:25:13 -0400 Subject: [Paraview] Face-centered variables In-Reply-To: <201608091358.u79DwIeN029790@msw1.awe.co.uk> References: <201608091358.u79DwIeN029790@msw1.awe.co.uk> Message-ID: Jim, By plot, do you mean coloring the faces by the face-centered values mapped through a color map? And by face-centered, do you mean each face has one data value? If I have your meaning right, that is indeed possible - you should be able to choose your variable in the "Color By" combo box. Here, I have selected a "cell" data variable named "Ids". You should see a cube icon as shown by your face-centered data variable. [image: Inline image 1] HTH, Cory On Tue, Aug 9, 2016 at 10:02 AM, wrote: > Good afternoon ParaView users, > > > > Is there a method for plotting face-centered variables within ParaView? > > > > The variable appears in the Variables list of the Properties panel but I > can?t find a way to plot it. > > > > Any ideas? > > > > Kind regards, > > Jim > > > > *Jim Eliot* > > *High Performance Computing Group* > > AWE, Aldermaston, Reading, RG7 4PR > > > > The information in this email and in any attachment(s) is commercial in > confidence. If you are not the named addressee(s) or if you receive this > email in error then any distribution, copying or use of this communication > or the information in it is strictly prohibited. Please notify us > immediately by email at admin.internet(at)awe.co.uk, and then delete this > message from your computer. While attachments are virus checked, AWE plc > does not accept any liability in respect of any virus which is not > detected. AWE Plc Registered in England and Wales Registration No 02763902 > AWE, Aldermaston, Reading, RG7 4PR > > _______________________________________________ > 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: image.png Type: image/png Size: 9407 bytes Desc: not available URL: From andy.bauer at kitware.com Tue Aug 9 11:12:20 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 9 Aug 2016 11:12:20 -0400 Subject: [Paraview] Face-centered variables In-Reply-To: References: <201608091358.u79DwIeN029790@msw1.awe.co.uk> Message-ID: Hi Jim, In ParaView there is only field values associated with points and cells. If by face data you mean data associated with 2D cells then Cory's email is the correct one. If by face values you mean field data associated with a face of a 3D cell, ParaView does not currently support that. If it's the latter, maybe if you describe your data layout a bit more in-depth we can find some workaround for you. Cheers, Andy On Tue, Aug 9, 2016 at 10:25 AM, Cory Quammen wrote: > Jim, > > By plot, do you mean coloring the faces by the face-centered values mapped > through a color map? And by face-centered, do you mean each face has one > data value? > > If I have your meaning right, that is indeed possible - you should be able > to choose your variable in the "Color By" combo box. Here, I have selected > a "cell" data variable named "Ids". You should see a cube icon as shown by > your face-centered data variable. > > [image: Inline image 1] > > HTH, > Cory > > On Tue, Aug 9, 2016 at 10:02 AM, wrote: > >> Good afternoon ParaView users, >> >> >> >> Is there a method for plotting face-centered variables within ParaView? >> >> >> >> The variable appears in the Variables list of the Properties panel but I >> can?t find a way to plot it. >> >> >> >> Any ideas? >> >> >> >> Kind regards, >> >> Jim >> >> >> >> *Jim Eliot* >> >> *High Performance Computing Group* >> >> AWE, Aldermaston, Reading, RG7 4PR >> >> >> >> The information in this email and in any attachment(s) is commercial in >> confidence. If you are not the named addressee(s) or if you receive this >> email in error then any distribution, copying or use of this communication >> or the information in it is strictly prohibited. Please notify us >> immediately by email at admin.internet(at)awe.co.uk, and then delete >> this message from your computer. While attachments are virus checked, AWE >> plc does not accept any liability in respect of any virus which is not >> detected. AWE Plc Registered in England and Wales Registration No 02763902 >> AWE, Aldermaston, Reading, RG7 4PR >> >> _______________________________________________ >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 9407 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Tue Aug 9 11:57:53 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 9 Aug 2016 11:57:53 -0400 Subject: [Paraview] Custom filters displayed in a category In-Reply-To: References: Message-ID: Can you try removing relevant configuration files from your ~/.config/* directory and see? We've had similar issues with config files messing with the menus in the past. I wonder if you're running into that. Running your app with "-dr" command line argument should have the same effect. On Tue, Aug 9, 2016 at 5:31 AM, zackary beaugelin wrote: > Hello dear users, > > I'm currently developing some filters (compiled into a custom plugin) under > a custom version of Paraview. > The different filters are (supposed to be) displayed in a category in the > menu "Filters". > On a Ubuntu 14.04 64bits computer they are not displayed (2 out of 3 still > findable/applicable by crtl-space), and on a Kubuntu 16.04 64bits computer > they are in their category (all findable/applicable). > They both have the same Paraview version (5.1.0) and have the same sources. > The filters are displayed in the category while under Paraview (both PC), > but then going under the custom version they are not shown (Ubuntu, while > they are shown under Kubuntu PC). > Does anybody have a clue on how to make those filters appear? > > Regards, > > > Zack > > > _______________________________________________ > 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 Aug 9 12:04:52 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 9 Aug 2016 12:04:52 -0400 Subject: [Paraview] Importing paraview.simple from python In-Reply-To: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> References: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> Message-ID: Here's a sample launch script: #---------------------------------------------- #!/usr/bin/env bash pvprefix=/tmp/ParaView-5.1.2-Qt4-OpenGL2-MPI-Linux-64bit/ export PYTHONPATH=$pvprefix/lib/paraview-5.1/site-packages/vtk:$pvprefix/lib/paraview-5.1/site-packages export LD_LIBRARY_PATH=$pvprefix/lib/paraview-5.1 python #---------------------------------------------- Utkarsh From zackary.beaugelin at epitech.eu Tue Aug 9 05:33:51 2016 From: zackary.beaugelin at epitech.eu (zackary beaugelin) Date: Tue, 9 Aug 2016 09:33:51 +0000 Subject: [Paraview] Difference between "Glyph type" and "Glyph source" Message-ID: Hello dear users, While working on glyphes (pipeline), I noticed there was 2 properties menus 1 named "Glyph type" and the other "Glyph source". Since I don't find anything on "Glyph source" and it doesn't seem to modify the glyph, does anybody know the difference between those two properties? Regards, Zack -------------- next part -------------- An HTML attachment was scrubbed... URL: From mirzadeh at gmail.com Tue Aug 9 12:10:22 2016 From: mirzadeh at gmail.com (Mohammad Mirzadeh) Date: Tue, 9 Aug 2016 12:10:22 -0400 Subject: [Paraview] Importing paraview.simple from python In-Reply-To: References: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> Message-ID: Along the same lines, is this possible with prebuilt binaries on OS X? I have tried including export PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python" export PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python/vtk" export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/Applications/paraview.app/Contents/Library but have not been able to make it work On Tue, Aug 9, 2016 at 12:04 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Here's a sample launch script: > > #---------------------------------------------- > #!/usr/bin/env bash > pvprefix=/tmp/ParaView-5.1.2-Qt4-OpenGL2-MPI-Linux-64bit/ > export PYTHONPATH=$pvprefix/lib/paraview-5.1/site-packages/ > vtk:$pvprefix/lib/paraview-5.1/site-packages > export LD_LIBRARY_PATH=$pvprefix/lib/paraview-5.1 > python > #---------------------------------------------- > > Utkarsh > _______________________________________________ > 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 Aug 9 12:11:12 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 9 Aug 2016 12:11:12 -0400 Subject: [Paraview] Difference between "Glyph type" and "Glyph source" In-Reply-To: References: Message-ID: "Glyph Source" is a group title. All properties under that header until the the next group header or a separator affect the "Gylph Source". "Glyph Type" allows you to pick the type of glyph source. The rest of the properties in that group update based on the chosen glyph type. Utkarsh On Tue, Aug 9, 2016 at 5:33 AM, zackary beaugelin wrote: > Hello dear users, > > While working on glyphes (pipeline), I noticed there was 2 properties menus > 1 named "Glyph type" and the other "Glyph source". > Since I don't find anything on "Glyph source" and it doesn't seem to modify > the glyph, does anybody know the difference between those two properties? > > Regards, > > > Zack > > > _______________________________________________ > 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 Aug 9 12:15:27 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 9 Aug 2016 12:15:27 -0400 Subject: [Paraview] Importing paraview.simple from python In-Reply-To: References: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> Message-ID: Attached is a script from an older email. The 5.1.* uses Python 2.7, so you'll need to update the script accordingly. I haven't tested it (as I don't have my Mac here), but it should give you some hints. Utkarsh On Tue, Aug 9, 2016 at 12:10 PM, Mohammad Mirzadeh wrote: > Along the same lines, is this possible with prebuilt binaries on OS X? I > have tried including > > export PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python" > export > PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python/vtk" > export > DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/Applications/paraview.app/Contents/Library > > but have not been able to make it work > > On Tue, Aug 9, 2016 at 12:04 PM, Utkarsh Ayachit > wrote: >> >> Here's a sample launch script: >> >> #---------------------------------------------- >> #!/usr/bin/env bash >> pvprefix=/tmp/ParaView-5.1.2-Qt4-OpenGL2-MPI-Linux-64bit/ >> export >> PYTHONPATH=$pvprefix/lib/paraview-5.1/site-packages/vtk:$pvprefix/lib/paraview-5.1/site-packages >> export LD_LIBRARY_PATH=$pvprefix/lib/paraview-5.1 >> python >> #---------------------------------------------- >> >> Utkarsh >> _______________________________________________ >> 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: runPython26.sh Type: application/x-sh Size: 645 bytes Desc: not available URL: From Jim.Eliot at awe.co.uk Tue Aug 9 12:17:33 2016 From: Jim.Eliot at awe.co.uk (Jim.Eliot at awe.co.uk) Date: Tue, 9 Aug 2016 16:17:33 +0000 Subject: [Paraview] EXTERNAL: Re: Face-centered variables In-Reply-To: References: <201608091358.u79DwIeN029790@msw1.awe.co.uk> Message-ID: <201608091613.u79GDNYX031444@msw1.awe.co.uk> Hi Andy, Cory, Your advice pointed me in the right direction. I originally thought that the variable was face-centered, but it was actually a variable on a side set (which wasn?t loaded by default). When I finally realised I had to load the set (hidden in the advanced properties), the variable appeared in the ?Color By? combo box, as promised :-) Apologies for the confusion! Many thanks for your help. Kind regards, Jim From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: 09 August 2016 16:12 To: Cory Quammen Cc: Eliot Jim AWE ; ParaView Subject: EXTERNAL: Re: [Paraview] Face-centered variables Hi Jim, In ParaView there is only field values associated with points and cells. If by face data you mean data associated with 2D cells then Cory's email is the correct one. If by face values you mean field data associated with a face of a 3D cell, ParaView does not currently support that. If it's the latter, maybe if you describe your data layout a bit more in-depth we can find some workaround for you. Cheers, Andy On Tue, Aug 9, 2016 at 10:25 AM, Cory Quammen > wrote: Jim, By plot, do you mean coloring the faces by the face-centered values mapped through a color map? And by face-centered, do you mean each face has one data value? If I have your meaning right, that is indeed possible - you should be able to choose your variable in the "Color By" combo box. Here, I have selected a "cell" data variable named "Ids". You should see a cube icon as shown by your face-centered data variable. [Inline image 1] HTH, Cory On Tue, Aug 9, 2016 at 10:02 AM, > wrote: Good afternoon ParaView users, Is there a method for plotting face-centered variables within ParaView? The variable appears in the Variables list of the Properties panel but I can?t find a way to plot it. Any ideas? Kind regards, Jim Jim Eliot High Performance Computing Group AWE, Aldermaston, Reading, RG7 4PR The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify us immediately by email at admin.internet(at)awe.co.uk, and then delete this message from your computer. While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected. AWE Plc Registered in England and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR _______________________________________________ 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 The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify us immediately by email at admin.internet(at)awe.co.uk, and then delete this message from your computer. While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected. AWE Plc Registered in England and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 9407 bytes Desc: image001.png URL: From mirzadeh at gmail.com Tue Aug 9 12:52:48 2016 From: mirzadeh at gmail.com (Mohammad Mirzadeh) Date: Tue, 9 Aug 2016 12:52:48 -0400 Subject: [Paraview] Importing paraview.simple from python In-Reply-To: References: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> Message-ID: Thanks Utkarsh. Two issues: 1- Looks like I have to use OS X provided python (2.7)? Using any other python results in Fatal Python error: PyThreadState_Get: no current thread 2- using system python I get some unresolved symbol issue with MPI. Traceback (most recent call last): File "", line 1, in File "/Applications/paraview.app/Contents/Python/paraview/simple.py", line 39, in import servermanager File "/Applications/paraview.app/Contents/Python/paraview/servermanager.py", line 55, in from vtk.vtkPVServerImplementationCore import * File "/Applications/paraview.app/Contents/Python/paraview/vtk/vtkPVServerImplementationCore.py", line 9, in from vtkPVServerImplementationCorePython import * ImportError: dlopen(/Applications/paraview.app/Contents/Libraries/vtkPVServerImplementationCorePython.so, 2): Symbol not found: _MPI_Group_size Referenced from: /Applications/paraview.app/Contents/Libraries/libmpich.3.3.dylib Expected in: flat namespace in /Applications/paraview.app/Contents/Libraries/libmpich.3.3.dylib Any idea why that happens? I have open-mpi installed system-wide (/usr/local). On Tue, Aug 9, 2016 at 12:15 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Attached is a script from an older email. The 5.1.* uses Python 2.7, > so you'll need to update the script accordingly. I haven't tested it > (as I don't have my Mac here), but it should give you some hints. > > Utkarsh > > On Tue, Aug 9, 2016 at 12:10 PM, Mohammad Mirzadeh > wrote: > > Along the same lines, is this possible with prebuilt binaries on OS X? I > > have tried including > > > > export PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/ > Contents/Python" > > export > > PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python/vtk" > > export > > DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/Applications/ > paraview.app/Contents/Library > > > > but have not been able to make it work > > > > On Tue, Aug 9, 2016 at 12:04 PM, Utkarsh Ayachit > > wrote: > >> > >> Here's a sample launch script: > >> > >> #---------------------------------------------- > >> #!/usr/bin/env bash > >> pvprefix=/tmp/ParaView-5.1.2-Qt4-OpenGL2-MPI-Linux-64bit/ > >> export > >> PYTHONPATH=$pvprefix/lib/paraview-5.1/site-packages/ > vtk:$pvprefix/lib/paraview-5.1/site-packages > >> export LD_LIBRARY_PATH=$pvprefix/lib/paraview-5.1 > >> python > >> #---------------------------------------------- > >> > >> Utkarsh > >> _______________________________________________ > >> 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 michalwozniak at live.ca Tue Aug 9 15:23:00 2016 From: michalwozniak at live.ca (michal wozniak) Date: Tue, 9 Aug 2016 15:23:00 -0400 Subject: [Paraview] Paraview Build python dependency Message-ID: Hi, I am building ParaView from source. When we test my release version on a different system, we can't use any feature that uses python : trace, python shell ... I installed your binary version and I saw that you provided the python27.DLL and a Lib folder which seem to be the one from python27 installation directory. So I copy pasted python27.dll and Lib folder into my release folder. When I use this release folder on a different computer, Paraview is still crashing when we try to use the trace feature which use python. Could someone tell me what's the correct way of deploying python with ParaView. If only there was some python tool like windeployqt.exe which is provided by qt. thanks Michal Wozniak -------------- next part -------------- An HTML attachment was scrubbed... URL: From corinnareuter75 at gmail.com Tue Aug 9 16:10:29 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Tue, 9 Aug 2016 22:10:29 +0200 Subject: [Paraview] custom filter doesn't update property in the Paraview UI In-Reply-To: References: Message-ID: Hi Cory, that's fine, I have some experience developing Qt UIs. But there is one difficulty with ParaView: I couldn't find any examples or documentation how to extend the existing widgets? Where do I plug in the additional elements, is it possible in some xml plugin description, or do I have to hard code it into the ParaView sources? The manual update is fine, although not perfect. Ideally I would like to let the user choose once whether update is automatic or manual. Since the manual update button of the Threshold filter changes its color when the filter input is modified, I assume that I should be able to use the event that triggers the color change to trigger the update of the displayed property instead. Thank you Corinna On Mon, Aug 8, 2016 at 8:29 PM, Cory Quammen wrote: > Hi Corinna, > > Utkarsh addressed the updating of properties in his earlier response > about the directionality of property changes in ParaView: > > " > 2. ParaView's properties are not bi-directional. They are only > intended to be set on the UI side and pushed to the VTK side. There > are of course exceptions to this, and you can add what's called a > "information_only" property that instead reads a value from the VTK > side and provides it on the "client" side, but for such properties, > often there's no UI. They are instead, used to define the "domain" for > the property which controls things like range for the slider, for > example. > " > > So, in short, ParaView is not really designed to do this. However, it > may be possible to define a custom panel for your NPoints property > that, when clicked, updates the property value to the current scalar > range. For example, there is a custom panel widget in the Threshold > filter that lets you update the ranges based on the range of the > currently selected scalar array. You would need this kind of custom > panel widget for your NPoints property. The only catch is you would > need to update the value manually, or perhaps you could use a QTimer > to periodically refresh the value. > > HTH, > Cory > > On Mon, Aug 8, 2016 at 2:14 PM, corinna reuter > wrote: > > Dear Cory, > > I wonder, if you still have an idea how to implement a filter that > > initializes its properties from upstream objects and updates these > > properties when those objects change. > > Isn't the whole ParaView designed such that changes are propagated along > the > > pipeline? Why is it so complicated to render propagated changes in the > > filter parameters visible? > > > > > > Thank you > > Corinna > > > > > > On Tue, Aug 2, 2016 at 4:55 PM, corinna reuter < > corinnareuter75 at gmail.com> > > wrote: > >> > >> Dear Cory, dear all, > >> sorry for not getting back to this topic earlier. Your solution works > >> perfectly for the described problem. When I create e.g. a SphereSource > and > >> attach the TestProperty filter with its NPoints property, this property > is > >> initialized with the correct number of points in the sphere. > >> > >> However, I have another requirement which is that the property should > also > >> be updated, when the input changes. I thought the same mechanism for > >> initializing the property would also take care of updating the property > upon > >> modified input. > >> > >> If I modify the SphereSource from above by changing the ThetaResolution > or > >> PhiResolution, then vtkTestProperty::RequestInformation is called as > >> expected, and the included print statements show the new number of > points, > >> but the NPoints property won't reflect this new value. Do you know of > >> another short trick, how to fix this? You mentioned that you found the > need > >> for a domain element in the ParaView source code. Where exactly? If I > >> understand what prevented the property initialization, I might be able > to > >> find out what prevents the update. > >> > >> The complete filter sources, updated to include your corrections, are > >> attached. > >> > >> Thank you > >> Corinna > >> > >> On Fri, Jul 15, 2016 at 6:02 PM, Cory Quammen > > >> wrote: > >>> > >>> Corinna, > >>> > >>> Looking at the ParaView source code, I believe that vector properties > >>> with information properties must have a domain associated with them. > >>> In your case, you can add an IntRangeDomain with only a minimum > >>> defined: > >>> > >>> >>> command="SetNPoints" > >>> information_property="NPointsInfo" > >>> number_of_elements="1" > >>> default_values="42"> > >>> > >>> > >>> > >>> 0 seems like a reasonable minimum in your case. > >>> > >>> Keep your information_only property as it is. You'll need to change > >>> where your NPoints is set, though - moving this to the > >>> RequestInformation() member function should work. > >>> > >>> Cory > >>> > >>> > >>> On Fri, Jul 15, 2016 at 3:46 AM, corinna reuter > >>> wrote: > >>> > Cory, thanks for mentioning the TIFFReader proxy. I tried to modify > my > >>> > previously attached code such that the NPoints property links to a > >>> > NPointsInfo property. Plus, I have removed the call > >>> > "this->SetNPoints(nset);" inside vtkTestProperty::RequestData as > >>> > suggested > >>> > by Utkarsh. The NPoints property is still showing the default "42", > >>> > though, > >>> > and not initialized or updated from the number of points of the input > >>> > dataset. I am obviously missing another important step in addition to > >>> > changing the xml definitions, but which one? > >>> > > >>> > Here is the detailed modification of TestProperty.xml compared to the > >>> > earlier attachment: > >>> > replace > >>> > " >>> > command="SetNPoints" > >>> > number_of_elements="1" > >>> > default_values="42"> > >>> > " > >>> > with: > >>> > " >>> > command="SetNPoints" > >>> > information_property="NPointsInfo" > >>> > number_of_elements="1" > >>> > default_values="42"> > >>> > > >>> > >>> > command="GetNPoints" > >>> > information_only="1"> > >>> > > >>> > " > >>> > > >>> > Thank you > >>> > Corinna > >>> > > >>> > > >>> > On Thu, Jul 14, 2016 at 5:24 PM, Cory Quammen > >>> > > >>> > wrote: > >>> >> > >>> >> Corinna, > >>> >> > >>> >> Take a look at the TIFFReader SourceProxy in > >>> >> ParaViewCore/ServerManager/SMApplication/Resources/readers.xml. It > has > >>> >> a CustomDataSpacing property that enables you to set voxel spacing, > >>> >> and has an associated information property CustomDataSpacingInfo > that > >>> >> should initially populate the spacing property when the reader is > >>> >> created. > >>> >> > >>> >> HTH, > >>> >> Cory > >>> >> > >>> >> On Thu, Jul 14, 2016 at 11:17 AM, Utkarsh Ayachit > >>> >> wrote: > >>> >> >> I'll check the meaning of MTime. > >>> >> > > >>> >> > See the implementation of vtkSetMacro() in vtkSetGet.h. Every time > >>> >> > the > >>> >> > value changes, it call this->Modified() which updates the MTime. > >>> >> > Since > >>> >> > VTK is a demand-driven pipeline, changes to MTime is what tells > the > >>> >> > pipeline that the algorithm has been modified and needs > reexecution. > >>> >> > If one modifies the MTime in RequestData() (the method called by > the > >>> >> > pipeline to process the input to produce output), the pipeline > >>> >> > thinks > >>> >> > the filter is always dirty and that can cause unexpected side > >>> >> > effects. > >>> >> > > >>> >> > > >>> >> >> I'd need something similar to an image resize filter. The output > >>> >> >> size > >>> >> >> should > >>> >> >> be identical to the input size, when the filter is first attached > >>> >> >> to > >>> >> >> the > >>> >> >> input. The output size should be shown in the UI and the user > >>> >> >> should be > >>> >> >> able > >>> >> >> to enter a different output size. > >>> >> > > >>> >> > This is possible. Let me see if I can find you a simple example > for > >>> >> > the same. I'll get back to 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 > >>> >> > >>> >> > >>> >> > >>> >> -- > >>> >> 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: From julio.hoffimann at gmail.com Tue Aug 9 19:48:21 2016 From: julio.hoffimann at gmail.com (=?UTF-8?Q?J=C3=BAlio_Hoffimann?=) Date: Tue, 9 Aug 2016 18:48:21 -0500 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: Hi David, Thank you for your attention. All your comments were really helpful and we definitely narrowed the location of the bug further. Given that 5.x.x works well in your Arch Linux, we are for sure talking about driver-related issues. I don't know to what extent these drivers are being used, but I will let you know if I figure out something else. The fact that 4.x.x works on the same machine also confirms that this is a bug in the way ParaView is manipulating these drivers? If anyone else has other suggestions besides the bisection of the source code, which is something I don't have the time to do right now, please let us know. Best, -J?lio 2016-08-09 7:49 GMT-05:00 David Lonie : > On Mon, Aug 8, 2016 at 9:55 PM, J?lio Hoffimann > wrote: > > According to the Arch Linux documentation > > (https://wiki.archlinux.org/index.php/xorg#Driver_installation), the > Intel > > driver has priority over the others, is it being picked up in the log? > > I'm afraid this is going beyond my ability to help, I'm not terribly > familiar with these details. But it does look to me like the drivers > are loaded correctly in the log. > > > I updated ParaView from AUR, could you confirm that 5.x.x releases are > > working with Arch? I only have another machine with Ubuntu to test on. > > I updated my arch box yesterday, and can confirm the the 5.x branches > are working correctly, both using the proprietary nVidia drivers and > the bundled mesa-llvm implementation. I don't have an intel card to > test on, but the mesa-llvm test rules out the hardware driver. > > The only thing left I can think of would be to bisect the source, but > that can be a very time consuming process. If you locate the commit > that's causing the error, perhaps it would shed some light on what's > happening. > > I'm out of ideas at this point -- maybe someone else will have some > suggestions? > > Good luck, > Dave > -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Deij at marin.nl Wed Aug 10 05:33:10 2016 From: M.Deij at marin.nl (Deij-van Rijswijk, Menno) Date: Wed, 10 Aug 2016 09:33:10 +0000 Subject: [Paraview] Catalyst - missing some basic filters Message-ID: <196a3a15d073457cb6c156b051ecd99f@MAR190n2.marin.local> Hi, Today I have built the most recent and most complete Catalyst edition (?Catalyst-v5.1.2-Base-Enable-Python-Essentials-Extras-Rendering-Base?). I find that I am missing some basic filters however. For example CellDatatoPointData and ExtractBlock are not available. Is there a way to enable specific filters somehow (maybe in CMake)? Other filters that are missing that I would like to use are *AnnotateTimeFilter *GenerateSurfaceNormals LinearExtrusion *MaskPoints NormalGlyphs *Reflect *StreamTracer StreamTracerWithCustomSource SurfaceVectors *Tesselate *Tetrahedralize *Triangulate *TriangleStrips *Tube Most of these (with *) I find quite basic and I really wonder why these are not available by default in Catalyst. Thanks and best wishes, Menno Deij ? van Rijswijk dr. ir. Menno A. Deij-van Rijswijk | Researcher / Software Engineer | Maritime Simulation & Software Group MARIN | T +31 317 49 35 06 | M.Deij at marin.nl | www.marin.nl [LinkedIn] [YouTube] [Twitter] [Facebook] MARIN news: Joint Industry Project LifeLine kicks off -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image988898.PNG Type: image/png Size: 293 bytes Desc: image988898.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagebcaa41.PNG Type: image/png Size: 331 bytes Desc: imagebcaa41.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image550a25.PNG Type: image/png Size: 333 bytes Desc: image550a25.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagee2fb02.PNG Type: image/png Size: 253 bytes Desc: imagee2fb02.PNG URL: From fangyi.zhou15 at imperial.ac.uk Wed Aug 10 05:29:52 2016 From: fangyi.zhou15 at imperial.ac.uk (Zhou, Fangyi) Date: Wed, 10 Aug 2016 09:29:52 +0000 Subject: [Paraview] Importing paraview.simple from python In-Reply-To: References: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> Message-ID: <333C7F35-A275-4A93-8297-1E8496C1064E@ic.ac.uk> Thanks to previous emails I have managed to get it running on Linux, but I have the similar problem on mac % export DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/paraview.app/Contents/Frameworks % export DYLD_FALLBACK_LIBRARY_PATH=/Applications/paraview.app/Contents/Libraries % export DYLD_LIBRARY_PATH=/Applications/paraview.app/Contents/Libraries/ % export PYTHONPATH=/Applications/paraview.app/Contents/Python:/Applications/paraview.app/Contents/Python/vtk:/Applications/paraview.app/Contents/Libraries Home-brew python: % which python /usr/local/bin/python % python Python 2.7.12 (default, Jun 29 2016, 14:05:02) [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import paraview.simple Fatal Python error: PyThreadState_Get: no current thread [1] 47104 abort python System python: % /usr/bin/python Python 2.7.10 (default, Oct 23 2015, 19:19:21) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import paraview.simple Error: Could not import vtkCommonComputationalGeometry Traceback (most recent call last): File "", line 1, in File "/Applications/paraview.app/Contents/Python/paraview/simple.py", line 39, in import servermanager File "/Applications/paraview.app/Contents/Python/paraview/servermanager.py", line 52, in from paraview import vtk File "/Applications/paraview.app/Contents/Python/paraview/vtk/__init__.py", line 7, in from vtkCommonCore import * File "/Applications/paraview.app/Contents/Python/paraview/vtk/vtkCommonCore.py", line 9, in from vtkCommonCorePython import * ImportError: dlopen(/Applications/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so, 2): Library not loaded: @executable_path/../Libraries/libvtkCommonCorePython27D-pv5.1.1.dylib Referenced from: /Applications/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so Reason: unsafe use of @executable_path in /Applications/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so with restricted binary Thanks Fangyi > On 9 Aug 2016, at 17:52, Mohammad Mirzadeh wrote: > > Thanks Utkarsh. Two issues: > > 1- Looks like I have to use OS X provided python (2.7)? Using any other python results in > > Fatal Python error: PyThreadState_Get: no current thread > > 2- using system python I get some unresolved symbol issue with MPI. > Traceback (most recent call last): > File "", line 1, in > File "/Applications/paraview.app/Contents/Python/paraview/simple.py", line 39, in > import servermanager > File "/Applications/paraview.app/Contents/Python/paraview/servermanager.py", line 55, in > from vtk.vtkPVServerImplementationCore import * > File "/Applications/paraview.app/Contents/Python/paraview/vtk/vtkPVServerImplementationCore.py", line 9, in > from vtkPVServerImplementationCorePython import * > ImportError: dlopen(/Applications/paraview.app/Contents/Libraries/vtkPVServerImplementationCorePython.so, 2): Symbol not found: _MPI_Group_size > Referenced from: /Applications/paraview.app/Contents/Libraries/libmpich.3.3.dylib > Expected in: flat namespace > in /Applications/paraview.app/Contents/Libraries/libmpich.3.3.dylib > > Any idea why that happens? I have open-mpi installed system-wide (/usr/local). > > > On Tue, Aug 9, 2016 at 12:15 PM, Utkarsh Ayachit wrote: > Attached is a script from an older email. The 5.1.* uses Python 2.7, > so you'll need to update the script accordingly. I haven't tested it > (as I don't have my Mac here), but it should give you some hints. > > Utkarsh > > On Tue, Aug 9, 2016 at 12:10 PM, Mohammad Mirzadeh wrote: > > Along the same lines, is this possible with prebuilt binaries on OS X? I > > have tried including > > > > export PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python" > > export > > PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python/vtk" > > export > > DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/Applications/paraview.app/Contents/Library > > > > but have not been able to make it work > > > > On Tue, Aug 9, 2016 at 12:04 PM, Utkarsh Ayachit > > wrote: > >> > >> Here's a sample launch script: > >> > >> #---------------------------------------------- > >> #!/usr/bin/env bash > >> pvprefix=/tmp/ParaView-5.1.2-Qt4-OpenGL2-MPI-Linux-64bit/ > >> export > >> PYTHONPATH=$pvprefix/lib/paraview-5.1/site-packages/vtk:$pvprefix/lib/paraview-5.1/site-packages > >> export LD_LIBRARY_PATH=$pvprefix/lib/paraview-5.1 > >> python > >> #---------------------------------------------- > >> > >> Utkarsh > >> _______________________________________________ > >> 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 labcorrea at gmail.com Wed Aug 10 06:11:09 2016 From: labcorrea at gmail.com (=?UTF-8?B?TMO6Y2lvIENvcnLDqmE=?=) Date: Wed, 10 Aug 2016 12:11:09 +0200 Subject: [Paraview] Problem to save screenshot in VERY HIGH resolution Message-ID: Hi, I'm trying to save one screenshot with a very high resolution. I try to run in several different machines and configurations but I had always the same problem. Some black rectangular blocks appears in the figure. I'm sending an exemple, one figure and the python code that generate this figure... Someone had some ideia why I have this problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Export_test.py Type: text/x-python-script Size: 2093 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.png Type: image/png Size: 359772 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Wed Aug 10 08:33:33 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 10 Aug 2016 08:33:33 -0400 Subject: [Paraview] Importing paraview.simple from python In-Reply-To: <333C7F35-A275-4A93-8297-1E8496C1064E@ic.ac.uk> References: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> <333C7F35-A275-4A93-8297-1E8496C1064E@ic.ac.uk> Message-ID: Looks like the relative path specification has change which may make this tricky. Ben, can you take a look please? Thanks Utkarsh On Wed, Aug 10, 2016 at 5:29 AM, Zhou, Fangyi wrote: > Thanks to previous emails I have managed to get it running on Linux, but I have the similar problem on mac > > % export DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/paraview.app/Contents/Frameworks > % export DYLD_FALLBACK_LIBRARY_PATH=/Applications/paraview.app/Contents/Libraries > % export DYLD_LIBRARY_PATH=/Applications/paraview.app/Contents/Libraries/ > % export PYTHONPATH=/Applications/paraview.app/Contents/Python:/Applications/paraview.app/Contents/Python/vtk:/Applications/paraview.app/Contents/Libraries > > Home-brew python: > > % which python > /usr/local/bin/python > % python > Python 2.7.12 (default, Jun 29 2016, 14:05:02) > [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import paraview.simple > Fatal Python error: PyThreadState_Get: no current thread > [1] 47104 abort python > > System python: > > % /usr/bin/python > Python 2.7.10 (default, Oct 23 2015, 19:19:21) > [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import paraview.simple > Error: Could not import vtkCommonComputationalGeometry > Traceback (most recent call last): > File "", line 1, in > File "/Applications/paraview.app/Contents/Python/paraview/simple.py", line 39, in > import servermanager > File "/Applications/paraview.app/Contents/Python/paraview/servermanager.py", line 52, in > from paraview import vtk > File "/Applications/paraview.app/Contents/Python/paraview/vtk/__init__.py", line 7, in > from vtkCommonCore import * > File "/Applications/paraview.app/Contents/Python/paraview/vtk/vtkCommonCore.py", line 9, in > from vtkCommonCorePython import * > ImportError: dlopen(/Applications/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so, 2): Library not loaded: @executable_path/../Libraries/libvtkCommonCorePython27D-pv5.1.1.dylib > Referenced from: /Applications/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so > Reason: unsafe use of @executable_path in /Applications/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so with restricted binary > > Thanks > > Fangyi > >> On 9 Aug 2016, at 17:52, Mohammad Mirzadeh wrote: >> >> Thanks Utkarsh. Two issues: >> >> 1- Looks like I have to use OS X provided python (2.7)? Using any other python results in >> >> Fatal Python error: PyThreadState_Get: no current thread >> >> 2- using system python I get some unresolved symbol issue with MPI. >> Traceback (most recent call last): >> File "", line 1, in >> File "/Applications/paraview.app/Contents/Python/paraview/simple.py", line 39, in >> import servermanager >> File "/Applications/paraview.app/Contents/Python/paraview/servermanager.py", line 55, in >> from vtk.vtkPVServerImplementationCore import * >> File "/Applications/paraview.app/Contents/Python/paraview/vtk/vtkPVServerImplementationCore.py", line 9, in >> from vtkPVServerImplementationCorePython import * >> ImportError: dlopen(/Applications/paraview.app/Contents/Libraries/vtkPVServerImplementationCorePython.so, 2): Symbol not found: _MPI_Group_size >> Referenced from: /Applications/paraview.app/Contents/Libraries/libmpich.3.3.dylib >> Expected in: flat namespace >> in /Applications/paraview.app/Contents/Libraries/libmpich.3.3.dylib >> >> Any idea why that happens? I have open-mpi installed system-wide (/usr/local). >> >> >> On Tue, Aug 9, 2016 at 12:15 PM, Utkarsh Ayachit wrote: >> Attached is a script from an older email. The 5.1.* uses Python 2.7, >> so you'll need to update the script accordingly. I haven't tested it >> (as I don't have my Mac here), but it should give you some hints. >> >> Utkarsh >> >> On Tue, Aug 9, 2016 at 12:10 PM, Mohammad Mirzadeh wrote: >> > Along the same lines, is this possible with prebuilt binaries on OS X? I >> > have tried including >> > >> > export PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python" >> > export >> > PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python/vtk" >> > export >> > DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/Applications/paraview.app/Contents/Library >> > >> > but have not been able to make it work >> > >> > On Tue, Aug 9, 2016 at 12:04 PM, Utkarsh Ayachit >> > wrote: >> >> >> >> Here's a sample launch script: >> >> >> >> #---------------------------------------------- >> >> #!/usr/bin/env bash >> >> pvprefix=/tmp/ParaView-5.1.2-Qt4-OpenGL2-MPI-Linux-64bit/ >> >> export >> >> PYTHONPATH=$pvprefix/lib/paraview-5.1/site-packages/vtk:$pvprefix/lib/paraview-5.1/site-packages >> >> export LD_LIBRARY_PATH=$pvprefix/lib/paraview-5.1 >> >> python >> >> #---------------------------------------------- >> >> >> >> Utkarsh >> >> _______________________________________________ >> >> 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 Aug 10 08:40:35 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 10 Aug 2016 08:40:35 -0400 Subject: [Paraview] Problem to save screenshot in VERY HIGH resolution In-Reply-To: References: Message-ID: That's indeed a bug. I've reported it here: http://www.paraview.org/Bug/view.php?id=16813 We will have it looked into for the next release. Utkarsh On Wed, Aug 10, 2016 at 6:11 AM, L?cio Corr?a wrote: > Hi, > > I'm trying to save one screenshot with a very high resolution. > > I try to run in several different machines and configurations but I had > always the same problem. > > Some black rectangular blocks appears in the figure. > > I'm sending an exemple, one figure and the python code that generate this > figure... > > Someone had some ideia why I have this problem? > > > > > _______________________________________________ > 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 Claire.GUILBAUD at CEA.FR Wed Aug 10 09:48:49 2016 From: Claire.GUILBAUD at CEA.FR (Claire.GUILBAUD at CEA.FR) Date: Wed, 10 Aug 2016 13:48:49 +0000 Subject: [Paraview] a lot of Generic Warning for vtkBuffer in PV5.1 Message-ID: <7f6b211b39e643d2b09a21fcea5ff1fa@U-MYKONOS2.dif.dam.intra.cea.fr> Hello, When running ParaView 5.1 in debug with DEBUG_LEAKS=ON, I have several times the following message : Generic Warning: In .../vtkDebugLeaks.cxx, line 285: Deleting unknown object: vtkBuffer When I close PV, there are a lot of vtkBuffer instances still around. The configuration used for PV compilation : CMAKE_BUILD_TYPE=Debug BUILD_TESTING=OFF VTK_ALL_NEW_OBJECT_FACTORY=ON VTK_DEBUG_LEAKS=ON VTK_RENDERING_BACKEND=OpenGL # or OpenGL2 PARAVIEW_ENABLE_PYTHON=ON PARAVIEW_INSTALL_DEVELOPMENT_FILES=ON PARAVIEW_USE_MPI=ON PARAVIEW_BUILD_QT_GUI=ON Module_vtkFiltersSelection=ON PARAVIEW_BUILD_PLUGIN_SurfaceLIC=ON PARAVIEW_AUTOLOAD_PLUGIN_SurfaceLIC=ON VTK_Group_ParaViewQt=ON VTK_Group_Views=ON Does anyone have an idea ? Thank you, Claire -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Wed Aug 10 10:45:45 2016 From: david.lonie at kitware.com (David Lonie) Date: Wed, 10 Aug 2016 10:45:45 -0400 Subject: [Paraview] a lot of Generic Warning for vtkBuffer in PV5.1 In-Reply-To: <7f6b211b39e643d2b09a21fcea5ff1fa@U-MYKONOS2.dif.dam.intra.cea.fr> References: <7f6b211b39e643d2b09a21fcea5ff1fa@U-MYKONOS2.dif.dam.intra.cea.fr> Message-ID: On Wed, Aug 10, 2016 at 9:48 AM, Claire.GUILBAUD at CEA.FR wrote: > When running ParaView 5.1 in debug with DEBUG_LEAKS=ON, I have several times > the following message : > > Generic Warning: In ?/vtkDebugLeaks.cxx, line 285: > Deleting unknown object: vtkBuffer > > When I close PV, there are a lot of vtkBuffer instances still > around. It looks like the vtkDebugLeaks reference manager is getting confused by the class template. It appears that vtkBuffer is being registered as 'vtkBuffer' and unregistered as 'vtkBuffer'. The good news is that you can likely ignore these for now -- they aren't actually leaking, but the object tracker is getting confused. I'll see about fixing this soon. Thanks for the report! Dave From burlen.loring at gmail.com Wed Aug 10 13:55:06 2016 From: burlen.loring at gmail.com (Burlen Loring) Date: Wed, 10 Aug 2016 10:55:06 -0700 Subject: [Paraview] Importing paraview.simple from python In-Reply-To: References: <936B81DB-7810-42F2-B6B2-894116A67E10@ic.ac.uk> <333C7F35-A275-4A93-8297-1E8496C1064E@ic.ac.uk> Message-ID: <756a8f5c-129a-1557-10fe-18a4e506e7c0@gmail.com> fyi, a common way to encounter > Fatal Python error: PyThreadState_Get: no current thread is when cmake's find Python modules mix two version of Python. this happen if you have two installs, one in a system location and one else where with interpreter in the path. You can identify it in the cmake cache. bug reports on this are found in the cmake Mantis tracker. The most informative is here and in new bug tracker here . I've resorted to using python-config in cmake to work around, but this requires the environment to have the desired python in the path, ld lib path, dyld lib path and pkg config path. On 08/10/2016 05:33 AM, Utkarsh Ayachit wrote: > Looks like the relative path specification has change which may make > this tricky. Ben, can you take a look please? Thanks > > Utkarsh > > On Wed, Aug 10, 2016 at 5:29 AM, Zhou, Fangyi > wrote: >> Thanks to previous emails I have managed to get it running on Linux, but I have the similar problem on mac >> >> % export DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/paraview.app/Contents/Frameworks >> % export DYLD_FALLBACK_LIBRARY_PATH=/Applications/paraview.app/Contents/Libraries >> % export DYLD_LIBRARY_PATH=/Applications/paraview.app/Contents/Libraries/ >> % export PYTHONPATH=/Applications/paraview.app/Contents/Python:/Applications/paraview.app/Contents/Python/vtk:/Applications/paraview.app/Contents/Libraries >> >> Home-brew python: >> >> % which python >> /usr/local/bin/python >> % python >> Python 2.7.12 (default, Jun 29 2016, 14:05:02) >> [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin >> Type "help", "copyright", "credits" or "license" for more information. >>>>> import paraview.simple >> Fatal Python error: PyThreadState_Get: no current thread >> [1] 47104 abort python >> >> System python: >> >> % /usr/bin/python >> Python 2.7.10 (default, Oct 23 2015, 19:19:21) >> [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin >> Type "help", "copyright", "credits" or "license" for more information. >>>>> import paraview.simple >> Error: Could not import vtkCommonComputationalGeometry >> Traceback (most recent call last): >> File "", line 1, in >> File "/Applications/paraview.app/Contents/Python/paraview/simple.py", line 39, in >> import servermanager >> File "/Applications/paraview.app/Contents/Python/paraview/servermanager.py", line 52, in >> from paraview import vtk >> File "/Applications/paraview.app/Contents/Python/paraview/vtk/__init__.py", line 7, in >> from vtkCommonCore import * >> File "/Applications/paraview.app/Contents/Python/paraview/vtk/vtkCommonCore.py", line 9, in >> from vtkCommonCorePython import * >> ImportError: dlopen(/Applications/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so, 2): Library not loaded: @executable_path/../Libraries/libvtkCommonCorePython27D-pv5.1.1.dylib >> Referenced from: /Applications/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so >> Reason: unsafe use of @executable_path in /Applications/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so with restricted binary >> >> Thanks >> >> Fangyi >> >>> On 9 Aug 2016, at 17:52, Mohammad Mirzadeh wrote: >>> >>> Thanks Utkarsh. Two issues: >>> >>> 1- Looks like I have to use OS X provided python (2.7)? Using any other python results in >>> >>> Fatal Python error: PyThreadState_Get: no current thread >>> >>> 2- using system python I get some unresolved symbol issue with MPI. >>> Traceback (most recent call last): >>> File "", line 1, in >>> File "/Applications/paraview.app/Contents/Python/paraview/simple.py", line 39, in >>> import servermanager >>> File "/Applications/paraview.app/Contents/Python/paraview/servermanager.py", line 55, in >>> from vtk.vtkPVServerImplementationCore import * >>> File "/Applications/paraview.app/Contents/Python/paraview/vtk/vtkPVServerImplementationCore.py", line 9, in >>> from vtkPVServerImplementationCorePython import * >>> ImportError: dlopen(/Applications/paraview.app/Contents/Libraries/vtkPVServerImplementationCorePython.so, 2): Symbol not found: _MPI_Group_size >>> Referenced from: /Applications/paraview.app/Contents/Libraries/libmpich.3.3.dylib >>> Expected in: flat namespace >>> in /Applications/paraview.app/Contents/Libraries/libmpich.3.3.dylib >>> >>> Any idea why that happens? I have open-mpi installed system-wide (/usr/local). >>> >>> >>> On Tue, Aug 9, 2016 at 12:15 PM, Utkarsh Ayachit wrote: >>> Attached is a script from an older email. The 5.1.* uses Python 2.7, >>> so you'll need to update the script accordingly. I haven't tested it >>> (as I don't have my Mac here), but it should give you some hints. >>> >>> Utkarsh >>> >>> On Tue, Aug 9, 2016 at 12:10 PM, Mohammad Mirzadeh wrote: >>>> Along the same lines, is this possible with prebuilt binaries on OS X? I >>>> have tried including >>>> >>>> export PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python" >>>> export >>>> PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python/vtk" >>>> export >>>> DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/Applications/paraview.app/Contents/Library >>>> >>>> but have not been able to make it work >>>> >>>> On Tue, Aug 9, 2016 at 12:04 PM, Utkarsh Ayachit >>>> wrote: >>>>> Here's a sample launch script: >>>>> >>>>> #---------------------------------------------- >>>>> #!/usr/bin/env bash >>>>> pvprefix=/tmp/ParaView-5.1.2-Qt4-OpenGL2-MPI-Linux-64bit/ >>>>> export >>>>> PYTHONPATH=$pvprefix/lib/paraview-5.1/site-packages/vtk:$pvprefix/lib/paraview-5.1/site-packages >>>>> export LD_LIBRARY_PATH=$pvprefix/lib/paraview-5.1 >>>>> python >>>>> #---------------------------------------------- >>>>> >>>>> Utkarsh >>>>> _______________________________________________ >>>>> 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 richard.c.angelini.civ at mail.mil Wed Aug 10 14:13:41 2016 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US)) Date: Wed, 10 Aug 2016 18:13:41 +0000 Subject: [Paraview] PV 5.1.2 Mesa Build Message-ID: I?m using the Superbuild to attempt to build ParaView on a system which cannot FTP to the outside world. I have downloaded all of the tar balls into a Downloads directory, including mesa-12.0.0-rc2.tar.gz ? however, the SuperBuild insists on zero?ing out the mesa-12.0.0-rc2.tar.gz file and trying to FTP it down. I have GIT=OFF in my cmake command. [ 24%] Completed 'llvm' [ 24%] Built target llvm Scanning dependencies of target mesa [ 25%] Creating directories for 'mesa' [ 25%] Performing download step (download, verify and extract) for 'mesa' -- downloading... src='ftp://ftp.freedesktop.org/pub/mesa/12.0.0/mesa-12.0.0-rc2.tar.gz' dst='/u/home/angel/PV/5.1.2/Downloads/mesa-12.0.0-rc2.tar.gz' timeout='none' CMake Error at mesa-stamp/download-mesa.cmake:21 (message): error: downloading 'ftp://ftp.freedesktop.org/pub/mesa/12.0.0/mesa-12.0.0-rc2.tar.gz' failed status_code: 7 status_string: "Couldn't connect to server" log: Trying 131.252.210.176... Connected to ftp.freedesktop.org (131.252.210.176) port 21 (#0) 220 Welcome to the freedesktop.org FTP server. USER anonymous 331 Please specify the password. PASS ftp at example.com 230 Login successful. PWD 257 "/" Entry path is '/' CWD pub ftp_perform ends with SECONDARY: 0 250 Directory successfully changed. CWD mesa 250 Directory successfully changed. CWD 12.0.0 250 Directory successfully changed. EPSV Connect data stream passively 229 Entering Extended Passive Mode (|||37332|). Trying 131.252.210.176... Connecting to 131.252.210.176 (131.252.210.176) port 37332 connect to 131.252.210.176 port 21 failed: Connection timed out Failed to connect to ftp.freedesktop.org port 21: Connection timed out Failed EPSV attempt. Disabling EPSV PASV 227 Entering Passive Mode (131,252,210,176,180,31). Trying 131.252.210.176... Connecting to 131.252.210.176 (131.252.210.176) port 46111 connect to 131.252.210.176 port 21 failed: Connection timed out Failed to connect to ftp.freedesktop.org port 21: Connection timed out Closing connection 0 make[2]: *** [mesa/src/mesa-stamp/mesa-download] Error 1 make[1]: *** [CMakeFiles/mesa.dir/all] Error 2 make: *** [all] Error 2________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5108 bytes Desc: not available URL: From richard.c.angelini.civ at mail.mil Wed Aug 10 14:24:23 2016 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US)) Date: Wed, 10 Aug 2016 18:24:23 +0000 Subject: [Paraview] [Non-DoD Source] PV 5.1.2 Mesa Build In-Reply-To: References: Message-ID: I?m not sure if this is the right way to fix this problem, but there was not a URL_MD5 value for mesa-12.0.0 in the versions.cmake file. So I manually added a URL_MD5 entry to versions.cmake and it now works correctly (if the tar ball is there it does not attempt to download it) if (CROSS_BUILD_STAGE STREQUAL "CROSS") add_revision(mesa URL "http://www.paraview.org/files/dependencies/MesaLib-7.6.1.tar.gz" URL_MD5 e80fabad2e3eb7990adae773d6aeacba) else() add_revision(mesa URL "ftp://ftp.freedesktop.org/pub/mesa/12.0.0/mesa-12.0.0-rc2.tar.gz") URL_MD5 cca449752b58c35f03af5a009d099283) <<<<<<<<<<<<<<<<<<<<<<<< I added this! endif() ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 From: ParaView on behalf of Rick Angelini Date: Wednesday, August 10, 2016 at 2:13 PM To: ParaView Subject: [Non-DoD Source] [Paraview] PV 5.1.2 Mesa Build All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. I?m using the Superbuild to attempt to build ParaView on a system which cannot FTP to the outside world. I have downloaded all of the tar balls into a Downloads directory, including mesa-12.0.0-rc2.tar.gz ? however, the SuperBuild insists on zero?ing out the mesa-12.0.0-rc2.tar.gz file and trying to FTP it down. I have GIT=OFF in my cmake command. [ 24%] Completed 'llvm' [ 24%] Built target llvm Scanning dependencies of target mesa [ 25%] Creating directories for 'mesa' [ 25%] Performing download step (download, verify and extract) for 'mesa' -- downloading... src='Caution-ftp://ftp.freedesktop.org/pub/mesa/12.0.0/mesa-12.0.0-rc2.tar.g z' dst='/u/home/angel/PV/5.1.2/Downloads/mesa-12.0.0-rc2.tar.gz' timeout='none' CMake Error at mesa-stamp/download-mesa.cmake:21 (message): error: downloading 'Caution-ftp://ftp.freedesktop.org/pub/mesa/12.0.0/mesa-12.0.0-rc2.tar.gz' failed status_code: 7 status_string: "Couldn't connect to server" log: Trying 131.252.210.176... Connected to Caution-ftp.freedesktop.org (131.252.210.176) port 21 (#0) 220 Welcome to the freedesktop.org FTP server. USER anonymous 331 Please specify the password. PASS ftp at example.com 230 Login successful. PWD 257 "/" Entry path is '/' CWD pub ftp_perform ends with SECONDARY: 0 250 Directory successfully changed. CWD mesa 250 Directory successfully changed. CWD 12.0.0 250 Directory successfully changed. EPSV Connect data stream passively 229 Entering Extended Passive Mode (|||37332|). Trying 131.252.210.176... Connecting to 131.252.210.176 (131.252.210.176) port 37332 connect to 131.252.210.176 port 21 failed: Connection timed out Failed to connect to Caution-ftp.freedesktop.org port 21: Connection timed out Failed EPSV attempt. Disabling EPSV PASV 227 Entering Passive Mode (131,252,210,176,180,31). Trying 131.252.210.176... Connecting to 131.252.210.176 (131.252.210.176) port 46111 connect to 131.252.210.176 port 21 failed: Connection timed out Failed to connect to Caution-ftp.freedesktop.org port 21: Connection timed out Closing connection 0 make[2]: *** [mesa/src/mesa-stamp/mesa-download] Error 1 make[1]: *** [CMakeFiles/mesa.dir/all] Error 2 make: *** [all] Error 2________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5108 bytes Desc: not available URL: From Simo.Sepponen at student.lut.fi Thu Aug 11 01:55:38 2016 From: Simo.Sepponen at student.lut.fi (Simo Sepponen) Date: Thu, 11 Aug 2016 05:55:38 +0000 Subject: [Paraview] Integral variables and plot over time Message-ID: <1470894939107.9564@student.lut.fi> Hello, I am trying to calculate total mass of a particle phase in a system and also the mass flow of particle phase trough a boundary. For example I define a new variable "mass" in calculator, which is the volume fraction times the density, to get the mass in the system I use integrate variables. When I use the filter integrate variables, it integrates every variable. How can I select just the one I defined in calculator as "mass"? Then I use plot over time and I want to plot just the integrated value of "mass". How can just one variable be selected for plot over time from the integrate variables table? Now I can only select the row, which has every variable integrated. Best regards, Simo -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Thu Aug 11 12:01:52 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Thu, 11 Aug 2016 16:01:52 +0000 Subject: [Paraview] Slicing a sphere based on longitudes and latitudes Message-ID: <8fe91b5d01f742d7841815271a716195@ES08AMSNLNT.srn.sandia.gov> Lester, Once again, this problem can be solved with some basic geometry. Basically you want to slice by a plane that goes through the origin (0, 0, 0) and the two points defined by the 2 lat/lon coordiantes. Finding the plane that goes through 3 non-collinear points is straightforward (in Cartesian space). The first step would be to convert your two lat/lon points to Cartesian coordinate (X,Y,Z). Once you have that, you can define the slice plane by an origin point (0, 0, 0 works just fine) and a normal (perpendicular) vector. The normal can be computed by taking the cross product of the vectors going from the origin to these two points. Just plug that into the normal for the slice plane and you are good to go. If you need more information on finding the plane defined by three points, there are many resources on the web to do so. Here is one descriptive video I found with a simple Google search: https://www.youtube.com/watch?v=0qYJfKG-3l8. There are many others. Most of these instructions find the plane equation, but the plane equation is constructed with the point and normal, which are all you need in ParaView. -Ken -----Original Message----- From: Lester Anderson [mailto:arctica1963 at gmail.com] Sent: Tuesday, August 9, 2016 1:39 AM To: Moreland, Kenneth Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Slicing a sphere based on longitudes and latitudes Hi Ken, Thanks for the info, that all worked fine. Sorry bit of a late response. On a similar theme, is it easy to make a great circle slice (with the origin at 000) that plots through two long-lat points? I'm guessing that this scenario would be a rotation about x, y and z ? Thanks Lester From utkarsh.ayachit at kitware.com Thu Aug 11 13:42:04 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 11 Aug 2016 13:42:04 -0400 Subject: [Paraview] Paraview Build python dependency In-Reply-To: References: Message-ID: I'd suggest using ParaView Superbuild to build redistributables (https://gitlab.kitware.com/paraview/paraview-superbuild). Utkarsh On Tue, Aug 9, 2016 at 3:23 PM, michal wozniak wrote: > Hi, > > I am building ParaView from source. When we test my release version on a > different system, we can't use any feature that uses python : trace, python > shell ... > > I installed your binary version and I saw that you provided the python27.DLL > and a Lib folder which seem to be the one from python27 installation > directory. So I copy pasted python27.dll and Lib folder into my release > folder. When I use this release folder on a different computer, Paraview is > still crashing when we try to use the trace feature which use python. > > Could someone tell me what's the correct way of deploying python with > ParaView. If only there was some python tool like windeployqt.exe which is > provided by qt. > > thanks > > Michal Wozniak > > _______________________________________________ > 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 fagung at gmail.com Thu Aug 11 16:36:00 2016 From: fagung at gmail.com (Fa-Gung Fan) Date: Thu, 11 Aug 2016 13:36:00 -0700 Subject: [Paraview] ParaView over the internet Message-ID: Hi ParaView users/developers, In my works, I need to use ParaView remotely, over the Internet. Displaying the GUI and the images and accepting a selection become very slow. Is there a light-wright version of ParaView (even with lower resolution)? Or, if it is possible, how to configure ParaView so it can be easier to use over the Internet? Thank you. - ffan -------------- next part -------------- An HTML attachment was scrubbed... URL: From michalwozniak at live.ca Thu Aug 11 17:35:46 2016 From: michalwozniak at live.ca (michal wozniak) Date: Thu, 11 Aug 2016 17:35:46 -0400 Subject: [Paraview] Paraview Build python dependency Message-ID: thanks I am currently trying the superbuild process. I usually pass pass /m:4 to my msbuild to get 4 msbuild instance. When I used to build paraview (not superbuild), the cpu utilization during the build was always at maximum but with superbuild it is always around 20%. Do I also need to pass /MP parameter to enable multi-processor build ? From: Utkarsh Ayachit Sent: Thursday, August 11, 2016 1:42 PM To: michal wozniak Cc: paraview at paraview.org Subject: Re: [Paraview] Paraview Build python dependency I'd suggest using ParaView Superbuild to build redistributables (https://gitlab.kitware.com/paraview/paraview-superbuild). Utkarsh On Tue, Aug 9, 2016 at 3:23 PM, michal wozniak wrote: > Hi, > > I am building ParaView from source. When we test my release version on a > different system, we can't use any feature that uses python : trace, python > shell ... > > I installed your binary version and I saw that you provided the python27.DLL > and a Lib folder which seem to be the one from python27 installation > directory. So I copy pasted python27.dll and Lib folder into my release > folder. When I use this release folder on a different computer, Paraview is > still crashing when we try to use the trace feature which use python. > > Could someone tell me what's the correct way of deploying python with > ParaView. If only there was some python tool like windeployqt.exe which is > provided by qt. > > thanks > > Michal Wozniak > > _______________________________________________ > 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 hitcaozx at gmail.com Thu Aug 11 18:10:40 2016 From: hitcaozx at gmail.com (=?UTF-8?B?5pu55pm66YCJ?=) Date: Thu, 11 Aug 2016 18:10:40 -0400 Subject: [Paraview] load plugin through python scripts Message-ID: Hi, I am trying to write a python scripts to "visualize" simulation results. I need load a plugin through GUI of paraview before opening data. If I first load plugin in the GUI and then run my python scripts through Paraview GUI -> tools ->python shell, it works well. To load plugin in python scrips. I use the trace tool of paraview found that the function to load plugin is: LoadPlugin('/rohit1/data/users/zhixuanc/Soft/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libH5PartReader.so', remote=False). Instead of load plugin manually through GUI, I put this command at the very beginning of the existing python scripts and run the scripts through Paraview GUI -> tools ->python shell. But I got an error message and it does not work: Plot[plotname] = H5PartReader(FileName=maindirectory+subdirectory+name) NameError: global name 'H5PartReader' is not defined But when I go to Paraview GUI -> tools -> Manage Plugins, it shows that the required plugin is loaded. I am not sure what's wrong and how to fix this issue. Could anybody give me any advice on it? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Aug 11 19:52:00 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 11 Aug 2016 17:52:00 -0600 Subject: [Paraview] load plugin through python scripts In-Reply-To: References: Message-ID: Are you missing? from paraview.simple import * On Thu, Aug 11, 2016 at 4:10 PM, ??? wrote: > Hi, > I am trying to write a python scripts to "visualize" simulation results. > > I need load a plugin through GUI of paraview before opening data. If I > first load plugin in the GUI and then run my python scripts through > Paraview GUI -> tools ->python shell, it works well. > To load plugin in python scrips. I use the trace tool of paraview found > that the function to load plugin is: > LoadPlugin('/rohit1/data/users/zhixuanc/Soft/ParaView- > 4.3.1-Linux-64bit/lib/paraview-4.3/libH5PartReader.so', remote=False). > > Instead of load plugin manually through GUI, I put this command at the > very beginning of the existing python scripts and run the scripts through > Paraview GUI -> tools ->python shell. But I got an error message and it > does not work: > > Plot[plotname] = H5PartReader(FileName=maindirectory+subdirectory+name) > > NameError: global name 'H5PartReader' is not defined > > But when I go to Paraview GUI -> tools -> Manage Plugins, it shows that > the required plugin is loaded. > > I am not sure what's wrong and how to fix this issue. > > Could anybody give me any advice on it? > > > > > _______________________________________________ > 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 sebastien.jourdain at kitware.com Thu Aug 11 20:02:00 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 11 Aug 2016 18:02:00 -0600 Subject: [Paraview] ParaView over the internet In-Reply-To: References: Message-ID: ParaViewWeb - Visualizer is meant for that. Although, selection is not implemented currently. http://kitware.github.io/paraviewweb/applications/ But that version of Visualizer require ParaView/master. Otherwise an older version of Visualizer is provided along with ParaView binaries (except for Windows). You can find documentation on it here: http://paraviewweb.kitware.com/#!/guide/quick_start http://paraviewweb.kitware.com/#!/guide/app_gallery On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan wrote: > Hi ParaView users/developers, > > In my works, I need to use ParaView remotely, over the Internet. > Displaying the GUI and the images and accepting a selection become very > slow. Is there a light-wright version of ParaView (even with lower > resolution)? Or, if it is possible, how to configure ParaView so it can be > easier to use over the Internet? Thank you. > > - ffan > > _______________________________________________ > 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 fagung at gmail.com Thu Aug 11 21:02:19 2016 From: fagung at gmail.com (Fa-Gung Fan) Date: Thu, 11 Aug 2016 18:02:19 -0700 Subject: [Paraview] ParaView over the internet In-Reply-To: References: Message-ID: Thank you Sebastien. Following the installation instruction, I have: ffan at caelinux2013-VirtualBox:~$ npm install -g pvw-visualizer npm http GET https://registry.npmjs.org/pvw-visualizer npm ERR! Error: failed to fetch from registry: pvw-visualizer npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12 npm ERR! at cb (/usr/share/npm/lib/utils/npm- registry-client/request.js:31:9) npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- registry-client/request.js:136:18) npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) npm ERR! at Request. (/usr/lib/nodejs/request/main.js:212:58) npm ERR! at Request.emit (events.js:88:20) npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main. js:412:12) npm ERR! at ClientRequest.emit (events.js:67:17) npm ERR! at HTTPParser.onIncoming (http.js:1261:11) npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) npm ERR! You may report this log at: npm ERR! npm ERR! or use npm ERR! reportbug --attach /home/ffan/npm-debug.log npm npm ERR! npm ERR! System Linux 3.2.0-105-generic npm ERR! command "node" "/usr/bin/npm" "install" "-g" "pvw-visualizer" npm ERR! cwd /home/ffan npm ERR! node -v v0.6.12 npm ERR! npm -v 1.1.4 npm ERR! message failed to fetch from registry: pvw-visualizer npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/ffan/npm-debug.log npm not ok ffan at caelinux2013-VirtualBox:~$ It says "failed to fetch from registry: pvw-visualizer". Did I do something wrong? Thanks. - ffan On Thu, Aug 11, 2016 at 5:02 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > ParaViewWeb - Visualizer is meant for that. Although, selection is not > implemented currently. > > http://kitware.github.io/paraviewweb/applications/ > > But that version of Visualizer require ParaView/master. > > Otherwise an older version of Visualizer is provided along with ParaView > binaries (except for Windows). > You can find documentation on it here: > http://paraviewweb.kitware.com/#!/guide/quick_start > http://paraviewweb.kitware.com/#!/guide/app_gallery > > On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan wrote: > >> Hi ParaView users/developers, >> >> In my works, I need to use ParaView remotely, over the Internet. >> Displaying the GUI and the images and accepting a selection become very >> slow. Is there a light-wright version of ParaView (even with lower >> resolution)? Or, if it is possible, how to configure ParaView so it can be >> easier to use over the Internet? Thank you. >> >> - ffan >> >> _______________________________________________ >> 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: npm-debug.log Type: text/x-log Size: 2032 bytes Desc: not available URL: From sebastien.jourdain at kitware.com Thu Aug 11 22:17:33 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 11 Aug 2016 20:17:33 -0600 Subject: [Paraview] ParaView over the internet In-Reply-To: References: Message-ID: You seem to have a very old node and npm. The npm package is here: https://www.npmjs.com/package/pvw-visualizer Maybe the service was down? On Thu, Aug 11, 2016 at 7:02 PM, Fa-Gung Fan wrote: > Thank you Sebastien. > > Following the installation instruction, I have: > > ffan at caelinux2013-VirtualBox:~$ npm install -g pvw-visualizer > npm http GET https://registry.npmjs.org/pvw-visualizer > > npm ERR! Error: failed to fetch from registry: pvw-visualizer > npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12 > npm ERR! at cb (/usr/share/npm/lib/utils/npm- > registry-client/request.js:31:9) > npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- > registry-client/request.js:136:18) > npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) > npm ERR! at Request. (/usr/lib/nodejs/request/main. > js:212:58) > npm ERR! at Request.emit (events.js:88:20) > npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main. > js:412:12) > npm ERR! at ClientRequest.emit (events.js:67:17) > npm ERR! at HTTPParser.onIncoming (http.js:1261:11) > npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) > npm ERR! You may report this log at: > npm ERR! > npm ERR! or use > npm ERR! reportbug --attach /home/ffan/npm-debug.log npm > npm ERR! > npm ERR! System Linux 3.2.0-105-generic > npm ERR! command "node" "/usr/bin/npm" "install" "-g" "pvw-visualizer" > npm ERR! cwd /home/ffan > npm ERR! node -v v0.6.12 > npm ERR! npm -v 1.1.4 > npm ERR! message failed to fetch from registry: pvw-visualizer > npm ERR! > npm ERR! Additional logging details can be found in: > npm ERR! /home/ffan/npm-debug.log > npm not ok > ffan at caelinux2013-VirtualBox:~$ > > It says "failed to fetch from registry: pvw-visualizer". Did I do > something wrong? Thanks. > > - ffan > > > On Thu, Aug 11, 2016 at 5:02 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> ParaViewWeb - Visualizer is meant for that. Although, selection is not >> implemented currently. >> >> http://kitware.github.io/paraviewweb/applications/ >> >> But that version of Visualizer require ParaView/master. >> >> Otherwise an older version of Visualizer is provided along with ParaView >> binaries (except for Windows). >> You can find documentation on it here: >> http://paraviewweb.kitware.com/#!/guide/quick_start >> http://paraviewweb.kitware.com/#!/guide/app_gallery >> >> On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan wrote: >> >>> Hi ParaView users/developers, >>> >>> In my works, I need to use ParaView remotely, over the Internet. >>> Displaying the GUI and the images and accepting a selection become very >>> slow. Is there a light-wright version of ParaView (even with lower >>> resolution)? Or, if it is possible, how to configure ParaView so it can be >>> easier to use over the Internet? Thank you. >>> >>> - ffan >>> >>> _______________________________________________ >>> 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 sebastien.jourdain at kitware.com Thu Aug 11 22:19:15 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 11 Aug 2016 20:19:15 -0600 Subject: [Paraview] ParaView over the internet In-Reply-To: References: Message-ID: BTW, if you plan to run ParaView in a VM, the rendering performance will be pretty low unless you properly setup the VM to use a GPU with the proper drivers. On Thu, Aug 11, 2016 at 8:17 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > You seem to have a very old node and npm. > > The npm package is here: https://www.npmjs.com/package/pvw-visualizer > > Maybe the service was down? > > On Thu, Aug 11, 2016 at 7:02 PM, Fa-Gung Fan wrote: > >> Thank you Sebastien. >> >> Following the installation instruction, I have: >> >> ffan at caelinux2013-VirtualBox:~$ npm install -g pvw-visualizer >> npm http GET https://registry.npmjs.org/pvw-visualizer >> >> npm ERR! Error: failed to fetch from registry: pvw-visualizer >> npm ERR! at /usr/share/npm/lib/utils/npm-r >> egistry-client/get.js:139:12 >> npm ERR! at cb (/usr/share/npm/lib/utils/npm- >> registry-client/request.js:31:9) >> npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- >> registry-client/request.js:136:18) >> npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) >> npm ERR! at Request. (/usr/lib/nodejs/request/main. >> js:212:58) >> npm ERR! at Request.emit (events.js:88:20) >> npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main. >> js:412:12) >> npm ERR! at ClientRequest.emit (events.js:67:17) >> npm ERR! at HTTPParser.onIncoming (http.js:1261:11) >> npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) >> npm ERR! You may report this log at: >> npm ERR! >> npm ERR! or use >> npm ERR! reportbug --attach /home/ffan/npm-debug.log npm >> npm ERR! >> npm ERR! System Linux 3.2.0-105-generic >> npm ERR! command "node" "/usr/bin/npm" "install" "-g" "pvw-visualizer" >> npm ERR! cwd /home/ffan >> npm ERR! node -v v0.6.12 >> npm ERR! npm -v 1.1.4 >> npm ERR! message failed to fetch from registry: pvw-visualizer >> npm ERR! >> npm ERR! Additional logging details can be found in: >> npm ERR! /home/ffan/npm-debug.log >> npm not ok >> ffan at caelinux2013-VirtualBox:~$ >> >> It says "failed to fetch from registry: pvw-visualizer". Did I do >> something wrong? Thanks. >> >> - ffan >> >> >> On Thu, Aug 11, 2016 at 5:02 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> ParaViewWeb - Visualizer is meant for that. Although, selection is not >>> implemented currently. >>> >>> http://kitware.github.io/paraviewweb/applications/ >>> >>> But that version of Visualizer require ParaView/master. >>> >>> Otherwise an older version of Visualizer is provided along with ParaView >>> binaries (except for Windows). >>> You can find documentation on it here: >>> http://paraviewweb.kitware.com/#!/guide/quick_start >>> http://paraviewweb.kitware.com/#!/guide/app_gallery >>> >>> On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan wrote: >>> >>>> Hi ParaView users/developers, >>>> >>>> In my works, I need to use ParaView remotely, over the Internet. >>>> Displaying the GUI and the images and accepting a selection become very >>>> slow. Is there a light-wright version of ParaView (even with lower >>>> resolution)? Or, if it is possible, how to configure ParaView so it can be >>>> easier to use over the Internet? Thank you. >>>> >>>> - ffan >>>> >>>> _______________________________________________ >>>> 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 arctica1963 at gmail.com Fri Aug 12 02:09:31 2016 From: arctica1963 at gmail.com (Lester Anderson) Date: Fri, 12 Aug 2016 07:09:31 +0100 Subject: [Paraview] Slicing a sphere based on longitudes and latitudes In-Reply-To: <8fe91b5d01f742d7841815271a716195@ES08AMSNLNT.srn.sandia.gov> References: <8fe91b5d01f742d7841815271a716195@ES08AMSNLNT.srn.sandia.gov> Message-ID: Thanks Ken, sorry for the basic query On 11 August 2016 at 17:01, Moreland, Kenneth wrote: > Lester, > > Once again, this problem can be solved with some basic geometry. Basically you want to slice by a plane that goes through the origin (0, 0, 0) and the two points defined by the 2 lat/lon coordiantes. Finding the plane that goes through 3 non-collinear points is straightforward (in Cartesian space). > > The first step would be to convert your two lat/lon points to Cartesian coordinate (X,Y,Z). > > Once you have that, you can define the slice plane by an origin point (0, 0, 0 works just fine) and a normal (perpendicular) vector. The normal can be computed by taking the cross product of the vectors going from the origin to these two points. Just plug that into the normal for the slice plane and you are good to go. > > If you need more information on finding the plane defined by three points, there are many resources on the web to do so. Here is one descriptive video I found with a simple Google search: https://www.youtube.com/watch?v=0qYJfKG-3l8. There are many others. Most of these instructions find the plane equation, but the plane equation is constructed with the point and normal, which are all you need in ParaView. > > -Ken > > -----Original Message----- > From: Lester Anderson [mailto:arctica1963 at gmail.com] > Sent: Tuesday, August 9, 2016 1:39 AM > To: Moreland, Kenneth > Cc: paraview at paraview.org > Subject: [EXTERNAL] Re: [Paraview] Slicing a sphere based on longitudes and latitudes > > Hi Ken, > > Thanks for the info, that all worked fine. Sorry bit of a late response. > > On a similar theme, is it easy to make a great circle slice (with the origin at 000) that plots through two long-lat points? I'm guessing that this scenario would be a rotation about x, y and z ? > > Thanks > Lester From Patrick.Begou at legi.grenoble-inp.fr Fri Aug 12 04:11:31 2016 From: Patrick.Begou at legi.grenoble-inp.fr (=?UTF-8?Q?Patrick_B=c3=a9gou?=) Date: Fri, 12 Aug 2016 10:11:31 +0200 Subject: [Paraview] ParaView over the internet In-Reply-To: References: Message-ID: <57AD84B3.2080408@legi.grenoble-inp.fr> Hi Fan, at work we are using paraview remotely efficiently by two ways: - from a cluster: launching pvserver (using mpi for large datasets) and connecting from a laptop/desktop paraview session. This requires very small network bandwith (tested from my home via ADSL for a 1024? dataset) but should require additional work to go through firewall via a ssh tunnel. - from a fat node (many cores, huge memory and high end graphic board) with vnc (for remote display). The fat node run vncserver (tigervnc-server) and vncviewer is launched on the laptop/desktop. There are options for easy tunnelling via ssh. This also requires very few network bandwidth and use the remote hardware rendering of the fat node (AMD in our case or Nvidia+virtualGL). You can launch a basic paraview session or a pvserver/paraview session to run pvserver with MPI on several cores. More simple to set up and to use. Hope this could help you. Patrick Fa-Gung Fan a ?crit : > Hi ParaView users/developers, > > In my works, I need to use ParaView remotely, over the Internet. > Displaying the GUI and the images and accepting a selection become > very slow. Is there a light-wright version of ParaView (even with > lower resolution)? Or, if it is possible, how to configure ParaView > so it can be easier to use over the Internet? Thank you. > > - ffan > > > _______________________________________________ > 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 info at seoaachen.de Fri Aug 12 04:34:52 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Fri, 12 Aug 2016 10:34:52 +0200 Subject: [Paraview] PV Web scrollwheel for zoom, wrong legend Message-ID: Hi, I have 2 questions for paraview web (pv web visualizer). 1. Can I activate mouse wheel for zooming? 2. I have wrong values (0) at the legend when webgl is enabled. Can you give me a hint where to look at the code for a bugfix? regards Daniel From 123megamind at gmail.com Fri Aug 12 05:09:17 2016 From: 123megamind at gmail.com (Mega Mind) Date: Fri, 12 Aug 2016 02:09:17 -0700 Subject: [Paraview] Qt version support update 2016 Message-ID: Has the Qt version support advanced close to 5.7 yet? Cmake throws error that Qt 4.x required but read on mailing list some guys are using Qt 5.x. I'm installing Qt 4.8.1 but the only option seems to be x86 and for Visual Studio 2010. Trying to build on Win7 64bit with MSVisual Studio 2015 install. -------------- next part -------------- An HTML attachment was scrubbed... URL: From 123megamind at gmail.com Fri Aug 12 05:29:43 2016 From: 123megamind at gmail.com (Mega Mind) Date: Fri, 12 Aug 2016 02:29:43 -0700 Subject: [Paraview] How about developing a Paraview forum Message-ID: Mailing lists are horrible. Is it 1990? Time to upgrade. A forum in the form of question and answer such as http://stackoverflow.com/ would be good and a good place to start looking is this page that answered the question of good open source question and answer forums: https://www.quora.com/Is-there-any-open-source-question-and-answer-web-platform-like-Stack-Overflow Another good example to model after is what they are doing at Unity3d they actually use a forum in the traditional sense and then a question and answer forum plus other methods to control info for the community: http://forum.unity3d.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From corinnareuter75 at gmail.com Fri Aug 12 06:58:47 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Fri, 12 Aug 2016 12:58:47 +0200 Subject: [Paraview] Custom widget integration in Paraview Message-ID: Hello, I am looking for a possibility how to integrate a custom widget into the ParaView UI. (It is basically a text widget displaying properties of a custom filter. In addition to the standard property widgets I have to modify the widget's notification system. But these are implementation details, and all I need to know from you at the moment, how I can add a simple textfield into the UI.) I found the ADD_3DWIDGET macro in ParaviewPlugins.cmake and a few unanswered threads discussing whether this macro serves the purpose. It seems like it does. But there is no documentation or example how to proceed. Does somebody have a code snippet or a link to a description that explains how to define custom widgets either in a plugin or hardcoded into Paraview? Either using ADD_3DWIDGET or any other solution? Thank you Corinna -------------- next part -------------- An HTML attachment was scrubbed... URL: From hitcaozx at gmail.com Fri Aug 12 08:15:14 2016 From: hitcaozx at gmail.com (=?UTF-8?B?5pu55pm66YCJ?=) Date: Fri, 12 Aug 2016 08:15:14 -0400 Subject: [Paraview] load plugin through python scripts In-Reply-To: References: Message-ID: No, I have this in the scripts. 2016-08-11 19:52 GMT-04:00 Sebastien Jourdain < sebastien.jourdain at kitware.com>: > Are you missing? > > from paraview.simple import * > > On Thu, Aug 11, 2016 at 4:10 PM, ??? wrote: > >> Hi, >> I am trying to write a python scripts to "visualize" simulation results. >> >> I need load a plugin through GUI of paraview before opening data. If I >> first load plugin in the GUI and then run my python scripts through >> Paraview GUI -> tools ->python shell, it works well. >> To load plugin in python scrips. I use the trace tool of paraview found >> that the function to load plugin is: >> LoadPlugin('/rohit1/data/users/zhixuanc/Soft/ParaView-4.3.1- >> Linux-64bit/lib/paraview-4.3/libH5PartReader.so', remote=False). >> >> Instead of load plugin manually through GUI, I put this command at the >> very beginning of the existing python scripts and run the scripts through >> Paraview GUI -> tools ->python shell. But I got an error message and it >> does not work: >> >> Plot[plotname] = H5PartReader(FileName=maindirectory+subdirectory+name) >> >> NameError: global name 'H5PartReader' is not defined >> >> But when I go to Paraview GUI -> tools -> Manage Plugins, it shows that >> the required plugin is loaded. >> >> I am not sure what's wrong and how to fix this issue. >> >> Could anybody give me any advice on it? >> >> >> >> >> _______________________________________________ >> 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 shawn.waldon at kitware.com Fri Aug 12 08:18:26 2016 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Fri, 12 Aug 2016 08:18:26 -0400 Subject: [Paraview] Qt version support update 2016 In-Reply-To: References: Message-ID: To use Qt5, you have to set the PARAVIEW_QT_VERSION variable to 5 (it still defaults to 4, which is why cmake is complaining). Note that some things may be buggy when building against Qt5, I don't know the full list of current issues, just that there are some. Also note that you have to specify the location of Qt5 differently to CMake. CMake doesn't use the QT_QMAKE_EXECUTABLE variable for Qt5, instead it uses Qt5_DIR. This should point to .../lib/cmake/Qt5 inside your Qt5 install. HTH, Shawn On Fri, Aug 12, 2016 at 5:09 AM, Mega Mind <123megamind at gmail.com> wrote: > Has the Qt version support advanced close to 5.7 yet? > Cmake throws error that Qt 4.x required but read on mailing list some guys > are using Qt 5.x. > I'm installing Qt 4.8.1 but the only option seems to be x86 and for Visual > Studio 2010. Trying to build on Win7 64bit with MSVisual Studio 2015 > install. > > _______________________________________________ > 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 david.lonie at kitware.com Fri Aug 12 09:07:59 2016 From: david.lonie at kitware.com (David Lonie) Date: Fri, 12 Aug 2016 09:07:59 -0400 Subject: [Paraview] a lot of Generic Warning for vtkBuffer in PV5.1 In-Reply-To: <7f6b211b39e643d2b09a21fcea5ff1fa@U-MYKONOS2.dif.dam.intra.cea.fr> References: <7f6b211b39e643d2b09a21fcea5ff1fa@U-MYKONOS2.dif.dam.intra.cea.fr> Message-ID: Hi Claire, On Wed, Aug 10, 2016 at 9:48 AM, Claire.GUILBAUD at CEA.FR wrote: > Deleting unknown object: vtkBuffer > When I close PV, there are a lot of vtkBuffer instances still > around. I haven't been able to reproduce this, but think I may have found the issue. Open VTK/Common/Core/vtkBuffer.h, and change line 32 from vtkTypeMacro(vtkBuffer, vtkObject) to vtkTemplateTypeMacro(vtkBuffer, vtkObject) recompile, and see if that fixes the warnings. If that works for you, I'll push this into the next release. BTW, what operating system are you on? I'm curious about why these issues haven't been popping up elsewhere... Thanks, Dave From david.lonie at kitware.com Fri Aug 12 09:21:12 2016 From: david.lonie at kitware.com (David Lonie) Date: Fri, 12 Aug 2016 09:21:12 -0400 Subject: [Paraview] a lot of Generic Warning for vtkBuffer in PV5.1 In-Reply-To: References: <7f6b211b39e643d2b09a21fcea5ff1fa@U-MYKONOS2.dif.dam.intra.cea.fr> Message-ID: Oops, I sent that too quickly -- the vtkBuffer.h line should actually be: vtkTemplateTypeMacro(vtkBuffer, vtkObject) with the template argument. Dave From sebastien.jourdain at kitware.com Fri Aug 12 10:30:30 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Fri, 12 Aug 2016 08:30:30 -0600 Subject: [Paraview] PV Web scrollwheel for zoom, wrong legend In-Reply-To: References: Message-ID: 1) Yes, the client code should send the proper event to the server. But that event might not be properly handle by the ParaView backend while it is for VTK. Look at ${pv_src}/Web/Python/paraview/web/protocols.py #ParaViewWebMouseHandler vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py #vtkWebMouseHandler it seems the paraview one is missing: if event.has_key("scroll"): pvevent.SetScroll(event["scroll"]) Just add it to your paraview python file. 2) The WebGL viewer is fairly limited so I don't see much thing that can be done to fix it. But we are working on a version of VTK on the client that will allow to have very similar rendering results between the server and the client. Once VTK.js start supporting scalar bars, we'll start migrating the code to use VTK.js for local rendering. Otherwise, you can always try to fix the code, but first make sure the server is also properly sending the range of your scalar for building that scalar bar before trying to fix the client code. On Fri, Aug 12, 2016 at 2:34 AM, Daniel Zuidinga wrote: > Hi, > I have 2 questions for paraview web (pv web visualizer). > > 1. Can I activate mouse wheel for zooming? > 2. I have wrong values (0) at the legend when webgl is enabled. Can you > give me a hint where to look at the code for a bugfix? > > regards > Daniel > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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 sebastien.jourdain at kitware.com Fri Aug 12 10:35:36 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Fri, 12 Aug 2016 08:35:36 -0600 Subject: [Paraview] load plugin through python scripts In-Reply-To: References: Message-ID: you need to provide your globals to LoadPlugin, so it can add H5PartReader into the main scope. Otherwise, you will need to use the full path which should be something along that servermanager.sources.H5PartReader def LoadPlugin(filename, remote=True, ns=None): """Loads a ParaView plugin and updates this module with new constructors if any. The remote argument (default to True) is to specify whether the plugin will be loaded on client (remote=False) or on server (remote=True). If you loaded the simple module with from paraview.simple import *, make sure to pass globals() as an argument:: LoadPlugin("myplugin", False, globals()) # to load on client LoadPlugin("myplugin", True, globals()) # to load on server LoadPlugin("myplugin", ns=globals()) # to load on server Otherwise, the new functions will not appear in the global namespace.""" On Fri, Aug 12, 2016 at 6:15 AM, ??? wrote: > No, I have this in the scripts. > > 2016-08-11 19:52 GMT-04:00 Sebastien Jourdain com>: > >> Are you missing? >> >> from paraview.simple import * >> >> On Thu, Aug 11, 2016 at 4:10 PM, ??? wrote: >> >>> Hi, >>> I am trying to write a python scripts to "visualize" simulation results. >>> >>> I need load a plugin through GUI of paraview before opening data. If I >>> first load plugin in the GUI and then run my python scripts through >>> Paraview GUI -> tools ->python shell, it works well. >>> To load plugin in python scrips. I use the trace tool of paraview found >>> that the function to load plugin is: >>> LoadPlugin('/rohit1/data/users/zhixuanc/Soft/ParaView-4.3.1- >>> Linux-64bit/lib/paraview-4.3/libH5PartReader.so', remote=False). >>> >>> Instead of load plugin manually through GUI, I put this command at the >>> very beginning of the existing python scripts and run the scripts through >>> Paraview GUI -> tools ->python shell. But I got an error message and it >>> does not work: >>> >>> Plot[plotname] = H5PartReader(FileName=maindirectory+subdirectory+name) >>> >>> NameError: global name 'H5PartReader' is not defined >>> >>> But when I go to Paraview GUI -> tools -> Manage Plugins, it shows that >>> the required plugin is loaded. >>> >>> I am not sure what's wrong and how to fix this issue. >>> >>> Could anybody give me any advice on it? >>> >>> >>> >>> >>> _______________________________________________ >>> 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 Fri Aug 12 11:00:39 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 12 Aug 2016 11:00:39 -0400 Subject: [Paraview] Catalyst - missing some basic filters In-Reply-To: <196a3a15d073457cb6c156b051ecd99f@MAR190n2.marin.local> References: <196a3a15d073457cb6c156b051ecd99f@MAR190n2.marin.local> Message-ID: Hi, This is the classic 80% / 20% software problem where 80% of the users only use 20% of the capabilities but each 20% is significantly different. As for creating your own Catalyst edition, that is definitely possible. There's some information at http://www.paraview.org/Wiki/Generating_Catalyst_Source_Tree on how to create your own source tree. There is a bit more detailed information in the Catalyst Users Guide ( http://www.paraview.org/files/catalyst/docs/ParaViewCatalystUsersGuide_v2.pdf) in Chapter 4. The recommended way of doing this is by starting off with editions (you can use more than one of the existing editions when creating your customized edition) and then adding in your own after that. That way you don't have to worry about all of the details for things like Python or rendering. Best, Andy On Wed, Aug 10, 2016 at 5:33 AM, Deij-van Rijswijk, Menno wrote: > Hi, > > > > Today I have built the most recent and most complete Catalyst edition > (?Catalyst-v5.1.2-Base-Enable-Python-Essentials-Extras-Rendering-Base?). > I find that I am missing some basic filters however. For example > CellDatatoPointData and ExtractBlock are not available. Is there a way to > enable specific filters somehow (maybe in CMake)? > > > > Other filters that are missing that I would like to use are > > > > *AnnotateTimeFilter > > *GenerateSurfaceNormals > > LinearExtrusion > > *MaskPoints > > NormalGlyphs > > *Reflect > > *StreamTracer > > StreamTracerWithCustomSource > > SurfaceVectors > > *Tesselate > > *Tetrahedralize > > *Triangulate > > *TriangleStrips > > *Tube > > > > Most of these (with *) I find quite basic and I really wonder why these > are not available by default in Catalyst. > > > > Thanks and best wishes, > > > > > > Menno Deij ? van Rijswijk > > > > dr. ir. Menno A. Deij-van Rijswijk | Researcher / Software Engineer | Maritime > Simulation & Software Group > MARIN | T +31 317 49 35 06 | M.Deij at marin.nl | www.marin.nl > > [image: LinkedIn] [image: > YouTube] [image: Twitter] > [image: Facebook] > > MARIN news: Joint Industry Project LifeLine kicks off > > > > _______________________________________________ > 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: image988898.PNG Type: image/png Size: 293 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagebcaa41.PNG Type: image/png Size: 331 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image550a25.PNG Type: image/png Size: 333 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagee2fb02.PNG Type: image/png Size: 253 bytes Desc: not available URL: From cory.quammen at kitware.com Fri Aug 12 11:55:46 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 12 Aug 2016 11:55:46 -0400 Subject: [Paraview] Custom widget integration in Paraview In-Reply-To: References: Message-ID: Corinna, Does this example help? paraview/Examples/Plugins/PropertyWidgets Basically, you define a custom Qt widget for a property and in the proxy XML tell ParaView to use the custom widget for the property with the "panel_widget" attribute. HTH, Cory On Fri, Aug 12, 2016 at 6:58 AM, corinna reuter wrote: > Hello, > I am looking for a possibility how to integrate a custom widget into the > ParaView UI. (It is basically a text widget displaying properties of a > custom filter. In addition to the standard property widgets I have to modify > the widget's notification system. But these are implementation details, and > all I need to know from you at the moment, how I can add a simple textfield > into the UI.) > > I found the ADD_3DWIDGET macro in ParaviewPlugins.cmake and a few unanswered > threads discussing whether this macro serves the purpose. It seems like it > does. But there is no documentation or example how to proceed. > > Does somebody have a code snippet or a link to a description that explains > how to define custom widgets either in a plugin or hardcoded into Paraview? > Either using ADD_3DWIDGET or any other solution? > > Thank you > Corinna > > _______________________________________________ > 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 hitcaozx at gmail.com Fri Aug 12 17:15:37 2016 From: hitcaozx at gmail.com (=?UTF-8?B?5pu55pm66YCJ?=) Date: Fri, 12 Aug 2016 17:15:37 -0400 Subject: [Paraview] load plugin through python scripts In-Reply-To: References: Message-ID: The problem is still not solved. I added ns=globals() and tried both remote=False and remote=True. Neither of them works. The same error message persist: Plot[plotname] = H5PartReader(FileName=maindirectory+subdirectory+name) NameError: global name 'H5PartReader' is not defined 2) I also tried to replace H5PartReader with servermanager.sources.H5PartReader. It still does not work. This time, there is no error message but the data was not load successfully and there is some ?Output Message?: Some proxy is added as input but was not registered with Proxy Manager. This is not recommended. 2016-08-11 18:10 GMT-04:00 ??? : > Hi, > I am trying to write a python scripts to "visualize" simulation results. > > I need load a plugin through GUI of paraview before opening data. If I > first load plugin in the GUI and then run my python scripts through > Paraview GUI -> tools ->python shell, it works well. > To load plugin in python scrips. I use the trace tool of paraview found > that the function to load plugin is: > LoadPlugin('/rohit1/data/users/zhixuanc/Soft/ParaView- > 4.3.1-Linux-64bit/lib/paraview-4.3/libH5PartReader.so', remote=False). > > Instead of load plugin manually through GUI, I put this command at the > very beginning of the existing python scripts and run the scripts through > Paraview GUI -> tools ->python shell. But I got an error message and it > does not work: > > Plot[plotname] = H5PartReader(FileName=maindirectory+subdirectory+name) > > NameError: global name 'H5PartReader' is not defined > > But when I go to Paraview GUI -> tools -> Manage Plugins, it shows that > the required plugin is loaded. > > I am not sure what's wrong and how to fix this issue. > > Could anybody give me any advice on it? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisneal at snumerics.com Fri Aug 12 17:49:58 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Fri, 12 Aug 2016 17:49:58 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? Message-ID: Hi All, I was wondering what the appropriate way to specify a value for the cmake variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition.? The editions make use of a cmake.sh script, and I?ve just been manually adding the variable to that file because I can?t quite figure out how to tell the script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. Does anyone have experience with doing this? I ask because I always want to change the install directory to be a different location than the default location in the root directory that Catalyst usually tries to install in. Thank you, Chris Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From svenkramer40 at gmail.com Sat Aug 13 06:53:52 2016 From: svenkramer40 at gmail.com (Sven Kramer) Date: Sat, 13 Aug 2016 12:53:52 +0200 Subject: [Paraview] ParaviewWeb security Message-ID: I was wondering, if ParaviewWeb takes security concerns serious. Studying the server code, I found no measures against access to files outside of the specified --data-dir, against XSS or injection of arbitrary code in analogy to SQL injection. Would you consider ParaviewWeb secure when the server is open to anybody in the internet, or is its purpose only to be run within intranets behind a firewall? Assuming that ParaviewWeb has not undergone any security audits, are there any commercial alternatives? Thank you Sven -------------- next part -------------- An HTML attachment was scrubbed... URL: From svenkramer40 at gmail.com Sat Aug 13 06:56:11 2016 From: svenkramer40 at gmail.com (Sven Kramer) Date: Sat, 13 Aug 2016 12:56:11 +0200 Subject: [Paraview] How about developing a Paraview forum In-Reply-To: References: Message-ID: Please go ahead. Do it! 2016-08-12 11:29 GMT+02:00 Mega Mind <123megamind at gmail.com>: > Mailing lists are horrible. Is it 1990? Time to upgrade. > > A forum in the form of question and answer such as > http://stackoverflow.com/ would be good and a good place to start looking > is this page that answered the question of good open source question and > answer forums: https://www.quora.com/Is-there-any-open-source- > question-and-answer-web-platform-like-Stack-Overflow > > Another good example to model after is what they are doing at Unity3d they > actually use a forum in the traditional sense and then a question and > answer forum plus other methods to control info for the community: > http://forum.unity3d.com/ > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > 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 123megamind at gmail.com Sat Aug 13 17:00:21 2016 From: 123megamind at gmail.com (Mega Mind) Date: Sat, 13 Aug 2016 14:00:21 -0700 Subject: [Paraview] Qt version support update 2016 In-Reply-To: References: Message-ID: Have you or anyone successfully built and installed on Win7 64 with Visual Studio 2015? I always get errors when building or opening the paraview.exe. For Qt the 4.x versions seem to have only x86 installs but I installed 4.8 anyway. When trying Qt 5.7 I get a failed build with 3 errors and over 350 warnings. Also noted that in Cmake configure it would still reference Qt 4 even after setting Qt5_DIR Qt5Core_DIR Qt5Widgets_DIR etc and changing all paths to proper reference directories. The only fix was to uninstall Qt 4 but I was able to get a build with no errors when it was using both Qt 4 & 5 strangely but when opening paraview,exe the 'system error' message was Qt5Widgets.dll does not exist. It does though and is in "C:\Program Files (x86)\Qt\5.7\msvc2015_64\bin\" so I tried to manually change that in any Cmake config file I could find but nothing worked out. I've tried hundreds of things over the past three days and read and followed the wiki many times and I'm coming to the conclusion no one is using Win 64 which seems strange to me but I guess everyone is using Unix. On Fri, Aug 12, 2016 at 5:18 AM, Shawn Waldon wrote: > To use Qt5, you have to set the PARAVIEW_QT_VERSION variable to 5 (it > still defaults to 4, which is why cmake is complaining). Note that some > things may be buggy when building against Qt5, I don't know the full list > of current issues, just that there are some. Also note that you have to > specify the location of Qt5 differently to CMake. CMake doesn't use the > QT_QMAKE_EXECUTABLE variable for Qt5, instead it uses Qt5_DIR. This should > point to .../lib/cmake/Qt5 inside your Qt5 install. > > HTH, > Shawn > > On Fri, Aug 12, 2016 at 5:09 AM, Mega Mind <123megamind at gmail.com> wrote: > >> Has the Qt version support advanced close to 5.7 yet? >> Cmake throws error that Qt 4.x required but read on mailing list some >> guys are using Qt 5.x. >> I'm installing Qt 4.8.1 but the only option seems to be x86 and for >> Visual Studio 2010. Trying to build on Win7 64bit with MSVisual Studio 2015 >> install. >> >> _______________________________________________ >> 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 simon.m.su.civ at mail.mil Sat Aug 13 18:30:03 2016 From: simon.m.su.civ at mail.mil (Su, Simon M CIV USARMY RDECOM ARL (US)) Date: Sat, 13 Aug 2016 22:30:03 +0000 Subject: [Paraview] [Non-DoD Source] Re: Qt version support update 2016 In-Reply-To: References: , Message-ID: you need python in the path for QT 5 to build for windows. specifically python with bz2 module.... both running configure and nmake the next problem you will encounter after getting past the QT 5 which I am still stuck is to build python. Python 3 will compile with vs2015 express, python 2.x will not. c++ time zone related variables changes. But I am not able to compile pv with python 3..... I even tried to fix the time zone related compile but end up with linking error at the very end. because of this, i think win7 or win10 pv will only work with vs2013 express..... hth -s ________________________________ From: ParaView [paraview-bounces at paraview.org] on behalf of Mega Mind [123megamind at gmail.com] Sent: Saturday, August 13, 2016 5:00 PM To: Shawn Waldon Cc: ParaView list Subject: [Non-DoD Source] Re: [Paraview] Qt version support update 2016 All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ Have you or anyone successfully built and installed on Win7 64 with Visual Studio 2015? I always get errors when building or opening the paraview.exe. For Qt the 4.x versions seem to have only x86 installs but I installed 4.8 anyway. When trying Qt 5.7 I get a failed build with 3 errors and over 350 warnings. Also noted that in Cmake configure it would still reference Qt 4 even after setting Qt5_DIR Qt5Core_DIR Qt5Widgets_DIR etc and changing all paths to proper reference directories. The only fix was to uninstall Qt 4 but I was able to get a build with no errors when it was using both Qt 4 & 5 strangely but when opening paraview,exe the 'system error' message was Qt5Widgets.dll does not exist. It does though and is in "C:\Program Files (x86)\Qt\5.7\msvc2015_64\bin\" so I tried to manually change that in any Cmake config file I could find but nothing worked out. I've tried hundreds of things over the past three days and read and followed the wiki many times and I'm coming to the conclusion no one is using Win 64 which seems strange to me but I guess everyone is using Unix. On Fri, Aug 12, 2016 at 5:18 AM, Shawn Waldon > wrote: To use Qt5, you have to set the PARAVIEW_QT_VERSION variable to 5 (it still defaults to 4, which is why cmake is complaining). Note that some things may be buggy when building against Qt5, I don't know the full list of current issues, just that there are some. Also note that you have to specify the location of Qt5 differently to CMake. CMake doesn't use the QT_QMAKE_EXECUTABLE variable for Qt5, instead it uses Qt5_DIR. This should point to .../lib/cmake/Qt5 inside your Qt5 install. HTH, Shawn On Fri, Aug 12, 2016 at 5:09 AM, Mega Mind <123megamind at gmail.com < Caution-mailto:123megamind at gmail.com > > wrote: Has the Qt version support advanced close to 5.7 yet? Cmake throws error that Qt 4.x required but read on mailing list some guys are using Qt 5.x. I'm installing Qt 4.8.1 but the only option seems to be x86 and for Visual Studio 2010. Trying to build on Win7 64bit with MSVisual Studio 2015 install. _______________________________________________ Powered by Caution-www.kitware.com < Caution-http://www.kitware.com > Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > Please keep messages on-topic and check the ParaView Wiki at: Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > Search the list archives at: Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > Follow this link to subscribe/unsubscribe: Caution-http://public.kitware.com/mailman/listinfo/paraview < Caution-http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.nucci at gmail.com Sat Aug 13 21:15:28 2016 From: michael.nucci at gmail.com (Michael Nucci) Date: Sat, 13 Aug 2016 18:15:28 -0700 Subject: [Paraview] Plot3D Function Files Message-ID: <758851EC-EF96-4D59-9530-321F6E366D82@gmail.com> When I read in Plot3D function files my variables are named Function0, Function1, etc. I can rename them with the calculator filter, but doing this each time gets tedious. I was wondering if there was a way to point paraview to a text file containing the correct names during the read so that they would automatically come in with the correct names. Thanks, Michael Nucci From bruno.santos at bluecape.com.pt Sun Aug 14 11:41:35 2016 From: bruno.santos at bluecape.com.pt (Bruno Santos) Date: Sun, 14 Aug 2016 16:41:35 +0100 Subject: [Paraview] How about developing a Paraview forum In-Reply-To: References: Message-ID: <134c1568-ec3f-0460-536d-3701c2691cf4@bluecape.com.pt> Just to add what I know that there is already on the Internet regarding ParaView related forums: 1. There are two forums at CFD-Online's Forums (CFD = Computational Fluid Dynamics) for discussions about ParaView: 1. http://www.cfd-online.com/Forums/openfoam-paraview/ - oriented towards issues directly related to using ParaView with OpenFOAM 2. http://www.cfd-online.com/Forums/paraview/ - oriented towards general questions about using ParaView 2. stackoverflow.com already has several questions there: http://stackoverflow.com/questions/tagged/paraview 3. The Computational Science group has a few questions there as well: http://scicomp.stackexchange.com/search?q=paraview 4. StackExchange should be open to the creation of new groups: http://stackexchange.com/ That being said, there is an advantage to the mailing list (although I have trouble with it myself, because I'm more familiar with forums): we don't need to sign-in to a website to answer to questions. Either way, StackExchange is a group endeavour, so it can be open by anyone to start a group for it! Problem is having enough people joining it. On 13-08-2016 11:56, Sven Kramer wrote: > Please go ahead. Do it! > > 2016-08-12 11:29 GMT+02:00 Mega Mind <123megamind at gmail.com > >: > > Mailing lists are horrible. Is it 1990? Time to upgrade. > > A forum in the form of question and answer such as > http://stackoverflow.com/ would be good and a good place to start > looking is this page that answered the question of good open > source question and answer forums: > https://www.quora.com/Is-there-any-open-source-question-and-answer-web-platform-like-Stack-Overflow > > > Another good example to model after is what they are doing at > Unity3d they actually use a forum in the traditional sense and > then a question and answer forum plus other methods to control > info for the community: http://forum.unity3d.com/ > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > 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 corinnareuter75 at gmail.com Sun Aug 14 14:13:00 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Sun, 14 Aug 2016 20:13:00 +0200 Subject: [Paraview] Custom widget integration in Paraview In-Reply-To: References: Message-ID: On Fri, Aug 12, 2016 at 5:55 PM, Cory Quammen wrote: > Corinna, > > Does this example help? > > paraview/Examples/Plugins/PropertyWidgets > Yes, this looks like the information I need. Though I haven't found the time to apply it to my problem, but I expect no difficulties. Thank you! Corinna -------------- next part -------------- An HTML attachment was scrubbed... URL: From 123megamind at gmail.com Sun Aug 14 19:23:19 2016 From: 123megamind at gmail.com (Mega Mind) Date: Sun, 14 Aug 2016 16:23:19 -0700 Subject: [Paraview] Maintaining Constraints or Joints of a CAD assembly in Paraview Message-ID: I can not find a FEA tool that can import not only CAD models but the whole assembly WITH constraints/joints. I don't think Paraview can but do you think (or has any attempted) it would be possible to link Paraview with the geometry kernel/geometric constraint solver of the originating CAD modeler eg. Solidworks, Creo, Fusion360 etc. The methods are exposed apparently as I have emailed those companies but I never see anyone actually do it in an open source tool. I have found a couple of commercial apps that can do it but of course they are not saying how they did it or any help and I'm pretty sure because of their price point they are licensing the kernels eg Parasolid. I did find a Matlab based program that actually could so I know it to be possible without having to license the kernel/solver but you need to have the CAD program installed and maybe opened. If you know of a FEA open source tool that can I would love to know or ANY tool that can. Any help would be great thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From Max.Reimann at uts.edu.au Mon Aug 15 05:14:58 2016 From: Max.Reimann at uts.edu.au (Max Reimann) Date: Mon, 15 Aug 2016 09:14:58 +0000 Subject: [Paraview] Parallel rendering in the cave Message-ID: <7c403a3a083c49b5b0c206f7b39ea94d@MBS05.adsroot.uts.edu.au> I am trying to get parallel rendering to work in ParaView 5.1 in a multi-display environment (cave) and keep getting this error when connecting from a client to a single or multiple render servers. "" ERROR: In /da/sw/paraview/ParaView-5.1.0-source/ParaViewCore/ClientServerCore/Rendering/vtkPVRenderView.cxx, line 1404 vtkPVRenderView (0x1497060): In Cave mode and Display cannot be opened on server-side! Ensure the environment is set correctly in the pvx file. "" I have followed the steps on the wiki and now trying to get a single rendering display to work. My cave.pvx looks like this: And I start it with mpirun -d --report-bindings -H da-dev1 -np 2 /paraview/install-5.1/bin/pvserver -sp=2052 /paraview/tvs.pvx I have disabled all firewalls and set xhost to disable access control, but to no avail. Starting paraview with x-forwarding works, however this can't work on multiple rendering displays, I assume. Specs are: - linux gentoo x64 - paraview 5.1 with vrplugin, openmpi, vrpn UTS CRICOS Provider Code: 00099F DISCLAIMER: This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. Think. Green. Do. Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Aug 15 06:39:07 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 15 Aug 2016 06:39:07 -0400 Subject: [Paraview] Paraview Build python dependency In-Reply-To: References: Message-ID: With superbuild, I'd strongly recommend using Ninja instead of the VS IDE. Ninja should also ensure that CPU utilization is maximum. Utkarsh On Thu, Aug 11, 2016 at 5:35 PM, michal wozniak wrote: > thanks > > > > I am currently trying the superbuild process. I usually pass pass /m:4 to my > msbuild to get 4 msbuild instance. When I used to build paraview (not > superbuild), the cpu utilization during the build was always at maximum but > with superbuild it is always around 20%. > > > > Do I also need to pass /MP parameter to enable multi-processor build ? > > > > > > > > From: Utkarsh Ayachit > Sent: Thursday, August 11, 2016 1:42 PM > To: michal wozniak > Cc: paraview at paraview.org > Subject: Re: [Paraview] Paraview Build python dependency > > > > I'd suggest using ParaView Superbuild to build redistributables > (https://gitlab.kitware.com/paraview/paraview-superbuild). > > Utkarsh > > On Tue, Aug 9, 2016 at 3:23 PM, michal wozniak > wrote: >> Hi, >> >> I am building ParaView from source. When we test my release version on a >> different system, we can't use any feature that uses python : trace, >> python >> shell ... >> >> I installed your binary version and I saw that you provided the >> python27.DLL >> and a Lib folder which seem to be the one from python27 installation >> directory. So I copy pasted python27.dll and Lib folder into my release >> folder. When I use this release folder on a different computer, Paraview >> is >> still crashing when we try to use the trace feature which use python. >> >> Could someone tell me what's the correct way of deploying python with >> ParaView. If only there was some python tool like windeployqt.exe which >> is >> provided by qt. >> >> thanks >> >> Michal Wozniak >> >> _______________________________________________ >> 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 shawn.waldon at kitware.com Mon Aug 15 09:06:27 2016 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Mon, 15 Aug 2016 09:06:27 -0400 Subject: [Paraview] [Non-DoD Source] Re: Qt version support update 2016 In-Reply-To: References: Message-ID: Mega Mind, I have a project that is using ParaView with Qt 5.7 on Windows. Of course we use VS 2013 still, so that may be the difference. It still sounds like you forgot to set the PARAVIEW_QT_VERSION to 5. If this is 4 (the default), the CMake scripts will ignore Qt5. I think it may be smart enough to default to 5 when there is no Qt4 preset which may be why that build worked. Our build machine has both Qt4 and Qt5 installed and it works fine. Still, I don't know if anyone has tried Qt5 + VS 2015.... Anyway, your runtime error with the dll not found? That is a Windows thing. Not found means it is not in the PATH environment variable's list of folders. Windows doesn't bake into the executable the paths to its runtime dependencies. Linux and OSX do, which is why you can typically run things from a build tree there without any problems. But to run it from Windows, you will need to add the Qt5 dll's directory to your PATH or move it to the same directory as the executable which needs it. Simon, The ParaView Superbuild uses a precompiled python 2.7 that was built with VS 2008. Python 2.x doesn't support any newer versions (maybe 2010, but we've never used that version of python). Since the API we link against is pure C, there are no ABI issues with using this prebuilt version. You should be able to look in the superbuild and find the path for the zip file with the prebuilt python and download/use that one. I know Python 3 is supported in VTK, but I'm not sure it is fully supported in ParaView yet. HTH, Shawn On Sat, Aug 13, 2016 at 6:30 PM, Su, Simon M CIV USARMY RDECOM ARL (US) < simon.m.su.civ at mail.mil> wrote: > you need python in the path for QT 5 to build for windows. specifically > python with bz2 module.... both running configure and nmake > > the next problem you will encounter after getting past the QT 5 which I am > still stuck is to build python. Python 3 will compile with vs2015 express, > python 2.x will not. c++ time zone related variables changes. But I am not > able to compile pv with python 3..... I even tried to fix the time zone > related compile but end up with linking error at the very end. > > because of this, i think win7 or win10 pv will only work with vs2013 > express..... > > hth > -s > > ------------------------------ > *From:* ParaView [paraview-bounces at paraview.org] on behalf of Mega Mind [ > 123megamind at gmail.com] > *Sent:* Saturday, August 13, 2016 5:00 PM > *To:* Shawn Waldon > *Cc:* ParaView list > *Subject:* [Non-DoD Source] Re: [Paraview] Qt version support update 2016 > > All active links contained in this email were disabled. Please verify the > identity of the sender, and confirm the authenticity of all links contained > within the message prior to copying and pasting the address to a Web > browser. > > ------------------------------ > > > Have you or anyone successfully built and installed on Win7 64 with Visual > Studio 2015? I always get errors when building or opening the paraview.exe. > For Qt the 4.x versions seem to have only x86 installs but I installed 4.8 > anyway. When trying Qt 5.7 I get a failed build with 3 errors and over 350 > warnings. Also noted that in Cmake configure it would still reference Qt 4 > even after setting Qt5_DIR Qt5Core_DIR Qt5Widgets_DIR etc and changing all > paths to proper reference directories. The only fix was to uninstall Qt 4 > but I was able to get a build with no errors when it was using both Qt 4 & > 5 strangely but when opening paraview,exe the 'system error' message was > Qt5Widgets.dll does not exist. It does though and is in "C:\Program Files > (x86)\Qt\5.7\msvc2015_64\bin\" so I tried to manually change that in any > Cmake config file I could find but nothing worked out. I've tried hundreds > of things over the past three days and read and followed the wiki many > times and I'm coming to the conclusion no one is using Win 64 which seems > strange to me but I guess everyone is using Unix. > > On Fri, Aug 12, 2016 at 5:18 AM, Shawn Waldon Caution-mailto:shawn.waldon at kitware.com > > wrote: > >> To use Qt5, you have to set the PARAVIEW_QT_VERSION variable to 5 (it >> still defaults to 4, which is why cmake is complaining). Note that some >> things may be buggy when building against Qt5, I don't know the full list >> of current issues, just that there are some. Also note that you have to >> specify the location of Qt5 differently to CMake. CMake doesn't use the >> QT_QMAKE_EXECUTABLE variable for Qt5, instead it uses Qt5_DIR. This should >> point to .../lib/cmake/Qt5 inside your Qt5 install. >> >> HTH, >> Shawn >> >> On Fri, Aug 12, 2016 at 5:09 AM, Mega Mind <123megamind at gmail.com < >> Caution-mailto:123megamind at gmail.com > > wrote: >> >>> Has the Qt version support advanced close to 5.7 yet? >>> Cmake throws error that Qt 4.x required but read on mailing list some >>> guys are using Qt 5.x. >>> I'm installing Qt 4.8.1 but the only option seems to be x86 and for >>> Visual Studio 2010. Trying to build on Win7 64bit with MSVisual Studio 2015 >>> install. >>> >>> _______________________________________________ >>> Powered by Caution-www.kitware.com < Caution-http://www.kitware.com > >>> >>> Visit other Kitware open-source projects at Caution-http://www.kitware. >>> com/opensource/opensource.html < Caution-http://www. >>> kitware.com/opensource/opensource.html > >>> >>> Please keep messages on-topic and check the ParaView Wiki at: Caution- >>> http://paraview.org/Wiki/ParaView < Caution-http:/ >>> /paraview.org/Wiki/ParaView > >>> >>> Search the list archives at: Caution-http://markmail.org/search/?q= >>> ParaView < Caution-http://markmail.org/search/?q=ParaView > >>> >>> Follow this link to subscribe/unsubscribe: >>> Caution-http://public.kitware.com/mailman/listinfo/paraview < Caution- >>> http://public.kitware.com/mailman/listinfo/paraview > >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ziganshinshagit at hotmail.com Mon Aug 15 09:28:06 2016 From: ziganshinshagit at hotmail.com (=?utf-8?B?0KjQsNCz0LjRgiDQl9C40LPQsNC90YjQuNC9?=) Date: Mon, 15 Aug 2016 16:28:06 +0300 Subject: [Paraview] Private pipeline Message-ID: Hello, I am looking for a way how to implement a private pipeline for a particular layout. is it possible to do this as part of third-party plug-in? Thank you Shagit Ziganshin -------------- next part -------------- An HTML attachment was scrubbed... URL: From berk.geveci at kitware.com Mon Aug 15 09:48:39 2016 From: berk.geveci at kitware.com (Berk Geveci) Date: Mon, 15 Aug 2016 09:48:39 -0400 Subject: [Paraview] Plot3D Function Files In-Reply-To: <758851EC-EF96-4D59-9530-321F6E366D82@gmail.com> References: <758851EC-EF96-4D59-9530-321F6E366D82@gmail.com> Message-ID: Dear Michael, Even though this doesn't exist, it would be relatively easy to add. This would be through this reader: http://www.vtk.org/doc/nightly/html/classvtkPlot3DMetaReader.html I suggest that you create a feature request on the VTK issue tracker: https://gitlab.kitware.com/vtk/vtk/issues Hopefully, someone will pick it up during the next VTK or ParaView hackathon. Best, -berk On Sat, Aug 13, 2016 at 9:15 PM, Michael Nucci wrote: > When I read in Plot3D function files my variables are named Function0, > Function1, etc. I can rename them with the calculator filter, but doing > this each time gets tedious. I was wondering if there was a way to point > paraview to a text file containing the correct names during the read so > that they would automatically come in with the correct names. > > Thanks, > Michael Nucci > > > _______________________________________________ > 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 michalwozniak at live.ca Mon Aug 15 09:59:41 2016 From: michalwozniak at live.ca (michal wozniak) Date: Mon, 15 Aug 2016 09:59:41 -0400 Subject: [Paraview] [Non-DoD Source] Re: Qt version support update 2016 In-Reply-To: References: , , , , Message-ID: Hi, I'm currently using qt 5.6 with vs 2015 and python 2.7 and everything is building correctly. I still didn't try QT 5.7. On Windows, you need to make sure your PATH are set correctly. Verify that your CMake PATH isn't set before your qt or else your ParaView executable will find some qt dll in the CMake folder. DLL not found - > http://www.dependencywalker.com/ This will help you track down your problems. From: shawn.waldon at kitware.com Date: Mon, 15 Aug 2016 09:06:27 -0400 To: simon.m.su.civ at mail.mil CC: paraview at paraview.org Subject: Re: [Paraview] [Non-DoD Source] Re: Qt version support update 2016 Mega Mind, I have a project that is using ParaView with Qt 5.7 on Windows. Of course we use VS 2013 still, so that may be the difference. It still sounds like you forgot to set the PARAVIEW_QT_VERSION to 5. If this is 4 (the default), the CMake scripts will ignore Qt5. I think it may be smart enough to default to 5 when there is no Qt4 preset which may be why that build worked. Our build machine has both Qt4 and Qt5 installed and it works fine. Still, I don't know if anyone has tried Qt5 + VS 2015.... Anyway, your runtime error with the dll not found? That is a Windows thing. Not found means it is not in the PATH environment variable's list of folders. Windows doesn't bake into the executable the paths to its runtime dependencies. Linux and OSX do, which is why you can typically run things from a build tree there without any problems. But to run it from Windows, you will need to add the Qt5 dll's directory to your PATH or move it to the same directory as the executable which needs it. Simon, The ParaView Superbuild uses a precompiled python 2.7 that was built with VS 2008. Python 2.x doesn't support any newer versions (maybe 2010, but we've never used that version of python). Since the API we link against is pure C, there are no ABI issues with using this prebuilt version. You should be able to look in the superbuild and find the path for the zip file with the prebuilt python and download/use that one. I know Python 3 is supported in VTK, but I'm not sure it is fully supported in ParaView yet. HTH, Shawn On Sat, Aug 13, 2016 at 6:30 PM, Su, Simon M CIV USARMY RDECOM ARL (US) wrote: you need python in the path for QT 5 to build for windows. specifically python with bz2 module.... both running configure and nmake the next problem you will encounter after getting past the QT 5 which I am still stuck is to build python. Python 3 will compile with vs2015 express, python 2.x will not. c++ time zone related variables changes. But I am not able to compile pv with python 3..... I even tried to fix the time zone related compile but end up with linking error at the very end. because of this, i think win7 or win10 pv will only work with vs2013 express..... hth -s From: ParaView [paraview-bounces at paraview.org] on behalf of Mega Mind [123megamind at gmail.com] Sent: Saturday, August 13, 2016 5:00 PM To: Shawn Waldon Cc: ParaView list Subject: [Non-DoD Source] Re: [Paraview] Qt version support update 2016 All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. Have you or anyone successfully built and installed on Win7 64 with Visual Studio 2015? I always get errors when building or opening the paraview.exe. For Qt the 4.x versions seem to have only x86 installs but I installed 4.8 anyway. When trying Qt 5.7 I get a failed build with 3 errors and over 350 warnings. Also noted that in Cmake configure it would still reference Qt 4 even after setting Qt5_DIR Qt5Core_DIR Qt5Widgets_DIR etc and changing all paths to proper reference directories. The only fix was to uninstall Qt 4 but I was able to get a build with no errors when it was using both Qt 4 & 5 strangely but when opening paraview,exe the 'system error' message was Qt5Widgets.dll does not exist. It does though and is in "C:\Program Files (x86)\Qt\5.7\msvc2015_64\bin\" so I tried to manually change that in any Cmake config file I could find but nothing worked out. I've tried hundreds of things over the past three days and read and followed the wiki many times and I'm coming to the conclusion no one is using Win 64 which seems strange to me but I guess everyone is using Unix. On Fri, Aug 12, 2016 at 5:18 AM, Shawn Waldon > wrote: To use Qt5, you have to set the PARAVIEW_QT_VERSION variable to 5 (it still defaults to 4, which is why cmake is complaining). Note that some things may be buggy when building against Qt5, I don't know the full list of current issues, just that there are some. Also note that you have to specify the location of Qt5 differently to CMake. CMake doesn't use the QT_QMAKE_EXECUTABLE variable for Qt5, instead it uses Qt5_DIR. This should point to .../lib/cmake/Qt5 inside your Qt5 install. HTH, Shawn On Fri, Aug 12, 2016 at 5:09 AM, Mega Mind <123megamind at gmail.com < Caution-mailto:123megamind at gmail.com > > wrote: Has the Qt version support advanced close to 5.7 yet? Cmake throws error that Qt 4.x required but read on mailing list some guys are using Qt 5.x. I'm installing Qt 4.8.1 but the only option seems to be x86 and for Visual Studio 2010. Trying to build on Win7 64bit with MSVisual Studio 2015 install. _______________________________________________ Powered by Caution-www.kitware.com < Caution-http://www.kitware.com > Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > Please keep messages on-topic and check the ParaView Wiki at: Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > Search the list archives at: Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > Follow this link to subscribe/unsubscribe: Caution-http://public.kitware.com/mailman/listinfo/paraview < Caution-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 Mon Aug 15 10:15:09 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 15 Aug 2016 10:15:09 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? In-Reply-To: References: Message-ID: Chris, Some thing like this should do the trick: > [...]/cmake.sh -DCMAKE_INSTALL_PREFIX:PATH=/tmp/install [... path to Catalyst src ...] Utkarsh On Fri, Aug 12, 2016 at 5:49 PM, Christopher Neal wrote: > Hi All, > > > > I was wondering what the appropriate way to specify a value for the cmake > variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition. The > editions make use of a cmake.sh script, and I?ve just been manually adding > the variable to that file because I can?t quite figure out how to tell the > script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. > > Does anyone have experience with doing this? I ask because I always want to > change the install directory to be a different location than the default > location in the root directory that Catalyst usually tries to install in. > > > Thank you, > > Chris Neal > > > _______________________________________________ > 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 chrisneal at snumerics.com Mon Aug 15 09:44:20 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Mon, 15 Aug 2016 09:44:20 -0400 Subject: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' In-Reply-To: <5809552C-22B8-49FC-B35D-284E67440E69@snumerics.com> References: <7CD2E23C-EC0E-4CBF-BC6B-84C5DEA83891@snumerics.com> <8227F2C2-A0EF-4A20-8270-C4DE7996BF72@snumerics.com> <5809552C-22B8-49FC-B35D-284E67440E69@snumerics.com> Message-ID: <4FC2A7F2-4D5E-44E2-91D6-C5D03943003A@snumerics.com> Hey guys, I don?t know if it helps, but the way that I?ve been able to get around the issue is to: 1.) Make a directory in the ParaView build directory called ?tempbin? 2.) Copy all binaries from the ParaView ?bin? directory into ?tempbin? 3.) Delete all files in ?bin? 4.) Create symbolic links to all files in the ?tempbin? directory so that the ?bin? directory is full of symbolic links 5.) Re-do ?make?? ?( it?s just what I had to do in order to get it to work) 6.) do ?make install? Now all of the header files and things are moved to the correct locations and the make install process doesn?t result in binaries being removed from the ?bin? directory.? It?s a bit of a headscratcher, but I guess this fix results in that IF block that checks for symbolic links status not being executed in file: VTK/Utilities/HashSource/cmake_install.cmake:46 Best regards, Chris Neal From: Christopher Neal Date: Friday, August 5, 2016 at 1:25 PM To: Andy Bauer , Utkarsh Ayachit Cc: Ben Boeckel , "paraview at paraview.org" Subject: Re: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' For the case outlined in this email chain, it is the ParaView source. I?m currently using Paraview5.2. I have also had the same trouble with: Catalyst-v5.1.0-Base-Enable-Python-Essentials, with the symbolic link ad-hoc solution working with this case as well. From: Andy Bauer Date: Friday, August 5, 2016 at 1:19 PM To: Utkarsh Ayachit Cc: Christopher Neal , Ben Boeckel , "paraview at paraview.org" Subject: Re: [Paraview] vtkHashSource-pv5.1 binary disappearing during ParaView 'make install' Hi Chris, Are you trying to build from a Catalyst edition or directly from the full ParaView source? I want to make sure that we're going in the proper direction when trying to fix this problem. Thanks, Andy On Fri, Aug 5, 2016 at 1:15 PM, Utkarsh Ayachit wrote: Ben, Can you take a look please? Thanks. On Fri, Aug 5, 2016 at 1:03 PM, Christopher Neal wrote: > I tried it again with cmake 3.5.1 and I see the same error. > > -- Up-to-date: /home/neal/software/ParaView5.2/build/lib/cmake/paraview-5.1/Modules/vtkUtilitiesHashSource.cmake > CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): > file INSTALL cannot find > "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1". > Call Stack (most recent call first): > VTK/cmake_install.cmake:148 (include) > cmake_install.cmake:117 (include) > > I did find a way around the issue by creating a ?tempbin? directory and copying the binaries into that directory and then making a symbolic link from the ?bin? to the binaries in the ?tempbin?. > > The code that the make install is failing on(VTK/Utilities/HashSource/cmake_install.cmake:46 ) has the following part that is leading to the error: > > if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "RuntimeLibraries") > if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND > NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") > file(RPATH_CHECK > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > RPATH "") > endif() > file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/neal/software/ParaView5.2/build/bin/vtkHashSource-pv5.1") > if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" AND > NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") > file(RPATH_CHANGE > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:" > NEW_RPATH "") > if(CMAKE_INSTALL_DO_STRIP) > execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1") > endif() > endif() > endif() > > > There?s a if statement that checks to see if the executable is symbolic, and if it is it skips the following operation, which I believe is the source of my issue: > > file(RPATH_CHANGE > FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/vtkHashSource-pv5.1" > OLD_RPATH "/home/neal/software/ParaView5.2/build/lib:" > NEW_RPATH "") > > -Chris > > > On 8/5/16, 11:40 AM, "ParaView on behalf of Christopher Neal" wrote: > > Thank you Utkarsh, > > I will try cmake 3.5.1 to see if that has any effect on the issue that I?m having. > > Output from: cmake ?version > cmake version 3.6.20160722-g8842a > > > Output from: lsb_relase ?a > LSB Version: n/a > Distributor ID: openSUSE project > Description: openSUSE 13.2 (Harlequin) (x86_64) > Release: 13.2 > Codename: Harlequin > > Thank you, > -Chris > > > On 8/4/16, 11:52 AM, "Utkarsh Ayachit" wrote: > > Sorry, no luck producing on Ubuntu 16.04 with CMake 3.5.1. > > On Thu, Aug 4, 2016 at 11:32 AM, Utkarsh Ayachit > wrote: > > That's odd. Trying to see if I can reproduce this with your command > > line. I'll report back once the build is done. > > > > On Wed, Aug 3, 2016 at 4:22 PM, Christopher Neal > > wrote: > >> Hi All, > >> > >> > >> > >> I?m seeing something strange when I try to compile ParaView 5.1 from the > >> source. I execute the following commands to compile ParaView: > >> > >> > >> > >> git clone https://github.com/Kitware/ParaView.git > >> > >> *Go into cloned ParaView directory* > >> > >> git submodule init > >> > >> git submodule update > >> > >> mkdir ParaView_build *not inside the ParaView source directory, somewhere > >> else* > >> > >> cd ParaView_build > >> > >> > >> > >> cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES > >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF > >> -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON > >> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON > >> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON > >> -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON > >> -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE > >> -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF > >> -DVTK_USE_CXX11_FEATURES:BOOL=ON > >> -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_build > >> /home/neal/software/ParaView > >> > >> > >> > >> (note the last 2 items are paths to the build directory and the source, > >> respectively) > >> > >> > >> > >> make > >> > >> make install > >> > >> > >> > >> Everything up to ?make? looks to work just fine. Now, there is a file called > >> ?vtkHashSource-pv5.1? that is located in the /bin directory of the ParaView > >> build. When I type ?make install?, I get the following error: > >> > >> > >> > >> CMake Error at VTK/Utilities/HashSource/cmake_install.cmake:46 (file): > >> > >> file INSTALL cannot find > >> > >> > >> "/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/bin/vtkHashSource-pv5.1". > >> > >> Call Stack (most recent call first): > >> > >> VTK/cmake_install.cmake:420 (include) > >> > >> cmake_install.cmake:117 (include) > >> > >> > >> > >> Makefile:94: recipe for target 'install' failed > >> > >> make: *** [install] Error 1 > >> > >> > >> > >> > >> > >> I looked and it has moved or deleted the ?vtkHashSource-pv5.1? file that was > >> originally in the ParaView/bin directory! I?m sure of it because I copied > >> the file to a temp directory and it disappears every time I put it in the > >> ParaView/bin and type ?make install?. > >> > >> Has anyone had this problem? > >> > >> Thank you, > >> > >> Chris Neal > >> > >> > >> _______________________________________________ > >> 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 chrisneal at snumerics.com Mon Aug 15 11:07:18 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Mon, 15 Aug 2016 11:07:18 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? In-Reply-To: References: Message-ID: Hi Utkarsh, I have one more question related to the Catalyst edition. I have compiled the ?Essentials? build. I used the command below(for reference) to configure the edition, and everything seems to work out. ./../Catalyst-v5.1.0-Base-Enable-Python-Essentials/cmake.sh -CMAKE_INSTALL_PREFIX:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON ../Catalyst-v5.1.0-Base-Enable-Python-Essentials I?m trying to compile the Catalyst examples that are located in the original ParaView source tree using the Catalyst edition. I used the following command to configure the examples: cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ cmake does not complain when I configure with the command above. But when I type ?make? I see an error that a header file cannot be located. It?s a header file that I know for a fact is located in the ?Essentials? build directory under ?/include/paraview-5.1. I tried using the -DCMAKE_INCLUDE_PATH=[path to ?/include/paraview-5.1] , but cmake tells me that the manually specified variable was not used. The full line that I?m trying to use to configure the examples is: cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON -DCMAKE_INCLUDE_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/include/paraview-5.1 /home/neal/software/ParaView/Examples/Catalyst/ Am I not specifying the include path correctly? Thank you, Chris Neal On 8/15/16, 10:15 AM, "Utkarsh Ayachit" wrote: Chris, Some thing like this should do the trick: > [...]/cmake.sh -DCMAKE_INSTALL_PREFIX:PATH=/tmp/install [... path to Catalyst src ...] Utkarsh On Fri, Aug 12, 2016 at 5:49 PM, Christopher Neal wrote: > Hi All, > > > > I was wondering what the appropriate way to specify a value for the cmake > variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition. The > editions make use of a cmake.sh script, and I?ve just been manually adding > the variable to that file because I can?t quite figure out how to tell the > script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. > > Does anyone have experience with doing this? I ask because I always want to > change the install directory to be a different location than the default > location in the root directory that Catalyst usually tries to install in. > > > Thank you, > > Chris Neal > > > _______________________________________________ > 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 sebastien.jourdain at kitware.com Mon Aug 15 11:14:57 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 15 Aug 2016 09:14:57 -0600 Subject: [Paraview] ParaviewWeb security In-Reply-To: References: Message-ID: Hi Sven, We do take security seriously. Several actions have been made to make the exposed protocols more secured. It is true, that legacy protocol like ParaViewWebPipelineManager does not check for code injection. But that protocol is deprecated and will be removed for the next ParaView release (5.2). In the current ParaViewWebProxyManager we do check that the user is allowed to create the given requested proxy. @exportRpc("pv.proxy.manager.create") def create(self, functionName, parentId): """ Creates a new filter/source proxy as a child of the specified parent proxy. Returns the proxy state for the newly created proxy as a JSON object. """ name = self.validate(functionName) if not name: return { 'success': False, 'reason': '"' + functionName + '" was not valid and could not be evaluated' } [...] Regarding the access outside of the --data-dir we are preventing the user from listing any file outside of that directory if not currentPath.startswith(normBase): print "### CAUTION ==========================================" print " Attempt to get to another root path ###" print " => Requested:", relativeDir print " => BaseDir:", normBase print " => Computed path:", currentPath print "### CAUTION ==========================================" currentPath = normBase Although, it is true that we are not guarding the "open" function which is a mistake and it will be address right away. Regarding your question, ParaViewWeb tend to be deployed on secured environments (intranet and/or behind firewalls) but could be deployed on the internet if specific actions are taking care. The authentication should be delegated to your infrastructure and your infrastructure should be responsible of launching the ParaView process under the user privilege. Our Python launcher is provided as an example and for quick demos in a secured environment but can not be considered secured. Since we delegate the launching and the authentication to your infrastructure, you should also provide a mechanism to share in a secure way the secret key that was used to launch your application. The goal of that secret key is to prevent any user that could have guessed your session ID (endpoint URL) to connect to your dedicated WebSocket. Then, after that, we are assuming some kind of user responsibility as we seems to trust them enough to use server side resources. Specially as they can still bring down the machine by filling up the memory and/or using all the CPU via complex geometry/pipeline processing. In which case, it will be fairly hard to prevent such behavior. Regarding your last question, we do not provide any commercial alternative but we provide support which could be used to improve our current Open source solutions to match your expectations or create new products which will be your property. Seb On Sat, Aug 13, 2016 at 4:53 AM, Sven Kramer wrote: > I was wondering, if ParaviewWeb takes security concerns serious. Studying > the server code, I found no measures against access to files outside of the > specified --data-dir, against XSS or injection of arbitrary code in analogy > to SQL injection. > > Would you consider ParaviewWeb secure when the server is open to anybody > in the internet, or is its purpose only to be run within intranets behind a > firewall? Assuming that ParaviewWeb has not undergone any security audits, > are there any commercial alternatives? > > Thank you > Sven > > _______________________________________________ > 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 kmorel at sandia.gov Mon Aug 15 11:18:28 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 15 Aug 2016 15:18:28 +0000 Subject: [Paraview] Private pipeline Message-ID: I am not sure I totally understand by a ?private pipeline,? but I think you mean that you have a pipeline that you set up in ParaView over and over again and you would like to add a button or something to ParaView to automatically create this pipeline with one click. The short answer is, yes. There are many ways to customize ParaView. The easiest way is to add a macro based on a Python script. There are a pair of exercises in The ParaView Tutorial (http://www.paraview.org/Wiki/The_ParaView_Tutorial) that demonstrate how to do this. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of ????? ???????? Sent: Monday, August 15, 2016 7:28 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Private pipeline Hello, I am looking for a way how to implement a private pipeline for a particular layout. is it possible to do this as part of third-party plug-in? Thank you Shagit Ziganshin -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Aug 15 11:19:04 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 15 Aug 2016 11:19:04 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? In-Reply-To: References: Message-ID: Chris, I suspect there's a bug in the "install development files" for a Catalyst edition. Can you try pointing the ParaView_DIR for the Catalyst Examples to the Catalyst build directory instead? Does that work? Utkarsh On Mon, Aug 15, 2016 at 11:07 AM, Christopher Neal wrote: > Hi Utkarsh, > > I have one more question related to the Catalyst edition. I have compiled the ?Essentials? build. I used the command below(for reference) to configure the edition, and everything seems to work out. > > ./../Catalyst-v5.1.0-Base-Enable-Python-Essentials/cmake.sh -CMAKE_INSTALL_PREFIX:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON ../Catalyst-v5.1.0-Base-Enable-Python-Essentials > > I?m trying to compile the Catalyst examples that are located in the original ParaView source tree using the Catalyst edition. I used the following command to configure the examples: > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > cmake does not complain when I configure with the command above. But when I type ?make? I see an error that a header file cannot be located. It?s a header file that I know for a fact is located in the ?Essentials? build directory under ?/include/paraview-5.1. > > I tried using the -DCMAKE_INCLUDE_PATH=[path to ?/include/paraview-5.1] , but cmake tells me that the manually specified variable was not used. The full line that I?m trying to use to configure the examples is: > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON -DCMAKE_INCLUDE_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/include/paraview-5.1 /home/neal/software/ParaView/Examples/Catalyst/ > > Am I not specifying the include path correctly? > > Thank you, > Chris Neal > > On 8/15/16, 10:15 AM, "Utkarsh Ayachit" wrote: > > Chris, > > Some thing like this should do the trick: > > > [...]/cmake.sh -DCMAKE_INSTALL_PREFIX:PATH=/tmp/install [... path to Catalyst src ...] > > Utkarsh > > > > > On Fri, Aug 12, 2016 at 5:49 PM, Christopher Neal > wrote: > > Hi All, > > > > > > > > I was wondering what the appropriate way to specify a value for the cmake > > variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition. The > > editions make use of a cmake.sh script, and I?ve just been manually adding > > the variable to that file because I can?t quite figure out how to tell the > > script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. > > > > Does anyone have experience with doing this? I ask because I always want to > > change the install directory to be a different location than the default > > location in the root directory that Catalyst usually tries to install in. > > > > > > Thank you, > > > > Chris Neal > > > > > > _______________________________________________ > > 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 chrisneal at snumerics.com Mon Aug 15 11:23:30 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Mon, 15 Aug 2016 11:23:30 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? In-Reply-To: References: Message-ID: I?m not sure I understand 100% what you?re asking me to do. Do you want me to copy the Catalyst examples directory from my ParaView source tree into my Catalyst ?Essentials? edition source tree and then run the configure command? Or do you want me to point the ParaView build for the DCMAKE_PREFIX_PATH variable? On 8/15/16, 11:19 AM, "Utkarsh Ayachit" wrote: Chris, I suspect there's a bug in the "install development files" for a Catalyst edition. Can you try pointing the ParaView_DIR for the Catalyst Examples to the Catalyst build directory instead? Does that work? Utkarsh On Mon, Aug 15, 2016 at 11:07 AM, Christopher Neal wrote: > Hi Utkarsh, > > I have one more question related to the Catalyst edition. I have compiled the ?Essentials? build. I used the command below(for reference) to configure the edition, and everything seems to work out. > > ./../Catalyst-v5.1.0-Base-Enable-Python-Essentials/cmake.sh -CMAKE_INSTALL_PREFIX:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON ../Catalyst-v5.1.0-Base-Enable-Python-Essentials > > I?m trying to compile the Catalyst examples that are located in the original ParaView source tree using the Catalyst edition. I used the following command to configure the examples: > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > cmake does not complain when I configure with the command above. But when I type ?make? I see an error that a header file cannot be located. It?s a header file that I know for a fact is located in the ?Essentials? build directory under ?/include/paraview-5.1. > > I tried using the -DCMAKE_INCLUDE_PATH=[path to ?/include/paraview-5.1] , but cmake tells me that the manually specified variable was not used. The full line that I?m trying to use to configure the examples is: > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON -DCMAKE_INCLUDE_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/include/paraview-5.1 /home/neal/software/ParaView/Examples/Catalyst/ > > Am I not specifying the include path correctly? > > Thank you, > Chris Neal > > On 8/15/16, 10:15 AM, "Utkarsh Ayachit" wrote: > > Chris, > > Some thing like this should do the trick: > > > [...]/cmake.sh -DCMAKE_INSTALL_PREFIX:PATH=/tmp/install [... path to Catalyst src ...] > > Utkarsh > > > > > On Fri, Aug 12, 2016 at 5:49 PM, Christopher Neal > wrote: > > Hi All, > > > > > > > > I was wondering what the appropriate way to specify a value for the cmake > > variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition. The > > editions make use of a cmake.sh script, and I?ve just been manually adding > > the variable to that file because I can?t quite figure out how to tell the > > script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. > > > > Does anyone have experience with doing this? I ask because I always want to > > change the install directory to be a different location than the default > > location in the root directory that Catalyst usually tries to install in. > > > > > > Thank you, > > > > Chris Neal > > > > > > _______________________________________________ > > 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 chrisneal at snumerics.com Mon Aug 15 11:38:42 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Mon, 15 Aug 2016 11:38:42 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? In-Reply-To: References: Message-ID: Hi Utkarsh, I pointed to my ParaView_build directory and the examples compile without any errors. cmake -DCMAKE_PREFIX_PATH=/home/neal/software/ParaView_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ Hope this helps, Chris Neal On 8/15/16, 11:19 AM, "Utkarsh Ayachit" wrote: Chris, I suspect there's a bug in the "install development files" for a Catalyst edition. Can you try pointing the ParaView_DIR for the Catalyst Examples to the Catalyst build directory instead? Does that work? Utkarsh On Mon, Aug 15, 2016 at 11:07 AM, Christopher Neal wrote: > Hi Utkarsh, > > I have one more question related to the Catalyst edition. I have compiled the ?Essentials? build. I used the command below(for reference) to configure the edition, and everything seems to work out. > > ./../Catalyst-v5.1.0-Base-Enable-Python-Essentials/cmake.sh -CMAKE_INSTALL_PREFIX:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON ../Catalyst-v5.1.0-Base-Enable-Python-Essentials > > I?m trying to compile the Catalyst examples that are located in the original ParaView source tree using the Catalyst edition. I used the following command to configure the examples: > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > cmake does not complain when I configure with the command above. But when I type ?make? I see an error that a header file cannot be located. It?s a header file that I know for a fact is located in the ?Essentials? build directory under ?/include/paraview-5.1. > > I tried using the -DCMAKE_INCLUDE_PATH=[path to ?/include/paraview-5.1] , but cmake tells me that the manually specified variable was not used. The full line that I?m trying to use to configure the examples is: > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON -DCMAKE_INCLUDE_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/include/paraview-5.1 /home/neal/software/ParaView/Examples/Catalyst/ > > Am I not specifying the include path correctly? > > Thank you, > Chris Neal > > On 8/15/16, 10:15 AM, "Utkarsh Ayachit" wrote: > > Chris, > > Some thing like this should do the trick: > > > [...]/cmake.sh -DCMAKE_INSTALL_PREFIX:PATH=/tmp/install [... path to Catalyst src ...] > > Utkarsh > > > > > On Fri, Aug 12, 2016 at 5:49 PM, Christopher Neal > wrote: > > Hi All, > > > > > > > > I was wondering what the appropriate way to specify a value for the cmake > > variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition. The > > editions make use of a cmake.sh script, and I?ve just been manually adding > > the variable to that file because I can?t quite figure out how to tell the > > script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. > > > > Does anyone have experience with doing this? I ask because I always want to > > change the install directory to be a different location than the default > > location in the root directory that Catalyst usually tries to install in. > > > > > > Thank you, > > > > Chris Neal > > > > > > _______________________________________________ > > 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 Aug 15 11:41:57 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 15 Aug 2016 11:41:57 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? In-Reply-To: References: Message-ID: Chris, Cool. There's indeed a bug in the install rules. I'll have to it fixed. BTW, I am assuming /home/neal/software/ParaView_build is the direcotory where you build the Catalyst edition, is that correct? On Mon, Aug 15, 2016 at 11:38 AM, Christopher Neal wrote: > Hi Utkarsh, > > I pointed to my ParaView_build directory and the examples compile without any errors. > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/ParaView_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > Hope this helps, > Chris Neal > > On 8/15/16, 11:19 AM, "Utkarsh Ayachit" wrote: > > Chris, > > I suspect there's a bug in the "install development files" for a > Catalyst edition. Can you try pointing the ParaView_DIR for the > Catalyst Examples to the Catalyst build directory instead? Does that > work? > > Utkarsh > > On Mon, Aug 15, 2016 at 11:07 AM, Christopher Neal > wrote: > > Hi Utkarsh, > > > > I have one more question related to the Catalyst edition. I have compiled the ?Essentials? build. I used the command below(for reference) to configure the edition, and everything seems to work out. > > > > ./../Catalyst-v5.1.0-Base-Enable-Python-Essentials/cmake.sh -CMAKE_INSTALL_PREFIX:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON ../Catalyst-v5.1.0-Base-Enable-Python-Essentials > > > > I?m trying to compile the Catalyst examples that are located in the original ParaView source tree using the Catalyst edition. I used the following command to configure the examples: > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > > > cmake does not complain when I configure with the command above. But when I type ?make? I see an error that a header file cannot be located. It?s a header file that I know for a fact is located in the ?Essentials? build directory under ?/include/paraview-5.1. > > > > I tried using the -DCMAKE_INCLUDE_PATH=[path to ?/include/paraview-5.1] , but cmake tells me that the manually specified variable was not used. The full line that I?m trying to use to configure the examples is: > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON -DCMAKE_INCLUDE_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/include/paraview-5.1 /home/neal/software/ParaView/Examples/Catalyst/ > > > > Am I not specifying the include path correctly? > > > > Thank you, > > Chris Neal > > > > On 8/15/16, 10:15 AM, "Utkarsh Ayachit" wrote: > > > > Chris, > > > > Some thing like this should do the trick: > > > > > [...]/cmake.sh -DCMAKE_INSTALL_PREFIX:PATH=/tmp/install [... path to Catalyst src ...] > > > > Utkarsh > > > > > > > > > > On Fri, Aug 12, 2016 at 5:49 PM, Christopher Neal > > wrote: > > > Hi All, > > > > > > > > > > > > I was wondering what the appropriate way to specify a value for the cmake > > > variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition. The > > > editions make use of a cmake.sh script, and I?ve just been manually adding > > > the variable to that file because I can?t quite figure out how to tell the > > > script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. > > > > > > Does anyone have experience with doing this? I ask because I always want to > > > change the install directory to be a different location than the default > > > location in the root directory that Catalyst usually tries to install in. > > > > > > > > > Thank you, > > > > > > Chris Neal > > > > > > > > > _______________________________________________ > > > 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 ziganshinshagit at hotmail.com Mon Aug 15 11:37:47 2016 From: ziganshinshagit at hotmail.com (=?utf-8?B?0KjQsNCz0LjRgiDQl9C40LPQsNC90YjQuNC9?=) Date: Mon, 15 Aug 2016 18:37:47 +0300 Subject: [Paraview] Private pipeline Message-ID: If I'm working in multiple layouts my pipeline browser becomes a list of thousands of loosely coupled objects. I wish each layout had own ?custom? pipeline browser, is it possible to make it as part of plug-in? Shagit Ziganshin From: Moreland, Kenneth Sent: Monday, August 15, 2016 6:18 PM To: ????? ????????; paraview at paraview.org Subject: RE: [Paraview] Private pipeline I am not sure I totally understand by a ?private pipeline,? but I think you mean that you have a pipeline that you set up in ParaView over and over again and you would like to add a button or something to ParaView to automatically create this pipeline with one click. The short answer is, yes. There are many ways to customize ParaView. The easiest way is to add a macro based on a Python script. There are a pair of exercises in The ParaView Tutorial (http://www.paraview.org/Wiki/The_ParaView_Tutorial) that demonstrate how to do this. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of ????? ???????? Sent: Monday, August 15, 2016 7:28 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Private pipeline Hello, I am looking for a way how to implement a private pipeline for a particular layout. is it possible to do this as part of third-party plug-in? Thank you Shagit Ziganshin -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisneal at snumerics.com Mon Aug 15 11:44:49 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Mon, 15 Aug 2016 11:44:49 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? In-Reply-To: References: Message-ID: <5EBB2A81-BCAD-4906-ADCA-E44C7873C51F@snumerics.com> The catalyst edition was built at: /home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build /home/neal/software/ParaView_build is where I built a version of Paraview with Catalyst, development files, and no gui. On 8/15/16, 11:41 AM, "Utkarsh Ayachit" wrote: Chris, Cool. There's indeed a bug in the install rules. I'll have to it fixed. BTW, I am assuming /home/neal/software/ParaView_build is the direcotory where you build the Catalyst edition, is that correct? On Mon, Aug 15, 2016 at 11:38 AM, Christopher Neal wrote: > Hi Utkarsh, > > I pointed to my ParaView_build directory and the examples compile without any errors. > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/ParaView_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > Hope this helps, > Chris Neal > > On 8/15/16, 11:19 AM, "Utkarsh Ayachit" wrote: > > Chris, > > I suspect there's a bug in the "install development files" for a > Catalyst edition. Can you try pointing the ParaView_DIR for the > Catalyst Examples to the Catalyst build directory instead? Does that > work? > > Utkarsh > > On Mon, Aug 15, 2016 at 11:07 AM, Christopher Neal > wrote: > > Hi Utkarsh, > > > > I have one more question related to the Catalyst edition. I have compiled the ?Essentials? build. I used the command below(for reference) to configure the edition, and everything seems to work out. > > > > ./../Catalyst-v5.1.0-Base-Enable-Python-Essentials/cmake.sh -CMAKE_INSTALL_PREFIX:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON ../Catalyst-v5.1.0-Base-Enable-Python-Essentials > > > > I?m trying to compile the Catalyst examples that are located in the original ParaView source tree using the Catalyst edition. I used the following command to configure the examples: > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > > > cmake does not complain when I configure with the command above. But when I type ?make? I see an error that a header file cannot be located. It?s a header file that I know for a fact is located in the ?Essentials? build directory under ?/include/paraview-5.1. > > > > I tried using the -DCMAKE_INCLUDE_PATH=[path to ?/include/paraview-5.1] , but cmake tells me that the manually specified variable was not used. The full line that I?m trying to use to configure the examples is: > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON -DCMAKE_INCLUDE_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/include/paraview-5.1 /home/neal/software/ParaView/Examples/Catalyst/ > > > > Am I not specifying the include path correctly? > > > > Thank you, > > Chris Neal > > > > On 8/15/16, 10:15 AM, "Utkarsh Ayachit" wrote: > > > > Chris, > > > > Some thing like this should do the trick: > > > > > [...]/cmake.sh -DCMAKE_INSTALL_PREFIX:PATH=/tmp/install [... path to Catalyst src ...] > > > > Utkarsh > > > > > > > > > > On Fri, Aug 12, 2016 at 5:49 PM, Christopher Neal > > wrote: > > > Hi All, > > > > > > > > > > > > I was wondering what the appropriate way to specify a value for the cmake > > > variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition. The > > > editions make use of a cmake.sh script, and I?ve just been manually adding > > > the variable to that file because I can?t quite figure out how to tell the > > > script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. > > > > > > Does anyone have experience with doing this? I ask because I always want to > > > change the install directory to be a different location than the default > > > location in the root directory that Catalyst usually tries to install in. > > > > > > > > > Thank you, > > > > > > Chris Neal > > > > > > > > > _______________________________________________ > > > 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 kmorel at sandia.gov Mon Aug 15 11:52:55 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 15 Aug 2016 15:52:55 +0000 Subject: [Paraview] Private pipeline Message-ID: <99bd72ca51ad4b2696b08d88016d18c0@ES08AMSNLNT.srn.sandia.gov> Wow! Thousands of objects in your pipeline browser? You must have some scripts to generate all those objects (or spend hours each time setting up your pipelines). There is no way in to get the pipeline browser to group sections of the pipeline or show subsections of it. It is conceivable to create your own version of a pipeline browser that showed subsets of the pipeline like you want and put that in your own plugin, but it would be a fairly difficult programming project. You might consider simpler alternatives. Rather than create thousands of objects in your pipeline browser, perhaps you can create custom filters that encapsulate (and hide) lots of filters inside it. Implementing filters in VTK/ParaView using several other filters internally is pretty common. It is much easier to create a plugin with a custom filter than to make a plugin with a custom pipeline browser. You could also consider using the Custom Filter feature (http://www.paraview.org/Wiki/ParaView/Custom_Filters). It allows you to create a metafilter from a collection of other filters in the ParaView GUI. It is easier than making a plugin, but has more limited functionality. -Ken From: ????? ???????? [mailto:ziganshinshagit at hotmail.com] Sent: Monday, August 15, 2016 9:38 AM To: Moreland, Kenneth ; paraview at paraview.org Subject: [EXTERNAL] RE: [Paraview] Private pipeline If I'm working in multiple layouts my pipeline browser becomes a list of thousands of loosely coupled objects. I wish each layout had own ?custom? pipeline browser, is it possible to make it as part of plug-in? Shagit Ziganshin From: Moreland, Kenneth Sent: Monday, August 15, 2016 6:18 PM To: ????? ????????; paraview at paraview.org Subject: RE: [Paraview] Private pipeline I am not sure I totally understand by a ?private pipeline,? but I think you mean that you have a pipeline that you set up in ParaView over and over again and you would like to add a button or something to ParaView to automatically create this pipeline with one click. The short answer is, yes. There are many ways to customize ParaView. The easiest way is to add a macro based on a Python script. There are a pair of exercises in The ParaView Tutorial (http://www.paraview.org/Wiki/The_ParaView_Tutorial) that demonstrate how to do this. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of ????? ???????? Sent: Monday, August 15, 2016 7:28 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Private pipeline Hello, I am looking for a way how to implement a private pipeline for a particular layout. is it possible to do this as part of third-party plug-in? Thank you Shagit Ziganshin -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Aug 15 12:06:28 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 15 Aug 2016 12:06:28 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? In-Reply-To: <5EBB2A81-BCAD-4906-ADCA-E44C7873C51F@snumerics.com> References: <5EBB2A81-BCAD-4906-ADCA-E44C7873C51F@snumerics.com> Message-ID: In that case, try the following instead from a clean directory to build the examples using the Catalyst edition. cmake -DParaView_DIR:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ On Mon, Aug 15, 2016 at 11:44 AM, Christopher Neal wrote: > The catalyst edition was built at: /home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build > > /home/neal/software/ParaView_build is where I built a version of Paraview with Catalyst, development files, and no gui. > > On 8/15/16, 11:41 AM, "Utkarsh Ayachit" wrote: > > Chris, > > Cool. There's indeed a bug in the install rules. I'll have to it > fixed. BTW, I am assuming /home/neal/software/ParaView_build is the > direcotory where you build the Catalyst edition, is that correct? > > On Mon, Aug 15, 2016 at 11:38 AM, Christopher Neal > wrote: > > Hi Utkarsh, > > > > I pointed to my ParaView_build directory and the examples compile without any errors. > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/ParaView_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > > > Hope this helps, > > Chris Neal > > > > On 8/15/16, 11:19 AM, "Utkarsh Ayachit" wrote: > > > > Chris, > > > > I suspect there's a bug in the "install development files" for a > > Catalyst edition. Can you try pointing the ParaView_DIR for the > > Catalyst Examples to the Catalyst build directory instead? Does that > > work? > > > > Utkarsh > > > > On Mon, Aug 15, 2016 at 11:07 AM, Christopher Neal > > wrote: > > > Hi Utkarsh, > > > > > > I have one more question related to the Catalyst edition. I have compiled the ?Essentials? build. I used the command below(for reference) to configure the edition, and everything seems to work out. > > > > > > ./../Catalyst-v5.1.0-Base-Enable-Python-Essentials/cmake.sh -CMAKE_INSTALL_PREFIX:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON ../Catalyst-v5.1.0-Base-Enable-Python-Essentials > > > > > > I?m trying to compile the Catalyst examples that are located in the original ParaView source tree using the Catalyst edition. I used the following command to configure the examples: > > > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > > > > > cmake does not complain when I configure with the command above. But when I type ?make? I see an error that a header file cannot be located. It?s a header file that I know for a fact is located in the ?Essentials? build directory under ?/include/paraview-5.1. > > > > > > I tried using the -DCMAKE_INCLUDE_PATH=[path to ?/include/paraview-5.1] , but cmake tells me that the manually specified variable was not used. The full line that I?m trying to use to configure the examples is: > > > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON -DCMAKE_INCLUDE_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/include/paraview-5.1 /home/neal/software/ParaView/Examples/Catalyst/ > > > > > > Am I not specifying the include path correctly? > > > > > > Thank you, > > > Chris Neal > > > > > > On 8/15/16, 10:15 AM, "Utkarsh Ayachit" wrote: > > > > > > Chris, > > > > > > Some thing like this should do the trick: > > > > > > > [...]/cmake.sh -DCMAKE_INSTALL_PREFIX:PATH=/tmp/install [... path to Catalyst src ...] > > > > > > Utkarsh > > > > > > > > > > > > > > > On Fri, Aug 12, 2016 at 5:49 PM, Christopher Neal > > > wrote: > > > > Hi All, > > > > > > > > > > > > > > > > I was wondering what the appropriate way to specify a value for the cmake > > > > variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition. The > > > > editions make use of a cmake.sh script, and I?ve just been manually adding > > > > the variable to that file because I can?t quite figure out how to tell the > > > > script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. > > > > > > > > Does anyone have experience with doing this? I ask because I always want to > > > > change the install directory to be a different location than the default > > > > location in the root directory that Catalyst usually tries to install in. > > > > > > > > > > > > Thank you, > > > > > > > > Chris Neal > > > > > > > > > > > > _______________________________________________ > > > > 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 chrisneal at snumerics.com Mon Aug 15 12:13:38 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Mon, 15 Aug 2016 12:13:38 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? In-Reply-To: References: <5EBB2A81-BCAD-4906-ADCA-E44C7873C51F@snumerics.com> Message-ID: When I try that command I see the following after I type ?make?: /home/neal/software/ParaView/Examples/Catalyst/CxxOverlappingAMRExample/FEAdaptor.cxx:4:23: fatal error: vtkAMRBox.h: No such file or directory #include ^ compilation terminated. CxxOverlappingAMRExample/CMakeFiles/CxxOverlappingAMRExampleAdaptor.dir/build.make:62: recipe for target 'CxxOverlappingAMRExample/CMakeFiles/CxxOverlappingAMRExampleAdaptor.dir/FEAdaptor.cxx.o' failed make[2]: *** [CxxOverlappingAMRExample/CMakeFiles/CxxOverlappingAMRExampleAdaptor.dir/FEAdaptor.cxx.o] Error 1 CMakeFiles/Makefile2:124: recipe for target 'CxxOverlappingAMRExample/CMakeFiles/CxxOverlappingAMRExampleAdaptor.dir/all' failed make[1]: *** [CxxOverlappingAMRExample/CMakeFiles/CxxOverlappingAMRExampleAdaptor.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 It seems like it just can?t find the include directory in the Catalyst edition. On 8/15/16, 12:06 PM, "Utkarsh Ayachit" wrote: In that case, try the following instead from a clean directory to build the examples using the Catalyst edition. cmake -DParaView_DIR:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ On Mon, Aug 15, 2016 at 11:44 AM, Christopher Neal wrote: > The catalyst edition was built at: /home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build > > /home/neal/software/ParaView_build is where I built a version of Paraview with Catalyst, development files, and no gui. > > On 8/15/16, 11:41 AM, "Utkarsh Ayachit" wrote: > > Chris, > > Cool. There's indeed a bug in the install rules. I'll have to it > fixed. BTW, I am assuming /home/neal/software/ParaView_build is the > direcotory where you build the Catalyst edition, is that correct? > > On Mon, Aug 15, 2016 at 11:38 AM, Christopher Neal > wrote: > > Hi Utkarsh, > > > > I pointed to my ParaView_build directory and the examples compile without any errors. > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/ParaView_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > > > Hope this helps, > > Chris Neal > > > > On 8/15/16, 11:19 AM, "Utkarsh Ayachit" wrote: > > > > Chris, > > > > I suspect there's a bug in the "install development files" for a > > Catalyst edition. Can you try pointing the ParaView_DIR for the > > Catalyst Examples to the Catalyst build directory instead? Does that > > work? > > > > Utkarsh > > > > On Mon, Aug 15, 2016 at 11:07 AM, Christopher Neal > > wrote: > > > Hi Utkarsh, > > > > > > I have one more question related to the Catalyst edition. I have compiled the ?Essentials? build. I used the command below(for reference) to configure the edition, and everything seems to work out. > > > > > > ./../Catalyst-v5.1.0-Base-Enable-Python-Essentials/cmake.sh -CMAKE_INSTALL_PREFIX:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON ../Catalyst-v5.1.0-Base-Enable-Python-Essentials > > > > > > I?m trying to compile the Catalyst examples that are located in the original ParaView source tree using the Catalyst edition. I used the following command to configure the examples: > > > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > > > > > cmake does not complain when I configure with the command above. But when I type ?make? I see an error that a header file cannot be located. It?s a header file that I know for a fact is located in the ?Essentials? build directory under ?/include/paraview-5.1. > > > > > > I tried using the -DCMAKE_INCLUDE_PATH=[path to ?/include/paraview-5.1] , but cmake tells me that the manually specified variable was not used. The full line that I?m trying to use to configure the examples is: > > > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON -DCMAKE_INCLUDE_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/include/paraview-5.1 /home/neal/software/ParaView/Examples/Catalyst/ > > > > > > Am I not specifying the include path correctly? > > > > > > Thank you, > > > Chris Neal > > > > > > On 8/15/16, 10:15 AM, "Utkarsh Ayachit" wrote: > > > > > > Chris, > > > > > > Some thing like this should do the trick: > > > > > > > [...]/cmake.sh -DCMAKE_INSTALL_PREFIX:PATH=/tmp/install [... path to Catalyst src ...] > > > > > > Utkarsh > > > > > > > > > > > > > > > On Fri, Aug 12, 2016 at 5:49 PM, Christopher Neal > > > wrote: > > > > Hi All, > > > > > > > > > > > > > > > > I was wondering what the appropriate way to specify a value for the cmake > > > > variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition. The > > > > editions make use of a cmake.sh script, and I?ve just been manually adding > > > > the variable to that file because I can?t quite figure out how to tell the > > > > script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. > > > > > > > > Does anyone have experience with doing this? I ask because I always want to > > > > change the install directory to be a different location than the default > > > > location in the root directory that Catalyst usually tries to install in. > > > > > > > > > > > > Thank you, > > > > > > > > Chris Neal > > > > > > > > > > > > _______________________________________________ > > > > 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 Aug 15 12:47:35 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 15 Aug 2016 12:47:35 -0400 Subject: [Paraview] Specify value for CMAKE_INSTALL_PREFIX when compiling Catalyst? In-Reply-To: References: <5EBB2A81-BCAD-4906-ADCA-E44C7873C51F@snumerics.com> Message-ID: Hmm okay. I am going to report this as an issue. Clearly there are some missing links when it comes to building examples with Catalyst editions. https://gitlab.kitware.com/paraview/paraview/issues/16823 On Mon, Aug 15, 2016 at 12:13 PM, Christopher Neal wrote: > When I try that command I see the following after I type ?make?: > > /home/neal/software/ParaView/Examples/Catalyst/CxxOverlappingAMRExample/FEAdaptor.cxx:4:23: fatal error: vtkAMRBox.h: No such file or directory > #include > ^ > compilation terminated. > CxxOverlappingAMRExample/CMakeFiles/CxxOverlappingAMRExampleAdaptor.dir/build.make:62: recipe for target 'CxxOverlappingAMRExample/CMakeFiles/CxxOverlappingAMRExampleAdaptor.dir/FEAdaptor.cxx.o' failed > make[2]: *** [CxxOverlappingAMRExample/CMakeFiles/CxxOverlappingAMRExampleAdaptor.dir/FEAdaptor.cxx.o] Error 1 > CMakeFiles/Makefile2:124: recipe for target 'CxxOverlappingAMRExample/CMakeFiles/CxxOverlappingAMRExampleAdaptor.dir/all' failed > make[1]: *** [CxxOverlappingAMRExample/CMakeFiles/CxxOverlappingAMRExampleAdaptor.dir/all] Error 2 > Makefile:83: recipe for target 'all' failed > make: *** [all] Error 2 > > It seems like it just can?t find the include directory in the Catalyst edition. > > > On 8/15/16, 12:06 PM, "Utkarsh Ayachit" wrote: > > In that case, try the following instead from a clean directory to > build the examples using the Catalyst edition. > > cmake -DParaView_DIR:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build > -DBUILD_FORTRAN_EXAMPLES:BOOL=ON > /home/neal/software/ParaView/Examples/Catalyst/ > > > > On Mon, Aug 15, 2016 at 11:44 AM, Christopher Neal > wrote: > > The catalyst edition was built at: /home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build > > > > /home/neal/software/ParaView_build is where I built a version of Paraview with Catalyst, development files, and no gui. > > > > On 8/15/16, 11:41 AM, "Utkarsh Ayachit" wrote: > > > > Chris, > > > > Cool. There's indeed a bug in the install rules. I'll have to it > > fixed. BTW, I am assuming /home/neal/software/ParaView_build is the > > direcotory where you build the Catalyst edition, is that correct? > > > > On Mon, Aug 15, 2016 at 11:38 AM, Christopher Neal > > wrote: > > > Hi Utkarsh, > > > > > > I pointed to my ParaView_build directory and the examples compile without any errors. > > > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/ParaView_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > > > > > Hope this helps, > > > Chris Neal > > > > > > On 8/15/16, 11:19 AM, "Utkarsh Ayachit" wrote: > > > > > > Chris, > > > > > > I suspect there's a bug in the "install development files" for a > > > Catalyst edition. Can you try pointing the ParaView_DIR for the > > > Catalyst Examples to the Catalyst build directory instead? Does that > > > work? > > > > > > Utkarsh > > > > > > On Mon, Aug 15, 2016 at 11:07 AM, Christopher Neal > > > wrote: > > > > Hi Utkarsh, > > > > > > > > I have one more question related to the Catalyst edition. I have compiled the ?Essentials? build. I used the command below(for reference) to configure the edition, and everything seems to work out. > > > > > > > > ./../Catalyst-v5.1.0-Base-Enable-Python-Essentials/cmake.sh -CMAKE_INSTALL_PREFIX:PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON ../Catalyst-v5.1.0-Base-Enable-Python-Essentials > > > > > > > > I?m trying to compile the Catalyst examples that are located in the original ParaView source tree using the Catalyst edition. I used the following command to configure the examples: > > > > > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON /home/neal/software/ParaView/Examples/Catalyst/ > > > > > > > > cmake does not complain when I configure with the command above. But when I type ?make? I see an error that a header file cannot be located. It?s a header file that I know for a fact is located in the ?Essentials? build directory under ?/include/paraview-5.1. > > > > > > > > I tried using the -DCMAKE_INCLUDE_PATH=[path to ?/include/paraview-5.1] , but cmake tells me that the manually specified variable was not used. The full line that I?m trying to use to configure the examples is: > > > > > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build -DBUILD_FORTRAN_EXAMPLES:BOOL=ON -DCMAKE_INCLUDE_PATH=/home/neal/software/Catalyst/Catalyst-v5.1.0-Base-Enable-Python-Essentials_build/include/paraview-5.1 /home/neal/software/ParaView/Examples/Catalyst/ > > > > > > > > Am I not specifying the include path correctly? > > > > > > > > Thank you, > > > > Chris Neal > > > > > > > > On 8/15/16, 10:15 AM, "Utkarsh Ayachit" wrote: > > > > > > > > Chris, > > > > > > > > Some thing like this should do the trick: > > > > > > > > > [...]/cmake.sh -DCMAKE_INSTALL_PREFIX:PATH=/tmp/install [... path to Catalyst src ...] > > > > > > > > Utkarsh > > > > > > > > > > > > > > > > > > > > On Fri, Aug 12, 2016 at 5:49 PM, Christopher Neal > > > > wrote: > > > > > Hi All, > > > > > > > > > > > > > > > > > > > > I was wondering what the appropriate way to specify a value for the cmake > > > > > variable CMAKE_INSTALL_PREFIX is when compiling a Catalyst edition. The > > > > > editions make use of a cmake.sh script, and I?ve just been manually adding > > > > > the variable to that file because I can?t quite figure out how to tell the > > > > > script to also use a value for CMAKE_INSTALL_PREFIX that I pass to it. > > > > > > > > > > Does anyone have experience with doing this? I ask because I always want to > > > > > change the install directory to be a different location than the default > > > > > location in the root directory that Catalyst usually tries to install in. > > > > > > > > > > > > > > > Thank you, > > > > > > > > > > Chris Neal > > > > > > > > > > > > > > > _______________________________________________ > > > > > 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 tossin at gmail.com Mon Aug 15 13:17:21 2016 From: tossin at gmail.com (Evan Kao) Date: Mon, 15 Aug 2016 10:17:21 -0700 Subject: [Paraview] Cannot access information from second input array in a XML custom filter In-Reply-To: References: Message-ID: Hey guys, Just a bump in case anyone who can answer my question missed this. Basically, is it possible to specify two input array drop down menus in a Custom Filter XML file and get the array information from both? I can get two drop down menus in the Properties panel, but can only get information from one of them. Thanks, Evan Kao On Fri, Aug 5, 2016 at 10:08 AM, Evan Kao wrote: > Hey all, > > I'm trying to create a custom filter (using vtkPythonProgrammableFilter) > that allows the user to specify two input arrays (the XML file is > attached). As a guide, I mimicked the XML specifications for the Glyphs > filter in the filters.xml file. The filter appears as it should, but I > can't seem to access the information for the second data array: > > Request Data code: > > print 'ArrayInfo1' > print self.GetInputArrayInformation(0) > print 'ArrayInfo2' > print self.GetInputArrayInformation(1) > > Console output (after generating a sphere): > > ArrayInfo1 > > vtkInformation (0000000015E2FD30) > > Debug: Off > > Modified Time: 866729 > > Reference Count: 2 > > Registered Events: (none) > > INPUT_PORT: 0 > > INPUT_CONNECTION: 0 > > FIELD_ASSOCIATION: 0 > > FIELD_NAME: Normals > > > > ArrayInfo2 > > vtkInformation (0000000015E47D80) > > Debug: Off > > Modified Time: 868190 > > Reference Count: 2 > > Registered Events: (none) > > No matter how I change the second array, there is no FIELD_NAME or > FIELD_ASSOCIATION associated with it. Am I accessing it incorrectly? Did > I prescribe it incorrectly in the XML file? > > Thanks, > Evan Kao > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Aug 15 13:39:28 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 15 Aug 2016 13:39:28 -0400 Subject: [Paraview] Cannot access information from second input array in a XML custom filter In-Reply-To: References: Message-ID: See the attached plugin XML. You just need to specify the array index as default_values other it gets initialized to 0. On Mon, Aug 15, 2016 at 1:17 PM, Evan Kao wrote: > Hey guys, > > Just a bump in case anyone who can answer my question missed this. > Basically, is it possible to specify two input array drop down menus in a > Custom Filter XML file and get the array information from both? I can get > two drop down menus in the Properties panel, but can only get information > from one of them. > > Thanks, > Evan Kao > > On Fri, Aug 5, 2016 at 10:08 AM, Evan Kao wrote: >> >> Hey all, >> >> I'm trying to create a custom filter (using vtkPythonProgrammableFilter) >> that allows the user to specify two input arrays (the XML file is attached). >> As a guide, I mimicked the XML specifications for the Glyphs filter in the >> filters.xml file. The filter appears as it should, but I can't seem to >> access the information for the second data array: >> >> Request Data code: >> >> print 'ArrayInfo1' >> print self.GetInputArrayInformation(0) >> print 'ArrayInfo2' >> print self.GetInputArrayInformation(1) >> >> Console output (after generating a sphere): >> >> ArrayInfo1 >> >> vtkInformation (0000000015E2FD30) >> >> Debug: Off >> >> Modified Time: 866729 >> >> Reference Count: 2 >> >> Registered Events: (none) >> >> INPUT_PORT: 0 >> >> INPUT_CONNECTION: 0 >> >> FIELD_ASSOCIATION: 0 >> >> FIELD_NAME: Normals >> >> >> >> ArrayInfo2 >> >> vtkInformation (0000000015E47D80) >> >> Debug: Off >> >> Modified Time: 868190 >> >> Reference Count: 2 >> >> Registered Events: (none) >> >> >> No matter how I change the second array, there is no FIELD_NAME or >> FIELD_ASSOCIATION associated with it. Am I accessing it incorrectly? Did I >> prescribe it incorrectly in the XML file? >> >> Thanks, >> Evan Kao >> > > > _______________________________________________ > 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: TestTwoInputArrays.xml Type: text/xml Size: 3435 bytes Desc: not available URL: From chrisneal at snumerics.com Mon Aug 15 14:24:10 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Mon, 15 Aug 2016 14:24:10 -0400 Subject: [Paraview] Catalyst example pops up render window when running Message-ID: <153DB747-8B3B-452A-8AB7-C58F37BA49C9@snumerics.com> Hi, I?m trying to run an example case for Catalyst to test my build. The case that I?m interested in is the ?CxxFullExample?.? There is a SampleScripts directory that comes with the example. It seems to run fine. I used Paraview 5.1 to open the .vtu output file from the example and generated a new catalyst script that outputs .png images of a view that I created. When I try to run the example with my newly created script I get errors about: ERROR: In /home/neal/software/ParaView5.2/ParaView/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 481 vtkXOpenGLRenderWindow (0x3234210): bad X server connection. DISPLAY=[SN-HPC-0:14212] *** Process received signal *** Which, if I run the example in a terminal connected to the computer, I see that the script that Paraview created opens up a window on screen and displays my view. I didn?t check any boxes or options during the catalyst script creation process that requested an on-screen rendering. I?m at a loss for why this is happening. How can I request that views be saved to a file without having to be shown directly on the screen? I?m using Paraview 5.2 on OpenSUSE 13.2. Thank you, Chris Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From magnus_elden at hotmail.com Mon Aug 15 15:39:01 2016 From: magnus_elden at hotmail.com (Magnus Elden) Date: Mon, 15 Aug 2016 21:39:01 +0200 Subject: [Paraview] Feasibility of and documentation on implementing a Paraview Client. Message-ID: Hi, For various reasons I aim to replace the standard client of paraview and use the data and rendering servers as is. As such I need to implement the client that communicates with the servers. I have been unable to find any documentation on this and I would appreciate pointers to any documentation of protocols and APIs that are used. The reason for why I am doing this is because I am trying to utilize the power of Paraview and VTK inside another system. The problem is that my VTK program that acts as a light renderer does not work inside the system because it can not obtain an OpenGL context. As such I wish to remove the rendering from the system and instead communicate like the design already permits. What I need it only for the data and rendered frames to be available on the client and for the client to update important info such as the camera transform and transfer functions. Thank you for any help you can provide. Yours, Magnus Elden -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisneal at snumerics.com Mon Aug 15 16:34:16 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Mon, 15 Aug 2016 16:34:16 -0400 Subject: [Paraview] Paraview with osmesa cmake issue Message-ID: <0DDD6DD3-BFF1-4328-ACB9-46882380D37F@snumerics.com> Hi, I?m trying to compile a version of Paraview that uses osmesa. I downloaded the ParaView soruce, and I?m following the directions from: http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D The tutorial gives a sample bash script for compiling with mesa. The only trouble that I?m having is that I don?t quite understand how to write a cmake shell script. I gave it a shot and it thinks my build directory is my source directory. I thought I passed the correct cmake variable to tell cmake where my source is and where my build directory are, but it can?t understand what I have provided. Below is the shell script that I?m trying to execute. Things above the space are my usual build options and things below are for Mesa. It can?t seem to understand those first 2 lines under ?cmake?. Any thoughts on what could be causing this issue? Shell file: #!/bin/bash cmake \ ? -DCMAKE_SOURCE_DIR=/home/neal/software/ParaView_osMesa/Source \ ? -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_osMesa/build \ ? -DCMAKE_BUILD_TYPE:STRING=Release \ ? -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \ ? -DBUILD_TESTING:BOOL=OFF \ ? -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF \ ? -DVTK_RENDERING_BACKEND=OpenGL2 \ ? -DPARAVIEW_USE_MPI:BOOL=ON \ ? -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ ? -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ ? -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON \ ? -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE \ ? -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF \ ? -DVTK_USE_CXX11_FEATURES:BOOL=ON \ ? -DPARAVIEW_BUILD_QT_GUI=OFF \ ? -DVTK_USE_X=OFF \ ? -DOPENGL_INCLUDE_DIR=/home/neal/software/Mesa/build/include \ ? -DOPENGL_gl_LIBRARY=/home/neal/software/Mesa/build/lib64/libOSMesa.so \ ? -DOPENGL_glu_LIBRARY=/home/neal/software/Mesa/build/lib64/libGLU.so \ ? -DVTK_OPENGL_HAS_OSMESA=ON \ ? -DOSMESA_INCLUDE_DIR=/home/neal/software/Mesa/build/include \ ? -DOSMESA_LIBRARY=/home/neal/software/Mesa/build/lib64/libOSMesa.so \ ? $* make -j20 make -j20 install Thank you, Chris Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn.waldon at kitware.com Mon Aug 15 16:40:36 2016 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Mon, 15 Aug 2016 16:40:36 -0400 Subject: [Paraview] Paraview with osmesa cmake issue In-Reply-To: <0DDD6DD3-BFF1-4328-ACB9-46882380D37F@snumerics.com> References: <0DDD6DD3-BFF1-4328-ACB9-46882380D37F@snumerics.com> Message-ID: Hi Chris, What are you passing in for $*? CMake, when run in a directory without a CMakeCache file interprets the current directory as the build directory and its last (non -ed) argument as the source directory. HTH, Shawn On Mon, Aug 15, 2016 at 4:34 PM, Christopher Neal wrote: > Hi, > > I?m trying to compile a version of Paraview that uses osmesa. I downloaded > the ParaView soruce, and I?m following the directions from: > http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D > > > > The tutorial gives a sample bash script for compiling with mesa. The only > trouble that I?m having is that I don?t quite understand how to write a > cmake shell script. I gave it a shot and it thinks my build directory is my > source directory. I thought I passed the correct cmake variable to tell > cmake where my source is and where my build directory are, but it can?t > understand what I have provided. Below is the shell script that I?m trying > to execute. Things above the space are my usual build options and things > below are for Mesa. It can?t seem to understand those first 2 lines under > ?cmake?. > > Any thoughts on what could be causing this issue? > > Shell file: > > > #!/bin/bash > > > > cmake \ > > -DCMAKE_SOURCE_DIR=/home/neal/software/ParaView_osMesa/Source \ > > -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_osMesa/build \ > > -DCMAKE_BUILD_TYPE:STRING=Release \ > > -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \ > > -DBUILD_TESTING:BOOL=OFF \ > > -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF \ > > -DVTK_RENDERING_BACKEND=OpenGL2 \ > > -DPARAVIEW_USE_MPI:BOOL=ON \ > > -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ > > -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ > > -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON \ > > -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE \ > > -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF \ > > -DVTK_USE_CXX11_FEATURES:BOOL=ON \ > > > > -DPARAVIEW_BUILD_QT_GUI=OFF \ > > -DVTK_USE_X=OFF \ > > -DOPENGL_INCLUDE_DIR=/home/neal/software/Mesa/build/include \ > > -DOPENGL_gl_LIBRARY=/home/neal/software/Mesa/build/lib64/libOSMesa.so \ > > -DOPENGL_glu_LIBRARY=/home/neal/software/Mesa/build/lib64/libGLU.so \ > > -DVTK_OPENGL_HAS_OSMESA=ON \ > > -DOSMESA_INCLUDE_DIR=/home/neal/software/Mesa/build/include \ > > -DOSMESA_LIBRARY=/home/neal/software/Mesa/build/lib64/libOSMesa.so \ > > $* > > > > make -j20 > > make -j20 install > > > > Thank you, > > Chris Neal > > _______________________________________________ > 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 salazardetro1 at llnl.gov Mon Aug 15 20:19:32 2016 From: salazardetro1 at llnl.gov (Salazar De Troya, Miguel) Date: Tue, 16 Aug 2016 00:19:32 +0000 Subject: [Paraview] Merging two datasets Message-ID: Hello, I have two data sets that share the same mesh and are both cell data. I want to put them together in a single dataset so I can extract a selection of cells given a criteria from one of the original datasets and then apply a filter to the other dataset. I tried doing GroupDataSet, but it doesn?t correctly plot one of the datasets. In the selection of the coloring I can see ?partial? next to the original dataset?s name. How can we do this? Thanks Miguel -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Aug 15 20:39:57 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Tue, 16 Aug 2016 00:39:57 +0000 Subject: [Paraview] [EXTERNAL] Merging two datasets In-Reply-To: References: Message-ID: <8603d8ae033d402889906cf9e56b3b0a@ES01AMSNLNT.srn.sandia.gov> Not sure if this would work, but how about just moving the variables from one dataset to the other? This is done with the Append Attributes filter. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Salazar De Troya, Miguel Sent: Monday, August 15, 2016 6:20 PM To: Nasrollah Hajaliakbari via ParaView Subject: [EXTERNAL] [Paraview] Merging two datasets Hello, I have two data sets that share the same mesh and are both cell data. I want to put them together in a single dataset so I can extract a selection of cells given a criteria from one of the original datasets and then apply a filter to the other dataset. I tried doing GroupDataSet, but it doesn't correctly plot one of the datasets. In the selection of the coloring I can see "partial" next to the original dataset's name. How can we do this? Thanks Miguel -------------- next part -------------- An HTML attachment was scrubbed... URL: From corinnareuter75 at gmail.com Tue Aug 16 01:58:14 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Tue, 16 Aug 2016 07:58:14 +0200 Subject: [Paraview] Feasibility of and documentation on implementing a Paraview Client. In-Reply-To: References: Message-ID: On Mon, Aug 15, 2016 at 9:39 PM, Magnus Elden wrote: > Hi, > > > > For various reasons I aim to replace the standard client of paraview and > use the data and rendering servers as is. As such I need to implement the > client that communicates with the servers. > You should elaborate on the "various reasons". All that you described is done by the paraview application, connected to a remove pvserver. You can extend or reduce paraview's functionality ( http://www.paraview.org/Wiki/Writing_Custom_Applications). > I have been unable to find any documentation on this and I would > appreciate pointers to any documentation of protocols and APIs that are > used. > Apart from the wiki, you can only search the web for discussions of similar topics or read the Paraview Guide (book). > > > The reason for why I am doing this is because I am trying to utilize the > power of Paraview and VTK inside another system. The problem is that my VTK > program that acts as a light renderer does not work inside the system > because it can not obtain an OpenGL context. As such I wish to remove the > rendering from the system and instead communicate like the design already > permits. > I think you should explain why you don't want to use the paraview application as your client. Corinna -------------- next part -------------- An HTML attachment was scrubbed... URL: From magnus_elden at hotmail.com Tue Aug 16 08:02:40 2016 From: magnus_elden at hotmail.com (Magnus Elden) Date: Tue, 16 Aug 2016 14:02:40 +0200 Subject: [Paraview] Feasibility of and documentation on implementing a Paraview Client. In-Reply-To: References: Message-ID: Hi, I think you should explain why you don't want to use the paraview application as your client. I am using the Unreal Engine 4 for my project and I want to use the power of Paraview to read and render scientific volume data. I tried writing a small program using the VTK library, but I was unable to get it to work due to the program complaining about not being able to find/create an OpenGL context. As such I am forced to separate the rendering and the Unreal program. Having the client and the servers separated is something that Paraview supports natively and as such I do not imagine that it should be more difficult than to implement a code only client that my UE4 program uses to interface with the Paraview servers. As you can see, I am unable to use the paraview application because I will be using another application. Since UE4 has no real support for volume data or scientific visualization I am left between a choice of implementing everything that Paraview already has or writing a new client that handles the translation between my UE4 program and the Paraview server. The former option will force me to spend a lot of time implementing an inferior version of parts of Paraview and the latter require me to create a client that is able to communicate properly with the servers. I would argue that the latter is less work if good documentation and specifications are to be found. Further, I would think that the project can scale much more effectively if I am able to utilize the Paraview servers. I hope to feed the paraview servers with user made updates and then feed the resulting render back to the UE4 application in order to present it to the user. Yours, Magnus Elden -------------- next part -------------- An HTML attachment was scrubbed... URL: From corinnareuter75 at gmail.com Tue Aug 16 08:49:46 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Tue, 16 Aug 2016 14:49:46 +0200 Subject: [Paraview] Feasibility of and documentation on implementing a Paraview Client. In-Reply-To: References: Message-ID: Sorry, my Paraview experience is too limited and my Unreal knowledge is zero, so that I won't be able to give you anything else than some ideas. First of all, Paraview cannot compete with game engines in terms of rendering speed, because the data structures are more complicated. Still, if you write your own "Paraview client", you'll end up with the original paraview application reduced to only the 3d view widget. You could suppress its output and grab the image data. I guess you have already considered fixing the OpenGL setup. If you are running on a headless cluster, you could install the osmesa implementation. But without a thorough understanding of how you are interfacing with the Unreal engine in detail and what data type and sizes and frame rates you expect, I cannot suggest anything else than following the wiki on custom Paraview applications. I am sure, others on this list will help. Corinna On Tue, Aug 16, 2016 at 2:02 PM, Magnus Elden wrote: > Hi, > > > > I think you should explain why you don't want to use the paraview > application as your client. > > > > I am using the Unreal Engine 4 for my project and I want to use the power > of Paraview to read and render scientific volume data. I tried writing a > small program using the VTK library, but I was unable to get it to work due > to the program complaining about not being able to find/create an OpenGL > context. As such I am forced to separate the rendering and the Unreal > program. Having the client and the servers separated is something that > Paraview supports natively and as such I do not imagine that it should be > more difficult than to implement a code only client that my UE4 program > uses to interface with the Paraview servers. > > > > As you can see, I am unable to use the paraview application because I will > be using another application. Since UE4 has no real support for volume data > or scientific visualization I am left between a choice of implementing > everything that Paraview already has or writing a new client that handles > the translation between my UE4 program and the Paraview server. > > The former option will force me to spend a lot of time implementing an > inferior version of parts of Paraview and the latter require me to create a > client that is able to communicate properly with the servers. I would argue > that the latter is less work if good documentation and specifications are > to be found. Further, I would think that the project can scale much more > effectively if I am able to utilize the Paraview servers. > > > > I hope to feed the paraview servers with user made updates and then feed > the resulting render back to the UE4 application in order to present it to > the user. > > > > Yours, > > Magnus Elden > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn.waldon at kitware.com Tue Aug 16 09:00:19 2016 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Tue, 16 Aug 2016 09:00:19 -0400 Subject: [Paraview] Feasibility of and documentation on implementing a Paraview Client. In-Reply-To: References: Message-ID: Hi Magnus, I don't know much about getting ParaView to work in the client-server mode you describe and less about the Unreal engine, but if you are willing to sacrifice a little bit of rendering speed would be to build VTK with OSMesa and let it do software rendering rather than requiring a hardware context (which it can't seem to get due to some interference with Unreal). I just thought I would point out the option, you can try it and decide if you think the rendering speed hit is too much. HTH, Shawn On Tue, Aug 16, 2016 at 8:49 AM, corinna reuter wrote: > Sorry, my Paraview experience is too limited and my Unreal knowledge is > zero, so that I won't be able to give you anything else than some ideas. > First of all, Paraview cannot compete with game engines in terms of > rendering speed, because the data structures are more complicated. > Still, if you write your own "Paraview client", you'll end up with the > original paraview application reduced to only the 3d view widget. You could > suppress its output and grab the image data. > I guess you have already considered fixing the OpenGL setup. If you are > running on a headless cluster, you could install the osmesa implementation. > But without a thorough understanding of how you are interfacing with the > Unreal engine in detail and what data type and sizes and frame rates you > expect, I cannot suggest anything else than following the wiki on custom > Paraview applications. I am sure, others on this list will help. > > Corinna > > On Tue, Aug 16, 2016 at 2:02 PM, Magnus Elden > wrote: > >> Hi, >> >> >> >> I think you should explain why you don't want to use the paraview >> application as your client. >> >> >> >> I am using the Unreal Engine 4 for my project and I want to use the power >> of Paraview to read and render scientific volume data. I tried writing a >> small program using the VTK library, but I was unable to get it to work due >> to the program complaining about not being able to find/create an OpenGL >> context. As such I am forced to separate the rendering and the Unreal >> program. Having the client and the servers separated is something that >> Paraview supports natively and as such I do not imagine that it should be >> more difficult than to implement a code only client that my UE4 program >> uses to interface with the Paraview servers. >> >> >> >> As you can see, I am unable to use the paraview application because I >> will be using another application. Since UE4 has no real support for volume >> data or scientific visualization I am left between a choice of implementing >> everything that Paraview already has or writing a new client that handles >> the translation between my UE4 program and the Paraview server. >> >> The former option will force me to spend a lot of time implementing an >> inferior version of parts of Paraview and the latter require me to create a >> client that is able to communicate properly with the servers. I would argue >> that the latter is less work if good documentation and specifications are >> to be found. Further, I would think that the project can scale much more >> effectively if I am able to utilize the Paraview servers. >> >> >> >> I hope to feed the paraview servers with user made updates and then feed >> the resulting render back to the UE4 application in order to present it to >> the user. >> >> >> >> Yours, >> >> Magnus Elden >> > > > _______________________________________________ > 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 lancelot.boulet at coria.fr Tue Aug 16 09:50:25 2016 From: lancelot.boulet at coria.fr (Lancelot Boulet) Date: Tue, 16 Aug 2016 15:50:25 +0200 Subject: [Paraview] Question about colorize a link-path between particles with a scalar Message-ID: Dear all, I am trying to visualise the path of one particle with the line colored by a scalar. But I don?t really know how to do that. For example, I want to visualize the evolution of the temperature along the path of my particle. I have a data file with point coordinates (each line represents its evolution in time) and some scalars (like temperature, diameter) as input. "x", "y", "z", "scalar1", "scalar2" 0, 0, 0, 300, 12.5 0, 12, 7, 302, 35.4 ... What I had already done is to convert my data into Table Of Points. Then, I used this Programmable Filter to connect the points : pdi = self.GetPolyDataInput() pdo = self.GetPolyDataOutput() numPoints = pdi.GetNumberOfPoints() pdo.Allocate() for i in range(0, numPoints-1): points = [i, i+1] # VTK_LINE is 3 pdo.InsertNextCell(3, 2, points) I have found, on the Paraview Wiki, a way to give a unique color for the line that link all the coordinates : pdi = self.GetPolyDataInput() pdo = self.GetPolyDataOutput() numPoints = pdi.GetNumberOfPoints() pdo.Allocate() colors = vtk.vtkUnsignedCharArray() colors.SetNumberOfComponents(3) colors.SetName("Colors") for i in range(0, numPoints-1): points = [i, i+1] # VTK_LINE is 3 pdo.InsertNextCell(3, 2, points) colors.InsertNextTuple3(255,0,0) pdo.GetPointData().AddArray(colors) del colors Do you have any idea how I can do that (with a Programmable Filter or not) ? Thank you in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Tue Aug 16 11:06:03 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 16 Aug 2016 15:06:03 +0000 Subject: [Paraview] Merging two datasets In-Reply-To: References: Message-ID: Does the Append Attributes filter do what you want? That combines the fields of the two data sets into one. -Ken Sent from my iPad so blame autocorrect. > On Aug 15, 2016, at 6:31 PM, Salazar De Troya, Miguel wrote: > > Hello, > > I have two data sets that share the same mesh and are both cell data. I want to put them together in a single dataset so I can extract a selection of cells given a criteria from one of the original datasets and then apply a filter to the other dataset. I tried doing GroupDataSet, but it doesn?t correctly plot one of the datasets. In the selection of the coloring I can see ?partial? next to the original dataset?s name. How can we do this? > > Thanks > Miguel > > _______________________________________________ > 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 simon.m.su.civ at mail.mil Tue Aug 16 10:57:50 2016 From: simon.m.su.civ at mail.mil (Su, Simon M CIV USARMY RDECOM ARL (US)) Date: Tue, 16 Aug 2016 14:57:50 +0000 Subject: [Paraview] [Non-DoD Source] Re: Qt version support update 2016 In-Reply-To: References: , Message-ID: Shawn, thanks for the info. I will give it a try thanks -simon ________________________________ From: Shawn Waldon [shawn.waldon at kitware.com] Sent: Monday, August 15, 2016 9:06 AM To: Su, Simon M CIV USARMY RDECOM ARL (US) Cc: Mega Mind; ParaView list Subject: Re: [Non-DoD Source] Re: [Paraview] Qt version support update 2016 All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ Mega Mind, I have a project that is using ParaView with Qt 5.7 on Windows. Of course we use VS 2013 still, so that may be the difference. It still sounds like you forgot to set the PARAVIEW_QT_VERSION to 5. If this is 4 (the default), the CMake scripts will ignore Qt5. I think it may be smart enough to default to 5 when there is no Qt4 preset which may be why that build worked. Our build machine has both Qt4 and Qt5 installed and it works fine. Still, I don't know if anyone has tried Qt5 + VS 2015.... Anyway, your runtime error with the dll not found? That is a Windows thing. Not found means it is not in the PATH environment variable's list of folders. Windows doesn't bake into the executable the paths to its runtime dependencies. Linux and OSX do, which is why you can typically run things from a build tree there without any problems. But to run it from Windows, you will need to add the Qt5 dll's directory to your PATH or move it to the same directory as the executable which needs it. Simon, The ParaView Superbuild uses a precompiled python 2.7 that was built with VS 2008. Python 2.x doesn't support any newer versions (maybe 2010, but we've never used that version of python). Since the API we link against is pure C, there are no ABI issues with using this prebuilt version. You should be able to look in the superbuild and find the path for the zip file with the prebuilt python and download/use that one. I know Python 3 is supported in VTK, but I'm not sure it is fully supported in ParaView yet. HTH, Shawn On Sat, Aug 13, 2016 at 6:30 PM, Su, Simon M CIV USARMY RDECOM ARL (US) > wrote: you need python in the path for QT 5 to build for windows. specifically python with bz2 module.... both running configure and nmake the next problem you will encounter after getting past the QT 5 which I am still stuck is to build python. Python 3 will compile with vs2015 express, python 2.x will not. c++ time zone related variables changes. But I am not able to compile pv with python 3..... I even tried to fix the time zone related compile but end up with linking error at the very end. because of this, i think win7 or win10 pv will only work with vs2013 express..... hth -s ________________________________ From: ParaView [paraview-bounces at paraview.org < Caution-mailto:paraview-bounces at paraview.org > ] on behalf of Mega Mind [123megamind at gmail.com < Caution-mailto:123megamind at gmail.com > ] Sent: Saturday, August 13, 2016 5:00 PM To: Shawn Waldon Cc: ParaView list Subject: [Non-DoD Source] Re: [Paraview] Qt version support update 2016 All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ Have you or anyone successfully built and installed on Win7 64 with Visual Studio 2015? I always get errors when building or opening the paraview.exe. For Qt the 4.x versions seem to have only x86 installs but I installed 4.8 anyway. When trying Qt 5.7 I get a failed build with 3 errors and over 350 warnings. Also noted that in Cmake configure it would still reference Qt 4 even after setting Qt5_DIR Qt5Core_DIR Qt5Widgets_DIR etc and changing all paths to proper reference directories. The only fix was to uninstall Qt 4 but I was able to get a build with no errors when it was using both Qt 4 & 5 strangely but when opening paraview,exe the 'system error' message was Qt5Widgets.dll does not exist. It does though and is in "C:\Program Files (x86)\Qt\5.7\msvc2015_64\bin\" so I tried to manually change that in any Cmake config file I could find but nothing worked out. I've tried hundreds of things over the past three days and read and followed the wiki many times and I'm coming to the conclusion no one is using Win 64 which seems strange to me but I guess everyone is using Unix. On Fri, Aug 12, 2016 at 5:18 AM, Shawn Waldon < Caution-Caution-mailto:shawn.waldon at kitware.com < Caution-mailto:shawn.waldon at kitware.com > > > wrote: To use Qt5, you have to set the PARAVIEW_QT_VERSION variable to 5 (it still defaults to 4, which is why cmake is complaining). Note that some things may be buggy when building against Qt5, I don't know the full list of current issues, just that there are some. Also note that you have to specify the location of Qt5 differently to CMake. CMake doesn't use the QT_QMAKE_EXECUTABLE variable for Qt5, instead it uses Qt5_DIR. This should point to .../lib/cmake/Qt5 inside your Qt5 install. HTH, Shawn On Fri, Aug 12, 2016 at 5:09 AM, Mega Mind <123megamind at gmail.com < Caution-mailto:123megamind at gmail.com > < Caution-Caution-mailto:123megamind at gmail.com < Caution-mailto:123megamind at gmail.com > > > wrote: Has the Qt version support advanced close to 5.7 yet? Cmake throws error that Qt 4.x required but read on mailing list some guys are using Qt 5.x. I'm installing Qt 4.8.1 but the only option seems to be x86 and for Visual Studio 2010. Trying to build on Win7 64bit with MSVisual Studio 2015 install. _______________________________________________ Powered by Caution-Caution-www.kitware.com < Caution-http://Caution-Caution-www.kitware.com > < Caution-Caution-http://www.kitware.com < Caution-http://www.kitware.com > > Visit other Kitware open-source projects at Caution-Caution-http://www.kitware.com/opensou < Caution-http://www.kitware.com/opensou > rce/opensource.html < Caution-Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: Caution-Caution-http://paraview.org/Wiki/ParaV < Caution-http://paraview.org/Wiki/ParaV > iew < Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > > Search the list archives at: Caution-Caution-http://markmail.org/search/?q= < Caution-http://markmail.org/search/?q= > ParaView < Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: Caution-Caution-http://public.kitware.com/mail < Caution-http://public.kitware.com/mail > man/listinfo/paraview < Caution-Caution-http://public.kitware.com/mailman/listinfo/paraview < Caution-http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisneal at snumerics.com Tue Aug 16 13:57:31 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Tue, 16 Aug 2016 13:57:31 -0400 Subject: [Paraview] Paraview with osmesa cmake issue In-Reply-To: References: <0DDD6DD3-BFF1-4328-ACB9-46882380D37F@snumerics.com> Message-ID: <40DF0D78-5FFE-471A-A77F-D832AEF5ECBB@snumerics.com> That?s what was in the example. I?ve removed that line now. From: Shawn Waldon Date: Monday, August 15, 2016 at 4:40 PM To: Christopher Neal Cc: "paraview at paraview.org" Subject: Re: [Paraview] Paraview with osmesa cmake issue Hi Chris, What are you passing in for $*? CMake, when run in a directory without a CMakeCache file interprets the current directory as the build directory and its last (non -ed) argument as the source directory. HTH, Shawn On Mon, Aug 15, 2016 at 4:34 PM, Christopher Neal wrote: Hi, I?m trying to compile a version of Paraview that uses osmesa. I downloaded the ParaView soruce, and I?m following the directions from: http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D The tutorial gives a sample bash script for compiling with mesa. The only trouble that I?m having is that I don?t quite understand how to write a cmake shell script. I gave it a shot and it thinks my build directory is my source directory. I thought I passed the correct cmake variable to tell cmake where my source is and where my build directory are, but it can?t understand what I have provided. Below is the shell script that I?m trying to execute. Things above the space are my usual build options and things below are for Mesa. It can?t seem to understand those first 2 lines under ?cmake?. Any thoughts on what could be causing this issue? Shell file: #!/bin/bash cmake \ -DCMAKE_SOURCE_DIR=/home/neal/software/ParaView_osMesa/Source \ -DCMAKE_INSTALL_PREFIX=/home/neal/software/ParaView_osMesa/build \ -DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \ -DBUILD_TESTING:BOOL=OFF \ -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF \ -DVTK_RENDERING_BACKEND=OpenGL2 \ -DPARAVIEW_USE_MPI:BOOL=ON \ -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON \ -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE \ -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF \ -DVTK_USE_CXX11_FEATURES:BOOL=ON \ -DPARAVIEW_BUILD_QT_GUI=OFF \ -DVTK_USE_X=OFF \ -DOPENGL_INCLUDE_DIR=/home/neal/software/Mesa/build/include \ -DOPENGL_gl_LIBRARY=/home/neal/software/Mesa/build/lib64/libOSMesa.so \ -DOPENGL_glu_LIBRARY=/home/neal/software/Mesa/build/lib64/libGLU.so \ -DVTK_OPENGL_HAS_OSMESA=ON \ -DOSMESA_INCLUDE_DIR=/home/neal/software/Mesa/build/include \ -DOSMESA_LIBRARY=/home/neal/software/Mesa/build/lib64/libOSMesa.so \ $* make -j20 make -j20 install Thank you, Chris Neal _______________________________________________ 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 paul.melis at surfsara.nl Wed Aug 17 08:16:18 2016 From: paul.melis at surfsara.nl (Paul Melis) Date: Wed, 17 Aug 2016 14:16:18 +0200 Subject: [Paraview] [EXTERNAL] Client-server mode fails with 5.0.1 In-Reply-To: References: <5714AED6.5080101@surfsara.nl> <571520E7.80300@surfsara.nl> <571610BA.4080406@surfsara.nl> <26d03815-073e-d9ec-3619-191ed47576ee@surfsara.nl> Message-ID: Hi Utkarsh, On 28-06-16 16:29, Utkarsh Ayachit wrote: >> As soon as I set the threshold to 0 the warning about the OpenGL 3.2 context >> pops up (but no segfault in this case). > > No segfault just means that the scene didn't attempt to rendering > something that needed newer OpenGL. > >> I tried a very minimal example that creates a 3.2 context (using SDL) and >> that fails as well, so maybe something strange is going in with our nvidia >> driver installation. I'll see if I can do some more tests. > > Cool. Thanks. I did some further testing, but can't find anything obviously wrong with our setup w.r.t OpenGL versions. I do notice that window setup in SDL2 fails due to the XRandR support finding no outputs configured on the graphics cards (there's nothing connected as these are cluster nodes). GLFW3 reports "X11: RandR monitor support seems broken", but initializes and renders (on :0.0) anyway when requesting a 3.2 context. Does ParaView, or VTK, use XRandR to get a valid window on which an OpenGL context is created? Could this be a reason I see the 3.2 context creation failure? Regards, Paul -- Paul Melis | Visualization group leader & developer | SURFsara | | Science Park 140 | 1098 XG Amsterdam | | T 020 800 1312 | paul.melis at surfsara.nl | www.surfsara.nl | From renambot at gmail.com Wed Aug 17 12:24:58 2016 From: renambot at gmail.com (Luc Renambot) Date: Wed, 17 Aug 2016 11:24:58 -0500 Subject: [Paraview] Feasibility of and documentation on implementing a Paraview Client. In-Reply-To: References: Message-ID: Hi, Can a plugin (a pvserver plugin I guess) access the rendered pixels ? A long time ago, we had to modify one of the base VTK class to access rendered pixel (a la ?glReadPixels?) and recompile the whole thing. It would be nice to do that in a plugin... ...Luc... Luc Renambot renambot at uic.edu Electronic Visualization Lab (M/C 152) EVL Phone (312) 996-3002 University of Illinois at Chicago EVL FAX (312) 413-7585 851 S. Morgan St. Room 1120 SEO http://renambot.lakephoto.org Chicago, IL 60607-7053 > On Aug 16, 2016, at 8:00 AM, Shawn Waldon wrote: > > Hi Magnus, > > I don't know much about getting ParaView to work in the client-server mode you describe and less about the Unreal engine, but if you are willing to sacrifice a little bit of rendering speed would be to build VTK with OSMesa and let it do software rendering rather than requiring a hardware context (which it can't seem to get due to some interference with Unreal). I just thought I would point out the option, you can try it and decide if you think the rendering speed hit is too much. > > HTH, > Shawn > > On Tue, Aug 16, 2016 at 8:49 AM, corinna reuter wrote: > Sorry, my Paraview experience is too limited and my Unreal knowledge is zero, so that I won't be able to give you anything else than some ideas. > First of all, Paraview cannot compete with game engines in terms of rendering speed, because the data structures are more complicated. > Still, if you write your own "Paraview client", you'll end up with the original paraview application reduced to only the 3d view widget. You could suppress its output and grab the image data. > I guess you have already considered fixing the OpenGL setup. If you are running on a headless cluster, you could install the osmesa implementation. > But without a thorough understanding of how you are interfacing with the Unreal engine in detail and what data type and sizes and frame rates you expect, I cannot suggest anything else than following the wiki on custom Paraview applications. I am sure, others on this list will help. > > Corinna > > On Tue, Aug 16, 2016 at 2:02 PM, Magnus Elden wrote: > Hi, > > > > I think you should explain why you don't want to use the paraview application as your client. > > > > I am using the Unreal Engine 4 for my project and I want to use the power of Paraview to read and render scientific volume data. I tried writing a small program using the VTK library, but I was unable to get it to work due to the program complaining about not being able to find/create an OpenGL context. As such I am forced to separate the rendering and the Unreal program. Having the client and the servers separated is something that Paraview supports natively and as such I do not imagine that it should be more difficult than to implement a code only client that my UE4 program uses to interface with the Paraview servers. > > > > As you can see, I am unable to use the paraview application because I will be using another application. Since UE4 has no real support for volume data or scientific visualization I am left between a choice of implementing everything that Paraview already has or writing a new client that handles the translation between my UE4 program and the Paraview server. > > The former option will force me to spend a lot of time implementing an inferior version of parts of Paraview and the latter require me to create a client that is able to communicate properly with the servers. I would argue that the latter is less work if good documentation and specifications are to be found. Further, I would think that the project can scale much more effectively if I am able to utilize the Paraview servers. > > > > I hope to feed the paraview servers with user made updates and then feed the resulting render back to the UE4 application in order to present it to the user. > > > > Yours, > > Magnus Elden > > > > _______________________________________________ > 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 xsqin at uw.edu Wed Aug 17 14:16:20 2016 From: xsqin at uw.edu (Shawn Qin) Date: Wed, 17 Aug 2016 11:16:20 -0700 Subject: [Paraview] Visualizing data in vtkOverlappingAMR format Message-ID: <57B4A9F4.2060304@uw.edu> Hello all, Our group are trying to use Paraview to visualize output from our code (http://www.clawpack.org/). I wrote a python script to convert our output to 2D _*vtkOverlappingAMR*_ format. This format follows the template given by an example in the VTK (not Paraview) source code: vtk/Examples/AMR/Cxx/Generate2DAMRDataSetWithPulse.cxx But when I use Paraview to open a single vtk file, it get crashed occasionally with "Segmentation fault (core dumped)". The even more weird thing is that if you click on "apply" fast enough after open the vtk file, it is very likely to crash. But if you do these operations in Paraview slower, it will probably be fine and everything get visualized normally. Thanks! Best, -- ~~~~~~~~~~~~~~~~~ Xinsheng Qin Ph.D. Student at Department of Civil and Environmental Engineering Master Student at Department of Applied Mathematics University of Washington xsqin at uw.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From l.calori at cineca.it Wed Aug 17 15:07:36 2016 From: l.calori at cineca.it (Luigi Calori) Date: Wed, 17 Aug 2016 21:07:36 +0200 Subject: [Paraview] Catalyst example on dynamic producer setup Message-ID: <57B4B5F8.70806@cineca.it> Hi everybody: we are starting instrumenting one Fortran simulation code with Paraview catalyst. We have started from the fortran full example as our grid is basically a 3d rectilinear grid that we are currently handling like imagedata. Our code has a quite high number of scalar fields ( 50 ) and a single velocity field. If we use a single input and a single data producer with all the field inside, the Paraview client slows down, probably due to memory usage or transfer. For visualization we would just need the vector field and one or two of the scalar fields. It would really good to be able to dinamically ( possibly each time step) being able to select which of the available scalar variable pass as scalar field. In the examples the c++ adaptor code add fields in a fixed way. We would like to pass information from python ( and maybe from Paraview GUI ) to the adaptor code to dynamically change it's behaviour. Is it at all possible? any hints or better example code. Sorry if dumb question, I' m a newbie in this Thanks in advance. -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it From hitcaozx at gmail.com Wed Aug 17 15:27:11 2016 From: hitcaozx at gmail.com (=?UTF-8?B?5pu55pm66YCJ?=) Date: Wed, 17 Aug 2016 15:27:11 -0400 Subject: [Paraview] Question regarding running python scripts with pvbatch on a cluster Message-ID: Hi How to run a python scripts on a cluster node. I am expecting to submit my jobs with job scheduler (such as slurm) and without opening any GUI. The command that I currently using in my job submit scripts (slurm script) is: pvbatch myscripts.py But I got an error: ERROR: In /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx, line 530 vtkXOpenGLRenderWindow (0x3ada960): bad X server connection. DISPLAY=localhost:43.0. Aborting. Could somebody give some advice? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at seoaachen.de Wed Aug 17 16:08:17 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Wed, 17 Aug 2016 22:08:17 +0200 Subject: [Paraview] PV Web scrollwheel for zoom, wrong legend In-Reply-To: References: Message-ID: <1ae2d42e-7e89-ef8b-a629-640c20a89370@seoaachen.de> I added the lines but scroll wheel does not work > > Look at ${pv_src}/Web/Python/paraview/web/protocols.py > #ParaViewWebMouseHandler > vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py #vtkWebMouseHandler > > it seems the paraview one is missing: > > if event.has_key("scroll"): > pvevent.SetScroll(event["scroll"]) > > Just add it to your paraview python file. > From sebastien.jourdain at kitware.com Wed Aug 17 16:32:34 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 17 Aug 2016 14:32:34 -0600 Subject: [Paraview] PV Web scrollwheel for zoom, wrong legend In-Reply-To: <1ae2d42e-7e89-ef8b-a629-640c20a89370@seoaachen.de> References: <1ae2d42e-7e89-ef8b-a629-640c20a89370@seoaachen.de> Message-ID: I guess ParaView is missing more code on the server side. ;-) This time, it will be in the C++. ${ParaView-src}/VTK/Web/Core/vtkWebApplication.cxx => vtkPVWebApplication::HandleInteractionEvent vs ${ParaView-src}/Web/Core/vtkPVWebApplication.cxx => vtkWebApplication::HandleInteractionEvent The VTK one has: // Handle scroll action if any if(event->GetScroll()) { iren->SetEventInformation(0, 0, ctrlKey, shiftKey, event->GetKeyCode(), 0); iren->MouseMoveEvent(); iren->RightButtonPressEvent(); iren->SetEventInformation(0, event->GetScroll()*10, ctrlKey, shiftKey, event->GetKeyCode(), 0); iren->MouseMoveEvent(); iren->RightButtonReleaseEvent(); this->Internals->ImageCache[view].NeedsRender = true; return true; } If you got it working, could you submit a pull request on our gitlab and assign it to me so those fix could be part of PV 5.2? Thanks, Seb On Wed, Aug 17, 2016 at 2:08 PM, Daniel Zuidinga wrote: > I added the lines but scroll wheel does not work > > >> Look at ${pv_src}/Web/Python/paraview/web/protocols.py >> #ParaViewWebMouseHandler >> vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py #vtkWebMouseHandler >> >> it seems the paraview one is missing: >> >> if event.has_key("scroll"): >> pvevent.SetScroll(event["scroll"]) >> >> Just add it to your paraview python file. >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at seoaachen.de Wed Aug 17 17:18:13 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Wed, 17 Aug 2016 23:18:13 +0200 Subject: [Paraview] PV Web scrollwheel for zoom, wrong legend In-Reply-To: References: <1ae2d42e-7e89-ef8b-a629-640c20a89370@seoaachen.de> Message-ID: shouldn't work scroll wheel in vtk.js? e.g. here https://kitware.github.io/vtk-js/examples/HttpSceneLoader.html I have to compile the whole sources? I use pv of salome meca. I hope it isn't to complicated and cpu intensive. Am 17.08.2016 um 22:32 schrieb Sebastien Jourdain: > I guess ParaView is missing more code on the server side. ;-) > This time, it will be in the C++. > > > ${ParaView-src}/VTK/Web/Core/vtkWebApplication.cxx => > vtkPVWebApplication::HandleInteractionEvent > > vs > > ${ParaView-src}/Web/Core/vtkPVWebApplication.cxx => > vtkWebApplication::HandleInteractionEvent > > The VTK one has: > > // Handle scroll action if any > if(event->GetScroll()) { > iren->SetEventInformation(0, 0, ctrlKey, shiftKey, > event->GetKeyCode(), 0); > iren->MouseMoveEvent(); > iren->RightButtonPressEvent(); > iren->SetEventInformation(0, event->GetScroll()*10, ctrlKey, > shiftKey, event->GetKeyCode(), 0); > iren->MouseMoveEvent(); > iren->RightButtonReleaseEvent(); > this->Internals->ImageCache[view].NeedsRender = true; > return true; > } > > If you got it working, could you submit a pull request on our gitlab > and assign it to me so those fix could be part of PV 5.2? > > Thanks, > > Seb > > On Wed, Aug 17, 2016 at 2:08 PM, Daniel Zuidinga > wrote: > > I added the lines but scroll wheel does not work > > > Look at ${pv_src}/Web/Python/paraview/web/protocols.py > #ParaViewWebMouseHandler > vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py > #vtkWebMouseHandler > > it seems the paraview one is missing: > > if event.has_key("scroll"): > pvevent.SetScroll(event["scroll"]) > > Just add it to your paraview python file. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Aug 17 19:32:34 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 17 Aug 2016 17:32:34 -0600 Subject: [Paraview] PV Web scrollwheel for zoom, wrong legend In-Reply-To: References: <1ae2d42e-7e89-ef8b-a629-640c20a89370@seoaachen.de> Message-ID: vtk.js interaction does not currently implement zooming. So the current behavior is expected. What are you trying to do with vtk.js and salome? vtk.js has not been released yet and is a pure JavaScript/client library. On Wed, Aug 17, 2016 at 3:18 PM, Daniel Zuidinga wrote: > shouldn't work scroll wheel in vtk.js? e.g. here > https://kitware.github.io/vtk-js/examples/HttpSceneLoader.html > I have to compile the whole sources? I use pv of salome meca. I hope it > isn't to complicated and cpu intensive. > > > Am 17.08.2016 um 22:32 schrieb Sebastien Jourdain: > > I guess ParaView is missing more code on the server side. ;-) > This time, it will be in the C++. > > > ${ParaView-src}/VTK/Web/Core/vtkWebApplication.cxx => > vtkPVWebApplication::HandleInteractionEvent > > vs > > ${ParaView-src}/Web/Core/vtkPVWebApplication.cxx => vtkWebApplication:: > HandleInteractionEvent > > The VTK one has: > > // Handle scroll action if any > if(event->GetScroll()) { > iren->SetEventInformation(0, 0, ctrlKey, shiftKey, > event->GetKeyCode(), 0); > iren->MouseMoveEvent(); > iren->RightButtonPressEvent(); > iren->SetEventInformation(0, event->GetScroll()*10, ctrlKey, shiftKey, > event->GetKeyCode(), 0); > iren->MouseMoveEvent(); > iren->RightButtonReleaseEvent(); > this->Internals->ImageCache[view].NeedsRender = true; > return true; > } > > If you got it working, could you submit a pull request on our gitlab and > assign it to me so those fix could be part of PV 5.2? > > Thanks, > > Seb > > On Wed, Aug 17, 2016 at 2:08 PM, Daniel Zuidinga > wrote: > >> I added the lines but scroll wheel does not work >> >> >>> Look at ${pv_src}/Web/Python/paraview/web/protocols.py >>> #ParaViewWebMouseHandler >>> vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py #vtkWebMouseHandler >>> >>> it seems the paraview one is missing: >>> >>> if event.has_key("scroll"): >>> pvevent.SetScroll(event["scroll"]) >>> >>> Just add it to your paraview python file. >>> >>> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Wed Aug 17 21:23:06 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 17 Aug 2016 21:23:06 -0400 Subject: [Paraview] Catalyst example on dynamic producer setup In-Reply-To: <57B4B5F8.70806@cineca.it> References: <57B4B5F8.70806@cineca.it> Message-ID: Hi, This is possible but at this point requires custom coding the Python script to specify which fields are needed. This should be done during the RequestDataDescription() call. You can use vtkCPInputDataDescription's IsFieldNeeded() and IsFieldPointData() methods to specify what's needed in the Python script and then create the requested VTK data arrays in the adaptor after that. There are plans to allow the GUI script generation to specify which data arrays are needed but no concrete date (likely over a year unless there's significant support for the development effort) for when that functionality will be available. Cheers, Andy On Wed, Aug 17, 2016 at 3:07 PM, Luigi Calori wrote: > Hi everybody: we are starting instrumenting one Fortran simulation code > with Paraview catalyst. > We have started from the fortran full example as our grid is basically a > 3d rectilinear grid that we are currently > handling like imagedata. > Our code has a quite high number of scalar fields ( 50 ) and a single > velocity field. > If we use a single input and a single data producer with all the field > inside, the Paraview client slows down, probably due to memory usage or > transfer. > For visualization we would just need the vector field and one or two of > the scalar fields. > It would really good to be able to dinamically ( possibly each time step) > being able to select which of the available scalar variable pass as scalar > field. > In the examples the c++ adaptor code add fields in a fixed way. We would > like to pass information from python ( and maybe from Paraview GUI ) to the > adaptor code to dynamically change it's behaviour. > > Is it at all possible? any hints or better example code. > > Sorry if dumb question, I' m a newbie in this > > Thanks in advance. > > -- > Luigi Calori > SuperComputing Applications and Innovation Department > CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY > Tel: +39 051 6171509 Fax: +39 051 6132198 > hpc.cineca.it > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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 ken.martin at kitware.com Wed Aug 17 21:38:58 2016 From: ken.martin at kitware.com (Ken Martin) Date: Wed, 17 Aug 2016 21:38:58 -0400 Subject: [Paraview] PV Web scrollwheel for zoom, wrong legend In-Reply-To: References: <1ae2d42e-7e89-ef8b-a629-640c20a89370@seoaachen.de> Message-ID: left mouse does work as zoom in vtk.js FWIW - Ken On Wed, Aug 17, 2016 at 7:32 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > vtk.js interaction does not currently implement zooming. So the current > behavior is expected. > > What are you trying to do with vtk.js and salome? vtk.js has not been > released yet and is a pure JavaScript/client library. > > > > On Wed, Aug 17, 2016 at 3:18 PM, Daniel Zuidinga > wrote: > >> shouldn't work scroll wheel in vtk.js? e.g. here >> https://kitware.github.io/vtk-js/examples/HttpSceneLoader.html >> I have to compile the whole sources? I use pv of salome meca. I hope it >> isn't to complicated and cpu intensive. >> >> >> Am 17.08.2016 um 22:32 schrieb Sebastien Jourdain: >> >> I guess ParaView is missing more code on the server side. ;-) >> This time, it will be in the C++. >> >> >> ${ParaView-src}/VTK/Web/Core/vtkWebApplication.cxx => >> vtkPVWebApplication::HandleInteractionEvent >> >> vs >> >> ${ParaView-src}/Web/Core/vtkPVWebApplication.cxx => >> vtkWebApplication::HandleInteractionEvent >> >> The VTK one has: >> >> // Handle scroll action if any >> if(event->GetScroll()) { >> iren->SetEventInformation(0, 0, ctrlKey, shiftKey, >> event->GetKeyCode(), 0); >> iren->MouseMoveEvent(); >> iren->RightButtonPressEvent(); >> iren->SetEventInformation(0, event->GetScroll()*10, ctrlKey, >> shiftKey, event->GetKeyCode(), 0); >> iren->MouseMoveEvent(); >> iren->RightButtonReleaseEvent(); >> this->Internals->ImageCache[view].NeedsRender = true; >> return true; >> } >> >> If you got it working, could you submit a pull request on our gitlab and >> assign it to me so those fix could be part of PV 5.2? >> >> Thanks, >> >> Seb >> >> On Wed, Aug 17, 2016 at 2:08 PM, Daniel Zuidinga >> wrote: >> >>> I added the lines but scroll wheel does not work >>> >>> >>>> Look at ${pv_src}/Web/Python/paraview/web/protocols.py >>>> #ParaViewWebMouseHandler >>>> vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py #vtkWebMouseHandler >>>> >>>> it seems the paraview one is missing: >>>> >>>> if event.has_key("scroll"): >>>> pvevent.SetScroll(event["scroll"]) >>>> >>>> Just add it to your paraview python file. >>>> >>>> >>> >> >> > > _______________________________________________ > 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 > > -- Ken Martin PhD Chairman & CFO Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 518 371 3971 This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From l.calori at cineca.it Thu Aug 18 04:33:06 2016 From: l.calori at cineca.it (Luigi Calori) Date: Thu, 18 Aug 2016 10:33:06 +0200 Subject: [Paraview] Catalyst example on dynamic producer setup In-Reply-To: References: <57B4B5F8.70806@cineca.it> Message-ID: <57B572C2.8060108@cineca.it> Thank's for the prompt replay, we do not mind custom code the scripts, It would be good to have usage code examples or pointers to open source projects that are using Catalyst in such a way. Any hints will be really appreciated. Best regards Luigi On 18/08/2016 03:23, Andy Bauer wrote: > Hi, > > This is possible but at this point requires custom coding the Python > script to specify which fields are needed. This should be done during > the RequestDataDescription() call. You can use > vtkCPInputDataDescription's IsFieldNeeded() and IsFieldPointData() > methods to specify what's needed in the Python script and then create > the requested VTK data arrays in the adaptor after that. There are > plans to allow the GUI script generation to specify which data arrays > are needed but no concrete date (likely over a year unless there's > significant support for the development effort) for when that > functionality will be available. > > Cheers, > Andy > > On Wed, Aug 17, 2016 at 3:07 PM, Luigi Calori > wrote: > > Hi everybody: we are starting instrumenting one Fortran simulation > code with Paraview catalyst. > We have started from the fortran full example as our grid is > basically a 3d rectilinear grid that we are currently > handling like imagedata. > Our code has a quite high number of scalar fields ( 50 ) and a > single velocity field. > If we use a single input and a single data producer with all the > field inside, the Paraview client slows down, probably due to > memory usage or transfer. > For visualization we would just need the vector field and one or > two of the scalar fields. > It would really good to be able to dinamically ( possibly each > time step) being able to select which of the available scalar > variable pass as scalar field. > In the examples the c++ adaptor code add fields in a fixed way. We > would like to pass information from python ( and maybe from > Paraview GUI ) to the adaptor code to dynamically change it's > behaviour. > > Is it at all possible? any hints or better example code. > > Sorry if dumb question, I' m a newbie in this > > Thanks in advance. > > -- > Luigi Calori > SuperComputing Applications and Innovation Department > CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) > - ITALY > Tel: +39 051 6171509 Fax: +39 051 > 6132198 > hpc.cineca.it > > _______________________________________________ > 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 > > > -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Aug 18 08:52:59 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 18 Aug 2016 08:52:59 -0400 Subject: [Paraview] Catalyst example on dynamic producer setup In-Reply-To: <57B572C2.8060108@cineca.it> References: <57B4B5F8.70806@cineca.it> <57B572C2.8060108@cineca.it> Message-ID: I'll see if I can find an example online. In the meantime, another option would be to pass in all arrays and then use the Pass Arrays filter to select the ones you want. If you're using VTK's zero-copy functionality for the vtkDataArrays this should be a very efficient way to do what you want. Best, Andy On Thu, Aug 18, 2016 at 4:33 AM, Luigi Calori wrote: > Thank's for the prompt replay, we do not mind custom code the scripts, It > would be good to have usage code examples > or pointers to open source projects that are using Catalyst in such a way. > > Any hints will be really appreciated. > > Best regards > Luigi > > > > > On 18/08/2016 03:23, Andy Bauer wrote: > > Hi, > > This is possible but at this point requires custom coding the Python > script to specify which fields are needed. This should be done during the > RequestDataDescription() call. You can use vtkCPInputDataDescription's > IsFieldNeeded() and IsFieldPointData() methods to specify what's needed in > the Python script and then create the requested VTK data arrays in the > adaptor after that. There are plans to allow the GUI script generation to > specify which data arrays are needed but no concrete date (likely over a > year unless there's significant support for the development effort) for > when that functionality will be available. > > Cheers, > Andy > > On Wed, Aug 17, 2016 at 3:07 PM, Luigi Calori wrote: > >> Hi everybody: we are starting instrumenting one Fortran simulation code >> with Paraview catalyst. >> We have started from the fortran full example as our grid is basically a >> 3d rectilinear grid that we are currently >> handling like imagedata. >> Our code has a quite high number of scalar fields ( 50 ) and a single >> velocity field. >> If we use a single input and a single data producer with all the field >> inside, the Paraview client slows down, probably due to memory usage or >> transfer. >> For visualization we would just need the vector field and one or two of >> the scalar fields. >> It would really good to be able to dinamically ( possibly each time step) >> being able to select which of the available scalar variable pass as scalar >> field. >> In the examples the c++ adaptor code add fields in a fixed way. We would >> like to pass information from python ( and maybe from Paraview GUI ) to the >> adaptor code to dynamically change it's behaviour. >> >> Is it at all possible? any hints or better example code. >> >> Sorry if dumb question, I' m a newbie in this >> >> Thanks in advance. >> >> -- >> Luigi Calori >> SuperComputing Applications and Innovation Department >> CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY >> Tel: +39 051 6171509 Fax: +39 051 6132198 >> hpc.cineca.it >> >> _______________________________________________ >> 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 >> > > > > -- > Luigi Calori > SuperComputing Applications and Innovation Department > CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY > Tel: +39 051 6171509 Fax: +39 051 6132198hpc.cineca.it > > > _______________________________________________ > 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 Aug 18 17:11:35 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 18 Aug 2016 21:11:35 +0000 Subject: [Paraview] New Getting Started Guide feedback requested Message-ID: A new feature of ParaView 5.1.2 is a Getting Started Guide. This can be found on the startup screen and also in the new and improved Help menu. Any feedback from the community? Will this Getting Started Guide be helpful for new users? Did we miss anything? Too much information, or too little? Also, did we miss anything important in the new Help menu? Thanks as always, Alan Scott The ParaView Team -------------- next part -------------- An HTML attachment was scrubbed... URL: From ziganshinshagit at hotmail.com Thu Aug 18 19:52:46 2016 From: ziganshinshagit at hotmail.com (=?utf-8?B?0KjQsNCz0LjRgiDQl9C40LPQsNC90YjQuNC9?=) Date: Fri, 19 Aug 2016 02:52:46 +0300 Subject: [Paraview] PythonQt plugin build error Message-ID: Hi, I have a problem with PythonQt plugin building: c:\users\buildsystem\desktop\paraview-build\plugins\pythonqtplugin\pqPluginDecorators.h(129): error C2039: 'getWidget': is not a member of 'pqRenderViewBase' c:\users\buildsystem\desktop\paraview-src\qt\core\pqRenderViewBase.h(43): note: see declaration of 'pqRenderViewBase' I guess getWidget method from wrapped_methods.txt, should I remove it? -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Aug 18 20:07:44 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 19 Aug 2016 00:07:44 +0000 Subject: [Paraview] How do you make a plot of a variable at an X, Y, Z location? Message-ID: >From a user... >From class today, you said you would be able to look into how to take a profile of a dataset by entering x,y,z coordinates to get data from nearest cell or node (e.g. if you want a boundary layer profile by sampling velocity in a vertical direction from a wall at a certain x location in the streamwise direction - assume 2D and flow is traveling in the +x direction and +y is away from the wall where the "wall" is at y=0). Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From 123megamind at gmail.com Fri Aug 19 03:59:44 2016 From: 123megamind at gmail.com (Mega Mind) Date: Fri, 19 Aug 2016 00:59:44 -0700 Subject: [Paraview] Physics engine with Paraview Message-ID: Hello all, Has anyone used a physics engine such as Bullet or PhysX inside Paraview? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Fri Aug 19 04:05:40 2016 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Fri, 19 Aug 2016 10:05:40 +0200 Subject: [Paraview] Glyph3D Representation Move to plugin. Message-ID: Hello I would like to move the Glyph3D Representation to a Plugin. We had several user complain about that, one (new user) can often get mixed up between Glyph3D Representation and Glyph Filter. I already have a MR ready for review, i you would like to manage this differently eg : keeping the representation class in ParaView or using a cmake var instead, please do so. https://gitlab.kitware.com/paraview/paraview/merge_requests/953#note_154612 Regards. Mathieu Westphal -------------- next part -------------- An HTML attachment was scrubbed... URL: From l.calori at cineca.it Fri Aug 19 07:27:46 2016 From: l.calori at cineca.it (Luigi Calori) Date: Fri, 19 Aug 2016 13:27:46 +0200 Subject: [Paraview] Catalyst example on dynamic producer setup In-Reply-To: References: <57B4B5F8.70806@cineca.it> <57B572C2.8060108@cineca.it> Message-ID: <57B6ED32.10107@cineca.it> Thanks, we have tried to follow your previous suggestion but were not able to find a place in python where to set the information regarding which fields to add. Any example of passing info from python to c++ or fortran adaptors would be of great value for us. Your other suggestion for Pass Arrays filter requires that we use VTK's zero-copy. according to https://gitlab.kitware.com/paraview/paraview/tree/master/Examples/Catalyst/Readme there seems two ways of re-using simulation memory: CxxMappedDataArrayExample and CxxSOADataArrayExample Which one is better? Thanks in advance Luigi On 18/08/2016 14:52, Andy Bauer wrote: > I'll see if I can find an example online. In the meantime, another > option would be to pass in all arrays and then use the Pass Arrays > filter to select the ones you want. If you're using VTK's zero-copy > functionality for the vtkDataArrays this should be a very efficient > way to do what you want. > > Best, > Andy > > On Thu, Aug 18, 2016 at 4:33 AM, Luigi Calori > wrote: > > Thank's for the prompt replay, we do not mind custom code the > scripts, It would be good to have usage code examples > or pointers to open source projects that are using Catalyst in > such a way. > > Any hints will be really appreciated. > > Best regards > Luigi > > > > > On 18/08/2016 03:23, Andy Bauer wrote: >> Hi, >> >> This is possible but at this point requires custom coding the >> Python script to specify which fields are needed. This should be >> done during the RequestDataDescription() call. You can use >> vtkCPInputDataDescription's IsFieldNeeded() and >> IsFieldPointData() methods to specify what's needed in the Python >> script and then create the requested VTK data arrays in the >> adaptor after that. There are plans to allow the GUI script >> generation to specify which data arrays are needed but no >> concrete date (likely over a year unless there's significant >> support for the development effort) for when that functionality >> will be available. >> >> Cheers, >> Andy >> >> On Wed, Aug 17, 2016 at 3:07 PM, Luigi Calori > > wrote: >> >> Hi everybody: we are starting instrumenting one Fortran >> simulation code with Paraview catalyst. >> We have started from the fortran full example as our grid is >> basically a 3d rectilinear grid that we are currently >> handling like imagedata. >> Our code has a quite high number of scalar fields ( 50 ) and >> a single velocity field. >> If we use a single input and a single data producer with all >> the field inside, the Paraview client slows down, probably >> due to memory usage or transfer. >> For visualization we would just need the vector field and one >> or two of the scalar fields. >> It would really good to be able to dinamically ( possibly >> each time step) being able to select which of the available >> scalar variable pass as scalar field. >> In the examples the c++ adaptor code add fields in a fixed >> way. We would like to pass information from python ( and >> maybe from Paraview GUI ) to the adaptor code to dynamically >> change it's behaviour. >> >> Is it at all possible? any hints or better example code. >> >> Sorry if dumb question, I' m a newbie in this >> >> Thanks in advance. >> >> -- >> Luigi Calori >> SuperComputing Applications and Innovation Department >> CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno >> (Bologna) - ITALY >> Tel: +39 051 6171509 Fax: +39 >> 051 6132198 >> hpc.cineca.it >> >> _______________________________________________ >> 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 >> >> >> > > > -- > Luigi Calori > SuperComputing Applications and Innovation Department > CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY > Tel:+39 051 6171509 Fax:+39 051 6132198 > hpc.cineca.it > > > _______________________________________________ > 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 > > > -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Fri Aug 19 10:13:10 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Fri, 19 Aug 2016 08:13:10 -0600 Subject: [Paraview] PV Web scrollwheel for zoom, wrong legend In-Reply-To: References: <1ae2d42e-7e89-ef8b-a629-640c20a89370@seoaachen.de> Message-ID: Ken, we should not try to use as it won't be possible to trigger it on OS X as it will be understood as a "Right click" and will bring the popup menu. But that's great to have that feature. Seb On Wed, Aug 17, 2016 at 7:38 PM, Ken Martin wrote: > left mouse does work as zoom in vtk.js FWIW - Ken > > On Wed, Aug 17, 2016 at 7:32 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> vtk.js interaction does not currently implement zooming. So the current >> behavior is expected. >> >> What are you trying to do with vtk.js and salome? vtk.js has not been >> released yet and is a pure JavaScript/client library. >> >> >> >> On Wed, Aug 17, 2016 at 3:18 PM, Daniel Zuidinga >> wrote: >> >>> shouldn't work scroll wheel in vtk.js? e.g. here >>> https://kitware.github.io/vtk-js/examples/HttpSceneLoader.html >>> I have to compile the whole sources? I use pv of salome meca. I hope it >>> isn't to complicated and cpu intensive. >>> >>> >>> Am 17.08.2016 um 22:32 schrieb Sebastien Jourdain: >>> >>> I guess ParaView is missing more code on the server side. ;-) >>> This time, it will be in the C++. >>> >>> >>> ${ParaView-src}/VTK/Web/Core/vtkWebApplication.cxx => >>> vtkPVWebApplication::HandleInteractionEvent >>> >>> vs >>> >>> ${ParaView-src}/Web/Core/vtkPVWebApplication.cxx => >>> vtkWebApplication::HandleInteractionEvent >>> >>> The VTK one has: >>> >>> // Handle scroll action if any >>> if(event->GetScroll()) { >>> iren->SetEventInformation(0, 0, ctrlKey, shiftKey, >>> event->GetKeyCode(), 0); >>> iren->MouseMoveEvent(); >>> iren->RightButtonPressEvent(); >>> iren->SetEventInformation(0, event->GetScroll()*10, ctrlKey, >>> shiftKey, event->GetKeyCode(), 0); >>> iren->MouseMoveEvent(); >>> iren->RightButtonReleaseEvent(); >>> this->Internals->ImageCache[view].NeedsRender = true; >>> return true; >>> } >>> >>> If you got it working, could you submit a pull request on our gitlab and >>> assign it to me so those fix could be part of PV 5.2? >>> >>> Thanks, >>> >>> Seb >>> >>> On Wed, Aug 17, 2016 at 2:08 PM, Daniel Zuidinga >>> wrote: >>> >>>> I added the lines but scroll wheel does not work >>>> >>>> >>>>> Look at ${pv_src}/Web/Python/paraview/web/protocols.py >>>>> #ParaViewWebMouseHandler >>>>> vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py #vtkWebMouseHandler >>>>> >>>>> it seems the paraview one is missing: >>>>> >>>>> if event.has_key("scroll"): >>>>> pvevent.SetScroll(event["scroll"]) >>>>> >>>>> Just add it to your paraview python file. >>>>> >>>>> >>>> >>> >>> >> >> _______________________________________________ >> 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 >> >> > > > -- > Ken Martin PhD > Chairman & CFO > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > 518 371 3971 > > This communication, including all attachments, contains confidential and > legally privileged information, and it is intended only for the use of the > addressee. Access to this email by anyone else is unauthorized. If you are > not the intended recipient, any disclosure, copying, distribution or any > action taken in reliance on it is prohibited and may be unlawful. If you > received this communication in error please notify us immediately and > destroy the original message. Thank you. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.oliveira at gmail.com Fri Aug 19 11:20:39 2016 From: thomas.oliveira at gmail.com (Thomas Oliveira) Date: Fri, 19 Aug 2016 16:20:39 +0100 Subject: [Paraview] Import Raw (binary) Files as Cell Data Message-ID: Dear all, In a raw (binary) file, I have 4x4x5 values that represent the values on a grid composed by 4x4x5 blocks. When I import it on Paraview, the values are is interpreted as Point Data, giving rise to 3x3x4 blocks (with 4x4x5 points). How can import those 4x4x5 values as Cell Data? Best regards, Thomas Oliveira -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisneal at snumerics.com Fri Aug 19 11:44:34 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Fri, 19 Aug 2016 11:44:34 -0400 Subject: [Paraview] Import Raw (binary) Files as Cell Data In-Reply-To: References: Message-ID: <6D453663-D59B-4D9F-A87C-5FFA987B2799@snumerics.com> Hi Thomas, If you have the ability to view/edit the source code that is generating the output binary file, then I would suggest that you take a look at the vtk manual that describes the data formats. It discusses how to write the data in the vtk format such that the output is either cell data or point data.? VTK data format guide: http://www.vtk.org/wp-content/uploads/2015/04/file-formats.pdf If it is a black box, then perhaps you can look into using the filter ?Cell Data To Point Data?. This may yield something helpful, although it is just an interpolation from the cell centers to the cell vertices(If I understand correctly). Best regards, Chris Neal From: ParaView on behalf of Thomas Oliveira Date: Friday, August 19, 2016 at 11:20 AM To: ParaView Subject: [Paraview] Import Raw (binary) Files as Cell Data Dear all, In a raw (binary) file, I have 4x4x5 values that represent the values on a grid composed by 4x4x5 blocks. When I import it on Paraview, the values are is interpreted as Point Data, giving rise to 3x3x4 blocks (with 4x4x5 points). How can import those 4x4x5 values as Cell Data? Best regards, Thomas Oliveira _______________________________________________ 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 l.calori at cineca.it Fri Aug 19 13:42:38 2016 From: l.calori at cineca.it (Luigi Calori) Date: Fri, 19 Aug 2016 19:42:38 +0200 Subject: [Paraview] ImageData extent overlapping within MPI Catalyst pipeline Message-ID: <57B7450E.1040508@cineca.it> We are newbie in Catalyst, trying to instrument two CFD MPI simulation codes that both have 3d regular grid as it' s data structure. We have followed the fortran example and used ImageData for both codes. The two code are different in the distribution of the memory among processors: one is a differential one who keep overlapping extents among processors: this gave no problems. The other does not have any overlapping as it using 2d fft decomposition. The imagedata extents of each processor do not overlap as there is no need of "ghost" cells. This result in a strange bug in filter slicing: If the slicing is done in the paraview client ( the whole field is passed to client) and we slice there, slice is ok. If the slicing is done in the catalyst pipeline, the slice has gaps. As one difference is the overlapping of each processor extent, is it REQUIRED that there is some overlapping of PointData extents? Thanks in advance for any help Best Luigi -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it From chrisneal at snumerics.com Fri Aug 19 14:16:32 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Fri, 19 Aug 2016 14:16:32 -0400 Subject: [Paraview] Does running Catalyst require osmesa? Message-ID: <985C4BC3-C078-4136-8E77-139C1E0C3EAB@snumerics.com> Hi, I?m playing around with different builds of ParaView(all with catalyst enabled). I?m not using a Catalyst edition because of some build issues that I was having with cmake. One thing that I wanted to understand is:? If I compile a version of ParaView with Catalyst enabled, but GUI disabled, will I still be able to run a Catalyst example that outputs images? Or would I need to figure out how to compile ParaView with OSMESA? Thank you, Chris Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Aug 19 14:46:53 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 19 Aug 2016 14:46:53 -0400 Subject: [Paraview] Does running Catalyst require osmesa? In-Reply-To: <985C4BC3-C078-4136-8E77-139C1E0C3EAB@snumerics.com> References: <985C4BC3-C078-4136-8E77-139C1E0C3EAB@snumerics.com> Message-ID: OSMesa is only needed if your simulation run environment doesn't have access to an X server. X is needed to create an OpenGL context. Without X, OSMesa is one of the ways to create that OpenGL context necessary for rendering. Utkarsh On Fri, Aug 19, 2016 at 2:16 PM, Christopher Neal wrote: > Hi, > > > > I?m playing around with different builds of ParaView(all with catalyst > enabled). I?m not using a Catalyst edition because of some build issues that > I was having with cmake. One thing that I wanted to understand is: If I > compile a version of ParaView with Catalyst enabled, but GUI disabled, will > I still be able to run a Catalyst example that outputs images? > > Or would I need to figure out how to compile ParaView with OSMESA? > > Thank you, > > Chris Neal > > > _______________________________________________ > 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 chuck.atkins at kitware.com Fri Aug 19 14:47:29 2016 From: chuck.atkins at kitware.com (Chuck Atkins) Date: Fri, 19 Aug 2016 14:47:29 -0400 Subject: [Paraview] Does running Catalyst require osmesa? In-Reply-To: <985C4BC3-C078-4136-8E77-139C1E0C3EAB@snumerics.com> References: <985C4BC3-C078-4136-8E77-139C1E0C3EAB@snumerics.com> Message-ID: Hi Chris, Catalyst uses the exact same rendering infrastructure as the rest of ParaView so you if you can render with pvpython and pvserver then you can render with Catalyst in the same configuration. If you don't use OSMesa and instead use "regular" GL then you'll just need to have an X server available and it's associated plumbing set up for Catalyst to be able to render. The nice part about OSMesa builds are that you don't need to deal with X at all, but then you don't have access to the GPU so your render performance is significantly reduced. That may be fine though if your pipeline is heavily compute-bound instead of render-bound, as is often the case. If you want to bypass the X server but still use your GPU, another option is to enable EGL (warning, still bit experimental). Currently, it only works on NVidia GPUs with a very current driver but you get the libGL benefit of GPU accelerated rendering with the libOSMesa benefit of not dealing with an X server. Either way, all three configurations for ParaView will work with Catalyst: libGL (gpu w/ X, default), libOSMesa (cpu w/o X), and EGL (gpu w/o X). ---------- Chuck Atkins Staff R&D Engineer, Scientific Computing Kitware, Inc. On Fri, Aug 19, 2016 at 2:16 PM, Christopher Neal wrote: > Hi, > > > > I?m playing around with different builds of ParaView(all with catalyst > enabled). I?m not using a Catalyst edition because of some build issues > that I was having with cmake. One thing that I wanted to understand is: If > I compile a version of ParaView with Catalyst enabled, but GUI disabled, > will I still be able to run a Catalyst example that outputs images? > > Or would I need to figure out how to compile ParaView with OSMESA? > > Thank you, > > Chris Neal > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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 Fri Aug 19 14:57:17 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 19 Aug 2016 14:57:17 -0400 Subject: [Paraview] PythonQt plugin build error In-Reply-To: References: Message-ID: Replace it by pqRenderViewBase::widget() [1]. [1] http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/classpqView.html#ae44839f94fd03cd4ef28640366df3f17 On Thu, Aug 18, 2016 at 7:52 PM, ????? ???????? wrote: > Hi, > > I have a problem with PythonQt plugin building: > > > > c:\users\buildsystem\desktop\paraview-build\plugins\pythonqtplugin\pqPluginDecorators.h(129): > error C2039: 'getWidget': is not a member of 'pqRenderViewBase' > > c:\users\buildsystem\desktop\paraview-src\qt\core\pqRenderViewBase.h(43): > note: see declaration of 'pqRenderViewBase' > > > > I guess getWidget method from wrapped_methods.txt, should I remove it? > > > > > _______________________________________________ > 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 chrisneal at snumerics.com Sat Aug 20 10:12:10 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Sat, 20 Aug 2016 10:12:10 -0400 Subject: [Paraview] Does running Catalyst require osmesa? In-Reply-To: References: <985C4BC3-C078-4136-8E77-139C1E0C3EAB@snumerics.com> Message-ID: <63ABC5FA-E663-419E-A6F7-1D5A66045063@snumerics.com> Thanks for the insight guys, So if someone is running a Catalyst instrumented code that is compiled on a supercomputer with thousands of back-end nodes, can they link to a ParaView build or a Catalyst Edition and expect the code to work? Do back-end nodes have X servers available to them? Thank you, Chris Neal From: Chuck Atkins Date: Friday, August 19, 2016 at 2:47 PM To: Christopher Neal Cc: ParaView Subject: Re: [Paraview] Does running Catalyst require osmesa? Hi Chris, Catalyst uses the exact same rendering infrastructure as the rest of ParaView so you if you can render with pvpython and pvserver then you can render with Catalyst in the same configuration. If you don't use OSMesa and instead use "regular" GL then you'll just need to have an X server available and it's associated plumbing set up for Catalyst to be able to render. The nice part about OSMesa builds are that you don't need to deal with X at all, but then you don't have access to the GPU so your render performance is significantly reduced. That may be fine though if your pipeline is heavily compute-bound instead of render-bound, as is often the case. If you want to bypass the X server but still use your GPU, another option is to enable EGL (warning, still bit experimental). Currently, it only works on NVidia GPUs with a very current driver but you get the libGL benefit of GPU accelerated rendering with the libOSMesa benefit of not dealing with an X server. Either way, all three configurations for ParaView will work with Catalyst: libGL (gpu w/ X, default), libOSMesa (cpu w/o X), and EGL (gpu w/o X). ---------- Chuck Atkins Staff R&D Engineer, Scientific Computing Kitware, Inc. On Fri, Aug 19, 2016 at 2:16 PM, Christopher Neal wrote: Hi, I?m playing around with different builds of ParaView(all with catalyst enabled). I?m not using a Catalyst edition because of some build issues that I was having with cmake. One thing that I wanted to understand is: If I compile a version of ParaView with Catalyst enabled, but GUI disabled, will I still be able to run a Catalyst example that outputs images? Or would I need to figure out how to compile ParaView with OSMESA? Thank you, Chris Neal _______________________________________________ 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 Sat Aug 20 11:59:35 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sat, 20 Aug 2016 11:59:35 -0400 Subject: [Paraview] ImageData extent overlapping within MPI Catalyst pipeline In-Reply-To: <57B7450E.1040508@cineca.it> References: <57B7450E.1040508@cineca.it> Message-ID: Luigi, For an image data distributed across multiple ranks with no ghost cell, there still exists a single point overlap for the points. The points along the shared boundary are expected to be duplicated among ranks. I am thinking your 3D regular grid should be mapped as cell-data rather than point data. Thus when creating the image, try setting the point extents as 1+cell-extents and then pass your data to the cell data arrays rather than point data. e.g. int cell_exts[6] = { local domain exts }; int point_exts[6] = { cell_exts[0] , cell_exts[1] + 1, cell_exts[2], cel_exts[3] + 1, cell_exts[4], cel_exts[5] + 1}; vtkNew data; data->SetExtent(point_exts); data->GetCellData()->SetScalars(... ); Utkarsh On Fri, Aug 19, 2016 at 1:42 PM, Luigi Calori wrote: > We are newbie in Catalyst, trying to instrument two CFD MPI simulation codes > that both have 3d regular grid > as it' s data structure. We have followed the fortran example and used > ImageData for both codes. > The two code are different in the distribution of the memory among > processors: > one is a differential one who keep overlapping extents among processors: > this gave no problems. > The other does not have any overlapping as it using 2d fft decomposition. > The imagedata extents of each processor do not overlap as there is no need > of "ghost" cells. > This result in a strange bug in filter slicing: > If the slicing is done in the paraview client ( the whole field is passed to > client) and we slice there, slice is ok. > If the slicing is done in the catalyst pipeline, the slice has gaps. > > As one difference is the overlapping of each processor extent, is it > REQUIRED that there is some overlapping of > PointData extents? > > Thanks in advance for any help > > Best > > Luigi > > -- > Luigi Calori > SuperComputing Applications and Innovation Department > CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY > Tel: +39 051 6171509 Fax: +39 051 6132198 > hpc.cineca.it > > _______________________________________________ > 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 chuck.atkins at kitware.com Sat Aug 20 15:12:22 2016 From: chuck.atkins at kitware.com (Chuck Atkins) Date: Sat, 20 Aug 2016 15:12:22 -0400 Subject: [Paraview] Does running Catalyst require osmesa? In-Reply-To: <63ABC5FA-E663-419E-A6F7-1D5A66045063@snumerics.com> References: <985C4BC3-C078-4136-8E77-139C1E0C3EAB@snumerics.com> <63ABC5FA-E663-419E-A6F7-1D5A66045063@snumerics.com> Message-ID: > So if someone is running a Catalyst > instrumented code that is compiled on > a supercomputer with thousands of > back-end nodes, can they link to a > ParaView build or a Catalyst Edition > and expect the code to work? Yes > Do back-end nodes have X servers > available to them? It depends. If the Catalyst or ParaView build your linking against is configured to use libGL, then yes. If, instead, it's configured to use libOSMesa or EGL, then no. - Chuck -------------- next part -------------- An HTML attachment was scrubbed... URL: From fagung at gmail.com Sat Aug 20 18:02:43 2016 From: fagung at gmail.com (Fa-Gung Fan) Date: Sat, 20 Aug 2016 15:02:43 -0700 Subject: [Paraview] ParaView over the internet In-Reply-To: <57AD84B3.2080408@legi.grenoble-inp.fr> References: <57AD84B3.2080408@legi.grenoble-inp.fr> Message-ID: Hi Patrick, Thank you. I tried to server and client as you suggested. On the cluster, I launched the server pvserver, but got: -bash-4.1$ ./pvserver Waiting for client... Connection URL: :11111 ERROR: In /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/vtkSocket.cxx, line 206 vtkServerSocket (0x2a61fa0): Socket error in call to bind. Address already in use. ERROR: In /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ClientServerCore/vtkTCPNetworkAccessManager.cxx, line 343 vtkTCPNetworkAccessManager (0x2356670): Failed to set up server socket. Exiting... Is there a way around this? Thanks. - ffan On Fri, Aug 12, 2016 at 1:11 AM, Patrick B?gou < Patrick.Begou at legi.grenoble-inp.fr> wrote: > Hi Fan, > > at work we are using paraview remotely efficiently by two ways: > > - from a cluster: launching pvserver (using mpi for large datasets) and > connecting from a laptop/desktop paraview session. This requires very small > network bandwith (tested from my home via ADSL for a 1024? dataset) but > should require additional work to go through firewall via a ssh tunnel. > > - from a fat node (many cores, huge memory and high end graphic board) > with vnc (for remote display). The fat node run vncserver (tigervnc-server) > and vncviewer is launched on the laptop/desktop. There are options for easy > tunnelling via ssh. This also requires very few network bandwidth and use > the remote hardware rendering of the fat node (AMD in our case or > Nvidia+virtualGL). You can launch a basic paraview session or a > pvserver/paraview session to run pvserver with MPI on several cores. > More simple to set up and to use. > > Hope this could help you. > > Patrick > > > Fa-Gung Fan a ?crit : > >> Hi ParaView users/developers, >> >> In my works, I need to use ParaView remotely, over the Internet. >> Displaying the GUI and the images and accepting a selection become very >> slow. Is there a light-wright version of ParaView (even with lower >> resolution)? Or, if it is possible, how to configure ParaView so it can be >> easier to use over the Internet? Thank you. >> >> - ffan >> >> >> _______________________________________________ >> 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 jfavre at cscs.ch Mon Aug 22 04:22:04 2016 From: jfavre at cscs.ch (Favre Jean) Date: Mon, 22 Aug 2016 08:22:04 +0000 Subject: [Paraview] Import Raw (binary) Files as Cell Data In-Reply-To: <6D453663-D59B-4D9F-A87C-5FFA987B2799@snumerics.com> References: , <6D453663-D59B-4D9F-A87C-5FFA987B2799@snumerics.com> Message-ID: <0EB9B6375711A04B820E6B6F5CCA9F68436856A6@MBX111.d.ethz.ch> I personally favor the use of XDMF to import raw binary data. This gives the flexibility to import cell-data and/or node-data the XDMF code most likely to work for your example is the following: Given your binary data stored in file "rawdata.bin", double-length floating point, with 4x4x5 cells, i.e. a grid of 5x5x6 vertices... 0. 0. 0. 1. 1. 1. rawdata.bin ----------------- Jean CSCS -------------- next part -------------- An HTML attachment was scrubbed... URL: From benson_muite at yahoo.com Mon Aug 22 05:48:57 2016 From: benson_muite at yahoo.com (Benson Muite) Date: Mon, 22 Aug 2016 12:48:57 +0300 Subject: [Paraview] Catalyst example on dynamic producer setup In-Reply-To: <57B572C2.8060108@cineca.it> References: <57B4B5F8.70806@cineca.it> <57B572C2.8060108@cineca.it> Message-ID: Hi Luigi, Some old examples here: https://en.wikibooks.org/wiki/Parallel_Spectral_Numerical_Methods/Visualization_with_ParaView_CoProcessing Regards, Benson On 08/18/2016 11:33 AM, Luigi Calori wrote: > Thank's for the prompt replay, we do not mind custom code the scripts, > It would be good to have usage code examples > or pointers to open source projects that are using Catalyst in such a way. > > Any hints will be really appreciated. > > Best regards > Luigi > > > > On 18/08/2016 03:23, Andy Bauer wrote: >> Hi, >> >> This is possible but at this point requires custom coding the Python >> script to specify which fields are needed. This should be done during >> the RequestDataDescription() call. You can use >> vtkCPInputDataDescription's IsFieldNeeded() and IsFieldPointData() >> methods to specify what's needed in the Python script and then create >> the requested VTK data arrays in the adaptor after that. There are >> plans to allow the GUI script generation to specify which data arrays >> are needed but no concrete date (likely over a year unless there's >> significant support for the development effort) for when that >> functionality will be available. >> >> Cheers, >> Andy >> >> On Wed, Aug 17, 2016 at 3:07 PM, Luigi Calori > > wrote: >> >> Hi everybody: we are starting instrumenting one Fortran >> simulation code with Paraview catalyst. >> We have started from the fortran full example as our grid is >> basically a 3d rectilinear grid that we are currently >> handling like imagedata. >> Our code has a quite high number of scalar fields ( 50 ) and a >> single velocity field. >> If we use a single input and a single data producer with all the >> field inside, the Paraview client slows down, probably due to >> memory usage or transfer. >> For visualization we would just need the vector field and one or >> two of the scalar fields. >> It would really good to be able to dinamically ( possibly each >> time step) being able to select which of the available scalar >> variable pass as scalar field. >> In the examples the c++ adaptor code add fields in a fixed way. >> We would like to pass information from python ( and maybe from >> Paraview GUI ) to the adaptor code to dynamically change it's >> behaviour. >> >> Is it at all possible? any hints or better example code. >> >> Sorry if dumb question, I' m a newbie in this >> >> Thanks in advance. >> >> -- >> Luigi Calori >> SuperComputing Applications and Innovation Department >> CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) >> - ITALY >> Tel: +39 051 6171509 Fax: +39 051 >> 6132198 >> hpc.cineca.it >> >> _______________________________________________ >> 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 >> >> >> > > > -- > Luigi Calori > SuperComputing Applications and Innovation Department > CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY > Tel: +39 051 6171509 Fax: +39 051 6132198 > hpc.cineca.it > > > _______________________________________________ > 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 lancelot.boulet at coria.fr Mon Aug 22 09:36:58 2016 From: lancelot.boulet at coria.fr (Lancelot Boulet) Date: Mon, 22 Aug 2016 15:36:58 +0200 Subject: [Paraview] Question about colorize a link-path between particles with a scalar In-Reply-To: References: Message-ID: <18CEB843-D7AC-405B-AD00-33161024E2A7@coria.fr> Hello everyone, I found the solution. For people who are interesting, you have just to turn on the checkbox for ? Copy Arrays ? in the Programmable filter. Sincerely. > Le 16 ao?t 2016 ? 15:50, Lancelot Boulet a ?crit : > > Dear all, > > I am trying to visualise the path of one particle with the line colored by a scalar. But I don?t really know how to do that. > For example, I want to visualize the evolution of the temperature along the path of my particle. > I have a data file with point coordinates (each line represents its evolution in time) and some scalars (like temperature, diameter) as input. > "x", "y", "z", "scalar1", "scalar2" > 0, 0, 0, 300, 12.5 > 0, 12, 7, 302, 35.4 > ... > > What I had already done is to convert my data into Table Of Points. Then, I used this Programmable Filter to connect the points : > > pdi = self.GetPolyDataInput() > pdo = self.GetPolyDataOutput() > numPoints = pdi.GetNumberOfPoints() > pdo.Allocate() > for i in range(0, numPoints-1): > points = [i, i+1] > # VTK_LINE is 3 > pdo.InsertNextCell(3, 2, points) > > > I have found, on the Paraview Wiki, a way to give a unique color for the line that link all the coordinates : > > pdi = self.GetPolyDataInput() > pdo = self.GetPolyDataOutput() > numPoints = pdi.GetNumberOfPoints() > pdo.Allocate() > > colors = vtk.vtkUnsignedCharArray() > colors.SetNumberOfComponents(3) > colors.SetName("Colors") > > for i in range(0, numPoints-1): > points = [i, i+1] > # VTK_LINE is 3 > pdo.InsertNextCell(3, 2, points) > colors.InsertNextTuple3(255,0,0) > > pdo.GetPointData().AddArray(colors) > del colors > > > Do you have any idea how I can do that (with a Programmable Filter or not) ? > > Thank you in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rustem.khabetdinov at gmail.com Mon Aug 22 10:05:36 2016 From: rustem.khabetdinov at gmail.com (=?UTF-8?B?0KDRg9GB0YLQtdC8INCl0LDQsdC10YLQtNC40L3QvtCy?=) Date: Mon, 22 Aug 2016 17:05:36 +0300 Subject: [Paraview] VTK actor in programmable source Message-ID: Hello. Is it possible to use vtk actors in programmable source(using python not c++)? I want to handle click events but when I use custom interactor the scene always freezes. Best Regards, Rustem Khabetdinov. -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Aug 22 12:58:58 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 22 Aug 2016 12:58:58 -0400 Subject: [Paraview] VTK actor in programmable source In-Reply-To: References: Message-ID: No, using actors in the Programmable Source is indeed not a supported use-case. On Mon, Aug 22, 2016 at 10:05 AM, ?????? ?????????? wrote: > Hello. > > Is it possible to use vtk actors in programmable source(using python not > c++)? I want to handle click events but when I use custom interactor the > scene always freezes. > > Best Regards, > Rustem Khabetdinov. > > _______________________________________________ > 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 l.calori at cineca.it Mon Aug 22 14:55:50 2016 From: l.calori at cineca.it (Luigi Calori) Date: Mon, 22 Aug 2016 20:55:50 +0200 Subject: [Paraview] ImageData extent overlapping within MPI Catalyst pipeline In-Reply-To: References: <57B7450E.1040508@cineca.it> Message-ID: <57BB4AB6.2060105@cineca.it> Thanks a lot Utkarsh. I' d already tried to pass cell data before asking on the list but likely did not set up extent correctly. The obtained slices: 1) had "holes" as with pointdata 2) were "scrambled" 3) were not smooth ( no interpolation inside cells ) With your extent suggestion 1) and 2) got fixed In order to have proper interpolation I tried to add a filter of celldata to pointdata. This did not worked properly as seams between different processors is still visible. I tried to add a filter that clip on a value out of range ( to turn struct data into unstruct data ) and then the interpolation seem to work much better. We tried this on a small case, I'm bit worried that this approach to convert to unstructured data would cause data explosion and would not scale well. Another option would be to add to the c++ or fortran code some mpi calls to retrieve the missing border cells, any example for that? Thanks again Luigi On 20/08/2016 17:59, Utkarsh Ayachit wrote: > Luigi, > > For an image data distributed across multiple ranks with no ghost > cell, there still exists a single point overlap for the points. The > points along the shared boundary are expected to be duplicated among > ranks. I am thinking your 3D regular grid should be mapped as > cell-data rather than point data. Thus when creating the image, try > setting the point extents as 1+cell-extents and then pass your data to > the cell data arrays rather than point data. > > e.g. > > int cell_exts[6] = { local domain exts }; > int point_exts[6] = { cell_exts[0] , cell_exts[1] + 1, > cell_exts[2], cel_exts[3] + 1, > cell_exts[4], cel_exts[5] + 1}; > vtkNew data; > data->SetExtent(point_exts); > data->GetCellData()->SetScalars(... ); > > Utkarsh > > On Fri, Aug 19, 2016 at 1:42 PM, Luigi Calori wrote: >> We are newbie in Catalyst, trying to instrument two CFD MPI simulation codes >> that both have 3d regular grid >> as it' s data structure. We have followed the fortran example and used >> ImageData for both codes. >> The two code are different in the distribution of the memory among >> processors: >> one is a differential one who keep overlapping extents among processors: >> this gave no problems. >> The other does not have any overlapping as it using 2d fft decomposition. >> The imagedata extents of each processor do not overlap as there is no need >> of "ghost" cells. >> This result in a strange bug in filter slicing: >> If the slicing is done in the paraview client ( the whole field is passed to >> client) and we slice there, slice is ok. >> If the slicing is done in the catalyst pipeline, the slice has gaps. >> >> As one difference is the overlapping of each processor extent, is it >> REQUIRED that there is some overlapping of >> PointData extents? >> >> Thanks in advance for any help >> >> Best >> >> Luigi >> >> -- >> Luigi Calori >> SuperComputing Applications and Innovation Department >> CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY >> Tel: +39 051 6171509 Fax: +39 051 6132198 >> hpc.cineca.it >> >> _______________________________________________ >> 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 > -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it From l.calori at cineca.it Mon Aug 22 15:09:06 2016 From: l.calori at cineca.it (Luigi Calori) Date: Mon, 22 Aug 2016 21:09:06 +0200 Subject: [Paraview] Catalyst example with stream tracer Message-ID: <57BB4DD2.5010606@cineca.it> We are trying to add stream tracer filter to a catalyst pipeline that handle a simulation with an image data vector field ( evenly distributed among processors ) We got "floating invalid" error, even when running on a single core A similar pipeline is running ok in paraview with the field saved by simulation and reopened in paraview We have also tried to use StreamTraceWith CustomSource with same result. Thanks in advance for any hints, expecially any example of catalyst pipeline. Best Luigi -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it From info at seoaachen.de Mon Aug 22 15:27:29 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Mon, 22 Aug 2016 21:27:29 +0200 Subject: [Paraview] Paraview Web with SSL Message-ID: Hi, I want to use paraview web with SSL. As far as I understand I need apache as a proxy server for that? Or is it possible with pvpython? I have my own launcher which opens pvpython with a different port for each user. Is this the right way? Will this work with ssl? Concerning: https://kitware.github.io/visualizer/docs/ The web visuailzer should work via npm installation? It does not work for me: C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41 var pvPythonExecs = find(paraview).filter(function(file) { return file.match(/pvpython$/) || file.match(/pvpython.exe$/); }); ^ TypeError: find(...).filter is not a function at Object. (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:441:10) at startup (node.js:139:18) at node.js:968:3 -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 Aachen Tel : 0241 / 450 912 67 E-Mail: info at seoaachen.de Web : http://www.seoaachen.de (nur zum Teil aktuell) Xing : https://www.xing.com/profile/Daniel_Zuidinga Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller http://www.engineeringonline.de From sebastien.jourdain at kitware.com Mon Aug 22 16:32:09 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 22 Aug 2016 14:32:09 -0600 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: Message-ID: Hi Daniel, I want to use paraview web with SSL. As far as I understand I need apache > as a proxy server for that? Or is it possible with pvpython? > It might be possible with pvpython, but I've never done it, I've always used apache to rely on a single opened port and handle the encryption. > I have my own launcher which opens pvpython with a different port for each > user. Is this the right way? Will this work with ssl? > If pvpython directly support the wss connection, you can be good. Usually the setup, that I do is that I have Apache serving only the port 443 (https) for both the static content and the (wss) websocket endpoint. And I use a mapping file between the Websocket endpoint that get returned by my launcher and the host/port I should connect to on the backend to establish the link between the client and the actual ParaViewWeb server instance. But that does not mean, that's the only way to do it and if you don't mind having several port open, I don't see why it could not work. > Concerning: > > https://kitware.github.io/visualizer/docs/ > > The web visuailzer should work via npm installation? It does not work for > me: > C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualiz > er\bin\pvw-visualizer-cli.js:41 > var pvPythonExecs = find(paraview).filter(function(file) { return > file.match(/pvpython$/) || file.match(/pvpython.exe$/); }); > ^ > > TypeError: find(...).filter is not a function > at Object. (C:\Users\danie\AppData\Roamin > g\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) > at Module._compile (module.js:409:26) > at Object.Module._extensions..js (module.js:416:10) > at Module.load (module.js:343:32) > at Function.Module._load (module.js:300:12) > at Function.Module.runMain (module.js:441:10) > at startup (node.js:139:18) > at node.js:968:3 > Well, I guess I haven't tried to run the new Visualizer server on a Windows machine. But with ParaView 5.2 (yet to be released), we should have a ParaViewWeb back in the binaries. So we should make sure our Visualizer command line tool work on that platform as well. Although, the command line is more for beginners than anything else as it only simplify the demo usage. In real word deployment, with a launcher, the true pvpython command line should be used instead. Here is an example of what you should see in a working environment: $ Visualizer -d ~/Downloads/ =============================================================================== | Execute: | $ /Applications/paraview.app/Contents/bin/pvpython | -dr | /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py | --content | /Users/seb/Documents/code/Web2/visualizer/dist | --port | 8080 | --data | /Users/seb/Downloads/ =============================================================================== [...] -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 Aachen Tel : 0241 / 450 912 67 E-Mail: info at seoaachen.de Web : http://www.seoaachen.de (nur zum Teil aktuell) Xing : https://www.xing.com/profile/Daniel_Zuidinga Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller http://www.engineeringonline.de _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensou rce/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 Joshua.Murphy at lasp.colorado.edu Mon Aug 22 16:23:30 2016 From: Joshua.Murphy at lasp.colorado.edu (Joshua Murphy) Date: Mon, 22 Aug 2016 20:23:30 +0000 Subject: [Paraview] pvBatch vs. pvPython question Message-ID: <9E30654B-0189-4EE4-8EA2-540A506D4402@lasp.colorado.edu> Hello, I am just starting to play with pvbatch, and I am seeing some behavior I do not understand. When using pvpython, my images are rendering as expected: [cid:image001.png at 01D1FC80.C1779C70] However, when I run the exact same script through pvbatch, I get an image that is not at all as I expected. [cid:image002.png at 01D1FC80.C1779C70] Is there some idiosyncrasy with pvbatch that makes the renderings different? I am attaching my script as well as the output files. Any help would be welcome! I am using Paraview 5.1.2 downloaded from the paraview.org website. Thanks, Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 79927 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 84013 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: resampleTest.py Type: text/x-python-script Size: 3816 bytes Desc: resampleTest.py URL: From andy.bauer at kitware.com Mon Aug 22 16:52:31 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 22 Aug 2016 16:52:31 -0400 Subject: [Paraview] Catalyst example with stream tracer In-Reply-To: <57BB4DD2.5010606@cineca.it> References: <57BB4DD2.5010606@cineca.it> Message-ID: Can you share your Python script? Also, I would suggest using the gridwriter.py script to see what Catalyst is getting as your data set input. It may be different than what your normal simulation output is. Best, Andy On Mon, Aug 22, 2016 at 3:09 PM, Luigi Calori wrote: > We are trying to add stream tracer filter to a catalyst pipeline that > handle a simulation with an image data > vector field ( evenly distributed among processors ) > We got "floating invalid" error, even when running on a single core > A similar pipeline is running ok in paraview with the field saved by > simulation and reopened in paraview > We have also tried to use StreamTraceWith CustomSource with same result. > > Thanks in advance for any hints, expecially any example of catalyst > pipeline. > > Best > Luigi > > > -- > Luigi Calori > SuperComputing Applications and Innovation Department > CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY > Tel: +39 051 6171509 Fax: +39 051 6132198 > hpc.cineca.it > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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 Aug 22 17:01:48 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 22 Aug 2016 17:01:48 -0400 Subject: [Paraview] pvBatch vs. pvPython question In-Reply-To: <9E30654B-0189-4EE4-8EA2-540A506D4402@lasp.colorado.edu> References: <9E30654B-0189-4EE4-8EA2-540A506D4402@lasp.colorado.edu> Message-ID: Joshua, Odd, there should be no difference. Can you share the dataset too (feel free to do it offline)? I can dig in further to see what's going on. Utkarsh On Mon, Aug 22, 2016 at 4:23 PM, Joshua Murphy < Joshua.Murphy at lasp.colorado.edu> wrote: > Hello, > > > > I am just starting to play with pvbatch, and I am seeing some behavior I > do not understand. > > > > When using pvpython, my images are rendering as expected: > > > > > > > > However, when I run the exact same script through pvbatch, I get an image > that is not at all as I expected. > > > > > > Is there some idiosyncrasy with pvbatch that makes the renderings > different? I am attaching my script as well as the output files. > > > > Any help would be welcome! I am using Paraview 5.1.2 downloaded from the > paraview.org website. > > > > Thanks, > > Josh > > > _______________________________________________ > 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: image002.png Type: image/png Size: 84013 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 79927 bytes Desc: not available URL: From postgurke at web.de Tue Aug 23 08:44:00 2016 From: postgurke at web.de (postgurke at web.de) Date: Tue, 23 Aug 2016 14:44:00 +0200 Subject: [Paraview] Opacity mapping and image texture in ParaView 5.1.2 Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: no_opacity.jpg Type: image/jpeg Size: 19619 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: volume_transparent.jpg Type: image/jpeg Size: 17386 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: with_image_and_opacity.jpg Type: image/jpeg Size: 46619 bytes Desc: not available URL: From kmorel at sandia.gov Tue Aug 23 10:25:53 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 23 Aug 2016 14:25:53 +0000 Subject: [Paraview] Opacity mapping and image texture in ParaView 5.1.2 Message-ID: <6a9607017dd74daa93226cac07a04c26@ES08AMSNLNT.srn.sandia.gov> Venke, That definitely looks like a bug, and I was able to replicate the behavior. Thanks for reporting it. I added the issue to the bug tracker (https://gitlab.kitware.com/paraview/paraview/issues/16853). -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of postgurke at web.de Sent: Tuesday, August 23, 2016 6:44 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Opacity mapping and image texture in ParaView 5.1.2 Hello I have an issue regarding the "enable opacity mapping for surfaces" (in the Color Map Editor) if the ParaView session contains another object that has an image loaded as texture. The problem occurs in ParaView 5.1.2 but not in earlier versions (tested with 5.0.1. and 4.3.1). I am working on Windows 64bit. If I want to enable the opacity mapping for surfaces everything works as expected as long as I have no texture image. The behaviour is very strange: if I load a texture image in another object, this seems to be set to the background with the transparent volume cutting a window to see this image. I will include snapshots because I think that my explanation may not be very clear. With no opacity mapping enabled I can see the volume and the plane with the image as expected. Should I do anything differently in the new ParaView to achieve a transparent volume along with the image texture object or is this "just" a bug? Thank you very much and best regards Venke -------------- next part -------------- An HTML attachment was scrubbed... URL: From l.calori at cineca.it Tue Aug 23 14:12:02 2016 From: l.calori at cineca.it (Luigi Calori) Date: Tue, 23 Aug 2016 20:12:02 +0200 Subject: [Paraview] Catalyst example with stream tracer In-Reply-To: References: <57BB4DD2.5010606@cineca.it> Message-ID: <57BC91F2.3070606@cineca.it> Thanks for the reply. We can share our python scripts but are not allowed to share the whole simulation code. We are trying to reproduce the error with the fortran example without success: Currently fortran example compute complex data, so we are not exactly in the same situation. We also checked and seems that there are differences in the amount of overlapping that is happening: In Fortran example the different extents of imageData overlaps for just one value, In our code the overlap is greater, would it be a problem? We will further try to reproduce the problem in a simpler example Best regards Luigi On 22/08/2016 22:52, Andy Bauer wrote: > Can you share your Python script? Also, I would suggest using the > gridwriter.py script to see what Catalyst is getting as your data set > input. It may be different than what your normal simulation output is. > > Best, > Andy > > On Mon, Aug 22, 2016 at 3:09 PM, Luigi Calori > wrote: > > We are trying to add stream tracer filter to a catalyst pipeline > that handle a simulation with an image data > vector field ( evenly distributed among processors ) > We got "floating invalid" error, even when running on a single core > A similar pipeline is running ok in paraview with the field saved > by simulation and reopened in paraview > We have also tried to use StreamTraceWith CustomSource with same > result. > > Thanks in advance for any hints, expecially any example of > catalyst pipeline. > > Best > Luigi > > > -- > Luigi Calori > SuperComputing Applications and Innovation Department > CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) > - ITALY > Tel: +39 051 6171509 Fax: +39 051 > 6132198 > hpc.cineca.it > > _______________________________________________ > 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 > > > -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.c.angelini.civ at mail.mil Tue Aug 23 14:56:34 2016 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US)) Date: Tue, 23 Aug 2016 18:56:34 +0000 Subject: [Paraview] 5.1.2/OpenGL2 issue Message-ID: We are trying to build/run ParaView 5.1.2 on a particular HPC system with graphics nodes via TurboVNC. ParaView 5.0.1 build/runs fine in this configuration. ParaView 5.1.2 compiles fine (using identical build configuration used to build 5.0.1) - however the GUI fails at execution. I?m not sure how to debug it any further. It *appears* that 5.1.2 is maybe doing some additional environment querying that might be causing this failure? When I try to run 5.1.2, I get this error: g01 > paraview [VGL] WARNING: The OpenGL rendering context obtained on X display [VGL] :0.0 is indirect, which may cause performance to suffer. [VGL] If :0.0 is a local X display, then the framebuffer device [VGL] permissions may be set incorrectly. Segmentation fault The particular message about indirect rendering ? if I run glxinfo, direct rendering is set to YES. g01 > glxinfo name of display: :5.0 display: :5 screen: 0 direct rendering: Yes server glx vendor string: VirtualGL server glx version string: 1.4 [deleted stuff] OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: Tesla K40m/PCIe/SSE2 OpenGL core profile version string: 4.3.0 NVIDIA 340.93 ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5108 bytes Desc: not available URL: From info at seoaachen.de Wed Aug 24 04:22:29 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Wed, 24 Aug 2016 10:22:29 +0200 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: Message-ID: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> I tried to run the launcher as described in the docs. But I am still getting errors when running http://localhost/apps/Visualizer/ Firefox console: ------------------------------- 1. when setting sessionManagerURL in html set to vtkWeb.properties.sessionManagerURL: POST XHR http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable 48ms] Object { error: "The process did not properly start.?" } Visualizer:42:13 2. when setting sessionManagerURL in html to http://localhost:8080/paraview: Firefox can't establish a connection to the server at ws://localhost/ws. autobahn.min.js:114:0 null Visualizer:42:13 No launcher found. Attempting to connect using the direct WS url. vtkweb-all.js:4456:19 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery-1.8.3.min.js:2:0 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/paraview. (Reason: CORS header 'Access-Control-Allow-Origin' missing). GET http://localhost/ws [HTTP/1.1 404 Not Found 12ms] null So the launcher can't start the pv webserver? But running http://localhost:8080/paraview/1 in browser works but says: {"error": "No session with id: 1"} My apache config: ----------------------------- ServerName localhost ServerAdmin info at seoaachen.de DocumentRoot /home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www ErrorLog "logs/pv-error_log" CustomLog "logs/pv-access_log" common ### The following commented lines could be useful when running ### over https and wss: # SSLEngine On # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt # # # SSLRequireSSL On # SSLVerifyClient optional # SSLVerifyDepth 1 # SSLOptions +StdEnvVars +StrictRequire # # Have Apache pass these requests to the launcher :9000 ProxyPass /paraview http://localhost:8080/paraview # Turn on the rewrite engine RewriteEngine On # This is the path the mapping file Jetty creates RewriteMap session-to-port txt:/home/daniel/proxy.txt # This is the rewrite condition. Look for anything with a sessionId= in the query part of the URL and capture the value to use below. RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] # This does the rewrite using the mapping file and the sessionId RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] Options Indexes FollowSymLinks Order allow,deny Allow from all AllowOverride None Require all granted my launcher.json ---------------------------- "configuration": { "host" : "localhost", "port" : 8080, "endpoint": "paraview", "content": "/.../www", "proxy_file" : "/home/daniel/proxy.txt", "sessionURL": "ws://localhost/proxy?sessionId=${id}", "timeout" : 25, "log_dir" : "/home/daniel", "upload_dir" : "/home/daniel", "fields" : ["file", "host", "port", "updir"] }, What am I doing wrong? Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 Aachen Tel : 0241 / 450 912 67 E-Mail: info at seoaachen.de Web : http://www.seoaachen.de (nur zum Teil aktuell) Xing : https://www.xing.com/profile/Daniel_Zuidinga Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller http://www.engineeringonline.de Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: > Hi Daniel, > > I want to use paraview web with SSL. As far as I understand I need > apache as a proxy server for that? Or is it possible with pvpython? > > > It might be possible with pvpython, but I've never done it, I've > always used apache to rely on a single opened port and handle the > encryption. > > I have my own launcher which opens pvpython with a different port > for each user. Is this the right way? Will this work with ssl? > > > If pvpython directly support the wss connection, you can be good. > Usually the setup, that I do is that I have Apache serving only the > port 443 (https) for both the static content and the (wss) websocket > endpoint. And I use a mapping file between the Websocket endpoint that > get returned by my launcher and the host/port I should connect to on > the backend to establish the link between the client and the actual > ParaViewWeb server instance. > > But that does not mean, that's the only way to do it and if you don't > mind having several port open, I don't see why it could not work. > > Concerning: > > https://kitware.github.io/visualizer/docs/ > > > The web visuailzer should work via npm installation? It does not > work for me: > C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41 > var pvPythonExecs = find(paraview).filter(function(file) { return > file.match(/pvpython$/) || file.match(/pvpython.exe$/); }); > ^ > > TypeError: find(...).filter is not a function > at Object. > (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) > at Module._compile (module.js:409:26) > at Object.Module._extensions..js (module.js:416:10) > at Module.load (module.js:343:32) > at Function.Module._load (module.js:300:12) > at Function.Module.runMain (module.js:441:10) > at startup (node.js:139:18) > at node.js:968:3 > > > Well, I guess I haven't tried to run the new Visualizer server on a > Windows machine. > But with ParaView 5.2 (yet to be released), we should have a > ParaViewWeb back in the binaries. So we should make sure our > Visualizer command line tool work on that platform as well. > Although, the command line is more for beginners than anything else as > it only simplify the demo usage. In real word deployment, with a > launcher, the true pvpython command line should be used instead. > > Here is an example of what you should see in a working environment: > > $ Visualizer -d ~/Downloads/ > > =============================================================================== > | Execute: > | $ /Applications/paraview.app/Contents/bin/pvpython > | -dr > | /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py > | --content > | /Users/seb/Documents/code/Web2/visualizer/dist > | --port > | 8080 > | --data > | /Users/seb/Downloads/ > =============================================================================== > > [...] > > -- > Daniel Zuidinga > Dipl.-Ing. > > SEO Aachen > Passstr. 5 > 52070 Aachen > > Tel : 0241 / 450 912 67 > E-Mail: info at seoaachen.de > Web : http://www.seoaachen.de (nur zum Teil aktuell) > Xing : https://www.xing.com/profile/Daniel_Zuidinga > > > Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller > http://www.engineeringonline.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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From magnus_elden at hotmail.com Wed Aug 24 08:02:22 2016 From: magnus_elden at hotmail.com (Magnus Elden) Date: Wed, 24 Aug 2016 14:02:22 +0200 Subject: [Paraview] Building with OSMesa using CMake does not have the the correct variables. Message-ID: I am using the latest PV source as of this date downloaded from the github repo. I am also using CMake 3.5.2 to build for Visual Studio 2015 on Windows 10. After configuring once I followed the instructions provided here and tried to search for the CMake variable OPENGL_INCLUDE_DIR. However, it does not show up. I only see the QT version of it: QT_QT OPENGL_INCLUDE_DIR. I set the option to build qt gui to off and I set VTK_OPENGL_HAS_OSMESA to true. Then I tried to look for the libraries libGL and libGLU, but none of those is to be found inside the OSMesa build directory so I assumed that you are talking about the standard library files so I left the OPENGL_gl_LIBRARY and OPENGL_glu_LIBRARY variables alone. I set the osmesa library and include library to osmesa.lib and to /include and NOT the build directory. The reason why I am doing this is because I was unable to install using scons. It configures and builds just fine. What am I doing wrong? These are the osmesa variables: http://puu.sh/qMzRY/e7d481b134.png These are the OPENGL variables: http://puu.sh/qMzWI/187cf17769.png And these are some of the errors I get when I build it like this: Severity Code Description Project File Line Suppression State Error C2440 'static_cast': cannot convert from 'OSMESAproc' to 'vtkOpenGLExtensionManagerFunctionPointer' vtkRenderingOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewSource\VTK\Rendering\OpenGL\vtk OpenGLExtensionManager.cxx 725 Error C2440 'static_cast': cannot convert from 'OSMESAproc' to 'vtkOpenGLExtensionManagerFunctionPointer' vtkRenderingOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewSource\VTK\Rendering\OpenGL\vtk OpenGLExtensionManager.cxx 725 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingContextOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\ContextOpen GL\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingContextOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\ContextOpen GL\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingLIC D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\LIC\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingLIC D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\LIC\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingVolumeOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\VolumeOpenG L\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingVolumeOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\VolumeOpenG L\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingParallel D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\Parallel\LI NK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingParallel D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\Parallel\LI NK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingContextOpenGL-pv5.1.lib' vtkRenderingGL2PS D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\GL2PS\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingContextOpenGL-pv5.1.lib' vtkRenderingGL2PS D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\GL2PS\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingVolumeOpenGL-pv5.1.lib' vtkRenderingVolumeAMR D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\VolumeAMR\L INK 1 http://puu.sh/qMAIx/d57d40e5a5.png All the OSMesa libraries I got: http://puu.sh/qMAX3/3dc72dfa9e.png -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Aug 24 08:57:46 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 24 Aug 2016 08:57:46 -0400 Subject: [Paraview] 5.1.2/OpenGL2 issue In-Reply-To: References: Message-ID: Rick, I am assuming with is with VTK_RENDERING_BACKEND set to OpenGL2. Do you know what VirtualGL version is being used? On Tue, Aug 23, 2016 at 2:56 PM, Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) wrote: > We are trying to build/run ParaView 5.1.2 on a particular HPC system with > graphics nodes via TurboVNC. ParaView 5.0.1 build/runs fine in this > configuration. ParaView 5.1.2 compiles fine (using identical build > configuration used to build 5.0.1) - however the GUI fails at execution. > I?m not sure how to debug it any further. It *appears* that 5.1.2 is > maybe doing some additional environment querying that might be causing this > failure? > > > When I try to run 5.1.2, I get this error: > > g01 > paraview > [VGL] WARNING: The OpenGL rendering context obtained on X display > [VGL] :0.0 is indirect, which may cause performance to suffer. > [VGL] If :0.0 is a local X display, then the framebuffer device > [VGL] permissions may be set incorrectly. > Segmentation fault > > > The particular message about indirect rendering ? if I run glxinfo, direct > rendering is set to YES. > > g01 > glxinfo > name of display: :5.0 > display: :5 screen: 0 > direct rendering: Yes > server glx vendor string: VirtualGL > server glx version string: 1.4 > [deleted stuff] > OpenGL vendor string: NVIDIA Corporation > OpenGL renderer string: Tesla K40m/PCIe/SSE2 > OpenGL core profile version string: 4.3.0 NVIDIA 340.93 > > > > ________________________________ > 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 richard.c.angelini.civ at mail.mil Wed Aug 24 09:36:18 2016 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US)) Date: Wed, 24 Aug 2016 13:36:18 +0000 Subject: [Paraview] [Non-DoD Source] Re: 5.1.2/OpenGL2 issue In-Reply-To: References: Message-ID: Yes - this is an OpenGL2 build. Is this the information on TurboVNC that you?re looking for? server glx vendor string: VirtualGL server glx version string: 1.4 ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -----Original Message----- From: Utkarsh Ayachit Date: Wednesday, August 24, 2016 at 8:57 AM To: Rick Angelini Cc: ParaView Subject: [Non-DoD Source] Re: [Paraview] 5.1.2/OpenGL2 issue All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ---- Rick, I am assuming with is with VTK_RENDERING_BACKEND set to OpenGL2. Do you know what VirtualGL version is being used? On Tue, Aug 23, 2016 at 2:56 PM, Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) wrote: > We are trying to build/run ParaView 5.1.2 on a particular HPC system with > graphics nodes via TurboVNC. ParaView 5.0.1 build/runs fine in this > configuration. ParaView 5.1.2 compiles fine (using identical build > configuration used to build 5.0.1) - however the GUI fails at execution. > I?m not sure how to debug it any further. It *appears* that 5.1.2 is > maybe doing some additional environment querying that might be causing >this > failure? > > > When I try to run 5.1.2, I get this error: > > g01 > paraview > [VGL] WARNING: The OpenGL rendering context obtained on X display > [VGL] :0.0 is indirect, which may cause performance to suffer. > [VGL] If :0.0 is a local X display, then the framebuffer device > [VGL] permissions may be set incorrectly. > Segmentation fault > > > The particular message about indirect rendering ? if I run glxinfo, >direct > rendering is set to YES. > > g01 > glxinfo > name of display: :5.0 > display: :5 screen: 0 > direct rendering: Yes > server glx vendor string: VirtualGL > server glx version string: 1.4 > [deleted stuff] > OpenGL vendor string: NVIDIA Corporation > OpenGL renderer string: Tesla K40m/PCIe/SSE2 > OpenGL core profile version string: 4.3.0 NVIDIA 340.93 > > > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > _______________________________________________ > Powered by Caution-www.kitware.com > > Visit other Kitware open-source projects at > Caution-http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > Caution-http://paraview.org/Wiki/ParaView > > Search the list archives at: >Caution-http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > Caution-http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5108 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Wed Aug 24 09:56:25 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 24 Aug 2016 09:56:25 -0400 Subject: [Paraview] [Non-DoD Source] Re: 5.1.2/OpenGL2 issue In-Reply-To: References: Message-ID: No, that's not it. Hopefully someone with more knowledge on this than me can chime in at some point. I'm told that VirtualGL < 2.3.1 did not forward the glXCreateContextARB calls we need for creating OpenGL 3.2 context needed by ParaView (OpenGL2 backend). To update my know how about it in the mean time, I read up a bit on TightVNC and VGL [1,2]. So, is your setup intended to use VirtualGL? If so, shouldn't you be running `vglrun paraview`? I believe that's the [VGL] warning messages are all about, aren't they? Utkarsh [1] http://www.virtualgl.org/vgldoc/2_1_1/#hd009 [2] https://hpc.nrel.gov/users/software/visualization-analytics/virtualgl-turbovnc On Wed, Aug 24, 2016 at 9:36 AM, Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) wrote: > Yes - this is an OpenGL2 build. > > Is this the information on TurboVNC that you?re looking for? > > server glx vendor string: VirtualGL > server glx version string: 1.4 > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > > > > -----Original Message----- > From: Utkarsh Ayachit > Date: Wednesday, August 24, 2016 at 8:57 AM > To: Rick Angelini > Cc: ParaView > Subject: [Non-DoD Source] Re: [Paraview] 5.1.2/OpenGL2 issue > > All active links contained in this email were disabled. Please verify the > identity of the sender, and confirm the authenticity of all links > contained within the message prior to copying and pasting the address to a > Web browser. > > > > > ---- > > Rick, > > I am assuming with is with VTK_RENDERING_BACKEND set to OpenGL2. > > Do you know what VirtualGL version is being used? > > On Tue, Aug 23, 2016 at 2:56 PM, Angelini, Richard C (Rick) CIV USARMY > RDECOM ARL (US) wrote: >> We are trying to build/run ParaView 5.1.2 on a particular HPC system with >> graphics nodes via TurboVNC. ParaView 5.0.1 build/runs fine in this >> configuration. ParaView 5.1.2 compiles fine (using identical build >> configuration used to build 5.0.1) - however the GUI fails at execution. >> I?m not sure how to debug it any further. It *appears* that 5.1.2 is >> maybe doing some additional environment querying that might be causing >>this >> failure? >> >> >> When I try to run 5.1.2, I get this error: >> >> g01 > paraview >> [VGL] WARNING: The OpenGL rendering context obtained on X display >> [VGL] :0.0 is indirect, which may cause performance to suffer. >> [VGL] If :0.0 is a local X display, then the framebuffer device >> [VGL] permissions may be set incorrectly. >> Segmentation fault >> >> >> The particular message about indirect rendering ? if I run glxinfo, >>direct >> rendering is set to YES. >> >> g01 > glxinfo >> name of display: :5.0 >> display: :5 screen: 0 >> direct rendering: Yes >> server glx vendor string: VirtualGL >> server glx version string: 1.4 >> [deleted stuff] >> OpenGL vendor string: NVIDIA Corporation >> OpenGL renderer string: Tesla K40m/PCIe/SSE2 >> OpenGL core profile version string: 4.3.0 NVIDIA 340.93 >> >> >> >> ________________________________ >> Rick Angelini >> USArmy Research Laboratory >> CISD/HPC Architectures Team >> Phone: 410-278-6266 >> >> _______________________________________________ >> Powered by Caution-www.kitware.com >> >> Visit other Kitware open-source projects at >> Caution-http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> Caution-http://paraview.org/Wiki/ParaView >> >> Search the list archives at: >>Caution-http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> Caution-http://public.kitware.com/mailman/listinfo/paraview >> From chrisneal at snumerics.com Wed Aug 24 09:42:55 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 24 Aug 2016 09:42:55 -0400 Subject: [Paraview] Catalyst example compile error when adding XML output Message-ID: <979BE14F-081B-4B7D-91B9-1A1FA36F15AC@snumerics.com> Hi all, I?m playing with the catalyst example ?CxxFullExample?. I can get it to compile and run just fine as it comes packaged with ParaView. I added the following to the ?FEAdaptor.cxx? file: #include *in the CoProcess function I added, vtkXMLUnstructuredGridWriter* writer ; ????? writer->SetFileName("UnstructuredGrid.vtu"); ????? writer->SetInputData(VTKGrid); ????? writer->Write(); When I try to compile like I did before I see the following: cmake -DCMAKE_PREFIX_PATH=/home/neal/software/ParaView5.2/build /home/neal/software/Catalyst_examples/CxxFullExample_source/ . . ~software/Catalyst_examples/CxxFullExample_build> make Scanning dependencies of target CxxFullExampleAdaptor [ 20%] Building CXX object CMakeFiles/CxxFullExampleAdaptor.dir/FEAdaptor.cxx.o [ 40%] Linking CXX static library libCxxFullExampleAdaptor.a [ 40%] Built target CxxFullExampleAdaptor Scanning dependencies of target CxxFullExample [ 60%] Building CXX object CMakeFiles/CxxFullExample.dir/FEDriver.cxx.o [ 80%] Building CXX object CMakeFiles/CxxFullExample.dir/FEDataStructures.cxx.o [100%] Linking CXX executable CxxFullExample /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: libCxxFullExampleAdaptor.a(FEAdaptor.cxx.o): undefined reference to symbol '_ZN12vtkXMLWriter12SetInputDataEP13vtkDataObject' /home/neal/software/ParaView5.2/build/lib/libvtkIOXML-pv5.1.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status CMakeFiles/CxxFullExample.dir/build.make:166: recipe for target 'CxxFullExample' failed make[2]: *** [CxxFullExample] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/CxxFullExample.dir/all' failed make[1]: *** [CMakeFiles/CxxFullExample.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 Am I missing an additional header that needs to be included beyond the XML writer one? Thank you, Chris Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Aug 24 10:22:50 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 24 Aug 2016 08:22:50 -0600 Subject: [Paraview] Paraview Web with SSL In-Reply-To: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> Message-ID: Hi Daniel, Which version of Apache are you running? Did you enabled all the modules? $ sudo a2enmod vhost_alias $ sudo a2enmod proxy $ sudo a2enmod proxy_http $ sudo a2enmod proxy_wstunnel $ sudo a2enmod rewrite For the launcher configuration, do you have a proper "resources" and "apps" section? I'm guessing you are looking at the following documentation pages? - https://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html - https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html Once you have the forwarding of the launcher request working, the next part will be the forwarding of the ws. But we can talk about it when and if you run into issue about it. Seb On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga wrote: > I tried to run the launcher as described in the docs. But I am still > getting errors when running http://localhost/apps/Visualizer/ > > Firefox console: > > ------------------------------- > > 1. when setting sessionManagerURL in html set to vtkWeb.properties. > sessionManagerURL: > > POST > XHR > http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable 48ms] > Object { error: "The process did not properly start.?" } Visualizer:42:13 > > > 2. when setting sessionManagerURL in html to > http://localhost:8080/paraview: > > Firefox can't establish a connection to the server at ws://localhost/ws. > autobahn.min.js:114:0 > null Visualizer:42:13 > No launcher found. Attempting to connect using the direct WS url. > vtkweb-all.js:4456:19 > Use of getPreventDefault() is deprecated. Use defaultPrevented instead. > jquery-1.8.3.min.js:2:0 > Cross-Origin Request Blocked: The Same Origin Policy disallows reading the > remote resource at http://localhost:8080/paraview. (Reason: CORS header > 'Access-Control-Allow-Origin' missing). > GET > http://localhost/ws [HTTP/1.1 404 Not Found 12ms] > null > > > So the launcher can't start the pv webserver? But running > http://localhost:8080/paraview/1 in browser works but says: {"error": "No > session with id: 1"} > > > My apache config: > > ----------------------------- > > > ServerName localhost > ServerAdmin info at seoaachen.de > DocumentRoot /home/daniel/salome_meca/V2016/prerequisites/Paraview- > v501_EDF/share/paraview-5.0/www > ErrorLog "logs/pv-error_log" > CustomLog "logs/pv-access_log" common > ### The following commented lines could be useful when running > ### over https and wss: > # SSLEngine On > # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt > # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key > # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt > # > # > # SSLRequireSSL On > # SSLVerifyClient optional > # SSLVerifyDepth 1 > # SSLOptions +StdEnvVars +StrictRequire > # > # Have Apache pass these requests to the launcher :9000 > ProxyPass /paraview http://localhost:8080/paraview > # Turn on the rewrite engine > RewriteEngine On > # This is the path the mapping file Jetty creates > RewriteMap session-to-port txt:/home/daniel/proxy.txt > # This is the rewrite condition. Look for anything with a sessionId= > in the query part of the URL and capture the value to use below. > RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] > # This does the rewrite using the mapping file and the sessionId > RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] > v501_EDF/share/paraview-5.0/www"> > Options Indexes FollowSymLinks > Order allow,deny > Allow from all > AllowOverride None > Require all granted > > > > > > my launcher.json > > ---------------------------- > > "configuration": { > "host" : "localhost", > > "port" : 8080, > "endpoint": "paraview", > "content": "/.../www", > "proxy_file" : "/home/daniel/proxy.txt", > "sessionURL": "ws://localhost/proxy?sessionId=${id}", > > "timeout" : 25, > "log_dir" : "/home/daniel", > "upload_dir" : "/home/daniel", > "fields" : ["file", "host", "port", "updir"] > }, > > > What am I doing wrong? > > > Daniel Zuidinga > Dipl.-Ing. > > SEO Aachen > Passstr. 5 > 52070 Aachen > > Tel : 0241 / 450 912 67 > E-Mail: info at seoaachen.de > Web : http://www.seoaachen.de (nur zum Teil aktuell) > Xing : https://www.xing.com/profile/Daniel_Zuidinga > > Bald online: Software Tools f?r Konstrukteure und Bauteilherstellerhttp://www.engineeringonline.de > > Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: > > Hi Daniel, > > I want to use paraview web with SSL. As far as I understand I need apache >> as a proxy server for that? Or is it possible with pvpython? >> > > It might be possible with pvpython, but I've never done it, I've always > used apache to rely on a single opened port and handle the encryption. > > >> I have my own launcher which opens pvpython with a different port for >> each user. Is this the right way? Will this work with ssl? >> > > If pvpython directly support the wss connection, you can be good. Usually > the setup, that I do is that I have Apache serving only the port 443 > (https) for both the static content and the (wss) websocket endpoint. And I > use a mapping file between the Websocket endpoint that get returned by my > launcher and the host/port I should connect to on the backend to establish > the link between the client and the actual ParaViewWeb server instance. > > But that does not mean, that's the only way to do it and if you don't mind > having several port open, I don't see why it could not work. > > >> Concerning: >> >> https://kitware.github.io/visualizer/docs/ >> >> The web visuailzer should work via npm installation? It does not work for >> me: >> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualiz >> er\bin\pvw-visualizer-cli.js:41 >> var pvPythonExecs = find(paraview).filter(function(file) { return >> file.match(/pvpython$/) || file.match(/pvpython.exe$/); }); >> ^ >> >> TypeError: find(...).filter is not a function >> at Object. (C:\Users\danie\AppData\Roamin >> g\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >> at Module._compile (module.js:409:26) >> at Object.Module._extensions..js (module.js:416:10) >> at Module.load (module.js:343:32) >> at Function.Module._load (module.js:300:12) >> at Function.Module.runMain (module.js:441:10) >> at startup (node.js:139:18) >> at node.js:968:3 >> > > Well, I guess I haven't tried to run the new Visualizer server on a > Windows machine. > But with ParaView 5.2 (yet to be released), we should have a ParaViewWeb > back in the binaries. So we should make sure our Visualizer command line > tool work on that platform as well. > Although, the command line is more for beginners than anything else as it > only simplify the demo usage. In real word deployment, with a launcher, the > true pvpython command line should be used instead. > > Here is an example of what you should see in a working environment: > > $ Visualizer -d ~/Downloads/ > > ============================================================ > =================== > | Execute: > | $ /Applications/paraview.app/Contents/bin/pvpython > | -dr > | /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py > | --content > | /Users/seb/Documents/code/Web2/visualizer/dist > | --port > | 8080 > | --data > | /Users/seb/Downloads/ > ============================================================ > =================== > > [...] > > -- > Daniel Zuidinga > Dipl.-Ing. > > SEO Aachen > Passstr. 5 > 52070 Aachen > > Tel : 0241 / 450 912 67 > E-Mail: info at seoaachen.de > Web : http://www.seoaachen.de (nur zum Teil aktuell) > Xing : https://www.xing.com/profile/Daniel_Zuidinga > > Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller > http://www.engineeringonline.de > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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 Aug 24 10:23:40 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 24 Aug 2016 10:23:40 -0400 Subject: [Paraview] [Non-DoD Source] Re: 5.1.2/OpenGL2 issue In-Reply-To: <098d0f10-c552-1c77-33ad-c3119c8de015@dren.mil> References: <098d0f10-c552-1c77-33ad-c3119c8de015@dren.mil> Message-ID: Dave, Is it possible to do a debug build and see which call is failing? Utkarsh On Wed, Aug 24, 2016 at 10:20 AM, Dave Pratt wrote: > > Utkarsh, > We are running VirtualGL 2.3.3 and TurboVNC 1.2.1 on all systems and > Paraview is executed under a vglrun environment. Paraview 5.0.1 has been > running on this system for quite some time. Version 5.1.2 throws a > segfault at > > [VGL] WARNING: The OpenGL rendering context obtained on X display > [VGL] :0.0 is indirect, which may cause performance to suffer. > [VGL] If :0.0 is a local X display, then the framebuffer device > [VGL] permissions may be set incorrectly. > > Program received signal SIGSEGV, Segmentation fault. > 0x0000000000000000 in ?? () > (gdb) where > #0 0x0000000000000000 in ?? () > #1 0x00002aaaafd4db69 in vtkOpenGLRenderWindow::OpenGLInitState() () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1 > #2 0x00002aaaafd4e86c in > vtkOpenGLRenderWindow::CreateHardwareOffScreenWindow(int, int) () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1 > #3 0x00002aaaafdf1515 in vtkXOpenGLRenderWindow::CreateOffScreenWindow(int, > int) () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1 > #4 0x00002aaaafd4d0e5 in vtkOpenGLRenderWindow::SupportsOpenGL() () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1 > #5 0x00002aaab938b3b8 in vtkPVDisplayInformation::SupportsOpenGLLocally() > () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreRendering-pv5.1.so.1 > #6 0x00002aaab938b3f4 in > vtkPVDisplayInformation::CopyFromObject(vtkObject*) () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreRendering-pv5.1.so.1 > #7 0x00002aaaadf6723b in > vtkPVSessionCore::GatherInformationInternal(vtkPVInformation*, unsigned int) > () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVServerImplementationCore-pv5.1.so.1 > ... > > > > > > On 08/24/16 08:56 AM, Utkarsh Ayachit wrote: > > No, that's not it. Hopefully someone with more knowledge on this than > me can chime in at some point. I'm told that VirtualGL < 2.3.1 did not > forward the glXCreateContextARB calls we need for creating OpenGL 3.2 > context needed by ParaView (OpenGL2 backend). > > To update my know how about it in the mean time, I read up a bit on > TightVNC and VGL [1,2]. So, is your setup intended to use VirtualGL? > If so, shouldn't you be running `vglrun paraview`? I believe that's > the [VGL] warning messages are all about, aren't they? > > Utkarsh > > [1] http://www.virtualgl.org/vgldoc/2_1_1/#hd009 > [2] > https://hpc.nrel.gov/users/software/visualization-analytics/virtualgl-turbovnc > > On Wed, Aug 24, 2016 at 9:36 AM, Angelini, Richard C (Rick) CIV USARMY > RDECOM ARL (US) wrote: > > Yes - this is an OpenGL2 build. > > Is this the information on TurboVNC that you?re looking for? > > server glx vendor string: VirtualGL > server glx version string: 1.4 > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > > > > -----Original Message----- > From: Utkarsh Ayachit > Date: Wednesday, August 24, 2016 at 8:57 AM > To: Rick Angelini > Cc: ParaView > Subject: [Non-DoD Source] Re: [Paraview] 5.1.2/OpenGL2 issue > > All active links contained in this email were disabled. Please verify the > identity of the sender, and confirm the authenticity of all links > contained within the message prior to copying and pasting the address to a > Web browser. > > > > > ---- > > Rick, > > I am assuming with is with VTK_RENDERING_BACKEND set to OpenGL2. > > Do you know what VirtualGL version is being used? > > On Tue, Aug 23, 2016 at 2:56 PM, Angelini, Richard C (Rick) CIV USARMY > RDECOM ARL (US) wrote: > > We are trying to build/run ParaView 5.1.2 on a particular HPC system with > graphics nodes via TurboVNC. ParaView 5.0.1 build/runs fine in this > configuration. ParaView 5.1.2 compiles fine (using identical build > configuration used to build 5.0.1) - however the GUI fails at execution. > I?m not sure how to debug it any further. It *appears* that 5.1.2 is > maybe doing some additional environment querying that might be causing > this > failure? > > > When I try to run 5.1.2, I get this error: > > g01 > paraview > [VGL] WARNING: The OpenGL rendering context obtained on X display > [VGL] :0.0 is indirect, which may cause performance to suffer. > [VGL] If :0.0 is a local X display, then the framebuffer device > [VGL] permissions may be set incorrectly. > Segmentation fault > > > The particular message about indirect rendering ? if I run glxinfo, > direct > rendering is set to YES. > > g01 > glxinfo > name of display: :5.0 > display: :5 screen: 0 > direct rendering: Yes > server glx vendor string: VirtualGL > server glx version string: 1.4 > [deleted stuff] > OpenGL vendor string: NVIDIA Corporation > OpenGL renderer string: Tesla K40m/PCIe/SSE2 > OpenGL core profile version string: 4.3.0 NVIDIA 340.93 > > > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > _______________________________________________ > Powered by Caution-www.kitware.com > > Visit other Kitware open-source projects at > Caution-http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > Caution-http://paraview.org/Wiki/ParaView > > Search the list archives at: > Caution-http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > Caution-http://public.kitware.com/mailman/listinfo/paraview > > > -- > > Dave Pratt > Sr. Software Developer > Secure Mission Solutions, Inc. > a PARSONS Company > > 612/708-2284 (Cell) > David.Pratt.ctr at dren.hpc.mil > depratt at securemissionsolutions.com > 1392073228 at jabber.dren.net > From utkarsh.ayachit at kitware.com Wed Aug 24 10:30:43 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 24 Aug 2016 10:30:43 -0400 Subject: [Paraview] Catalyst example compile error when adding XML output In-Reply-To: <979BE14F-081B-4B7D-91B9-1A1FA36F15AC@snumerics.com> References: <979BE14F-081B-4B7D-91B9-1A1FA36F15AC@snumerics.com> Message-ID: Chris, Try changing CMakeLists.txt, changing the `find_package(ParaView .. )` and `target_link_libraries(..)` as follows: find_package(ParaView 4.1 REQUIRED COMPONENTS vtkPVPythonCatalyst vtkIOXML) and target_link_libraries(CFullExampleAdaptor vtkPVPythonCatalyst vtkIOXML) Utkarsh On Wed, Aug 24, 2016 at 9:42 AM, Christopher Neal wrote: > Hi all, > > > > I?m playing with the catalyst example ?CxxFullExample?. I can get it to > compile and run just fine as it comes packaged with ParaView. I added the > following to the ?FEAdaptor.cxx? file: > > #include > > > > *in the CoProcess function I added, > > > > vtkXMLUnstructuredGridWriter* writer ; > > writer->SetFileName("UnstructuredGrid.vtu"); > > writer->SetInputData(VTKGrid); > > writer->Write(); > > > > > > When I try to compile like I did before I see the following: > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/ParaView5.2/build > /home/neal/software/Catalyst_examples/CxxFullExample_source/ > > . > > . > > ~software/Catalyst_examples/CxxFullExample_build> make > > > > Scanning dependencies of target CxxFullExampleAdaptor > > [ 20%] Building CXX object > CMakeFiles/CxxFullExampleAdaptor.dir/FEAdaptor.cxx.o > > [ 40%] Linking CXX static library libCxxFullExampleAdaptor.a > > [ 40%] Built target CxxFullExampleAdaptor > > Scanning dependencies of target CxxFullExample > > [ 60%] Building CXX object CMakeFiles/CxxFullExample.dir/FEDriver.cxx.o > > [ 80%] Building CXX object > CMakeFiles/CxxFullExample.dir/FEDataStructures.cxx.o > > [100%] Linking CXX executable CxxFullExample > > /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: > libCxxFullExampleAdaptor.a(FEAdaptor.cxx.o): undefined reference to symbol > '_ZN12vtkXMLWriter12SetInputDataEP13vtkDataObject' > > /home/neal/software/ParaView5.2/build/lib/libvtkIOXML-pv5.1.so.1: error > adding symbols: DSO missing from command line > > collect2: error: ld returned 1 exit status > > CMakeFiles/CxxFullExample.dir/build.make:166: recipe for target > 'CxxFullExample' failed > > make[2]: *** [CxxFullExample] Error 1 > > CMakeFiles/Makefile2:67: recipe for target > 'CMakeFiles/CxxFullExample.dir/all' failed > > make[1]: *** [CMakeFiles/CxxFullExample.dir/all] Error 2 > > Makefile:83: recipe for target 'all' failed > > make: *** [all] Error 2 > > > > > > Am I missing an additional header that needs to be included beyond the XML > writer one? > > Thank you, > > Chris Neal > > > _______________________________________________ > 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 jfavre at cscs.ch Wed Aug 24 10:37:09 2016 From: jfavre at cscs.ch (Favre Jean) Date: Wed, 24 Aug 2016 14:37:09 +0000 Subject: [Paraview] Catalyst issue with pvti output. Message-ID: <0EB9B6375711A04B820E6B6F5CCA9F684368636D@MBX111.d.ethz.ch> Hello Catalyst developers I have my first parallel simulation interfaced with Catalyst live. I use PV 5.1.2 While the live display has all the pieces, with the correct sub-extents, and the renderview shows the full grid without any missing piece, I find that the Parallel Image Data Writer does not correctly write the WholeExtent, using the 0-th piece's extents, instead of the global extent. Correcting the output by hand, enables me to later view the full grid. So, all pieces are correct, I only have a problem with the WholExtent. For example, running on 4 MPI tasks, I get whereas the correct line should be is this a know issue? likewise, eventhough the live paraview renderview shows the full image, when I run my simulation and save screnshots, I only the image output of Task 0. Is this known? or is it a problem with my own code? I am puzzled by the fact that when connecting live to the simulation, all pieces are at the right places, so I do see a full resolution mesh. Why should the PNG and *pvti files be missing pieces? Thanks for any tips. ----------------- Jean -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisneal at snumerics.com Wed Aug 24 10:43:29 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 24 Aug 2016 10:43:29 -0400 Subject: [Paraview] Catalyst example compile error when adding XML output In-Reply-To: References: <979BE14F-081B-4B7D-91B9-1A1FA36F15AC@snumerics.com> Message-ID: Yes! That is exactly what I was missing. It compiles without any issues now. Thank you Utkarsh. On 8/24/16, 10:30 AM, "Utkarsh Ayachit" wrote: Chris, Try changing CMakeLists.txt, changing the `find_package(ParaView .. )` and `target_link_libraries(..)` as follows: find_package(ParaView 4.1 REQUIRED COMPONENTS vtkPVPythonCatalyst vtkIOXML) and target_link_libraries(CFullExampleAdaptor vtkPVPythonCatalyst vtkIOXML) Utkarsh On Wed, Aug 24, 2016 at 9:42 AM, Christopher Neal wrote: > Hi all, > > > > I?m playing with the catalyst example ?CxxFullExample?. I can get it to > compile and run just fine as it comes packaged with ParaView. I added the > following to the ?FEAdaptor.cxx? file: > > #include > > > > *in the CoProcess function I added, > > > > vtkXMLUnstructuredGridWriter* writer ; > > writer->SetFileName("UnstructuredGrid.vtu"); > > writer->SetInputData(VTKGrid); > > writer->Write(); > > > > > > When I try to compile like I did before I see the following: > > > > cmake -DCMAKE_PREFIX_PATH=/home/neal/software/ParaView5.2/build > /home/neal/software/Catalyst_examples/CxxFullExample_source/ > > . > > . > > ~software/Catalyst_examples/CxxFullExample_build> make > > > > Scanning dependencies of target CxxFullExampleAdaptor > > [ 20%] Building CXX object > CMakeFiles/CxxFullExampleAdaptor.dir/FEAdaptor.cxx.o > > [ 40%] Linking CXX static library libCxxFullExampleAdaptor.a > > [ 40%] Built target CxxFullExampleAdaptor > > Scanning dependencies of target CxxFullExample > > [ 60%] Building CXX object CMakeFiles/CxxFullExample.dir/FEDriver.cxx.o > > [ 80%] Building CXX object > CMakeFiles/CxxFullExample.dir/FEDataStructures.cxx.o > > [100%] Linking CXX executable CxxFullExample > > /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: > libCxxFullExampleAdaptor.a(FEAdaptor.cxx.o): undefined reference to symbol > '_ZN12vtkXMLWriter12SetInputDataEP13vtkDataObject' > > /home/neal/software/ParaView5.2/build/lib/libvtkIOXML-pv5.1.so.1: error > adding symbols: DSO missing from command line > > collect2: error: ld returned 1 exit status > > CMakeFiles/CxxFullExample.dir/build.make:166: recipe for target > 'CxxFullExample' failed > > make[2]: *** [CxxFullExample] Error 1 > > CMakeFiles/Makefile2:67: recipe for target > 'CMakeFiles/CxxFullExample.dir/all' failed > > make[1]: *** [CMakeFiles/CxxFullExample.dir/all] Error 2 > > Makefile:83: recipe for target 'all' failed > > make: *** [all] Error 2 > > > > > > Am I missing an additional header that needs to be included beyond the XML > writer one? > > Thank you, > > Chris Neal > > > _______________________________________________ > 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 Aug 24 10:53:27 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 24 Aug 2016 10:53:27 -0400 Subject: [Paraview] Catalyst issue with pvti output. In-Reply-To: <0EB9B6375711A04B820E6B6F5CCA9F684368636D@MBX111.d.ethz.ch> References: <0EB9B6375711A04B820E6B6F5CCA9F684368636D@MBX111.d.ethz.ch> Message-ID: Hi Jean, I'm guessing you missed the vtkCPInputDataDescription::SetWholeExtent() method in your adaptor. Catalyst runs like "pvbatch -sym", i.e. each process runs the script and we avoid MPI reduce operations to process 0. This results in process 0 (the process that writes out the meta xml file) not knowing the whole extent. By using vtkCPInputDataDescription::SetWholeExtent() it should fix that. If that's not the case, please let me know and we'll try and figure why things aren't working properly. Also, please let me know if this fixes the image output issue. I haven't seen that before and would like to make sure it's not a bug elsewhere that's causing this. By the way, with Live does the data set extent show the correct values in the gui? I don't think I've checked on that and would like to verify that is correct. Best, Andy On Wed, Aug 24, 2016 at 10:37 AM, Favre Jean wrote: > Hello Catalyst developers > > I have my first parallel simulation interfaced with Catalyst live. I use > PV 5.1.2 > > While the live display has all the pieces, with the correct sub-extents, > and the renderview shows the full grid without any missing piece, I find > that the Parallel Image Data Writer does not correctly write the > WholeExtent, using the 0-th piece's extents, instead of the global extent. > Correcting the output by hand, enables me to later view the full grid. So, > all pieces are correct, I only have a problem with the WholExtent. For > example, running on 4 MPI tasks, I get > > header_type="UInt64"> > Spacing="1 1 1"> > > > > > > > > > > > > whereas the correct line should be > Spacing="1 1 1"> > > is this a know issue? > > likewise, eventhough the live paraview renderview shows the full image, > when I run my simulation and save screnshots, I only the image output of > Task 0. > > Is this known? or is it a problem with my own code? I am puzzled by the > fact that when connecting live to the simulation, all pieces are at the > right places, so I do see a full resolution mesh. Why should the PNG and > *pvti files be missing pieces? > > Thanks for any tips. > ----------------- > Jean > > _______________________________________________ > 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.g.hennessey2.ctr at mail.mil Wed Aug 24 11:54:22 2016 From: joseph.g.hennessey2.ctr at mail.mil (Hennessey, Joseph G CTR USARMY RDECOM ARL (US)) Date: Wed, 24 Aug 2016 15:54:22 +0000 Subject: [Paraview] [Non-DoD Source] Re: 5.1.2/OpenGL2 issue (UNCLASSIFIED) Message-ID: <10A03274360DCF47A6EE78C9952A31CA7DD16EDF@UMECHPA7C.easf.csd.disa.mil> CLASSIFICATION: UNCLASSIFIED Utkarsh, I have done a debug build and it is failing on Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) backtrace #0 0x0000000000000000 in ?? () #1 0x00002aaaafd4db69 in vtkOpenGLRenderWindow::OpenGLInitState() () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1 #2 0x00002aaaafd4e86c in vtkOpenGLRenderWindow::CreateHardwareOffScreenWindow(int, int) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1 #3 0x00002aaaafdf1515 in vtkXOpenGLRenderWindow::CreateOffScreenWindow(int, int) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1 #4 0x00002aaaafd4d0e5 in vtkOpenGLRenderWindow::SupportsOpenGL() () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5.1.so.1 #5 0x00002aaab938b3b8 in vtkPVDisplayInformation::SupportsOpenGLLocally() () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreRendering-pv5.1.so.1 #6 0x00002aaab938b3f4 in vtkPVDisplayInformation::CopyFromObject(vtkObject*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreRendering-pv5.1.so.1 #7 0x00002aaaadf6723b in vtkPVSessionCore::GatherInformationInternal(vtkPVInformation*, unsigned int) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVServerImplementationCore-pv5.1.so.1 #8 0x00002aaaadf673a2 in vtkPVSessionCore::GatherInformation(unsigned int, vtkPVInformation*, unsigned int) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVServerImplementationCore-pv5.1.so.1 #9 0x00002aaaaaf96855 in pqDefaultViewBehavior::onServerCreation(pqServer*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqApplicationComponents-pv5.1.so.1 #10 0x00002aaab64a19ba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libQtCore.so.4 #11 0x00002aaaabe60182 in pqServerManagerModel::serverAdded(pqServer*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqCore-pv5.1.so.1 #12 0x00002aaaabe2f78e in pqServerManagerModel::onConnectionCreated(long long) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqCore-pv5.1.so.1 #13 0x00002aaab64a19ba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libQtCore.so.4 #14 0x00002aaaabe61372 in pqServerManagerObserver::connectionCreated(long long) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqCore-pv5.1.so.1 #15 0x00002aaaabe614e9 in pqServerManagerObserver::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqCore-pv5.1.so.1 #16 0x00002aaab64a19ba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libQtCore.so.4 #17 0x00002aaaaeca8d07 in vtkQtConnection::EmitExecute(vtkObject*, unsigned long, void*, void*, vtkCommand*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkGUISupportQt-pv5.1.so.1 #18 0x00002aaaaec92bbc in vtkQtConnection::DoCallback(vtkObject*, unsigned long, void*, void*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkGUISupportQt-pv5.1.so.1 #19 0x00002aaab6fc8bc9 in vtkCallbackCommand::Execute(vtkObject*, unsigned long, void*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkCommonCore-pv5.1.so.1 #20 0x00002aaab709dc02 in vtkSubjectHelper::InvokeEvent(unsigned long, void*, vtkObject*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkCommonCore-pv5.1.so.1 #21 0x00002aaaae7bd28c in vtkProcessModule::RegisterSession(vtkSession*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreCore-pv5.1.so.1 #22 0x00002aaaadc7b873 in vtkSMSession::ConnectToSelf() () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVServerManagerCore-pv5.1.so.1 #23 0x00002aaaabdf8340 in pqObjectBuilder::createServer(pqServerResource const&) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqCore-pv5.1.so.1 #24 0x00002aaaaaf60592 in pqAlwaysConnectedBehavior::serverCheck() () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqApplicationComponents-pv5.1.so.1 #25 0x00002aaaaaf606c3 in pqAlwaysConnectedBehavior::pqAlwaysConnectedBehavior(QObject*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqApplicationComponents-pv5.1.so.1 #26 0x00002aaaaafc1870 in pqParaViewBehaviors::pqParaViewBehaviors(QMainWindow*, QObject*) () from /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkpqApplicationComponents-pv5.1.so.1 #27 0x000000000040a6af in ParaViewMainWindow::ParaViewMainWindow() () #28 0x0000000000408b83 in pqparaviewInitializer::Initialize(int, char**) () #29 0x000000000040853b in main () in particular it is failing on glBlendFuncSeparate where it is being called below in ParaView-v5.1.2-source\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx void vtkOpenGLRenderWindow::OpenGLInitState() { glDepthFunc( GL_LEQUAL ); glEnable( GL_DEPTH_TEST ); // initialize blending for transparency glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE,GL_ONE_MINUS_SRC_ALPHA); glEnable(GL_BLEND); it seems that glBlendFuncSeparate is a function that is being defined as NULL for some reason. This is occurring in 5.1.0 and 5.1.2 but it is defined properly and works correctly in 5.0.1 for some reason. Thanks, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph G. Hennessey Ph.D., Leidos Army Research Lab DOD Supercomputing Resource Center Aberdeen Proving Ground, MD 21005 Voice: 410-278-3619 Fax: 410-278-8799 Email: joseph.g.hennessey2.ctr at mail.mil -----Original Message----- From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Wednesday, August 24, 2016 10:24 AM To: Dave Pratt Cc: Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) ; ParaView ; Hennessey, Joseph G CTR USARMY RDECOM ARL (US) Subject: Re: [Non-DoD Source] Re: [Paraview] 5.1.2/OpenGL2 issue All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ---- Dave, Is it possible to do a debug build and see which call is failing? Utkarsh On Wed, Aug 24, 2016 at 10:20 AM, Dave Pratt wrote: > > Utkarsh, > We are running VirtualGL 2.3.3 and TurboVNC 1.2.1 on all systems and > Paraview is executed under a vglrun environment. Paraview 5.0.1 has been > running on this system for quite some time. Version 5.1.2 throws a > segfault at > > [VGL] WARNING: The OpenGL rendering context obtained on X display > [VGL] :0.0 is indirect, which may cause performance to suffer. > [VGL] If :0.0 is a local X display, then the framebuffer device > [VGL] permissions may be set incorrectly. > > Program received signal SIGSEGV, Segmentation fault. > 0x0000000000000000 in ?? () > (gdb) where > #0 0x0000000000000000 in ?? () > #1 0x00002aaaafd4db69 in vtkOpenGLRenderWindow::OpenGLInitState() () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5 > .1.so.1 > #2 0x00002aaaafd4e86c in > vtkOpenGLRenderWindow::CreateHardwareOffScreenWindow(int, int) () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5 > .1.so.1 > #3 0x00002aaaafdf1515 in > vtkXOpenGLRenderWindow::CreateOffScreenWindow(int, > int) () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5 > .1.so.1 > #4 0x00002aaaafd4d0e5 in vtkOpenGLRenderWindow::SupportsOpenGL() () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkRenderingOpenGL2-pv5 > .1.so.1 > #5 0x00002aaab938b3b8 in > vtkPVDisplayInformation::SupportsOpenGLLocally() > () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreRe > ndering-pv5.1.so.1 > #6 0x00002aaab938b3f4 in > vtkPVDisplayInformation::CopyFromObject(vtkObject*) () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVClientServerCoreRe > ndering-pv5.1.so.1 > #7 0x00002aaaadf6723b in > vtkPVSessionCore::GatherInformationInternal(vtkPVInformation*, > unsigned int) > () > from > /p/app/DAAC/paraview/5.1.2/lib/paraview-5.1/libvtkPVServerImplementati > onCore-pv5.1.so.1 > ... > > > > > > On 08/24/16 08:56 AM, Utkarsh Ayachit wrote: > > No, that's not it. Hopefully someone with more knowledge on this than > me can chime in at some point. I'm told that VirtualGL < 2.3.1 did not > forward the glXCreateContextARB calls we need for creating OpenGL 3.2 > context needed by ParaView (OpenGL2 backend). > > To update my know how about it in the mean time, I read up a bit on > TightVNC and VGL [1,2]. So, is your setup intended to use VirtualGL? > If so, shouldn't you be running `vglrun paraview`? I believe that's > the [VGL] warning messages are all about, aren't they? > > Utkarsh > > [1] Caution-http://www.virtualgl.org/vgldoc/2_1_1/#hd009 > [2] > Caution-https://hpc.nrel.gov/users/software/visualization-analytics/vi > rtualgl-turbovnc > > On Wed, Aug 24, 2016 at 9:36 AM, Angelini, Richard C (Rick) CIV USARMY > RDECOM ARL (US) wrote: > > Yes - this is an OpenGL2 build. > > Is this the information on TurboVNC that you?re looking for? > > server glx vendor string: VirtualGL > server glx version string: 1.4 > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > > > > -----Original Message----- > From: Utkarsh Ayachit > Date: Wednesday, August 24, 2016 at 8:57 AM > To: Rick Angelini > Cc: ParaView > Subject: [Non-DoD Source] Re: [Paraview] 5.1.2/OpenGL2 issue > > All active links contained in this email were disabled. Please verify > the identity of the sender, and confirm the authenticity of all links > contained within the message prior to copying and pasting the address > to a Web browser. > > > > > ---- > > Rick, > > I am assuming with is with VTK_RENDERING_BACKEND set to OpenGL2. > > Do you know what VirtualGL version is being used? > > On Tue, Aug 23, 2016 at 2:56 PM, Angelini, Richard C (Rick) CIV USARMY > RDECOM ARL (US) wrote: > > We are trying to build/run ParaView 5.1.2 on a particular HPC system with > graphics nodes via TurboVNC. ParaView 5.0.1 build/runs fine in this > configuration. ParaView 5.1.2 compiles fine (using identical build > configuration used to build 5.0.1) - however the GUI fails at execution. > I?m not sure how to debug it any further. It *appears* that 5.1.2 is > maybe doing some additional environment querying that might be causing > this failure? > > > When I try to run 5.1.2, I get this error: > > g01 > paraview > [VGL] WARNING: The OpenGL rendering context obtained on X display > [VGL] :0.0 is indirect, which may cause performance to suffer. > [VGL] If :0.0 is a local X display, then the framebuffer device > [VGL] permissions may be set incorrectly. > Segmentation fault > > > The particular message about indirect rendering ? if I run glxinfo, > direct rendering is set to YES. > > g01 > glxinfo > name of display: :5.0 > display: :5 screen: 0 > direct rendering: Yes > server glx vendor string: VirtualGL > server glx version string: 1.4 > [deleted stuff] > OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: Tesla > K40m/PCIe/SSE2 OpenGL core profile version string: 4.3.0 NVIDIA 340.93 > > > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > _______________________________________________ > Powered by Caution-Caution-www.kitware.com > > Visit other Kitware open-source projects at > Caution-Caution-http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > Caution-Caution-http://paraview.org/Wiki/ParaView > > Search the list archives at: > Caution-Caution-http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > Caution-Caution-http://public.kitware.com/mailman/listinfo/paraview > > > -- > > Dave Pratt > Sr. Software Developer > Secure Mission Solutions, Inc. > a PARSONS Company > > 612/708-2284 (Cell) > David.Pratt.ctr at dren.hpc.mil > depratt at securemissionsolutions.com > 1392073228 at jabber.dren.net > CLASSIFICATION: UNCLASSIFIED -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5615 bytes Desc: not available URL: From chrisneal at snumerics.com Wed Aug 24 12:50:41 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 24 Aug 2016 12:50:41 -0400 Subject: [Paraview] VTK XML Unstructured Grid format Message-ID: Hi All, Does anyone have a link to an example or documentation describing how one can interpret a *.vtu file that is XML ascii? I?m looking at a file that was written for a 2x2x1 group of cells i.e. 4 hexahedral cells, and the connectivity looks like: ??????? ????????? 0 6 8 2 1 7 ????????? 9 3 2 8 10 4 ????????? 3 9 11 5 6 12 ????????? 14 8 7 13 15 9 ????????? 8 14 16 10 9 15 ????????? 17 11 ??????? ??????? ????????? 8 16 24 32 ??????? ??????? ????????? 12 12 12 12 ??????? ????? I can?t seem to understand the connectivity info that is displayed. I would image there should be 8 entries per line for a hexahedral cell. Any material on this would be greatly appreciated. Thank you, Chris Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From tj.corona at kitware.com Wed Aug 24 12:52:44 2016 From: tj.corona at kitware.com (T.J. Corona) Date: Wed, 24 Aug 2016 12:52:44 -0400 Subject: [Paraview] VTK XML Unstructured Grid format In-Reply-To: References: Message-ID: <786A15AC-1189-4A0E-B3CB-56C3911028CE@kitware.com> Hi Chris, I don?t think the line breaks represent discrete cells. If you count them, there are 32 values for the connectivity (4 cells x 8 points). Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 > On Aug 24, 2016, at 12:50 PM, Christopher Neal wrote: > > Hi All, > > Does anyone have a link to an example or documentation describing how one can interpret a *.vtu file that is XML ascii? I?m looking at a file that was written for a 2x2x1 group of cells i.e. 4 hexahedral cells, and the connectivity looks like: > > > > 0 6 8 2 1 7 > 9 3 2 8 10 4 > 3 9 11 5 6 12 > 14 8 7 13 15 9 > 8 14 16 10 9 15 > 17 11 > > > 8 16 24 32 > > > 12 12 12 12 > > > > I can?t seem to understand the connectivity info that is displayed. I would image there should be 8 entries per line for a hexahedral cell. > > > Any material on this would be greatly appreciated. > > Thank you, > Chris Neal > _______________________________________________ > 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 info at seoaachen.de Wed Aug 24 13:14:20 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Wed, 24 Aug 2016 19:14:20 +0200 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> Message-ID: - apache 2.4.12 - modules are enabled - launcher.py launches without error, resrouces and apps section are in the config file as described in the documentation are all ports and hostnames right in my configuration files? apache is localhost and paraview also Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: > Hi Daniel, > > Which version of Apache are you running? > > Did you enabled all the modules? > > $ sudo a2enmod vhost_alias > $ sudo a2enmod proxy > $ sudo a2enmod proxy_http > $ sudo a2enmod proxy_wstunnel > $ sudo a2enmod rewrite > > For the launcher configuration, do you have a proper "resources" and > "apps" section? > > I'm guessing you are looking at the following documentation pages? > > - https://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html > - https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html > > Once you have the forwarding of the launcher request working, the next > part will be the forwarding of the ws. But we can talk about it when > and if you run into issue about it. > > Seb > > On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga > wrote: > > I tried to run the launcher as described in the docs. But I am > still getting errors when running > http://localhost/apps/Visualizer/ > > Firefox console: > > ------------------------------- > > 1. when setting sessionManagerURL in html set to > vtkWeb.properties.sessionManagerURL: > > POST > XHR > http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable 48ms] > Object { error: "The process did not properly start.?" } > Visualizer:42:13 > > > 2. when setting sessionManagerURL in html to > http://localhost:8080/paraview: > > Firefox can't establish a connection to the server at > ws://localhost/ws. autobahn.min.js:114:0 > null Visualizer:42:13 > No launcher found. Attempting to connect using the direct WS url. > vtkweb-all.js:4456:19 > Use of getPreventDefault() is deprecated. Use defaultPrevented > instead. jquery-1.8.3.min.js:2:0 > Cross-Origin Request Blocked: The Same Origin Policy disallows > reading the remote resource at http://localhost:8080/paraview. > (Reason: CORS header 'Access-Control-Allow-Origin' missing). > GET > http://localhost/ws [HTTP/1.1 404 Not Found 12ms] > null > > > So the launcher can't start the pv webserver? But running > http://localhost:8080/paraview/1 > in browser works but says: > {"error": "No session with id: 1"} > > > My apache config: > > ----------------------------- > > > ServerName localhost > ServerAdmin info at seoaachen.de > DocumentRoot > /home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www > ErrorLog "logs/pv-error_log" > CustomLog "logs/pv-access_log" common > ### The following commented lines could be useful when running > ### over https and wss: > # SSLEngine On > # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt > # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key > # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt > # > # > # SSLRequireSSL On > # SSLVerifyClient optional > # SSLVerifyDepth 1 > # SSLOptions +StdEnvVars +StrictRequire > # > # Have Apache pass these requests to the launcher :9000 > ProxyPass /paraview http://localhost:8080/paraview > # Turn on the rewrite engine > RewriteEngine On > # This is the path the mapping file Jetty creates > RewriteMap session-to-port txt:/home/daniel/proxy.txt > # This is the rewrite condition. Look for anything with a > sessionId= in the query part of the URL and capture the value to > use below. > RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] > # This does the rewrite using the mapping file and the sessionId > RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] > "/home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> > Options Indexes FollowSymLinks > Order allow,deny > Allow from all > AllowOverride None > Require all granted > > > > > > my launcher.json > > ---------------------------- > > "configuration": { > "host" : "localhost", > > "port" : 8080, > "endpoint": "paraview", > "content": "/.../www", > "proxy_file" : "/home/daniel/proxy.txt", > "sessionURL": "ws://localhost/proxy?sessionId=${id}", > > "timeout" : 25, > "log_dir" : "/home/daniel", > "upload_dir" : "/home/daniel", > "fields" : ["file", "host", "port", "updir"] > }, > > > What am I doing wrong? > > > Daniel Zuidinga > Dipl.-Ing. > > SEO Aachen > Passstr. 5 > 52070 Aachen > > Tel : 0241 / 450 912 67 > E-Mail:info at seoaachen.de > Web :http://www.seoaachen.de (nur zum Teil aktuell) > Xing :https://www.xing.com/profile/Daniel_Zuidinga > > > Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller > http://www.engineeringonline.de > > Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >> Hi Daniel, >> >> I want to use paraview web with SSL. As far as I understand I >> need apache as a proxy server for that? Or is it possible >> with pvpython? >> >> It might be possible with pvpython, but I've never done it, I've >> always used apache to rely on a single opened port and handle the >> encryption. >> >> I have my own launcher which opens pvpython with a different >> port for each user. Is this the right way? Will this work >> with ssl? >> >> If pvpython directly support the wss connection, you can be good. >> Usually the setup, that I do is that I have Apache serving only >> the port 443 (https) for both the static content and the (wss) >> websocket endpoint. And I use a mapping file between the >> Websocket endpoint that get returned by my launcher and the >> host/port I should connect to on the backend to establish the >> link between the client and the actual ParaViewWeb server instance. >> But that does not mean, that's the only way to do it and if you >> don't mind having several port open, I don't see why it could not >> work. >> >> Concerning: https://kitware.github.io/visualizer/docs/ >> The web >> visuailzer should work via npm installation? It does not work >> for me: >> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41 >> var pvPythonExecs = find(paraview).filter(function(file) { >> return file.match(/pvpython$/) || >> file.match(/pvpython.exe$/); }); >> ^ TypeError: find(...).filter is not a function at >> Object. >> (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >> at Module._compile (module.js:409:26) at >> Object.Module._extensions..js (module.js:416:10) at >> Module.load (module.js:343:32) at Function.Module._load >> (module.js:300:12) at Function.Module.runMain >> (module.js:441:10) at startup (node.js:139:18) at >> node.js:968:3 >> >> Well, I guess I haven't tried to run the new Visualizer server on >> a Windows machine. >> But with ParaView 5.2 (yet to be released), we should have a >> ParaViewWeb back in the binaries. So we should make sure our >> Visualizer command line tool work on that platform as well. >> Although, the command line is more for beginners than anything >> else as it only simplify the demo usage. In real word deployment, >> with a launcher, the true pvpython command line should be used >> instead. >> Here is an example of what you should see in a working environment: >> $ Visualizer -d ~/Downloads/ >> =============================================================================== >> | Execute: >> | $ /Applications/paraview.app/Contents/bin/pvpython >> | -dr >> | /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >> | --content >> | /Users/seb/Documents/code/Web2/visualizer/dist >> | --port >> | 8080 >> | --data >> | /Users/seb/Downloads/ >> =============================================================================== >> [...] >> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 Aachen >> Tel : 0241 / 450 912 67 E-Mail: info at seoaachen.de >> Web : http://www.seoaachen.de (nur >> zum Teil aktuell) Xing : >> https://www.xing.com/profile/Daniel_Zuidinga >> Bald online: >> Software Tools f?r Konstrukteure und Bauteilhersteller >> http://www.engineeringonline.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 >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Aug 24 13:18:28 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 24 Aug 2016 11:18:28 -0600 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> Message-ID: Actually the hostname might be an issue if you have several network card. Can you try to use the computer IP? Or '0.0.0.0' for the launcher if that work? Otherwise I did not spotted any issue in your config. On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga wrote: > - apache 2.4.12 > - modules are enabled > - launcher.py launches without error, resrouces and apps section are in > the config file as described in the documentation > are all ports and hostnames right in my configuration files? apache is > localhost and paraview also > > > Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: > > Hi Daniel, > > Which version of Apache are you running? > > Did you enabled all the modules? > > $ sudo a2enmod vhost_alias > $ sudo a2enmod proxy > $ sudo a2enmod proxy_http > $ sudo a2enmod proxy_wstunnel > $ sudo a2enmod rewrite > > > For the launcher configuration, do you have a proper "resources" and > "apps" section? > > I'm guessing you are looking at the following documentation pages? > > - https://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html > - https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html > > Once you have the forwarding of the launcher request working, the next > part will be the forwarding of the ws. But we can talk about it when and if > you run into issue about it. > > Seb > > On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga > wrote: > >> I tried to run the launcher as described in the docs. But I am still >> getting errors when running http://localhost/apps/Visualizer/ >> >> Firefox console: >> >> ------------------------------- >> >> 1. when setting sessionManagerURL in html set to >> vtkWeb.properties.sessionManagerURL: >> >> POST >> XHR >> http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable 48ms] >> Object { error: "The process did not properly start.?" } Visualizer:42:13 >> >> >> 2. when setting sessionManagerURL in html to >> http://localhost:8080/paraview: >> >> Firefox can't establish a connection to the server at ws://localhost/ws. >> autobahn.min.js:114:0 >> null Visualizer:42:13 >> No launcher found. Attempting to connect using the direct WS url. >> vtkweb-all.js:4456:19 >> Use of getPreventDefault() is deprecated. Use defaultPrevented instead. >> jquery-1.8.3.min.js:2:0 >> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >> the remote resource at http://localhost:8080/paraview. (Reason: CORS >> header 'Access-Control-Allow-Origin' missing). >> GET >> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >> null >> >> >> So the launcher can't start the pv webserver? But running >> http://localhost:8080/paraview/1 in browser works but says: {"error": >> "No session with id: 1"} >> >> >> My apache config: >> >> ----------------------------- >> >> >> ServerName localhost >> ServerAdmin info at seoaachen.de >> DocumentRoot /home/daniel/salome_meca/V2016 >> /prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >> ErrorLog "logs/pv-error_log" >> CustomLog "logs/pv-access_log" common >> ### The following commented lines could be useful when running >> ### over https and wss: >> # SSLEngine On >> # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt >> # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key >> # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt >> # >> # >> # SSLRequireSSL On >> # SSLVerifyClient optional >> # SSLVerifyDepth 1 >> # SSLOptions +StdEnvVars +StrictRequire >> # >> # Have Apache pass these requests to the launcher :9000 >> ProxyPass /paraview http://localhost:8080/paraview >> # Turn on the rewrite engine >> RewriteEngine On >> # This is the path the mapping file Jetty creates >> RewriteMap session-to-port txt:/home/daniel/proxy.txt >> # This is the rewrite condition. Look for anything with a sessionId= >> in the query part of the URL and capture the value to use below. >> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >> # This does the rewrite using the mapping file and the sessionId >> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] >> > 6/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >> Options Indexes FollowSymLinks >> Order allow,deny >> Allow from all >> AllowOverride None >> Require all granted >> >> >> >> >> >> my launcher.json >> >> ---------------------------- >> >> "configuration": { >> "host" : "localhost", >> >> "port" : 8080, >> "endpoint": "paraview", >> "content": "/.../www", >> "proxy_file" : "/home/daniel/proxy.txt", >> "sessionURL": "ws://localhost/proxy?sessionId=${id}", >> >> "timeout" : 25, >> "log_dir" : "/home/daniel", >> "upload_dir" : "/home/daniel", >> "fields" : ["file", "host", "port", "updir"] >> }, >> >> >> What am I doing wrong? >> >> >> Daniel Zuidinga >> Dipl.-Ing. >> >> SEO Aachen >> Passstr. 5 >> 52070 Aachen >> >> Tel : 0241 / 450 912 67 >> E-Mail: info at seoaachen.de >> Web : http://www.seoaachen.de (nur zum Teil aktuell) >> Xing : https://www.xing.com/profile/Daniel_Zuidinga >> >> Bald online: Software Tools f?r Konstrukteure und Bauteilherstellerhttp://www.engineeringonline.de >> >> Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >> >> Hi Daniel, >> >>> I want to use paraview web with SSL. As far as I understand I need >>> apache as a proxy server for that? Or is it possible with pvpython? >> >> It might be possible with pvpython, but I've never done it, I've always >> used apache to rely on a single opened port and handle the encryption. >> >> >>> I have my own launcher which opens pvpython with a different port for >>> each user. Is this the right way? Will this work with ssl? >> >> If pvpython directly support the wss connection, you can be good. Usually >> the setup, that I do is that I have Apache serving only the port 443 >> (https) for both the static content and the (wss) websocket endpoint. And I >> use a mapping file between the Websocket endpoint that get returned by my >> launcher and the host/port I should connect to on the backend to establish >> the link between the client and the actual ParaViewWeb server instance. >> But that does not mean, that's the only way to do it and if you don't >> mind having several port open, I don't see why it could not work. >> >> >>> Concerning: https://kitware.github.io/visualizer/docs/ The web >>> visuailzer should work via npm installation? It does not work for me: >>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualiz >>> er\bin\pvw-visualizer-cli.js:41 var pvPythonExecs = >>> find(paraview).filter(function(file) { return file.match(/pvpython$/) >>> || file.match(/pvpython.exe$/); }); ^ >>> TypeError: find(...).filter is not a function at Object. >>> (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visuali >>> zer\bin\pvw-visualizer-cli.js:41:36) at Module._compile >>> (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) >>> at Module.load (module.js:343:32) at Function.Module._load >>> (module.js:300:12) at Function.Module.runMain (module.js:441:10) at >>> startup (node.js:139:18) at node.js:968:3 >> >> Well, I guess I haven't tried to run the new Visualizer server on a >> Windows machine. >> But with ParaView 5.2 (yet to be released), we should have a ParaViewWeb >> back in the binaries. So we should make sure our Visualizer command line >> tool work on that platform as well. >> Although, the command line is more for beginners than anything else as it >> only simplify the demo usage. In real word deployment, with a launcher, the >> true pvpython command line should be used instead. >> Here is an example of what you should see in a working environment: >> $ Visualizer -d ~/Downloads/ >> ============================================================ >> =================== >> | Execute: >> | $ /Applications/paraview.app/Contents/bin/pvpython >> | -dr >> | /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >> | --content >> | /Users/seb/Documents/code/Web2/visualizer/dist >> | --port >> | 8080 >> | --data >> | /Users/seb/Downloads/ >> ============================================================ >> =================== >> [...] >> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 Aachen Tel : >> 0241 / 450 912 67 E-Mail: info at seoaachen.de Web : >> http://www.seoaachen.de (nur zum Teil aktuell) Xing : >> https://www.xing.com/profile/Daniel_Zuidinga Bald online: Software Tools >> f?r Konstrukteure und Bauteilhersteller http://www.engineeringonline.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/ParaV >> iew Search the list archives at: http://markmail.org/search/?q=ParaView >> Follow this link to subscribe/unsubscribe: http://public.kitware.com/mail >> man/listinfo/paraview >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkxls23 at gmail.com Wed Aug 24 13:56:38 2016 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Wed, 24 Aug 2016 20:56:38 +0300 Subject: [Paraview] VTK XML Unstructured Grid format In-Reply-To: References: Message-ID: Hi Chris, a unstructured grid (without polyhedral cells) is described by three arrays: 1) connectivity: An array storing the point ids of the unique points of all cells. 2) offsets: An array indicating the end position of each cell in the connectivity array. 3) types: An array storing the types of each cell. Regarding your example, from the "types" and "offsets" arrays you can deduct that you have 4 cells of type "12", i.e. hexahedrons (see [1]). Now, the offsets array tells you that the first 8 numbers in the connectivity array are the point ids for the first cell, second number tells you that the point ids from 9 to 16 are for the second cell and so on. The line breaks in the connectivity array have no meaning. HTH, Armin [1] https://gitlab.kitware.com/vtk/vtk/blob/master/Common/DataModel/vtkCellType.h On 08/24/2016 07:50 PM, Christopher Neal wrote: > Hi All, > > > > Does anyone have a link to an example or documentation describing how > one can interpret a *.vtu file that is XML ascii? I?m looking at a file > that was written for a 2x2x1 group of cells i.e. 4 hexahedral cells, and > the connectivity looks like: > > > > > > RangeMin="0" RangeMax="17"> > > 0 6 8 2 1 7 > > 9 3 2 8 10 4 > > 3 9 11 5 6 12 > > 14 8 7 13 15 9 > > 8 14 16 10 9 15 > > 17 11 > > > > RangeMin="8" RangeMax="32"> > > 8 16 24 32 > > > > RangeMin="12" RangeMax="12"> > > 12 12 12 12 > > > > > > > I can?t seem to understand the connectivity info that is displayed. I > would image there should be 8 entries per line for a hexahedral cell. > > > Any material on this would be greatly appreciated. > > Thank you, > > Chris Neal > > > > _______________________________________________ > 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 chrisneal at snumerics.com Wed Aug 24 13:58:05 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 24 Aug 2016 13:58:05 -0400 Subject: [Paraview] VTK XML Unstructured Grid format In-Reply-To: <786A15AC-1189-4A0E-B3CB-56C3911028CE@kitware.com> References: <786A15AC-1189-4A0E-B3CB-56C3911028CE@kitware.com> Message-ID: Thank you T.J.? I think I see now how the information is organized via those ?offsets?. Do you know if there is a function call that can tell it to write the actual connectivity out in full?? If it?s really obscure or would be difficult to find out, then don?t worry about it. -Chris From: "T.J. Corona" Date: Wednesday, August 24, 2016 at 12:52 PM To: Christopher Neal Cc: Benson Muite via ParaView Subject: Re: [Paraview] VTK XML Unstructured Grid format Hi Chris, I don?t think the line breaks represent discrete cells. If you count them, there are 32 values for the connectivity (4 cells x 8 points). Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 On Aug 24, 2016, at 12:50 PM, Christopher Neal wrote: Hi All, Does anyone have a link to an example or documentation describing how one can interpret a *.vtu file that is XML ascii? I?m looking at a file that was written for a 2x2x1 group of cells i.e. 4 hexahedral cells, and the connectivity looks like: 0 6 8 2 1 7 9 3 2 8 10 4 3 9 11 5 6 12 14 8 7 13 15 9 8 14 16 10 9 15 17 11 8 16 24 32 12 12 12 12 I can?t seem to understand the connectivity info that is displayed. I would image there should be 8 entries per line for a hexahedral cell. Any material on this would be greatly appreciated. Thank you, Chris Neal _______________________________________________ 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 tj.corona at kitware.com Wed Aug 24 14:05:49 2016 From: tj.corona at kitware.com (T.J. Corona) Date: Wed, 24 Aug 2016 14:05:49 -0400 Subject: [Paraview] VTK XML Unstructured Grid format In-Reply-To: References: <786A15AC-1189-4A0E-B3CB-56C3911028CE@kitware.com> Message-ID: <70CE407A-EB93-4962-AB57-B1F3BB260EE9@kitware.com> Hi Chris, I?m not sure I understand. As Armin mentioned: > a unstructured grid (without polyhedral cells) is described by three arrays: > 1) connectivity: An array storing the point ids of the unique points of > all cells. > 2) offsets: An array indicating the end position of each cell in the > connectivity array. > 3) types: An array storing the types of each cell. So, what you are seeing in the .vtu file is the full connectivity. If you would like the cell information in a different format, It may be best to use a vtkCellIterator and run over the vtkUnstructuredData with it. The use of vtkCellIterator is well documented in vtkCellIterator.h, though for some reason the Doxygen version of it appears incomplete. Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 > On Aug 24, 2016, at 1:58 PM, Christopher Neal wrote: > > Thank you T.J. > > I think I see now how the information is organized via those ?offsets?. Do you know if there is a function call that can tell it to write the actual connectivity out in full? If it?s really obscure or would be difficult to find out, then don?t worry about it. > > -Chris > > From: "T.J. Corona" > Date: Wednesday, August 24, 2016 at 12:52 PM > To: Christopher Neal > Cc: Benson Muite via ParaView > Subject: Re: [Paraview] VTK XML Unstructured Grid format > > Hi Chris, > > I don?t think the line breaks represent discrete cells. If you count them, there are 32 values for the connectivity (4 cells x 8 points). > > Sincerely, > T.J. > > Thomas J. Corona, Ph.D. > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4443 > >> On Aug 24, 2016, at 12:50 PM, Christopher Neal > wrote: >> >> Hi All, >> >> Does anyone have a link to an example or documentation describing how one can interpret a *.vtu file that is XML ascii? I?m looking at a file that was written for a 2x2x1 group of cells i.e. 4 hexahedral cells, and the connectivity looks like: >> >> >> >> 0 6 8 2 1 7 >> 9 3 2 8 10 4 >> 3 9 11 5 6 12 >> 14 8 7 13 15 9 >> 8 14 16 10 9 15 >> 17 11 >> >> >> 8 16 24 32 >> >> >> 12 12 12 12 >> >> >> >> I can?t seem to understand the connectivity info that is displayed. I would image there should be 8 entries per line for a hexahedral cell. >> >> >> Any material on this would be greatly appreciated. >> >> Thank you, >> Chris Neal >> _______________________________________________ >> 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 chrisneal at snumerics.com Wed Aug 24 14:18:06 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 24 Aug 2016 14:18:06 -0400 Subject: [Paraview] VTK XML Unstructured Grid format In-Reply-To: <70CE407A-EB93-4962-AB57-B1F3BB260EE9@kitware.com> References: <786A15AC-1189-4A0E-B3CB-56C3911028CE@kitware.com> <70CE407A-EB93-4962-AB57-B1F3BB260EE9@kitware.com> Message-ID: Thanks T.J. I was just curious if the output format supported different ways of expressing the connectivity, kind of like there are flags for binary and ascii. I didn?t know if the xml *.vtu supported a classic vtk numbering. From what Armin said it looks like the offset format is the accepted and only form of the *.vtu file. -Chris From: "T.J. Corona" Date: Wednesday, August 24, 2016 at 2:05 PM To: Christopher Neal Cc: Benson Muite via ParaView Subject: Re: [Paraview] VTK XML Unstructured Grid format Hi Chris, I?m not sure I understand. As Armin mentioned: a unstructured grid (without polyhedral cells) is described by three arrays: 1) connectivity: An array storing the point ids of the unique points of all cells. 2) offsets: An array indicating the end position of each cell in the connectivity array. 3) types: An array storing the types of each cell. So, what you are seeing in the .vtu file is the full connectivity. If you would like the cell information in a different format, It may be best to use a vtkCellIterator and run over the vtkUnstructuredData with it. The use of vtkCellIterator is well documented in vtkCellIterator.h, though for some reason the Doxygen version of it appears incomplete. Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 On Aug 24, 2016, at 1:58 PM, Christopher Neal wrote: Thank you T.J. I think I see now how the information is organized via those ?offsets?. Do you know if there is a function call that can tell it to write the actual connectivity out in full? If it?s really obscure or would be difficult to find out, then don?t worry about it. -Chris From: "T.J. Corona" Date: Wednesday, August 24, 2016 at 12:52 PM To: Christopher Neal Cc: Benson Muite via ParaView Subject: Re: [Paraview] VTK XML Unstructured Grid format Hi Chris, I don?t think the line breaks represent discrete cells. If you count them, there are 32 values for the connectivity (4 cells x 8 points). Sincerely, T.J. Thomas J. Corona, Ph.D. Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4443 On Aug 24, 2016, at 12:50 PM, Christopher Neal wrote: Hi All, Does anyone have a link to an example or documentation describing how one can interpret a *.vtu file that is XML ascii? I?m looking at a file that was written for a 2x2x1 group of cells i.e. 4 hexahedral cells, and the connectivity looks like: 0 6 8 2 1 7 9 3 2 8 10 4 3 9 11 5 6 12 14 8 7 13 15 9 8 14 16 10 9 15 17 11 8 16 24 32 12 12 12 12 I can?t seem to understand the connectivity info that is displayed. I would image there should be 8 entries per line for a hexahedral cell. Any material on this would be greatly appreciated. Thank you, Chris Neal _______________________________________________ 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 chrisneal at snumerics.com Wed Aug 24 14:29:06 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 24 Aug 2016 14:29:06 -0400 Subject: [Paraview] General Catalyst questions Message-ID: <9F877232-5513-4773-A95B-C1AA11187D37@snumerics.com> Hi Catalyst developers, Our team has recently succeeded in integrating Catalyst into our code (which would not have been possible without all of your help). Now that the details of getting our data into the VTK format via the adaptor are settled, we are running into new questions about how to effectively utilize Catalyst within our code. One question that I have about Catalyst is: Say my code supports 100 optional variables, and I don?t really want to load every single one of those variables into memory if the user is just asking for contours of pressure and velocity. Is there a way to know what variables are in play within the Catalyst Python scripts that were passed to the code? In other words, is there a way to query what variables will be requested by a set of Catalyst scripts before we take our first timestep so that we can set up some rules for loading only the requested variables into the VTK format? I also noticed that the Catalyst export state option in ParaView 5.1 appears to be somewhat limited in that it requires me to export either 1.) A live image, 2.) An animation, or 3.) A static screenshot of the current display.? What if I created a pipeline that has a final result of a histogram? Is exporting that histogram data not supported currently in the Catalyst export state option? What about just saving the data to *vtu format without exporting any images? I could put a script together to do this, but I?m thinking about what a user would do if they weren?t well versed in the ParaView python scripting language. Thank you, Chris Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Wed Aug 24 15:41:20 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 24 Aug 2016 15:41:20 -0400 Subject: [Paraview] General Catalyst questions In-Reply-To: <9F877232-5513-4773-A95B-C1AA11187D37@snumerics.com> References: <9F877232-5513-4773-A95B-C1AA11187D37@snumerics.com> Message-ID: Look at the discussion at http://markmail.org/search/?q=paraview+luigi+calori#query:paraview%20luigi%20calori+page:1+mid:i5dxviq6va7simyi+state:results for the current state of the art for not exporting all variables from the adaptor. Catalyst can output data extracts. It's in the Writers menu once you load the Catalyst Script Generator plugin. On Wed, Aug 24, 2016 at 2:29 PM, Christopher Neal wrote: > Hi Catalyst developers, > > > Our team has recently succeeded in integrating Catalyst into our code > (which would not have been possible without all of your help). Now that the > details of getting our data into the VTK format via the adaptor are > settled, we are running into new questions about how to effectively utilize > Catalyst within our code. > > One question that I have about Catalyst is: Say my code supports 100 > optional variables, and I don?t really want to load every single one of > those variables into memory if the user is just asking for contours of > pressure and velocity. Is there a way to know what variables are in play > within the Catalyst Python scripts that were passed to the code? In other > words, is there a way to query what variables will be requested by a set of > Catalyst scripts before we take our first timestep so that we can set up > some rules for loading only the requested variables into the VTK format? > > I also noticed that the Catalyst export state option in ParaView 5.1 > appears to be somewhat limited in that it requires me to export either 1.) > A live image, 2.) An animation, or 3.) A static screenshot of the current > display. What if I created a pipeline that has a final result of a > histogram? Is exporting that histogram data not supported currently in the > Catalyst export state option? What about just saving the data to *vtu > format without exporting any images? I could put a script together to do > this, but I?m thinking about what a user would do if they weren?t well > versed in the ParaView python scripting language. > > > Thank you, > Chris Neal > > _______________________________________________ > 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 michalwozniak at live.ca Wed Aug 24 15:44:30 2016 From: michalwozniak at live.ca (michal wozniak) Date: Wed, 24 Aug 2016 15:44:30 -0400 Subject: [Paraview] 3D Widgets Message-ID: Hi, I am trying to add 3D widgets to my custom filters. I am trying to find some documentation. For eg, let's say I want to add a BoxWidget that will just surround my input data. How do I achieve this? I am having trouble understanding the process of linking the widget to the filter inside the XML. I looked here http://www.paraview.org/Wiki/ParaView/Properties_Panel and ParaViewCore\ServerManager\SMApplication\Resources\3d_widgets.xml In 3d_widgets.XML, I see all the possible widgets available to ParaView. What the XML syntax to access them. I was looking at the clip filter which is using the Box and a plane ( for the plane clip) and saw that this part of XML is "triggering the process of rendering the BOX with the plane" How do I customize this code, to add a different kind of 3D widgets ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at seoaachen.de Wed Aug 24 15:51:39 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Wed, 24 Aug 2016 21:51:39 +0200 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> Message-ID: I had wrong paths in my launcher.config properties. Now the request gets through and the vtk window opens. But I have still the ws error. Firefox console: Firefox can't establish a connection to the server at ws://localhost/ws. autobahn.min.js:114:0 null Visualizer:42:13 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery-1.8.3.min.js:2:0 No launcher found. Attempting to connect using the direct WS url. vtkweb-all.js:4456:19 --- vtk window opens, then: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/paraview. (Reason: CORS header 'Access-Control-Allow-Origin' missing). GET http://localhost/ws [HTTP/1.1 404 Not Found 2ms] null Visualizer:42:13 Firefox can't establish a connection to the server at ws://localhost/ws. Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: > Actually the hostname might be an issue if you have several network card. > Can you try to use the computer IP? Or '0.0.0.0' for the launcher if > that work? > > Otherwise I did not spotted any issue in your config. > > On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga > wrote: > > - apache 2.4.12 > - modules are enabled > - launcher.py launches without error, resrouces and apps section > are in the config file as described in the documentation > are all ports and hostnames right in my configuration files? > apache is localhost and paraview also > > > Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: >> Hi Daniel, >> >> Which version of Apache are you running? >> >> Did you enabled all the modules? >> >> $ sudo a2enmod vhost_alias >> $ sudo a2enmod proxy >> $ sudo a2enmod proxy_http >> $ sudo a2enmod proxy_wstunnel >> $ sudo a2enmod rewrite >> >> For the launcher configuration, do you have a proper >> "resources" and "apps" section? >> >> I'm guessing you are looking at the following documentation pages? >> >> - >> https://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html >> >> - >> https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html >> >> >> Once you have the forwarding of the launcher request working, the >> next part will be the forwarding of the ws. But we can talk about >> it when and if you run into issue about it. >> >> Seb >> >> On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga >> > wrote: >> >> I tried to run the launcher as described in the docs. But I >> am still getting errors when running >> http://localhost/apps/Visualizer/ >> >> >> Firefox console: >> >> ------------------------------- >> >> 1. when setting sessionManagerURL in html set to >> vtkWeb.properties.sessionManagerURL: >> >> POST >> XHR >> http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable >> 48ms] >> Object { error: "The process did not properly start.?" } >> Visualizer:42:13 >> >> >> 2. when setting sessionManagerURL in html to >> http://localhost:8080/paraview: >> >> Firefox can't establish a connection to the server at >> ws://localhost/ws. autobahn.min.js:114:0 >> null Visualizer:42:13 >> No launcher found. Attempting to connect using the direct WS >> url. vtkweb-all.js:4456:19 >> Use of getPreventDefault() is deprecated. Use >> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >> Cross-Origin Request Blocked: The Same Origin Policy >> disallows reading the remote resource at >> http://localhost:8080/paraview. (Reason: CORS header >> 'Access-Control-Allow-Origin' missing). >> GET >> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >> null >> >> >> So the launcher can't start the pv webserver? But running >> http://localhost:8080/paraview/1 >> in browser works but says: >> {"error": "No session with id: 1"} >> >> >> My apache config: >> >> ----------------------------- >> >> >> ServerName localhost >> ServerAdmin info at seoaachen.de >> DocumentRoot >> /home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >> ErrorLog "logs/pv-error_log" >> CustomLog "logs/pv-access_log" common >> ### The following commented lines could be useful when >> running >> ### over https and wss: >> # SSLEngine On >> # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt >> # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key >> # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt >> # >> # >> # SSLRequireSSL On >> # SSLVerifyClient optional >> # SSLVerifyDepth 1 >> # SSLOptions +StdEnvVars +StrictRequire >> # >> # Have Apache pass these requests to the launcher :9000 >> ProxyPass /paraview http://localhost:8080/paraview >> # Turn on the rewrite engine >> RewriteEngine On >> # This is the path the mapping file Jetty creates >> RewriteMap session-to-port txt:/home/daniel/proxy.txt >> # This is the rewrite condition. Look for anything with a >> sessionId= in the query part of the URL and capture the value >> to use below. >> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >> # This does the rewrite using the mapping file and the >> sessionId >> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] >> > "/home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >> Options Indexes FollowSymLinks >> Order allow,deny >> Allow from all >> AllowOverride None >> Require all granted >> >> >> >> >> >> my launcher.json >> >> ---------------------------- >> >> "configuration": { >> "host" : "localhost", >> >> "port" : 8080, >> "endpoint": "paraview", >> "content": "/.../www", >> "proxy_file" : "/home/daniel/proxy.txt", >> "sessionURL": >> "ws://localhost/proxy?sessionId=${id}", >> >> "timeout" : 25, >> "log_dir" : "/home/daniel", >> "upload_dir" : "/home/daniel", >> "fields" : ["file", "host", "port", "updir"] >> }, >> >> >> What am I doing wrong? >> >> >> Daniel Zuidinga >> Dipl.-Ing. >> >> SEO Aachen >> Passstr. 5 >> 52070 Aachen >> >> Tel : 0241 / 450 912 67 >> E-Mail:info at seoaachen.de >> Web :http://www.seoaachen.de (nur zum Teil aktuell) >> Xing :https://www.xing.com/profile/Daniel_Zuidinga >> >> >> Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller >> http://www.engineeringonline.de >> >> Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >>> Hi Daniel, >>> >>> I want to use paraview web with SSL. As far as I >>> understand I need apache as a proxy server for that? Or >>> is it possible with pvpython? >>> >>> It might be possible with pvpython, but I've never done it, >>> I've always used apache to rely on a single opened port and >>> handle the encryption. >>> >>> I have my own launcher which opens pvpython with a >>> different port for each user. Is this the right way? >>> Will this work with ssl? >>> >>> If pvpython directly support the wss connection, you can be >>> good. Usually the setup, that I do is that I have Apache >>> serving only the port 443 (https) for both the static >>> content and the (wss) websocket endpoint. And I use a >>> mapping file between the Websocket endpoint that get >>> returned by my launcher and the host/port I should connect >>> to on the backend to establish the link between the client >>> and the actual ParaViewWeb server instance. >>> But that does not mean, that's the only way to do it and if >>> you don't mind having several port open, I don't see why it >>> could not work. >>> >>> Concerning: https://kitware.github.io/visualizer/docs/ >>> The web >>> visuailzer should work via npm installation? It does not >>> work for me: >>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41 >>> var pvPythonExecs = find(paraview).filter(function(file) >>> { return file.match(/pvpython$/) || >>> file.match(/pvpython.exe$/); }); >>> ^ TypeError: find(...).filter is not a >>> function at Object. >>> (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >>> at Module._compile (module.js:409:26) at >>> Object.Module._extensions..js (module.js:416:10) at >>> Module.load (module.js:343:32) at >>> Function.Module._load (module.js:300:12) at >>> Function.Module.runMain (module.js:441:10) at >>> startup (node.js:139:18) at node.js:968:3 >>> >>> Well, I guess I haven't tried to run the new Visualizer >>> server on a Windows machine. >>> But with ParaView 5.2 (yet to be released), we should have a >>> ParaViewWeb back in the binaries. So we should make sure our >>> Visualizer command line tool work on that platform as well. >>> Although, the command line is more for beginners than >>> anything else as it only simplify the demo usage. In real >>> word deployment, with a launcher, the true pvpython command >>> line should be used instead. >>> Here is an example of what you should see in a working >>> environment: >>> $ Visualizer -d ~/Downloads/ >>> =============================================================================== >>> | Execute: >>> | $ /Applications/paraview.app/Contents/bin/pvpython >>> | -dr >>> | >>> /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >>> | --content >>> | /Users/seb/Documents/code/Web2/visualizer/dist >>> | --port >>> | 8080 >>> | --data >>> | /Users/seb/Downloads/ >>> =============================================================================== >>> [...] >>> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 >>> Aachen Tel : 0241 / 450 912 67 E-Mail: info at seoaachen.de >>> Web : http://www.seoaachen.de >>> (nur zum Teil aktuell) Xing : >>> https://www.xing.com/profile/Daniel_Zuidinga >>> Bald online: >>> Software Tools f?r Konstrukteure und Bauteilhersteller >>> http://www.engineeringonline.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 >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at seoaachen.de Wed Aug 24 15:57:30 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Wed, 24 Aug 2016 21:57:30 +0200 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> Message-ID: I changed sessionManagerURL in my html file to vtkWeb.properties.sessionManagerURL instead of http://localhost:8080/paraview. Now I get in firefox: Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery-1.8.3.min.js:2:0 GET http://localhost/proxy [HTTP/1.1 400 Bad Request 16ms] null Visualizer:42:13 Firefox can't establish a connection to the server at ws://localhost/proxy?sessionId=7d12745c-6a34-11e6-a5dc-0016d4e2bc28. autobahn.min.js:114:0 GET http://localhost/proxy [HTTP/1.1 400 Bad Request 2ms] null ...I think one more thing is needed. Am 24.08.2016 um 21:51 schrieb Daniel Zuidinga: > I had wrong paths in my launcher.config properties. > Now the request gets through and the vtk window opens. But I have > still the ws error. Firefox console: > > Firefox can't establish a connection to the server at > ws://localhost/ws. autobahn.min.js:114:0 > null Visualizer:42:13 > Use of getPreventDefault() is deprecated. Use defaultPrevented > instead. jquery-1.8.3.min.js:2:0 > No launcher found. Attempting to connect using the direct WS url. > vtkweb-all.js:4456:19 > > --- vtk window opens, then: > > Cross-Origin Request Blocked: The Same Origin Policy disallows reading > the remote resource at http://localhost:8080/paraview. (Reason: CORS > header 'Access-Control-Allow-Origin' missing). > GET > http://localhost/ws [HTTP/1.1 404 Not Found 2ms] > null Visualizer:42:13 > Firefox can't establish a connection to the server at ws://localhost/ws. > > > Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: >> Actually the hostname might be an issue if you have several network >> card. >> Can you try to use the computer IP? Or '0.0.0.0' for the launcher if >> that work? >> >> Otherwise I did not spotted any issue in your config. >> >> On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga > > wrote: >> >> - apache 2.4.12 >> - modules are enabled >> - launcher.py launches without error, resrouces and apps section >> are in the config file as described in the documentation >> are all ports and hostnames right in my configuration files? >> apache is localhost and paraview also >> >> >> Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: >>> Hi Daniel, >>> >>> Which version of Apache are you running? >>> >>> Did you enabled all the modules? >>> >>> $ sudo a2enmod vhost_alias >>> $ sudo a2enmod proxy >>> $ sudo a2enmod proxy_http >>> $ sudo a2enmod proxy_wstunnel >>> $ sudo a2enmod rewrite >>> >>> For the launcher configuration, do you have a proper >>> "resources" and "apps" section? >>> >>> I'm guessing you are looking at the following documentation pages? >>> >>> - >>> https://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html >>> >>> - >>> https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html >>> >>> >>> Once you have the forwarding of the launcher request working, >>> the next part will be the forwarding of the ws. But we can talk >>> about it when and if you run into issue about it. >>> >>> Seb >>> >>> On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga >>> > wrote: >>> >>> I tried to run the launcher as described in the docs. But I >>> am still getting errors when running >>> http://localhost/apps/Visualizer/ >>> >>> >>> Firefox console: >>> >>> ------------------------------- >>> >>> 1. when setting sessionManagerURL in html set to >>> vtkWeb.properties.sessionManagerURL: >>> >>> POST >>> XHR >>> http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable >>> 48ms] >>> Object { error: "The process did not properly start.?" } >>> Visualizer:42:13 >>> >>> >>> 2. when setting sessionManagerURL in html to >>> http://localhost:8080/paraview: >>> >>> Firefox can't establish a connection to the server at >>> ws://localhost/ws. autobahn.min.js:114:0 >>> null Visualizer:42:13 >>> No launcher found. Attempting to connect using the direct >>> WS url. vtkweb-all.js:4456:19 >>> Use of getPreventDefault() is deprecated. Use >>> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >>> Cross-Origin Request Blocked: The Same Origin Policy >>> disallows reading the remote resource at >>> http://localhost:8080/paraview. (Reason: CORS header >>> 'Access-Control-Allow-Origin' missing). >>> GET >>> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >>> null >>> >>> >>> So the launcher can't start the pv webserver? But running >>> http://localhost:8080/paraview/1 >>> in browser works but >>> says: {"error": "No session with id: 1"} >>> >>> >>> My apache config: >>> >>> ----------------------------- >>> >>> >>> ServerName localhost >>> ServerAdmin info at seoaachen.de >>> DocumentRoot >>> /home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >>> ErrorLog "logs/pv-error_log" >>> CustomLog "logs/pv-access_log" common >>> ### The following commented lines could be useful when >>> running >>> ### over https and wss: >>> # SSLEngine On >>> # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt >>> # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key >>> # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt >>> # >>> # >>> # SSLRequireSSL On >>> # SSLVerifyClient optional >>> # SSLVerifyDepth 1 >>> # SSLOptions +StdEnvVars +StrictRequire >>> # >>> # Have Apache pass these requests to the launcher :9000 >>> ProxyPass /paraview http://localhost:8080/paraview >>> # Turn on the rewrite engine >>> RewriteEngine On >>> # This is the path the mapping file Jetty creates >>> RewriteMap session-to-port txt:/home/daniel/proxy.txt >>> # This is the rewrite condition. Look for anything with >>> a sessionId= in the query part of the URL and capture the >>> value to use below. >>> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >>> # This does the rewrite using the mapping file and the >>> sessionId >>> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] >>> >> "/home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >>> Options Indexes FollowSymLinks >>> Order allow,deny >>> Allow from all >>> AllowOverride None >>> Require all granted >>> >>> >>> >>> >>> >>> my launcher.json >>> >>> ---------------------------- >>> >>> "configuration": { >>> "host" : "localhost", >>> >>> "port" : 8080, >>> "endpoint": "paraview", >>> "content": "/.../www", >>> "proxy_file" : "/home/daniel/proxy.txt", >>> "sessionURL": >>> "ws://localhost/proxy?sessionId=${id}", >>> >>> "timeout" : 25, >>> "log_dir" : "/home/daniel", >>> "upload_dir" : "/home/daniel", >>> "fields" : ["file", "host", "port", "updir"] >>> }, >>> >>> >>> What am I doing wrong? >>> >>> >>> Daniel Zuidinga >>> Dipl.-Ing. >>> >>> SEO Aachen >>> Passstr. 5 >>> 52070 Aachen >>> >>> Tel : 0241 / 450 912 67 >>> E-Mail:info at seoaachen.de >>> Web :http://www.seoaachen.de (nur zum Teil aktuell) >>> Xing :https://www.xing.com/profile/Daniel_Zuidinga >>> >>> >>> Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller >>> http://www.engineeringonline.de >>> >>> >>> Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >>>> Hi Daniel, >>>> >>>> I want to use paraview web with SSL. As far as I >>>> understand I need apache as a proxy server for that? Or >>>> is it possible with pvpython? >>>> >>>> It might be possible with pvpython, but I've never done it, >>>> I've always used apache to rely on a single opened port and >>>> handle the encryption. >>>> >>>> I have my own launcher which opens pvpython with a >>>> different port for each user. Is this the right way? >>>> Will this work with ssl? >>>> >>>> If pvpython directly support the wss connection, you can be >>>> good. Usually the setup, that I do is that I have Apache >>>> serving only the port 443 (https) for both the static >>>> content and the (wss) websocket endpoint. And I use a >>>> mapping file between the Websocket endpoint that get >>>> returned by my launcher and the host/port I should connect >>>> to on the backend to establish the link between the client >>>> and the actual ParaViewWeb server instance. >>>> But that does not mean, that's the only way to do it and if >>>> you don't mind having several port open, I don't see why it >>>> could not work. >>>> >>>> Concerning: https://kitware.github.io/visualizer/docs/ >>>> The web >>>> visuailzer should work via npm installation? It does >>>> not work for me: >>>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41 >>>> var pvPythonExecs = >>>> find(paraview).filter(function(file) { return >>>> file.match(/pvpython$/) || file.match(/pvpython.exe$/); >>>> }); ^ TypeError: >>>> find(...).filter is not a function at >>>> Object. >>>> (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >>>> at Module._compile (module.js:409:26) at >>>> Object.Module._extensions..js (module.js:416:10) at >>>> Module.load (module.js:343:32) at >>>> Function.Module._load (module.js:300:12) at >>>> Function.Module.runMain (module.js:441:10) at >>>> startup (node.js:139:18) at node.js:968:3 >>>> >>>> Well, I guess I haven't tried to run the new Visualizer >>>> server on a Windows machine. >>>> But with ParaView 5.2 (yet to be released), we should have >>>> a ParaViewWeb back in the binaries. So we should make sure >>>> our Visualizer command line tool work on that platform as well. >>>> Although, the command line is more for beginners than >>>> anything else as it only simplify the demo usage. In real >>>> word deployment, with a launcher, the true pvpython command >>>> line should be used instead. >>>> Here is an example of what you should see in a working >>>> environment: >>>> $ Visualizer -d ~/Downloads/ >>>> =============================================================================== >>>> | Execute: >>>> | $ /Applications/paraview.app/Contents/bin/pvpython >>>> | -dr >>>> | >>>> /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >>>> | --content >>>> | /Users/seb/Documents/code/Web2/visualizer/dist >>>> | --port >>>> | 8080 >>>> | --data >>>> | /Users/seb/Downloads/ >>>> =============================================================================== >>>> [...] >>>> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 >>>> Aachen Tel : 0241 / 450 912 67 E-Mail: info at seoaachen.de >>>> Web : http://www.seoaachen.de >>>> (nur zum Teil aktuell) Xing : >>>> https://www.xing.com/profile/Daniel_Zuidinga >>>> Bald online: >>>> Software Tools f?r Konstrukteure und Bauteilhersteller >>>> http://www.engineeringonline.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 >>>> >>> > _______________________________________________ > 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 Aug 24 16:00:49 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 24 Aug 2016 16:00:49 -0400 Subject: [Paraview] 3D Widgets In-Reply-To: References: Message-ID: I think this is what you want is similar to "SPHVolumeInterpolator". See : 1. https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Points/points.xml#L671-699 2. https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Points/points.xml#L75-128 On Wed, Aug 24, 2016 at 3:44 PM, michal wozniak wrote: > Hi, > > I am trying to add 3D widgets to my custom filters. I am trying to find some > documentation. For eg, let's say I want to add a BoxWidget that will just > surround my input data. How do I achieve this? > I am having trouble understanding the process of linking the widget to the > filter inside the XML. > > I looked here > http://www.paraview.org/Wiki/ParaView/Properties_Panel and > ParaViewCore\ServerManager\SMApplication\Resources\3d_widgets.xml > > In 3d_widgets.XML, I see all the possible widgets available to ParaView. > What the XML syntax to access them. > > I was looking at the clip filter which is using the Box and a plane ( for > the plane clip) and saw that this part of XML is "triggering the process of > rendering the BOX with the plane" > > label="Clip Type" > name="ClipFunction"> > > > > > name="Plane" /> > name="Box" /> > name="Sphere" /> > name="Cylinder" /> > name="Scalar" /> > > > How do I customize this code, to add a different kind of 3D widgets ? > > > > _______________________________________________ > 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 sebastien.jourdain at kitware.com Wed Aug 24 16:52:05 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 24 Aug 2016 14:52:05 -0600 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> Message-ID: Are you sure apache has the right to read the /home/daniel/proxy.txt while the launcher is writting it? Do you see some content that match your sessionId within that file? On Wed, Aug 24, 2016 at 1:57 PM, Daniel Zuidinga wrote: > > I changed sessionManagerURL in my html file to vtkWeb.properties.sessionManagerURL > instead of http://localhost:8080/paraview. Now I get in firefox: > > Use of getPreventDefault() is deprecated. Use defaultPrevented instead. > jquery-1.8.3.min.js:2:0 > GET > http://localhost/proxy [HTTP/1.1 400 Bad Request 16ms] > null Visualizer:42:13 > Firefox can't establish a connection to the server at > ws://localhost/proxy?sessionId=7d12745c-6a34-11e6-a5dc-0016d4e2bc28. > autobahn.min.js:114:0 > GET > http://localhost/proxy [HTTP/1.1 400 Bad Request 2ms] > null > > ...I think one more thing is needed. > > > > Am 24.08.2016 um 21:51 schrieb Daniel Zuidinga: > > I had wrong paths in my launcher.config properties. > Now the request gets through and the vtk window opens. But I have still > the ws error. Firefox console: > > Firefox can't establish a connection to the server at ws://localhost/ws. > autobahn.min.js:114:0 > null Visualizer:42:13 > Use of getPreventDefault() is deprecated. Use defaultPrevented instead. > jquery-1.8.3.min.js:2:0 > No launcher found. Attempting to connect using the direct WS url. > vtkweb-all.js:4456:19 > > --- vtk window opens, then: > > Cross-Origin Request Blocked: The Same Origin Policy disallows reading the > remote resource at http://localhost:8080/paraview. (Reason: CORS header > 'Access-Control-Allow-Origin' missing). > GET > http://localhost/ws [HTTP/1.1 404 Not Found 2ms] > null Visualizer:42:13 > Firefox can't establish a connection to the server at ws://localhost/ws. > > > Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: > > Actually the hostname might be an issue if you have several network card. > Can you try to use the computer IP? Or '0.0.0.0' for the launcher if that > work? > > Otherwise I did not spotted any issue in your config. > > On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga > wrote: > >> - apache 2.4.12 >> - modules are enabled >> - launcher.py launches without error, resrouces and apps section are in >> the config file as described in the documentation >> are all ports and hostnames right in my configuration files? apache is >> localhost and paraview also >> >> >> Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: >> >> Hi Daniel, >> >> Which version of Apache are you running? >> >> Did you enabled all the modules? >> >> $ sudo a2enmod vhost_alias >> $ sudo a2enmod proxy >> $ sudo a2enmod proxy_http >> $ sudo a2enmod proxy_wstunnel >> $ sudo a2enmod rewrite >> >> >> For the launcher configuration, do you have a proper "resources" and >> "apps" section? >> >> I'm guessing you are looking at the following documentation pages? >> >> - https://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html >> - https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html >> >> Once you have the forwarding of the launcher request working, the next >> part will be the forwarding of the ws. But we can talk about it when and if >> you run into issue about it. >> >> Seb >> >> On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga >> wrote: >> >>> I tried to run the launcher as described in the docs. But I am still >>> getting errors when running http://localhost/apps/Visualizer/ >>> >>> Firefox console: >>> >>> ------------------------------- >>> >>> 1. when setting sessionManagerURL in html set to >>> vtkWeb.properties.sessionManagerURL: >>> >>> POST >>> XHR >>> http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable 48ms] >>> Object { error: "The process did not properly start.?" } Visualizer:42:13 >>> >>> >>> 2. when setting sessionManagerURL in html to >>> http://localhost:8080/paraview: >>> >>> Firefox can't establish a connection to the server at ws://localhost/ws. >>> autobahn.min.js:114:0 >>> null Visualizer:42:13 >>> No launcher found. Attempting to connect using the direct WS url. >>> vtkweb-all.js:4456:19 >>> Use of getPreventDefault() is deprecated. Use defaultPrevented instead. >>> jquery-1.8.3.min.js:2:0 >>> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >>> the remote resource at http://localhost:8080/paraview. (Reason: CORS >>> header 'Access-Control-Allow-Origin' missing). >>> GET >>> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >>> null >>> >>> >>> So the launcher can't start the pv webserver? But running >>> http://localhost:8080/paraview/1 in browser works but says: {"error": >>> "No session with id: 1"} >>> >>> >>> My apache config: >>> >>> ----------------------------- >>> >>> >>> ServerName localhost >>> ServerAdmin info at seoaachen.de >>> DocumentRoot /home/daniel/salome_meca/V2016 >>> /prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >>> ErrorLog "logs/pv-error_log" >>> CustomLog "logs/pv-access_log" common >>> ### The following commented lines could be useful when running >>> ### over https and wss: >>> # SSLEngine On >>> # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt >>> # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key >>> # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt >>> # >>> # >>> # SSLRequireSSL On >>> # SSLVerifyClient optional >>> # SSLVerifyDepth 1 >>> # SSLOptions +StdEnvVars +StrictRequire >>> # >>> # Have Apache pass these requests to the launcher :9000 >>> ProxyPass /paraview http://localhost:8080/paraview >>> # Turn on the rewrite engine >>> RewriteEngine On >>> # This is the path the mapping file Jetty creates >>> RewriteMap session-to-port txt:/home/daniel/proxy.txt >>> # This is the rewrite condition. Look for anything with a sessionId= >>> in the query part of the URL and capture the value to use below. >>> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >>> # This does the rewrite using the mapping file and the sessionId >>> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] >>> >> 6/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >>> Options Indexes FollowSymLinks >>> Order allow,deny >>> Allow from all >>> AllowOverride None >>> Require all granted >>> >>> >>> >>> >>> >>> my launcher.json >>> >>> ---------------------------- >>> >>> "configuration": { >>> "host" : "localhost", >>> >>> "port" : 8080, >>> "endpoint": "paraview", >>> "content": "/.../www", >>> "proxy_file" : "/home/daniel/proxy.txt", >>> "sessionURL": "ws://localhost/proxy?sessionId=${id}", >>> >>> "timeout" : 25, >>> "log_dir" : "/home/daniel", >>> "upload_dir" : "/home/daniel", >>> "fields" : ["file", "host", "port", "updir"] >>> }, >>> >>> >>> What am I doing wrong? >>> >>> >>> Daniel Zuidinga >>> Dipl.-Ing. >>> >>> SEO Aachen >>> Passstr. 5 >>> 52070 Aachen >>> >>> Tel : 0241 / 450 912 67 >>> E-Mail: info at seoaachen.de >>> Web : http://www.seoaachen.de (nur zum Teil aktuell) >>> Xing : https://www.xing.com/profile/Daniel_Zuidinga >>> >>> Bald online: Software Tools f?r Konstrukteure und Bauteilherstellerhttp://www.engineeringonline.de >>> >>> Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >>> >>> Hi Daniel, >>> >>>> I want to use paraview web with SSL. As far as I understand I need >>>> apache as a proxy server for that? Or is it possible with pvpython? >>> >>> It might be possible with pvpython, but I've never done it, I've always >>> used apache to rely on a single opened port and handle the encryption. >>> >>> >>>> I have my own launcher which opens pvpython with a different port for >>>> each user. Is this the right way? Will this work with ssl? >>> >>> If pvpython directly support the wss connection, you can be good. >>> Usually the setup, that I do is that I have Apache serving only the port >>> 443 (https) for both the static content and the (wss) websocket endpoint. >>> And I use a mapping file between the Websocket endpoint that get returned >>> by my launcher and the host/port I should connect to on the backend to >>> establish the link between the client and the actual ParaViewWeb server >>> instance. >>> But that does not mean, that's the only way to do it and if you don't >>> mind having several port open, I don't see why it could not work. >>> >>> >>>> Concerning: https://kitware.github.io/visualizer/docs/ The web >>>> visuailzer should work via npm installation? It does not work for me: >>>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualiz >>>> er\bin\pvw-visualizer-cli.js:41 var pvPythonExecs = >>>> find(paraview).filter(function(file) { return file.match(/pvpython$/) >>>> || file.match(/pvpython.exe$/); }); ^ >>>> TypeError: find(...).filter is not a function at Object. >>>> (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visuali >>>> zer\bin\pvw-visualizer-cli.js:41:36) at Module._compile >>>> (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) >>>> at Module.load (module.js:343:32) at Function.Module._load >>>> (module.js:300:12) at Function.Module.runMain (module.js:441:10) at >>>> startup (node.js:139:18) at node.js:968:3 >>> >>> Well, I guess I haven't tried to run the new Visualizer server on a >>> Windows machine. >>> But with ParaView 5.2 (yet to be released), we should have a ParaViewWeb >>> back in the binaries. So we should make sure our Visualizer command line >>> tool work on that platform as well. >>> Although, the command line is more for beginners than anything else as >>> it only simplify the demo usage. In real word deployment, with a launcher, >>> the true pvpython command line should be used instead. >>> Here is an example of what you should see in a working environment: >>> $ Visualizer -d ~/Downloads/ >>> ============================================================ >>> =================== >>> | Execute: >>> | $ /Applications/paraview.app/Contents/bin/pvpython >>> | -dr >>> | /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >>> | --content >>> | /Users/seb/Documents/code/Web2/visualizer/dist >>> | --port >>> | 8080 >>> | --data >>> | /Users/seb/Downloads/ >>> ============================================================ >>> =================== >>> [...] >>> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 Aachen Tel : >>> 0241 / 450 912 67 E-Mail: info at seoaachen.de Web : >>> http://www.seoaachen.de (nur zum Teil aktuell) Xing : >>> https://www.xing.com/profile/Daniel_Zuidinga Bald online: Software >>> Tools f?r Konstrukteure und Bauteilhersteller >>> http://www.engineeringonline.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/ParaV >>> iew 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 info at seoaachen.de Wed Aug 24 17:01:14 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Wed, 24 Aug 2016 23:01:14 +0200 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> Message-ID: <54ca2292-2150-dae1-ccd5-fb21748e0ffc@seoaachen.de> how can I check? The sessionID is sent to the client. So as far as I understand the http requests work, but not the ws? Am 24.08.2016 um 22:52 schrieb Sebastien Jourdain: > Are you sure apache has the right to read the /home/daniel/proxy.txt > while the launcher is writting it? > > Do you see some content that match your sessionId within that file? > > On Wed, Aug 24, 2016 at 1:57 PM, Daniel Zuidinga > wrote: > > > I changed sessionManagerURL in my html file to > vtkWeb.properties.sessionManagerURL instead of > http://localhost:8080/paraview. Now I get in firefox: > > Use of getPreventDefault() is deprecated. Use defaultPrevented > instead. jquery-1.8.3.min.js:2:0 > GET > http://localhost/proxy [HTTP/1.1 400 Bad Request 16ms] > null Visualizer:42:13 > Firefox can't establish a connection to the server at > ws://localhost/proxy?sessionId=7d12745c-6a34-11e6-a5dc-0016d4e2bc28. > autobahn.min.js:114:0 > GET > http://localhost/proxy [HTTP/1.1 400 Bad Request 2ms] > null > > ...I think one more thing is needed. > > > > Am 24.08.2016 um 21:51 schrieb Daniel Zuidinga: >> I had wrong paths in my launcher.config properties. >> Now the request gets through and the vtk window opens. But I have >> still the ws error. Firefox console: >> >> Firefox can't establish a connection to the server at >> ws://localhost/ws. autobahn.min.js:114:0 >> null Visualizer:42:13 >> Use of getPreventDefault() is deprecated. Use defaultPrevented >> instead. jquery-1.8.3.min.js:2:0 >> No launcher found. Attempting to connect using the direct WS >> url. vtkweb-all.js:4456:19 >> >> --- vtk window opens, then: >> >> Cross-Origin Request Blocked: The Same Origin Policy disallows >> reading the remote resource at http://localhost:8080/paraview. >> (Reason: CORS header 'Access-Control-Allow-Origin' missing). >> >> GET >> http://localhost/ws [HTTP/1.1 404 Not Found 2ms] >> null Visualizer:42:13 >> Firefox can't establish a connection to the server at >> ws://localhost/ws. >> >> >> Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: >>> Actually the hostname might be an issue if you have several >>> network card. >>> Can you try to use the computer IP? Or '0.0.0.0' for the >>> launcher if that work? >>> >>> Otherwise I did not spotted any issue in your config. >>> >>> On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga >>> > wrote: >>> >>> - apache 2.4.12 >>> - modules are enabled >>> - launcher.py launches without error, resrouces and apps >>> section are in the config file as described in the documentation >>> are all ports and hostnames right in my configuration files? >>> apache is localhost and paraview also >>> >>> >>> Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: >>>> Hi Daniel, >>>> >>>> Which version of Apache are you running? >>>> >>>> Did you enabled all the modules? >>>> >>>> $ sudo a2enmod vhost_alias >>>> $ sudo a2enmod proxy >>>> $ sudo a2enmod proxy_http >>>> $ sudo a2enmod proxy_wstunnel >>>> $ sudo a2enmod rewrite >>>> >>>> For the launcher configuration, do you have a proper >>>> "resources" and "apps" section? >>>> >>>> I'm guessing you are looking at the following documentation >>>> pages? >>>> >>>> - >>>> https://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html >>>> >>>> - >>>> https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html >>>> >>>> >>>> Once you have the forwarding of the launcher request >>>> working, the next part will be the forwarding of the ws. >>>> But we can talk about it when and if you run into issue >>>> about it. >>>> >>>> Seb >>>> >>>> On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga >>>> > wrote: >>>> >>>> I tried to run the launcher as described in the docs. >>>> But I am still getting errors when running >>>> http://localhost/apps/Visualizer/ >>>> >>>> >>>> Firefox console: >>>> >>>> ------------------------------- >>>> >>>> 1. when setting sessionManagerURL in html set to >>>> vtkWeb.properties.sessionManagerURL: >>>> >>>> POST >>>> XHR >>>> http://localhost/paraview/ [HTTP/1.1 503 Service >>>> Unavailable 48ms] >>>> Object { error: "The process did not properly start.?" >>>> } Visualizer:42:13 >>>> >>>> >>>> 2. when setting sessionManagerURL in html to >>>> http://localhost:8080/paraview: >>>> >>>> Firefox can't establish a connection to the server at >>>> ws://localhost/ws. autobahn.min.js:114:0 >>>> null Visualizer:42:13 >>>> No launcher found. Attempting to connect using the >>>> direct WS url. vtkweb-all.js:4456:19 >>>> Use of getPreventDefault() is deprecated. Use >>>> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >>>> Cross-Origin Request Blocked: The Same Origin Policy >>>> disallows reading the remote resource at >>>> http://localhost:8080/paraview. (Reason: CORS header >>>> 'Access-Control-Allow-Origin' missing). >>>> GET >>>> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >>>> null >>>> >>>> >>>> So the launcher can't start the pv webserver? But >>>> running http://localhost:8080/paraview/1 >>>> in browser works but >>>> says: {"error": "No session with id: 1"} >>>> >>>> >>>> My apache config: >>>> >>>> ----------------------------- >>>> >>>> >>>> ServerName localhost >>>> ServerAdmin info at seoaachen.de >>>> >>>> DocumentRoot >>>> /home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >>>> ErrorLog "logs/pv-error_log" >>>> CustomLog "logs/pv-access_log" common >>>> ### The following commented lines could be useful >>>> when running >>>> ### over https and wss: >>>> # SSLEngine On >>>> # SSLCertificateFile >>>> /etc/apache2/ssl/your_certificate.crt >>>> # SSLCertificateKeyFile >>>> /etc/apache2/ssl/your_domain_key.key >>>> # SSLCertificateChainFile >>>> /etc/apache2/ssl/DigiCertCA.crt >>>> # >>>> # >>>> # SSLRequireSSL On >>>> # SSLVerifyClient optional >>>> # SSLVerifyDepth 1 >>>> # SSLOptions +StdEnvVars +StrictRequire >>>> # >>>> # Have Apache pass these requests to the launcher :9000 >>>> ProxyPass /paraview http://localhost:8080/paraview >>>> # Turn on the rewrite engine >>>> RewriteEngine On >>>> # This is the path the mapping file Jetty creates >>>> RewriteMap session-to-port txt:/home/daniel/proxy.txt >>>> # This is the rewrite condition. Look for anything >>>> with a sessionId= in the query part of the URL and >>>> capture the value to use below. >>>> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >>>> # This does the rewrite using the mapping file and >>>> the sessionId >>>> RewriteRule ^/proxy.*$ >>>> ws://${session-to-port:%1}/ws [P] >>>> >>> "/home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >>>> Options Indexes FollowSymLinks >>>> Order allow,deny >>>> Allow from all >>>> AllowOverride None >>>> Require all granted >>>> >>>> >>>> >>>> >>>> >>>> my launcher.json >>>> >>>> ---------------------------- >>>> >>>> "configuration": { >>>> "host" : "localhost", >>>> >>>> "port" : 8080, >>>> "endpoint": "paraview", >>>> "content": "/.../www", >>>> "proxy_file" : "/home/daniel/proxy.txt", >>>> "sessionURL": "ws://localhost/proxy?sessionId=${id}", >>>> >>>> "timeout" : 25, >>>> "log_dir" : "/home/daniel", >>>> "upload_dir" : "/home/daniel", >>>> "fields" : ["file", "host", "port", "updir"] >>>> }, >>>> >>>> >>>> What am I doing wrong? >>>> >>>> >>>> Daniel Zuidinga >>>> Dipl.-Ing. >>>> >>>> SEO Aachen >>>> Passstr. 5 >>>> 52070 Aachen >>>> >>>> Tel : 0241 / 450 912 67 >>>> E-Mail:info at seoaachen.de >>>> Web :http://www.seoaachen.de (nur zum Teil aktuell) >>>> Xing :https://www.xing.com/profile/Daniel_Zuidinga >>>> >>>> >>>> Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller >>>> http://www.engineeringonline.de >>>> >>>> >>>> Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >>>>> Hi Daniel, >>>>> >>>>> I want to use paraview web with SSL. As far as I >>>>> understand I need apache as a proxy server for >>>>> that? Or is it possible with pvpython? >>>>> >>>>> It might be possible with pvpython, but I've never >>>>> done it, I've always used apache to rely on a single >>>>> opened port and handle the encryption. >>>>> >>>>> I have my own launcher which opens pvpython with a >>>>> different port for each user. Is this the right >>>>> way? Will this work with ssl? >>>>> >>>>> If pvpython directly support the wss connection, you >>>>> can be good. Usually the setup, that I do is that I >>>>> have Apache serving only the port 443 (https) for both >>>>> the static content and the (wss) websocket endpoint. >>>>> And I use a mapping file between the Websocket >>>>> endpoint that get returned by my launcher and the >>>>> host/port I should connect to on the backend to >>>>> establish the link between the client and the actual >>>>> ParaViewWeb server instance. >>>>> But that does not mean, that's the only way to do it >>>>> and if you don't mind having several port open, I >>>>> don't see why it could not work. >>>>> >>>>> Concerning: >>>>> https://kitware.github.io/visualizer/docs/ >>>>> The >>>>> web visuailzer should work via npm installation? >>>>> It does not work for me: >>>>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41 >>>>> var pvPythonExecs = >>>>> find(paraview).filter(function(file) { return >>>>> file.match(/pvpython$/) || >>>>> file.match(/pvpython.exe$/); }); >>>>> ^ TypeError: find(...).filter is >>>>> not a function at Object. >>>>> (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >>>>> at Module._compile (module.js:409:26) at >>>>> Object.Module._extensions..js (module.js:416:10) >>>>> at Module.load (module.js:343:32) at >>>>> Function.Module._load (module.js:300:12) at >>>>> Function.Module.runMain (module.js:441:10) at >>>>> startup (node.js:139:18) at node.js:968:3 >>>>> >>>>> Well, I guess I haven't tried to run the new >>>>> Visualizer server on a Windows machine. >>>>> But with ParaView 5.2 (yet to be released), we should >>>>> have a ParaViewWeb back in the binaries. So we should >>>>> make sure our Visualizer command line tool work on >>>>> that platform as well. >>>>> Although, the command line is more for beginners than >>>>> anything else as it only simplify the demo usage. In >>>>> real word deployment, with a launcher, the true >>>>> pvpython command line should be used instead. >>>>> Here is an example of what you should see in a working >>>>> environment: >>>>> $ Visualizer -d ~/Downloads/ >>>>> =============================================================================== >>>>> | Execute: >>>>> | $ /Applications/paraview.app/Contents/bin/pvpython >>>>> | -dr >>>>> | >>>>> /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >>>>> | --content >>>>> | /Users/seb/Documents/code/Web2/visualizer/dist >>>>> | --port >>>>> | 8080 >>>>> | --data >>>>> | /Users/seb/Downloads/ >>>>> =============================================================================== >>>>> [...] >>>>> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 >>>>> 52070 Aachen Tel : 0241 / 450 912 67 E-Mail: >>>>> info at seoaachen.de Web : >>>>> http://www.seoaachen.de (nur zum Teil aktuell) Xing : >>>>> https://www.xing.com/profile/Daniel_Zuidinga >>>>> Bald >>>>> online: Software Tools f?r Konstrukteure und >>>>> Bauteilhersteller http://www.engineeringonline.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 >>>>> >>>> >> _______________________________________________ >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Aug 24 17:44:07 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 24 Aug 2016 15:44:07 -0600 Subject: [Paraview] Paraview Web with SSL In-Reply-To: <54ca2292-2150-dae1-ccd5-fb21748e0ffc@seoaachen.de> References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> <54ca2292-2150-dae1-ccd5-fb21748e0ffc@seoaachen.de> Message-ID: Yes it seems the ws forwarding is not working. if you cat that file you should see some content with that id and a host/port that apache should use to connect to the server that is running paraview. Otherwise the documentation (link that I previously gave) explain how to use unix group and setup the appropriate rights to that file so apache can read while the launcher can write. On Wed, Aug 24, 2016 at 3:01 PM, Daniel Zuidinga wrote: > how can I check? > > The sessionID is sent to the client. So as far as I understand the http > requests work, but not the ws? > > > > Am 24.08.2016 um 22:52 schrieb Sebastien Jourdain: > > Are you sure apache has the right to read the /home/daniel/proxy.txt > while the launcher is writting it? > > Do you see some content that match your sessionId within that file? > > On Wed, Aug 24, 2016 at 1:57 PM, Daniel Zuidinga > wrote: > >> >> I changed sessionManagerURL in my html file to >> vtkWeb.properties.sessionManagerURL instead of >> http://localhost:8080/paraview. Now I get in firefox: >> >> Use of getPreventDefault() is deprecated. Use defaultPrevented instead. >> jquery-1.8.3.min.js:2:0 >> GET >> http://localhost/proxy [HTTP/1.1 400 Bad Request 16ms] >> null Visualizer:42:13 >> Firefox can't establish a connection to the server at >> ws://localhost/proxy?sessionId=7d12745c-6a34-11e6-a5dc-0016d4e2bc28. >> autobahn.min.js:114:0 >> GET >> http://localhost/proxy [HTTP/1.1 400 Bad Request 2ms] >> null >> >> ...I think one more thing is needed. >> >> >> >> Am 24.08.2016 um 21:51 schrieb Daniel Zuidinga: >> >> I had wrong paths in my launcher.config properties. >> Now the request gets through and the vtk window opens. But I have still >> the ws error. Firefox console: >> >> Firefox can't establish a connection to the server at ws://localhost/ws. >> autobahn.min.js:114:0 >> null Visualizer:42:13 >> Use of getPreventDefault() is deprecated. Use defaultPrevented instead. >> jquery-1.8.3.min.js:2:0 >> No launcher found. Attempting to connect using the direct WS url. >> vtkweb-all.js:4456:19 >> >> --- vtk window opens, then: >> >> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >> the remote resource at http://localhost:8080/paraview. (Reason: CORS >> header 'Access-Control-Allow-Origin' missing). >> GET >> http://localhost/ws [HTTP/1.1 404 Not Found 2ms] >> null Visualizer:42:13 >> Firefox can't establish a connection to the server at ws://localhost/ws. >> >> >> Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: >> >> Actually the hostname might be an issue if you have several network card. >> Can you try to use the computer IP? Or '0.0.0.0' for the launcher if that >> work? >> >> Otherwise I did not spotted any issue in your config. >> >> On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga >> wrote: >> >>> - apache 2.4.12 >>> - modules are enabled >>> - launcher.py launches without error, resrouces and apps section are in >>> the config file as described in the documentation >>> are all ports and hostnames right in my configuration files? apache is >>> localhost and paraview also >>> >>> >>> Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: >>> >>> Hi Daniel, >>> >>> Which version of Apache are you running? >>> >>> Did you enabled all the modules? >>> >>> $ sudo a2enmod vhost_alias >>> $ sudo a2enmod proxy >>> $ sudo a2enmod proxy_http >>> $ sudo a2enmod proxy_wstunnel >>> $ sudo a2enmod rewrite >>> >>> >>> For the launcher configuration, do you have a proper "resources" and >>> "apps" section? >>> >>> I'm guessing you are looking at the following documentation pages? >>> >>> - https://kitware.github.io/paraviewweb/docs/guides/apache_fro >>> nt_end.html >>> - https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html >>> >>> Once you have the forwarding of the launcher request working, the next >>> part will be the forwarding of the ws. But we can talk about it when and if >>> you run into issue about it. >>> >>> Seb >>> >>> On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga >>> wrote: >>> >>>> I tried to run the launcher as described in the docs. But I am still >>>> getting errors when running http://localhost/apps/Visualizer/ >>>> >>>> Firefox console: >>>> >>>> ------------------------------- >>>> >>>> 1. when setting sessionManagerURL in html set to >>>> vtkWeb.properties.sessionManagerURL: >>>> >>>> POST >>>> XHR >>>> http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable 48ms] >>>> Object { error: "The process did not properly start.?" } >>>> Visualizer:42:13 >>>> >>>> >>>> 2. when setting sessionManagerURL in html to >>>> http://localhost:8080/paraview: >>>> >>>> Firefox can't establish a connection to the server at ws://localhost/ws. >>>> autobahn.min.js:114:0 >>>> null Visualizer:42:13 >>>> No launcher found. Attempting to connect using the direct WS url. >>>> vtkweb-all.js:4456:19 >>>> Use of getPreventDefault() is deprecated. Use defaultPrevented >>>> instead. jquery-1.8.3.min.js:2:0 >>>> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >>>> the remote resource at http://localhost:8080/paraview. (Reason: CORS >>>> header 'Access-Control-Allow-Origin' missing). >>>> GET >>>> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >>>> null >>>> >>>> >>>> So the launcher can't start the pv webserver? But running >>>> http://localhost:8080/paraview/1 in browser works but says: {"error": >>>> "No session with id: 1"} >>>> >>>> >>>> My apache config: >>>> >>>> ----------------------------- >>>> >>>> >>>> ServerName localhost >>>> ServerAdmin info at seoaachen.de >>>> DocumentRoot /home/daniel/salome_meca/V2016 >>>> /prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >>>> ErrorLog "logs/pv-error_log" >>>> CustomLog "logs/pv-access_log" common >>>> ### The following commented lines could be useful when running >>>> ### over https and wss: >>>> # SSLEngine On >>>> # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt >>>> # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key >>>> # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt >>>> # >>>> # >>>> # SSLRequireSSL On >>>> # SSLVerifyClient optional >>>> # SSLVerifyDepth 1 >>>> # SSLOptions +StdEnvVars +StrictRequire >>>> # >>>> # Have Apache pass these requests to the launcher :9000 >>>> ProxyPass /paraview http://localhost:8080/paraview >>>> # Turn on the rewrite engine >>>> RewriteEngine On >>>> # This is the path the mapping file Jetty creates >>>> RewriteMap session-to-port txt:/home/daniel/proxy.txt >>>> # This is the rewrite condition. Look for anything with a >>>> sessionId= in the query part of the URL and capture the value to use below. >>>> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >>>> # This does the rewrite using the mapping file and the sessionId >>>> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] >>>> >>> 6/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >>>> Options Indexes FollowSymLinks >>>> Order allow,deny >>>> Allow from all >>>> AllowOverride None >>>> Require all granted >>>> >>>> >>>> >>>> >>>> >>>> my launcher.json >>>> >>>> ---------------------------- >>>> >>>> "configuration": { >>>> "host" : "localhost", >>>> >>>> "port" : 8080, >>>> "endpoint": "paraview", >>>> "content": "/.../www", >>>> "proxy_file" : "/home/daniel/proxy.txt", >>>> "sessionURL": "ws://localhost/proxy?sessionId=${id}", >>>> >>>> "timeout" : 25, >>>> "log_dir" : "/home/daniel", >>>> "upload_dir" : "/home/daniel", >>>> "fields" : ["file", "host", "port", "updir"] >>>> }, >>>> >>>> >>>> What am I doing wrong? >>>> >>>> >>>> Daniel Zuidinga >>>> Dipl.-Ing. >>>> >>>> SEO Aachen >>>> Passstr. 5 >>>> 52070 Aachen >>>> >>>> Tel : 0241 / 450 912 67 >>>> E-Mail: info at seoaachen.de >>>> Web : http://www.seoaachen.de (nur zum Teil aktuell) >>>> Xing : https://www.xing.com/profile/Daniel_Zuidinga >>>> >>>> Bald online: Software Tools f?r Konstrukteure und Bauteilherstellerhttp://www.engineeringonline.de >>>> >>>> Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >>>> >>>> Hi Daniel, >>>> >>>>> I want to use paraview web with SSL. As far as I understand I need >>>>> apache as a proxy server for that? Or is it possible with pvpython? >>>> >>>> It might be possible with pvpython, but I've never done it, I've always >>>> used apache to rely on a single opened port and handle the encryption. >>>> >>>> >>>>> I have my own launcher which opens pvpython with a different port for >>>>> each user. Is this the right way? Will this work with ssl? >>>> >>>> If pvpython directly support the wss connection, you can be good. >>>> Usually the setup, that I do is that I have Apache serving only the port >>>> 443 (https) for both the static content and the (wss) websocket endpoint. >>>> And I use a mapping file between the Websocket endpoint that get returned >>>> by my launcher and the host/port I should connect to on the backend to >>>> establish the link between the client and the actual ParaViewWeb server >>>> instance. >>>> But that does not mean, that's the only way to do it and if you don't >>>> mind having several port open, I don't see why it could not work. >>>> >>>> >>>>> Concerning: https://kitware.github.io/visualizer/docs/ The web >>>>> visuailzer should work via npm installation? It does not work for me: >>>>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualiz >>>>> er\bin\pvw-visualizer-cli.js:41 var pvPythonExecs = >>>>> find(paraview).filter(function(file) { return file.match(/pvpython$/) >>>>> || file.match(/pvpython.exe$/); }); ^ >>>>> TypeError: find(...).filter is not a function at Object. >>>>> (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visuali >>>>> zer\bin\pvw-visualizer-cli.js:41:36) at Module._compile >>>>> (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) >>>>> at Module.load (module.js:343:32) at Function.Module._load >>>>> (module.js:300:12) at Function.Module.runMain (module.js:441:10) at >>>>> startup (node.js:139:18) at node.js:968:3 >>>> >>>> Well, I guess I haven't tried to run the new Visualizer server on a >>>> Windows machine. >>>> But with ParaView 5.2 (yet to be released), we should have a >>>> ParaViewWeb back in the binaries. So we should make sure our Visualizer >>>> command line tool work on that platform as well. >>>> Although, the command line is more for beginners than anything else as >>>> it only simplify the demo usage. In real word deployment, with a launcher, >>>> the true pvpython command line should be used instead. >>>> Here is an example of what you should see in a working environment: >>>> $ Visualizer -d ~/Downloads/ >>>> ============================================================ >>>> =================== >>>> | Execute: >>>> | $ /Applications/paraview.app/Contents/bin/pvpython >>>> | -dr >>>> | /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >>>> | --content >>>> | /Users/seb/Documents/code/Web2/visualizer/dist >>>> | --port >>>> | 8080 >>>> | --data >>>> | /Users/seb/Downloads/ >>>> ============================================================ >>>> =================== >>>> [...] >>>> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 Aachen Tel >>>> : 0241 / 450 912 67 E-Mail: info at seoaachen.de Web : >>>> http://www.seoaachen.de (nur zum Teil aktuell) Xing : >>>> https://www.xing.com/profile/Daniel_Zuidinga Bald online: Software >>>> Tools f?r Konstrukteure und Bauteilhersteller >>>> http://www.engineeringonline.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/ParaV >>>> iew 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/ParaV >> iew Search the list archives at: http://markmail.org/search/?q=ParaView >> Follow this link to subscribe/unsubscribe: http://public.kitware.com/mail >> man/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at seoaachen.de Wed Aug 24 18:12:10 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Thu, 25 Aug 2016 00:12:10 +0200 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> <54ca2292-2150-dae1-ccd5-fb21748e0ffc@seoaachen.de> Message-ID: <48e0cddf-7d9a-cd9f-f693-6f1d3d69f8a9@seoaachen.de> yes that file has contents. otherwise the sessionID also wouldn't be send back? any ideas how to fix the ws communication? Am 24.08.2016 um 23:44 schrieb Sebastien Jourdain: > Yes it seems the ws forwarding is not working. > > if you cat that file you should see some content with that id and a > host/port that apache should use to connect to the server that is > running paraview. > > Otherwise the documentation (link that I previously gave) explain how > to use unix group and setup the appropriate rights to that file so > apache can read while the launcher can write. > > On Wed, Aug 24, 2016 at 3:01 PM, Daniel Zuidinga > wrote: > > how can I check? > > The sessionID is sent to the client. So as far as I understand the > http requests work, but not the ws? > > > > Am 24.08.2016 um 22:52 schrieb Sebastien Jourdain: >> Are you sure apache has the right to read the >> /home/daniel/proxy.txt while the launcher is writting it? >> >> Do you see some content that match your sessionId within that file? >> >> On Wed, Aug 24, 2016 at 1:57 PM, Daniel Zuidinga >> > wrote: >> >> >> I changed sessionManagerURL in my html file to >> vtkWeb.properties.sessionManagerURL instead of >> http://localhost:8080/paraview. Now I get in firefox: >> >> Use of getPreventDefault() is deprecated. Use >> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >> GET >> http://localhost/proxy [HTTP/1.1 400 Bad Request 16ms] >> null Visualizer:42:13 >> Firefox can't establish a connection to the server at >> ws://localhost/proxy?sessionId=7d12745c-6a34-11e6-a5dc-0016d4e2bc28. >> autobahn.min.js:114:0 >> GET >> http://localhost/proxy [HTTP/1.1 400 Bad Request 2ms] >> null >> >> ...I think one more thing is needed. >> >> >> >> Am 24.08.2016 um 21:51 schrieb Daniel Zuidinga: >>> I had wrong paths in my launcher.config properties. >>> Now the request gets through and the vtk window opens. But I >>> have still the ws error. Firefox console: >>> >>> Firefox can't establish a connection to the server at >>> ws://localhost/ws. autobahn.min.js:114:0 >>> null Visualizer:42:13 >>> Use of getPreventDefault() is deprecated. Use >>> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >>> No launcher found. Attempting to connect using the direct >>> WS url. vtkweb-all.js:4456:19 >>> >>> --- vtk window opens, then: >>> >>> Cross-Origin Request Blocked: The Same Origin Policy >>> disallows reading the remote resource at >>> http://localhost:8080/paraview. (Reason: CORS header >>> 'Access-Control-Allow-Origin' missing). >>> GET >>> http://localhost/ws [HTTP/1.1 404 Not Found 2ms] >>> null Visualizer:42:13 >>> Firefox can't establish a connection to the server at >>> ws://localhost/ws. >>> >>> >>> Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: >>>> Actually the hostname might be an issue if you have several >>>> network card. >>>> Can you try to use the computer IP? Or '0.0.0.0' for the >>>> launcher if that work? >>>> >>>> Otherwise I did not spotted any issue in your config. >>>> >>>> On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga >>>> > wrote: >>>> >>>> - apache 2.4.12 >>>> - modules are enabled >>>> - launcher.py launches without error, resrouces and >>>> apps section are in the config file as described in the >>>> documentation >>>> are all ports and hostnames right in my configuration >>>> files? apache is localhost and paraview also >>>> >>>> >>>> Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: >>>>> Hi Daniel, >>>>> >>>>> Which version of Apache are you running? >>>>> >>>>> Did you enabled all the modules? >>>>> >>>>> $ sudo a2enmod vhost_alias >>>>> $ sudo a2enmod proxy >>>>> $ sudo a2enmod proxy_http >>>>> $ sudo a2enmod proxy_wstunnel >>>>> $ sudo a2enmod rewrite >>>>> >>>>> For the launcher configuration, do you have a proper >>>>> "resources" and "apps" section? >>>>> >>>>> I'm guessing you are looking at the following >>>>> documentation pages? >>>>> >>>>> - >>>>> https://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html >>>>> >>>>> - >>>>> https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html >>>>> >>>>> >>>>> Once you have the forwarding of the launcher request >>>>> working, the next part will be the forwarding of the >>>>> ws. But we can talk about it when and if you run into >>>>> issue about it. >>>>> >>>>> Seb >>>>> >>>>> On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga >>>>> > wrote: >>>>> >>>>> I tried to run the launcher as described in the >>>>> docs. But I am still getting errors when running >>>>> http://localhost/apps/Visualizer/ >>>>> >>>>> >>>>> Firefox console: >>>>> >>>>> ------------------------------- >>>>> >>>>> 1. when setting sessionManagerURL in html set to >>>>> vtkWeb.properties.sessionManagerURL: >>>>> >>>>> POST >>>>> XHR >>>>> http://localhost/paraview/ [HTTP/1.1 503 Service >>>>> Unavailable 48ms] >>>>> Object { error: "The process did not properly >>>>> start.?" } Visualizer:42:13 >>>>> >>>>> >>>>> 2. when setting sessionManagerURL in html to >>>>> http://localhost:8080/paraview: >>>>> >>>>> Firefox can't establish a connection to the server >>>>> at ws://localhost/ws. autobahn.min.js:114:0 >>>>> null Visualizer:42:13 >>>>> No launcher found. Attempting to connect using the >>>>> direct WS url. vtkweb-all.js:4456:19 >>>>> Use of getPreventDefault() is deprecated. Use >>>>> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >>>>> Cross-Origin Request Blocked: The Same Origin >>>>> Policy disallows reading the remote resource at >>>>> http://localhost:8080/paraview. (Reason: CORS >>>>> header 'Access-Control-Allow-Origin' missing). >>>>> >>>>> GET >>>>> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >>>>> null >>>>> >>>>> >>>>> So the launcher can't start the pv webserver? But >>>>> running http://localhost:8080/paraview/1 >>>>> in browser >>>>> works but says: {"error": "No session with id: 1"} >>>>> >>>>> >>>>> My apache config: >>>>> >>>>> ----------------------------- >>>>> >>>>> >>>>> ServerName localhost >>>>> ServerAdmin info at seoaachen.de >>>>> >>>>> DocumentRoot >>>>> /home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >>>>> ErrorLog "logs/pv-error_log" >>>>> CustomLog "logs/pv-access_log" common >>>>> ### The following commented lines could be >>>>> useful when running >>>>> ### over https and wss: >>>>> # SSLEngine On >>>>> # SSLCertificateFile >>>>> /etc/apache2/ssl/your_certificate.crt >>>>> # SSLCertificateKeyFile >>>>> /etc/apache2/ssl/your_domain_key.key >>>>> # SSLCertificateChainFile >>>>> /etc/apache2/ssl/DigiCertCA.crt >>>>> # >>>>> # >>>>> # SSLRequireSSL On >>>>> # SSLVerifyClient optional >>>>> # SSLVerifyDepth 1 >>>>> # SSLOptions +StdEnvVars +StrictRequire >>>>> # >>>>> # Have Apache pass these requests to the >>>>> launcher :9000 >>>>> ProxyPass /paraview http://localhost:8080/paraview >>>>> # Turn on the rewrite engine >>>>> RewriteEngine On >>>>> # This is the path the mapping file Jetty creates >>>>> RewriteMap session-to-port >>>>> txt:/home/daniel/proxy.txt >>>>> # This is the rewrite condition. Look for >>>>> anything with a sessionId= in the query part of >>>>> the URL and capture the value to use below. >>>>> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >>>>> # This does the rewrite using the mapping file >>>>> and the sessionId >>>>> RewriteRule ^/proxy.*$ >>>>> ws://${session-to-port:%1}/ws [P] >>>>> >>>> "/home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >>>>> Options Indexes FollowSymLinks >>>>> Order allow,deny >>>>> Allow from all >>>>> AllowOverride None >>>>> Require all granted >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> my launcher.json >>>>> >>>>> ---------------------------- >>>>> >>>>> "configuration": { >>>>> "host" : "localhost", >>>>> >>>>> "port" : 8080, >>>>> "endpoint": "paraview", >>>>> "content": "/.../www", >>>>> "proxy_file" : "/home/daniel/proxy.txt", >>>>> "sessionURL": "ws://localhost/proxy?sessionId=${id}", >>>>> >>>>> "timeout" : 25, >>>>> "log_dir" : "/home/daniel", >>>>> "upload_dir" : "/home/daniel", >>>>> "fields" : ["file", "host", "port", "updir"] >>>>> }, >>>>> >>>>> >>>>> What am I doing wrong? >>>>> >>>>> >>>>> Daniel Zuidinga >>>>> Dipl.-Ing. >>>>> >>>>> SEO Aachen >>>>> Passstr. 5 >>>>> 52070 Aachen >>>>> >>>>> Tel : 0241 / 450 912 67 >>>>> E-Mail:info at seoaachen.de >>>>> Web :http://www.seoaachen.de (nur zum Teil aktuell) >>>>> Xing :https://www.xing.com/profile/Daniel_Zuidinga >>>>> >>>>> >>>>> Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller >>>>> http://www.engineeringonline.de >>>>> >>>>> >>>>> Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >>>>>> Hi Daniel, >>>>>> >>>>>> I want to use paraview web with SSL. As far >>>>>> as I understand I need apache as a proxy >>>>>> server for that? Or is it possible with >>>>>> pvpython? >>>>>> >>>>>> It might be possible with pvpython, but I've >>>>>> never done it, I've always used apache to rely on >>>>>> a single opened port and handle the encryption. >>>>>> >>>>>> I have my own launcher which opens pvpython >>>>>> with a different port for each user. Is this >>>>>> the right way? Will this work with ssl? >>>>>> >>>>>> If pvpython directly support the wss connection, >>>>>> you can be good. Usually the setup, that I do is >>>>>> that I have Apache serving only the port 443 >>>>>> (https) for both the static content and the (wss) >>>>>> websocket endpoint. And I use a mapping file >>>>>> between the Websocket endpoint that get returned >>>>>> by my launcher and the host/port I should connect >>>>>> to on the backend to establish the link between >>>>>> the client and the actual ParaViewWeb server >>>>>> instance. >>>>>> But that does not mean, that's the only way to do >>>>>> it and if you don't mind having several port >>>>>> open, I don't see why it could not work. >>>>>> >>>>>> Concerning: >>>>>> https://kitware.github.io/visualizer/docs/ >>>>>> >>>>>> The web visuailzer should work via npm >>>>>> installation? It does not work for me: >>>>>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41 >>>>>> var pvPythonExecs = >>>>>> find(paraview).filter(function(file) { return >>>>>> file.match(/pvpython$/) || >>>>>> file.match(/pvpython.exe$/); }); >>>>>> ^ TypeError: >>>>>> find(...).filter is not a function at >>>>>> Object. >>>>>> (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >>>>>> at Module._compile (module.js:409:26) >>>>>> at Object.Module._extensions..js >>>>>> (module.js:416:10) at Module.load >>>>>> (module.js:343:32) at >>>>>> Function.Module._load (module.js:300:12) >>>>>> at Function.Module.runMain (module.js:441:10) >>>>>> at startup (node.js:139:18) at >>>>>> node.js:968:3 >>>>>> >>>>>> Well, I guess I haven't tried to run the new >>>>>> Visualizer server on a Windows machine. >>>>>> But with ParaView 5.2 (yet to be released), we >>>>>> should have a ParaViewWeb back in the binaries. >>>>>> So we should make sure our Visualizer command >>>>>> line tool work on that platform as well. >>>>>> Although, the command line is more for beginners >>>>>> than anything else as it only simplify the demo >>>>>> usage. In real word deployment, with a launcher, >>>>>> the true pvpython command line should be used >>>>>> instead. >>>>>> Here is an example of what you should see in a >>>>>> working environment: >>>>>> $ Visualizer -d ~/Downloads/ >>>>>> =============================================================================== >>>>>> | Execute: >>>>>> | $ /Applications/paraview.app/Contents/bin/pvpython >>>>>> | -dr >>>>>> | >>>>>> /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >>>>>> | --content >>>>>> | /Users/seb/Documents/code/Web2/visualizer/dist >>>>>> | --port >>>>>> | 8080 >>>>>> | --data >>>>>> | /Users/seb/Downloads/ >>>>>> =============================================================================== >>>>>> [...] >>>>>> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. >>>>>> 5 52070 Aachen Tel : 0241 / 450 912 67 E-Mail: >>>>>> info at seoaachen.de Web >>>>>> : http://www.seoaachen.de (nur zum Teil aktuell) >>>>>> Xing : >>>>>> https://www.xing.com/profile/Daniel_Zuidinga >>>>>> >>>>>> Bald online: Software Tools f?r Konstrukteure und >>>>>> Bauteilhersteller http://www.engineeringonline.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 >>>>>> >>>>>> >>>>> >>> _______________________________________________ >>> 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 >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyndyb at email.arizona.edu Wed Aug 24 18:41:58 2016 From: cyndyb at email.arizona.edu (Hart, Cynthia Joyce - (cyndyb)) Date: Wed, 24 Aug 2016 22:41:58 +0000 Subject: [Paraview] associating table data with a Paraview source? Message-ID: <787E7423-6F3F-4639-83C1-6A0A00854069@email.arizona.edu> Hi folks, An ignorant question. I know Paraview is great for visualizing existing complex data sets, but I have a simple problem wherein I need to create a dataset, and I would like to solve this problem using Paraview, but I am unsure how to do so. In brief, I have been given point data of radiance values of 3 sensors placed in specific locations around a mesh. I have no 3D object provided that represents the sensors, no 3d volume; just a spreadsheet of values of sensor readings over time. For illustrative purposes, it is desired to visualize the sensors as radiant spheres, and animate how the 3 sensor values change over time, by showing the sensor spheres varying in color. It seems the way to go about this, is create source spheres in Paraview, at the proper locations around the mesh object. This part is easy! What is not clear to me, is if there is a way ? and if so, what is it ? to associate my data tables of changing sensor values with the Paraview sphere sources. Once I import the csv spreadsheet, how can I associate it with an object already in Paraview? Can someone kindly point me in the right direction, or tell me this cannot be done. Thank you! Cynthia -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisneal at snumerics.com Wed Aug 24 19:03:32 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 24 Aug 2016 19:03:32 -0400 Subject: [Paraview] General Catalyst questions In-Reply-To: References: <9F877232-5513-4773-A95B-C1AA11187D37@snumerics.com> Message-ID: Thank you Andy. We have a unique situation where we would need to know ahead of time what variables are in play with the python scripts. This is due to the way that the simulation code operates (it throws out rules that accumulate all of the attributes that would not be needed before the first iteration is taken). If we can?t tell it which to toss before it starts, then all the variables would be kept. With that in mind, I read the discussion. I do see the section that you are referring to in the python script. For example in the CxxFullExample case the script feslicescript.py has; def RequestDataDescription(datadescription): ??? "Callback to populate the request for current timestep" ??? global coprocessor ??? if datadescription.GetForceOutput() == True: ??????? # We are just going to request all fields and meshes from the simulation ??????? # code/adaptor. ??????? for i in range(datadescription.GetNumberOfInputDescriptions()): ??????????? datadescription.GetInputDescription(i).AllFieldsOn() ??????????? datadescription.GetInputDescription(i).GenerateMeshOn() ??????? return ??? # setup requests for all inputs based on the requirements of the ??? # pipeline. ??? coprocessor.LoadRequestedData(datadescription) >From my understanding if I just have a single grid, then datadescription.GetNumberOfInputDescriptions() should return 1.? So if this example required only ?pressure? and ?velocity?, how would I change this function to tell say that the fields that are required are ?pressure? and ?velocity?? Thank you, Chris Neal From: Andy Bauer Date: Wednesday, August 24, 2016 at 3:41 PM To: Christopher Neal Cc: Benson Muite via ParaView Subject: Re: [Paraview] General Catalyst questions Look at the discussion at http://markmail.org/search/?q=paraview+luigi+calori#query:paraview%20luigi%20calori+page:1+mid:i5dxviq6va7simyi+state:results for the current state of the art for not exporting all variables from the adaptor. Catalyst can output data extracts. It's in the Writers menu once you load the Catalyst Script Generator plugin. On Wed, Aug 24, 2016 at 2:29 PM, Christopher Neal wrote: Hi Catalyst developers, Our team has recently succeeded in integrating Catalyst into our code (which would not have been possible without all of your help). Now that the details of getting our data into the VTK format via the adaptor are settled, we are running into new questions about how to effectively utilize Catalyst within our code. One question that I have about Catalyst is: Say my code supports 100 optional variables, and I don?t really want to load every single one of those variables into memory if the user is just asking for contours of pressure and velocity. Is there a way to know what variables are in play within the Catalyst Python scripts that were passed to the code? In other words, is there a way to query what variables will be requested by a set of Catalyst scripts before we take our first timestep so that we can set up some rules for loading only the requested variables into the VTK format? I also noticed that the Catalyst export state option in ParaView 5.1 appears to be somewhat limited in that it requires me to export either 1.) A live image, 2.) An animation, or 3.) A static screenshot of the current display. What if I created a pipeline that has a final result of a histogram? Is exporting that histogram data not supported currently in the Catalyst export state option? What about just saving the data to *vtu format without exporting any images? I could put a script together to do this, but I?m thinking about what a user would do if they weren?t well versed in the ParaView python scripting language. Thank you, Chris Neal _______________________________________________ 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 sebastien.jourdain at kitware.com Wed Aug 24 19:19:01 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 24 Aug 2016 17:19:01 -0600 Subject: [Paraview] Paraview Web with SSL In-Reply-To: <48e0cddf-7d9a-cd9f-f693-6f1d3d69f8a9@seoaachen.de> References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> <54ca2292-2150-dae1-ccd5-fb21748e0ffc@seoaachen.de> <48e0cddf-7d9a-cd9f-f693-6f1d3d69f8a9@seoaachen.de> Message-ID: Looking at your system log you may have some hints on what is going wrong. (Still leaning toward file system security issue) The sessionId could still be sent back but if the launcher can not write that file, then apache could not figure out its mapping. What linux version are you running it on? On Wed, Aug 24, 2016 at 4:12 PM, Daniel Zuidinga wrote: > yes that file has contents. otherwise the sessionID also wouldn't be send > back? > > any ideas how to fix the ws communication? > > > Am 24.08.2016 um 23:44 schrieb Sebastien Jourdain: > > Yes it seems the ws forwarding is not working. > > if you cat that file you should see some content with that id and a > host/port that apache should use to connect to the server that is running > paraview. > > Otherwise the documentation (link that I previously gave) explain how to > use unix group and setup the appropriate rights to that file so apache can > read while the launcher can write. > > On Wed, Aug 24, 2016 at 3:01 PM, Daniel Zuidinga > wrote: > >> how can I check? >> >> The sessionID is sent to the client. So as far as I understand the http >> requests work, but not the ws? >> >> >> >> Am 24.08.2016 um 22:52 schrieb Sebastien Jourdain: >> >> Are you sure apache has the right to read the /home/daniel/proxy.txt >> while the launcher is writting it? >> >> Do you see some content that match your sessionId within that file? >> >> On Wed, Aug 24, 2016 at 1:57 PM, Daniel Zuidinga >> wrote: >> >>> >>> I changed sessionManagerURL in my html file to >>> vtkWeb.properties.sessionManagerURL instead of >>> http://localhost:8080/paraview. Now I get in firefox: >>> >>> Use of getPreventDefault() is deprecated. Use defaultPrevented instead. >>> jquery-1.8.3.min.js:2:0 >>> GET >>> http://localhost/proxy [HTTP/1.1 400 Bad Request 16ms] >>> null Visualizer:42:13 >>> Firefox can't establish a connection to the server at >>> ws://localhost/proxy?sessionId=7d12745c-6a34-11e6-a5dc-0016d4e2bc28. >>> autobahn.min.js:114:0 >>> GET >>> http://localhost/proxy [HTTP/1.1 400 Bad Request 2ms] >>> null >>> >>> ...I think one more thing is needed. >>> >>> >>> >>> Am 24.08.2016 um 21:51 schrieb Daniel Zuidinga: >>> >>> I had wrong paths in my launcher.config properties. >>> Now the request gets through and the vtk window opens. But I have still >>> the ws error. Firefox console: >>> >>> Firefox can't establish a connection to the server at ws://localhost/ws. >>> autobahn.min.js:114:0 >>> null Visualizer:42:13 >>> Use of getPreventDefault() is deprecated. Use defaultPrevented instead. >>> jquery-1.8.3.min.js:2:0 >>> No launcher found. Attempting to connect using the direct WS url. >>> vtkweb-all.js:4456:19 >>> >>> --- vtk window opens, then: >>> >>> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >>> the remote resource at http://localhost:8080/paraview. (Reason: CORS >>> header 'Access-Control-Allow-Origin' missing). >>> GET >>> http://localhost/ws [HTTP/1.1 404 Not Found 2ms] >>> null Visualizer:42:13 >>> Firefox can't establish a connection to the server at ws://localhost/ws. >>> >>> >>> Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: >>> >>> Actually the hostname might be an issue if you have several network >>> card. >>> Can you try to use the computer IP? Or '0.0.0.0' for the launcher if >>> that work? >>> >>> Otherwise I did not spotted any issue in your config. >>> >>> On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga >>> wrote: >>> >>>> - apache 2.4.12 >>>> - modules are enabled >>>> - launcher.py launches without error, resrouces and apps section are in >>>> the config file as described in the documentation >>>> are all ports and hostnames right in my configuration files? apache is >>>> localhost and paraview also >>>> >>>> >>>> Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: >>>> >>>> Hi Daniel, >>>> >>>> Which version of Apache are you running? >>>> >>>> Did you enabled all the modules? >>>> >>>> $ sudo a2enmod vhost_alias >>>> $ sudo a2enmod proxy >>>> $ sudo a2enmod proxy_http >>>> $ sudo a2enmod proxy_wstunnel >>>> $ sudo a2enmod rewrite >>>> >>>> >>>> For the launcher configuration, do you have a proper "resources" and >>>> "apps" section? >>>> >>>> I'm guessing you are looking at the following documentation pages? >>>> >>>> - https://kitware.github.io/paraviewweb/docs/guides/apache_fro >>>> nt_end.html >>>> - https://kitware.github.io/paraviewweb/docs/guides/python_lau >>>> ncher.html >>>> >>>> Once you have the forwarding of the launcher request working, the next >>>> part will be the forwarding of the ws. But we can talk about it when and if >>>> you run into issue about it. >>>> >>>> Seb >>>> >>>> On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga >>>> wrote: >>>> >>>>> I tried to run the launcher as described in the docs. But I am still >>>>> getting errors when running http://localhost/apps/Visualizer/ >>>>> >>>>> Firefox console: >>>>> >>>>> ------------------------------- >>>>> >>>>> 1. when setting sessionManagerURL in html set to >>>>> vtkWeb.properties.sessionManagerURL: >>>>> >>>>> POST >>>>> XHR >>>>> http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable 48ms] >>>>> Object { error: "The process did not properly start.?" } >>>>> Visualizer:42:13 >>>>> >>>>> >>>>> 2. when setting sessionManagerURL in html to >>>>> http://localhost:8080/paraview: >>>>> >>>>> Firefox can't establish a connection to the server at >>>>> ws://localhost/ws. autobahn.min.js:114:0 >>>>> null Visualizer:42:13 >>>>> No launcher found. Attempting to connect using the direct WS url. >>>>> vtkweb-all.js:4456:19 >>>>> Use of getPreventDefault() is deprecated. Use defaultPrevented >>>>> instead. jquery-1.8.3.min.js:2:0 >>>>> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >>>>> the remote resource at http://localhost:8080/paraview. (Reason: CORS >>>>> header 'Access-Control-Allow-Origin' missing). >>>>> GET >>>>> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >>>>> null >>>>> >>>>> >>>>> So the launcher can't start the pv webserver? But running >>>>> http://localhost:8080/paraview/1 in browser works but says: {"error": >>>>> "No session with id: 1"} >>>>> >>>>> >>>>> My apache config: >>>>> >>>>> ----------------------------- >>>>> >>>>> >>>>> ServerName localhost >>>>> ServerAdmin info at seoaachen.de >>>>> DocumentRoot /home/daniel/salome_meca/V2016 >>>>> /prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >>>>> ErrorLog "logs/pv-error_log" >>>>> CustomLog "logs/pv-access_log" common >>>>> ### The following commented lines could be useful when running >>>>> ### over https and wss: >>>>> # SSLEngine On >>>>> # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt >>>>> # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key >>>>> # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt >>>>> # >>>>> # >>>>> # SSLRequireSSL On >>>>> # SSLVerifyClient optional >>>>> # SSLVerifyDepth 1 >>>>> # SSLOptions +StdEnvVars +StrictRequire >>>>> # >>>>> # Have Apache pass these requests to the launcher :9000 >>>>> ProxyPass /paraview http://localhost:8080/paraview >>>>> # Turn on the rewrite engine >>>>> RewriteEngine On >>>>> # This is the path the mapping file Jetty creates >>>>> RewriteMap session-to-port txt:/home/daniel/proxy.txt >>>>> # This is the rewrite condition. Look for anything with a >>>>> sessionId= in the query part of the URL and capture the value to use below. >>>>> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >>>>> # This does the rewrite using the mapping file and the sessionId >>>>> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] >>>>> >>>> 6/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >>>>> Options Indexes FollowSymLinks >>>>> Order allow,deny >>>>> Allow from all >>>>> AllowOverride None >>>>> Require all granted >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> my launcher.json >>>>> >>>>> ---------------------------- >>>>> >>>>> "configuration": { >>>>> "host" : "localhost", >>>>> >>>>> "port" : 8080, >>>>> "endpoint": "paraview", >>>>> "content": "/.../www", >>>>> "proxy_file" : "/home/daniel/proxy.txt", >>>>> "sessionURL": "ws://localhost/proxy?sessionId=${id}", >>>>> >>>>> "timeout" : 25, >>>>> "log_dir" : "/home/daniel", >>>>> "upload_dir" : "/home/daniel", >>>>> "fields" : ["file", "host", "port", "updir"] >>>>> }, >>>>> >>>>> >>>>> What am I doing wrong? >>>>> >>>>> >>>>> Daniel Zuidinga >>>>> Dipl.-Ing. >>>>> >>>>> SEO Aachen >>>>> Passstr. 5 >>>>> 52070 Aachen >>>>> >>>>> Tel : 0241 / 450 912 67 >>>>> E-Mail: info at seoaachen.de >>>>> Web : http://www.seoaachen.de (nur zum Teil aktuell) >>>>> Xing : https://www.xing.com/profile/Daniel_Zuidinga >>>>> >>>>> Bald online: Software Tools f?r Konstrukteure und Bauteilherstellerhttp://www.engineeringonline.de >>>>> >>>>> Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >>>>> >>>>> Hi Daniel, >>>>> >>>>>> I want to use paraview web with SSL. As far as I understand I need >>>>>> apache as a proxy server for that? Or is it possible with pvpython? >>>>> >>>>> It might be possible with pvpython, but I've never done it, I've >>>>> always used apache to rely on a single opened port and handle the >>>>> encryption. >>>>> >>>>> >>>>>> I have my own launcher which opens pvpython with a different port for >>>>>> each user. Is this the right way? Will this work with ssl? >>>>> >>>>> If pvpython directly support the wss connection, you can be good. >>>>> Usually the setup, that I do is that I have Apache serving only the port >>>>> 443 (https) for both the static content and the (wss) websocket endpoint. >>>>> And I use a mapping file between the Websocket endpoint that get returned >>>>> by my launcher and the host/port I should connect to on the backend to >>>>> establish the link between the client and the actual ParaViewWeb server >>>>> instance. >>>>> But that does not mean, that's the only way to do it and if you don't >>>>> mind having several port open, I don't see why it could not work. >>>>> >>>>> >>>>>> Concerning: https://kitware.github.io/visualizer/docs/ The web >>>>>> visuailzer should work via npm installation? It does not work for me: >>>>>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualiz >>>>>> er\bin\pvw-visualizer-cli.js:41 var pvPythonExecs = >>>>>> find(paraview).filter(function(file) { return >>>>>> file.match(/pvpython$/) || file.match(/pvpython.exe$/); }); >>>>>> ^ TypeError: find(...).filter is not a function at >>>>>> Object. (C:\Users\danie\AppData\Roamin >>>>>> g\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >>>>>> at Module._compile (module.js:409:26) at >>>>>> Object.Module._extensions..js (module.js:416:10) at Module.load >>>>>> (module.js:343:32) at Function.Module._load (module.js:300:12) at >>>>>> Function.Module.runMain (module.js:441:10) at startup (node.js:139:18) >>>>>> at node.js:968:3 >>>>> >>>>> Well, I guess I haven't tried to run the new Visualizer server on a >>>>> Windows machine. >>>>> But with ParaView 5.2 (yet to be released), we should have a >>>>> ParaViewWeb back in the binaries. So we should make sure our Visualizer >>>>> command line tool work on that platform as well. >>>>> Although, the command line is more for beginners than anything else as >>>>> it only simplify the demo usage. In real word deployment, with a launcher, >>>>> the true pvpython command line should be used instead. >>>>> Here is an example of what you should see in a working environment: >>>>> $ Visualizer -d ~/Downloads/ >>>>> ============================================================ >>>>> =================== >>>>> | Execute: >>>>> | $ /Applications/paraview.app/Contents/bin/pvpython >>>>> | -dr >>>>> | /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >>>>> | --content >>>>> | /Users/seb/Documents/code/Web2/visualizer/dist >>>>> | --port >>>>> | 8080 >>>>> | --data >>>>> | /Users/seb/Downloads/ >>>>> ============================================================ >>>>> =================== >>>>> [...] >>>>> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 Aachen Tel >>>>> : 0241 / 450 912 67 E-Mail: info at seoaachen.de Web : >>>>> http://www.seoaachen.de (nur zum Teil aktuell) Xing : >>>>> https://www.xing.com/profile/Daniel_Zuidinga Bald online: Software >>>>> Tools f?r Konstrukteure und Bauteilhersteller >>>>> http://www.engineeringonline.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/mail >>>>> man/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/ParaV >>> iew 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 fagung at gmail.com Wed Aug 24 20:46:27 2016 From: fagung at gmail.com (Fa-Gung Fan) Date: Wed, 24 Aug 2016 17:46:27 -0700 Subject: [Paraview] ParaView over the internet In-Reply-To: References: Message-ID: Hi Sebastien, I still have the failed to fetch problem (below). Is Ubuntu 12.04 (Linux 3.2.0-105-generic) too old? You said there is an older version of Visualizer provided along with ParaView binaries. Can you please point me to the location? I could not find it in http://kitware.github.io/parav iewweb/applications/ or http://kitware.github.io/paraviewweb/applications/. Thanks. - ffan ffan at caelinux2013-VirtualBox:~/packages/ParaView_Visualizer/visualizer$ npm install npm http GET https://registry.npmjs.org/commander/2.9.0 npm http GET https://registry.npmjs.org/open/0.0.5 npm http GET https://registry.npmjs.org/shelljs/0.7.3 npm http GET https://registry.npmjs.org/ws/0.8.1 npm http GET https://registry.npmjs.org/font-awesome/4.6.3 npm http GET https://registry.npmjs.org/gl-matrix/2.3.2 npm http GET https://registry.npmjs.org/hammerjs/2.0.8 npm http GET https://registry.npmjs.org/monologue.js/0.3.5 npm http GET https://registry.npmjs.org/mout/1.0.0 npm http GET https://registry.npmjs.org/normalize.css/4.2.0 npm http GET https://registry.npmjs.org/paraviewweb/2.0.6 npm http GET https://registry.npmjs.org/react/15.3.0 npm http GET https://registry.npmjs.org/react-dom/15.3.0 npm http GET https://registry.npmjs.org/react-redux/4.4.5 npm http GET https://registry.npmjs.org/redux/3.5.2 npm http GET https://registry.npmjs.org/reselect/2.5.3 npm http GET https://registry.npmjs.org/kw-web-suite/2.1.0 npm http GET https://registry.npmjs.org/kw-doc/1.0.13 npm ERR! Error: failed to fetch from registry: commander/2.9.0 npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12 npm ERR! at cb (/usr/share/npm/lib/utils/npm- registry-client/request.js:31:9) npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- registry-client/request.js:136:18) npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) npm ERR! at Request. (/usr/lib/nodejs/request/main.js:212:58) npm ERR! at Request.emit (events.js:88:20) npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main. js:412:12) npm ERR! at ClientRequest.emit (events.js:67:17) npm ERR! at HTTPParser.onIncoming (http.js:1261:11) npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) npm ERR! You may report this log at: npm ERR! npm ERR! or use npm ERR! reportbug --attach /home/ffan/packages/ParaView_ Visualizer/visualizer/npm-debug.log npm npm ERR! npm ERR! System Linux 3.2.0-105-generic npm ERR! command "node" "/usr/bin/npm" "install" npm ERR! cwd /home/ffan/packages/ParaView_Visualizer/visualizer npm ERR! node -v v0.6.12 npm ERR! npm -v 1.1.4 npm ERR! message failed to fetch from registry: commander/2.9.0 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/ffan/packages/ParaView_Visualizer/visualizer/npm- debug.log npm not ok On Thu, Aug 11, 2016 at 7:17 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > You seem to have a very old node and npm. > > The npm package is here: https://www.npmjs.com/package/pvw-visualizer > > Maybe the service was down? > > On Thu, Aug 11, 2016 at 7:02 PM, Fa-Gung Fan wrote: > >> Thank you Sebastien. >> >> Following the installation instruction, I have: >> >> ffan at caelinux2013-VirtualBox:~$ npm install -g pvw-visualizer >> npm http GET https://registry.npmjs.org/pvw-visualizer >> >> npm ERR! Error: failed to fetch from registry: pvw-visualizer >> npm ERR! at /usr/share/npm/lib/utils/npm-r >> egistry-client/get.js:139:12 >> npm ERR! at cb (/usr/share/npm/lib/utils/npm- >> registry-client/request.js:31:9) >> npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- >> registry-client/request.js:136:18) >> npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) >> npm ERR! at Request. (/usr/lib/nodejs/request/main. >> js:212:58) >> npm ERR! at Request.emit (events.js:88:20) >> npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main. >> js:412:12) >> npm ERR! at ClientRequest.emit (events.js:67:17) >> npm ERR! at HTTPParser.onIncoming (http.js:1261:11) >> npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) >> npm ERR! You may report this log at: >> npm ERR! >> npm ERR! or use >> npm ERR! reportbug --attach /home/ffan/npm-debug.log npm >> npm ERR! >> npm ERR! System Linux 3.2.0-105-generic >> npm ERR! command "node" "/usr/bin/npm" "install" "-g" "pvw-visualizer" >> npm ERR! cwd /home/ffan >> npm ERR! node -v v0.6.12 >> npm ERR! npm -v 1.1.4 >> npm ERR! message failed to fetch from registry: pvw-visualizer >> npm ERR! >> npm ERR! Additional logging details can be found in: >> npm ERR! /home/ffan/npm-debug.log >> npm not ok >> ffan at caelinux2013-VirtualBox:~$ >> >> It says "failed to fetch from registry: pvw-visualizer". Did I do >> something wrong? Thanks. >> >> - ffan >> >> >> On Thu, Aug 11, 2016 at 5:02 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> ParaViewWeb - Visualizer is meant for that. Although, selection is not >>> implemented currently. >>> >>> http://kitware.github.io/paraviewweb/applications/ >>> >>> But that version of Visualizer require ParaView/master. >>> >>> Otherwise an older version of Visualizer is provided along with ParaView >>> binaries (except for Windows). >>> You can find documentation on it here: >>> http://paraviewweb.kitware.com/#!/guide/quick_start >>> http://paraviewweb.kitware.com/#!/guide/app_gallery >>> >>> On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan wrote: >>> >>>> Hi ParaView users/developers, >>>> >>>> In my works, I need to use ParaView remotely, over the Internet. >>>> Displaying the GUI and the images and accepting a selection become very >>>> slow. Is there a light-wright version of ParaView (even with lower >>>> resolution)? Or, if it is possible, how to configure ParaView so it can be >>>> easier to use over the Internet? Thank you. >>>> >>>> - ffan >>>> >>>> _______________________________________________ >>>> 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 info at seoaachen.de Thu Aug 25 03:20:41 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Thu, 25 Aug 2016 09:20:41 +0200 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> <54ca2292-2150-dae1-ccd5-fb21748e0ffc@seoaachen.de> <48e0cddf-7d9a-cd9f-f693-6f1d3d69f8a9@seoaachen.de> Message-ID: <41683484-80c4-6477-e415-9851818820fe@seoaachen.de> I allowed read/write permissions for proxy.txt for all. Now it works! Thank you very much. I hope I can contribute to paraview web when I am more into it. Am 25.08.2016 um 01:19 schrieb Sebastien Jourdain: > Looking at your system log you may have some hints on what is going > wrong. (Still leaning toward file system security issue) > > The sessionId could still be sent back but if the launcher can not > write that file, then apache could not figure out its mapping. > > What linux version are you running it on? > > > On Wed, Aug 24, 2016 at 4:12 PM, Daniel Zuidinga > wrote: > > yes that file has contents. otherwise the sessionID also wouldn't > be send back? > > any ideas how to fix the ws communication? > > > Am 24.08.2016 um 23:44 schrieb Sebastien Jourdain: >> Yes it seems the ws forwarding is not working. >> >> if you cat that file you should see some content with that id and >> a host/port that apache should use to connect to the server that >> is running paraview. >> >> Otherwise the documentation (link that I previously gave) explain >> how to use unix group and setup the appropriate rights to that >> file so apache can read while the launcher can write. >> >> On Wed, Aug 24, 2016 at 3:01 PM, Daniel Zuidinga >> > wrote: >> >> how can I check? >> >> The sessionID is sent to the client. So as far as I >> understand the http requests work, but not the ws? >> >> >> >> Am 24.08.2016 um 22:52 schrieb Sebastien Jourdain: >>> Are you sure apache has the right to read the >>> /home/daniel/proxy.txt while the launcher is writting it? >>> >>> Do you see some content that match your sessionId within >>> that file? >>> >>> On Wed, Aug 24, 2016 at 1:57 PM, Daniel Zuidinga >>> > wrote: >>> >>> >>> I changed sessionManagerURL in my html file to >>> vtkWeb.properties.sessionManagerURL instead of >>> http://localhost:8080/paraview. Now I get in firefox: >>> >>> Use of getPreventDefault() is deprecated. Use >>> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >>> GET >>> http://localhost/proxy [HTTP/1.1 400 Bad Request 16ms] >>> null Visualizer:42:13 >>> Firefox can't establish a connection to the server at >>> ws://localhost/proxy?sessionId=7d12745c-6a34-11e6-a5dc-0016d4e2bc28. >>> autobahn.min.js:114:0 >>> GET >>> http://localhost/proxy [HTTP/1.1 400 Bad Request 2ms] >>> null >>> >>> ...I think one more thing is needed. >>> >>> >>> >>> Am 24.08.2016 um 21:51 schrieb Daniel Zuidinga: >>>> I had wrong paths in my launcher.config properties. >>>> Now the request gets through and the vtk window opens. >>>> But I have still the ws error. Firefox console: >>>> >>>> Firefox can't establish a connection to the server at >>>> ws://localhost/ws. autobahn.min.js:114:0 >>>> null Visualizer:42:13 >>>> Use of getPreventDefault() is deprecated. Use >>>> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >>>> No launcher found. Attempting to connect using the >>>> direct WS url. vtkweb-all.js:4456:19 >>>> >>>> --- vtk window opens, then: >>>> >>>> Cross-Origin Request Blocked: The Same Origin Policy >>>> disallows reading the remote resource at >>>> http://localhost:8080/paraview. (Reason: CORS header >>>> 'Access-Control-Allow-Origin' missing). >>>> GET >>>> http://localhost/ws [HTTP/1.1 404 Not Found 2ms] >>>> null Visualizer:42:13 >>>> Firefox can't establish a connection to the server at >>>> ws://localhost/ws. >>>> >>>> >>>> Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: >>>>> Actually the hostname might be an issue if you have >>>>> several network card. >>>>> Can you try to use the computer IP? Or '0.0.0.0' for >>>>> the launcher if that work? >>>>> >>>>> Otherwise I did not spotted any issue in your config. >>>>> >>>>> On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga >>>>> > wrote: >>>>> >>>>> - apache 2.4.12 >>>>> - modules are enabled >>>>> - launcher.py launches without error, resrouces >>>>> and apps section are in the config file as >>>>> described in the documentation >>>>> are all ports and hostnames right in my >>>>> configuration files? apache is localhost and >>>>> paraview also >>>>> >>>>> >>>>> Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: >>>>>> Hi Daniel, >>>>>> >>>>>> Which version of Apache are you running? >>>>>> >>>>>> Did you enabled all the modules? >>>>>> >>>>>> $ sudo a2enmod vhost_alias >>>>>> $ sudo a2enmod proxy >>>>>> $ sudo a2enmod proxy_http >>>>>> $ sudo a2enmod proxy_wstunnel >>>>>> $ sudo a2enmod rewrite >>>>>> >>>>>> For the launcher configuration, do you have a >>>>>> proper "resources" and "apps" section? >>>>>> >>>>>> I'm guessing you are looking at the following >>>>>> documentation pages? >>>>>> >>>>>> - >>>>>> https://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html >>>>>> >>>>>> - >>>>>> https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html >>>>>> >>>>>> >>>>>> Once you have the forwarding of the launcher >>>>>> request working, the next part will be the >>>>>> forwarding of the ws. But we can talk about it >>>>>> when and if you run into issue about it. >>>>>> >>>>>> Seb >>>>>> >>>>>> On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga >>>>>> > wrote: >>>>>> >>>>>> I tried to run the launcher as described in >>>>>> the docs. But I am still getting errors when >>>>>> running http://localhost/apps/Visualizer/ >>>>>> >>>>>> >>>>>> Firefox console: >>>>>> >>>>>> ------------------------------- >>>>>> >>>>>> 1. when setting sessionManagerURL in html set >>>>>> to vtkWeb.properties.sessionManagerURL: >>>>>> >>>>>> POST >>>>>> XHR >>>>>> http://localhost/paraview/ [HTTP/1.1 503 >>>>>> Service Unavailable 48ms] >>>>>> Object { error: "The process did not properly >>>>>> start.?" } Visualizer:42:13 >>>>>> >>>>>> >>>>>> 2. when setting sessionManagerURL in html to >>>>>> http://localhost:8080/paraview: >>>>>> >>>>>> Firefox can't establish a connection to the >>>>>> server at ws://localhost/ws. >>>>>> autobahn.min.js:114:0 >>>>>> null Visualizer:42:13 >>>>>> No launcher found. Attempting to connect >>>>>> using the direct WS url. vtkweb-all.js:4456:19 >>>>>> Use of getPreventDefault() is deprecated. Use >>>>>> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >>>>>> Cross-Origin Request Blocked: The Same Origin >>>>>> Policy disallows reading the remote resource >>>>>> at http://localhost:8080/paraview. (Reason: >>>>>> CORS header 'Access-Control-Allow-Origin' >>>>>> missing). >>>>>> GET >>>>>> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >>>>>> null >>>>>> >>>>>> >>>>>> So the launcher can't start the pv webserver? >>>>>> But running http://localhost:8080/paraview/1 >>>>>> in browser >>>>>> works but says: {"error": "No session with >>>>>> id: 1"} >>>>>> >>>>>> >>>>>> My apache config: >>>>>> >>>>>> ----------------------------- >>>>>> >>>>>> >>>>>> ServerName localhost >>>>>> ServerAdmin info at seoaachen.de >>>>>> >>>>>> DocumentRoot >>>>>> /home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >>>>>> ErrorLog "logs/pv-error_log" >>>>>> CustomLog "logs/pv-access_log" common >>>>>> ### The following commented lines could >>>>>> be useful when running >>>>>> ### over https and wss: >>>>>> # SSLEngine On >>>>>> # SSLCertificateFile >>>>>> /etc/apache2/ssl/your_certificate.crt >>>>>> # SSLCertificateKeyFile >>>>>> /etc/apache2/ssl/your_domain_key.key >>>>>> # SSLCertificateChainFile >>>>>> /etc/apache2/ssl/DigiCertCA.crt >>>>>> # >>>>>> # >>>>>> # SSLRequireSSL On >>>>>> # SSLVerifyClient optional >>>>>> # SSLVerifyDepth 1 >>>>>> # SSLOptions +StdEnvVars +StrictRequire >>>>>> # >>>>>> # Have Apache pass these requests to the >>>>>> launcher :9000 >>>>>> ProxyPass /paraview >>>>>> http://localhost:8080/paraview >>>>>> # Turn on the rewrite engine >>>>>> RewriteEngine On >>>>>> # This is the path the mapping file Jetty >>>>>> creates >>>>>> RewriteMap session-to-port >>>>>> txt:/home/daniel/proxy.txt >>>>>> # This is the rewrite condition. Look for >>>>>> anything with a sessionId= in the query part >>>>>> of the URL and capture the value to use below. >>>>>> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >>>>>> # This does the rewrite using the mapping >>>>>> file and the sessionId >>>>>> RewriteRule ^/proxy.*$ >>>>>> ws://${session-to-port:%1}/ws [P] >>>>>> >>>>> "/home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >>>>>> Options Indexes FollowSymLinks >>>>>> Order allow,deny >>>>>> Allow from all >>>>>> AllowOverride None >>>>>> Require all granted >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> my launcher.json >>>>>> >>>>>> ---------------------------- >>>>>> >>>>>> "configuration": { >>>>>> "host" : "localhost", >>>>>> >>>>>> "port" : 8080, >>>>>> "endpoint": "paraview", >>>>>> "content": "/.../www", >>>>>> "proxy_file" : "/home/daniel/proxy.txt", >>>>>> "sessionURL": >>>>>> "ws://localhost/proxy?sessionId=${id}", >>>>>> >>>>>> "timeout" : 25, >>>>>> "log_dir" : "/home/daniel", >>>>>> "upload_dir" : "/home/daniel", >>>>>> "fields" : ["file", "host", "port", "updir"] >>>>>> }, >>>>>> >>>>>> >>>>>> What am I doing wrong? >>>>>> >>>>>> >>>>>> Daniel Zuidinga >>>>>> Dipl.-Ing. >>>>>> >>>>>> SEO Aachen >>>>>> Passstr. 5 >>>>>> 52070 Aachen >>>>>> >>>>>> Tel : 0241 / 450 912 67 >>>>>> E-Mail:info at seoaachen.de >>>>>> Web :http://www.seoaachen.de (nur zum Teil aktuell) >>>>>> Xing :https://www.xing.com/profile/Daniel_Zuidinga >>>>>> >>>>>> >>>>>> Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller >>>>>> http://www.engineeringonline.de >>>>>> >>>>>> >>>>>> Am 22.08.2016 um 22:32 schrieb Sebastien >>>>>> Jourdain: >>>>>>> Hi Daniel, >>>>>>> >>>>>>> I want to use paraview web with SSL. As >>>>>>> far as I understand I need apache as a >>>>>>> proxy server for that? Or is it possible >>>>>>> with pvpython? >>>>>>> >>>>>>> It might be possible with pvpython, but I've >>>>>>> never done it, I've always used apache to >>>>>>> rely on a single opened port and handle the >>>>>>> encryption. >>>>>>> >>>>>>> I have my own launcher which opens >>>>>>> pvpython with a different port for each >>>>>>> user. Is this the right way? Will this >>>>>>> work with ssl? >>>>>>> >>>>>>> If pvpython directly support the wss >>>>>>> connection, you can be good. Usually the >>>>>>> setup, that I do is that I have Apache >>>>>>> serving only the port 443 (https) for both >>>>>>> the static content and the (wss) websocket >>>>>>> endpoint. And I use a mapping file between >>>>>>> the Websocket endpoint that get returned by >>>>>>> my launcher and the host/port I should >>>>>>> connect to on the backend to establish the >>>>>>> link between the client and the actual >>>>>>> ParaViewWeb server instance. >>>>>>> But that does not mean, that's the only way >>>>>>> to do it and if you don't mind having >>>>>>> several port open, I don't see why it could >>>>>>> not work. >>>>>>> >>>>>>> Concerning: >>>>>>> https://kitware.github.io/visualizer/docs/ >>>>>>> >>>>>>> The web visuailzer should work via npm >>>>>>> installation? It does not work for me: >>>>>>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41 >>>>>>> var pvPythonExecs = >>>>>>> find(paraview).filter(function(file) { >>>>>>> return file.match(/pvpython$/) || >>>>>>> file.match(/pvpython.exe$/); }); >>>>>>> ^ TypeError: >>>>>>> find(...).filter is not a function >>>>>>> at Object. >>>>>>> (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >>>>>>> at Module._compile >>>>>>> (module.js:409:26) at >>>>>>> Object.Module._extensions..js >>>>>>> (module.js:416:10) at Module.load >>>>>>> (module.js:343:32) at >>>>>>> Function.Module._load (module.js:300:12) >>>>>>> at Function.Module.runMain >>>>>>> (module.js:441:10) at startup >>>>>>> (node.js:139:18) at node.js:968:3 >>>>>>> >>>>>>> Well, I guess I haven't tried to run the new >>>>>>> Visualizer server on a Windows machine. >>>>>>> But with ParaView 5.2 (yet to be released), >>>>>>> we should have a ParaViewWeb back in the >>>>>>> binaries. So we should make sure our >>>>>>> Visualizer command line tool work on that >>>>>>> platform as well. >>>>>>> Although, the command line is more for >>>>>>> beginners than anything else as it only >>>>>>> simplify the demo usage. In real word >>>>>>> deployment, with a launcher, the true >>>>>>> pvpython command line should be used instead. >>>>>>> Here is an example of what you should see in >>>>>>> a working environment: >>>>>>> $ Visualizer -d ~/Downloads/ >>>>>>> =============================================================================== >>>>>>> | Execute: >>>>>>> | $ >>>>>>> /Applications/paraview.app/Contents/bin/pvpython >>>>>>> | -dr >>>>>>> | >>>>>>> /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >>>>>>> | --content >>>>>>> | >>>>>>> /Users/seb/Documents/code/Web2/visualizer/dist >>>>>>> | --port >>>>>>> | 8080 >>>>>>> | --data >>>>>>> | /Users/seb/Downloads/ >>>>>>> =============================================================================== >>>>>>> [...] >>>>>>> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen >>>>>>> Passstr. 5 52070 Aachen Tel : 0241 / 450 >>>>>>> 912 67 E-Mail: info at seoaachen.de >>>>>>> Web : >>>>>>> http://www.seoaachen.de (nur zum Teil >>>>>>> aktuell) Xing : >>>>>>> https://www.xing.com/profile/Daniel_Zuidinga >>>>>>> >>>>>>> Bald online: Software Tools f?r >>>>>>> Konstrukteure und Bauteilhersteller >>>>>>> http://www.engineeringonline.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 >>>>>>> >>>>>>> >>>>>> >>>> _______________________________________________ >>>> 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 >>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jfavre at cscs.ch Thu Aug 25 03:49:20 2016 From: jfavre at cscs.ch (Favre Jean) Date: Thu, 25 Aug 2016 07:49:20 +0000 Subject: [Paraview] Catalyst issue with pvti output. In-Reply-To: References: <0EB9B6375711A04B820E6B6F5CCA9F684368636D@MBX111.d.ethz.ch>, Message-ID: <0EB9B6375711A04B820E6B6F5CCA9F684368672D@MBX111.d.ethz.ch> Hello Andy The tip about using vtkCPInputDataDescription::SetWholeExtent() was perfect. It fixes the *pvti WholeExtents The image output issue was instead caused by overlapping graphics windows. I have been testing on my workstation where a separate OpenGL window is opened for each MPI task. Making sure these windows don't overlap fixes the problem. While running Live, the dataset extents shown are those of Task 0. If I do an Extract, then the Whole Extents are shown. So I do not have an issue with that. Thanks for the help Jean -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Aug 25 10:31:41 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 25 Aug 2016 08:31:41 -0600 Subject: [Paraview] ParaView over the internet In-Reply-To: References: Message-ID: It is part of the paraview distribution. start it via pvpython. On Wed, Aug 24, 2016 at 6:46 PM, Fa-Gung Fan wrote: > Hi Sebastien, > > I still have the failed to fetch problem (below). Is Ubuntu 12.04 (Linux > 3.2.0-105-generic) too old? You said there is an older version of > Visualizer provided along with ParaView binaries. Can you please point me > to the location? I could not find it in http://kitware.github.io/parav > iewweb/applications/ or http://kitware.github.io/paraviewweb/applications/. > Thanks. > > - ffan > > ffan at caelinux2013-VirtualBox:~/packages/ParaView_Visualizer/visualizer$ > npm install > npm http GET https://registry.npmjs.org/commander/2.9.0 > npm http GET https://registry.npmjs.org/open/0.0.5 > npm http GET https://registry.npmjs.org/shelljs/0.7.3 > npm http GET https://registry.npmjs.org/ws/0.8.1 > npm http GET https://registry.npmjs.org/font-awesome/4.6.3 > npm http GET https://registry.npmjs.org/gl-matrix/2.3.2 > npm http GET https://registry.npmjs.org/hammerjs/2.0.8 > npm http GET https://registry.npmjs.org/monologue.js/0.3.5 > npm http GET https://registry.npmjs.org/mout/1.0.0 > npm http GET https://registry.npmjs.org/normalize.css/4.2.0 > npm http GET https://registry.npmjs.org/paraviewweb/2.0.6 > npm http GET https://registry.npmjs.org/react/15.3.0 > npm http GET https://registry.npmjs.org/react-dom/15.3.0 > npm http GET https://registry.npmjs.org/react-redux/4.4.5 > npm http GET https://registry.npmjs.org/redux/3.5.2 > npm http GET https://registry.npmjs.org/reselect/2.5.3 > npm http GET https://registry.npmjs.org/kw-web-suite/2.1.0 > npm http GET https://registry.npmjs.org/kw-doc/1.0.13 > > npm ERR! Error: failed to fetch from registry: commander/2.9.0 > npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12 > npm ERR! at cb (/usr/share/npm/lib/utils/npm- > registry-client/request.js:31:9) > npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- > registry-client/request.js:136:18) > npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) > npm ERR! at Request. (/usr/lib/nodejs/request/main. > js:212:58) > npm ERR! at Request.emit (events.js:88:20) > npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main. > js:412:12) > npm ERR! at ClientRequest.emit (events.js:67:17) > npm ERR! at HTTPParser.onIncoming (http.js:1261:11) > npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) > npm ERR! You may report this log at: > npm ERR! > npm ERR! or use > npm ERR! reportbug --attach /home/ffan/packages/ParaView_V > isualizer/visualizer/npm-debug.log npm > npm ERR! > npm ERR! System Linux 3.2.0-105-generic > npm ERR! command "node" "/usr/bin/npm" "install" > npm ERR! cwd /home/ffan/packages/ParaView_Visualizer/visualizer > npm ERR! node -v v0.6.12 > npm ERR! npm -v 1.1.4 > npm ERR! message failed to fetch from registry: commander/2.9.0 > npm ERR! > npm ERR! Additional logging details can be found in: > npm ERR! /home/ffan/packages/ParaView_Visualizer/visualizer/npm-debug > .log > npm not ok > > > On Thu, Aug 11, 2016 at 7:17 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> You seem to have a very old node and npm. >> >> The npm package is here: https://www.npmjs.com/package/pvw-visualizer >> >> Maybe the service was down? >> >> On Thu, Aug 11, 2016 at 7:02 PM, Fa-Gung Fan wrote: >> >>> Thank you Sebastien. >>> >>> Following the installation instruction, I have: >>> >>> ffan at caelinux2013-VirtualBox:~$ npm install -g pvw-visualizer >>> npm http GET https://registry.npmjs.org/pvw-visualizer >>> >>> npm ERR! Error: failed to fetch from registry: pvw-visualizer >>> npm ERR! at /usr/share/npm/lib/utils/npm-r >>> egistry-client/get.js:139:12 >>> npm ERR! at cb (/usr/share/npm/lib/utils/npm- >>> registry-client/request.js:31:9) >>> npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- >>> registry-client/request.js:136:18) >>> npm ERR! at Request.callback (/usr/lib/nodejs/request/main. >>> js:119:22) >>> npm ERR! at Request. (/usr/lib/nodejs/request/main. >>> js:212:58) >>> npm ERR! at Request.emit (events.js:88:20) >>> npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main. >>> js:412:12) >>> npm ERR! at ClientRequest.emit (events.js:67:17) >>> npm ERR! at HTTPParser.onIncoming (http.js:1261:11) >>> npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) >>> npm ERR! You may report this log at: >>> npm ERR! >>> npm ERR! or use >>> npm ERR! reportbug --attach /home/ffan/npm-debug.log npm >>> npm ERR! >>> npm ERR! System Linux 3.2.0-105-generic >>> npm ERR! command "node" "/usr/bin/npm" "install" "-g" "pvw-visualizer" >>> npm ERR! cwd /home/ffan >>> npm ERR! node -v v0.6.12 >>> npm ERR! npm -v 1.1.4 >>> npm ERR! message failed to fetch from registry: pvw-visualizer >>> npm ERR! >>> npm ERR! Additional logging details can be found in: >>> npm ERR! /home/ffan/npm-debug.log >>> npm not ok >>> ffan at caelinux2013-VirtualBox:~$ >>> >>> It says "failed to fetch from registry: pvw-visualizer". Did I do >>> something wrong? Thanks. >>> >>> - ffan >>> >>> >>> On Thu, Aug 11, 2016 at 5:02 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> ParaViewWeb - Visualizer is meant for that. Although, selection is not >>>> implemented currently. >>>> >>>> http://kitware.github.io/paraviewweb/applications/ >>>> >>>> But that version of Visualizer require ParaView/master. >>>> >>>> Otherwise an older version of Visualizer is provided along with >>>> ParaView binaries (except for Windows). >>>> You can find documentation on it here: >>>> http://paraviewweb.kitware.com/#!/guide/quick_start >>>> http://paraviewweb.kitware.com/#!/guide/app_gallery >>>> >>>> On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan wrote: >>>> >>>>> Hi ParaView users/developers, >>>>> >>>>> In my works, I need to use ParaView remotely, over the Internet. >>>>> Displaying the GUI and the images and accepting a selection become very >>>>> slow. Is there a light-wright version of ParaView (even with lower >>>>> resolution)? Or, if it is possible, how to configure ParaView so it can be >>>>> easier to use over the Internet? Thank you. >>>>> >>>>> - ffan >>>>> >>>>> _______________________________________________ >>>>> 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 sebastien.jourdain at kitware.com Thu Aug 25 10:32:39 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 25 Aug 2016 08:32:39 -0600 Subject: [Paraview] Paraview Web with SSL In-Reply-To: <41683484-80c4-6477-e415-9851818820fe@seoaachen.de> References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> <54ca2292-2150-dae1-ccd5-fb21748e0ffc@seoaachen.de> <48e0cddf-7d9a-cd9f-f693-6f1d3d69f8a9@seoaachen.de> <41683484-80c4-6477-e415-9851818820fe@seoaachen.de> Message-ID: Thanks Daniel, the documentation explain how to do it in a slightly more secure way with groups and so on... ;-) On Thu, Aug 25, 2016 at 1:20 AM, Daniel Zuidinga wrote: > I allowed read/write permissions for proxy.txt for all. Now it works! > Thank you very much. I hope I can contribute to paraview web when I am more > into it. > > > Am 25.08.2016 um 01:19 schrieb Sebastien Jourdain: > > Looking at your system log you may have some hints on what is going wrong. > (Still leaning toward file system security issue) > > The sessionId could still be sent back but if the launcher can not write > that file, then apache could not figure out its mapping. > > What linux version are you running it on? > > > On Wed, Aug 24, 2016 at 4:12 PM, Daniel Zuidinga > wrote: > >> yes that file has contents. otherwise the sessionID also wouldn't be send >> back? >> >> any ideas how to fix the ws communication? >> >> >> Am 24.08.2016 um 23:44 schrieb Sebastien Jourdain: >> >> Yes it seems the ws forwarding is not working. >> >> if you cat that file you should see some content with that id and a >> host/port that apache should use to connect to the server that is running >> paraview. >> >> Otherwise the documentation (link that I previously gave) explain how to >> use unix group and setup the appropriate rights to that file so apache can >> read while the launcher can write. >> >> On Wed, Aug 24, 2016 at 3:01 PM, Daniel Zuidinga >> wrote: >> >>> how can I check? >>> >>> The sessionID is sent to the client. So as far as I understand the http >>> requests work, but not the ws? >>> >>> >>> >>> Am 24.08.2016 um 22:52 schrieb Sebastien Jourdain: >>> >>> Are you sure apache has the right to read the /home/daniel/proxy.txt >>> while the launcher is writting it? >>> >>> Do you see some content that match your sessionId within that file? >>> >>> On Wed, Aug 24, 2016 at 1:57 PM, Daniel Zuidinga >>> wrote: >>> >>>> >>>> I changed sessionManagerURL in my html file to >>>> vtkWeb.properties.sessionManagerURL instead of >>>> http://localhost:8080/paraview. Now I get in firefox: >>>> >>>> Use of getPreventDefault() is deprecated. Use defaultPrevented >>>> instead. jquery-1.8.3.min.js:2:0 >>>> GET >>>> http://localhost/proxy [HTTP/1.1 400 Bad Request 16ms] >>>> null Visualizer:42:13 >>>> Firefox can't establish a connection to the server at >>>> ws://localhost/proxy?sessionId=7d12745c-6a34-11e6-a5dc-0016d4e2bc28. >>>> autobahn.min.js:114:0 >>>> GET >>>> http://localhost/proxy [HTTP/1.1 400 Bad Request 2ms] >>>> null >>>> >>>> ...I think one more thing is needed. >>>> >>>> >>>> >>>> Am 24.08.2016 um 21:51 schrieb Daniel Zuidinga: >>>> >>>> I had wrong paths in my launcher.config properties. >>>> Now the request gets through and the vtk window opens. But I have still >>>> the ws error. Firefox console: >>>> >>>> Firefox can't establish a connection to the server at ws://localhost/ws. >>>> autobahn.min.js:114:0 >>>> null Visualizer:42:13 >>>> Use of getPreventDefault() is deprecated. Use defaultPrevented >>>> instead. jquery-1.8.3.min.js:2:0 >>>> No launcher found. Attempting to connect using the direct WS url. >>>> vtkweb-all.js:4456:19 >>>> >>>> --- vtk window opens, then: >>>> >>>> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >>>> the remote resource at http://localhost:8080/paraview. (Reason: CORS >>>> header 'Access-Control-Allow-Origin' missing). >>>> GET >>>> http://localhost/ws [HTTP/1.1 404 Not Found 2ms] >>>> null Visualizer:42:13 >>>> Firefox can't establish a connection to the server at ws://localhost/ws >>>> . >>>> >>>> >>>> Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: >>>> >>>> Actually the hostname might be an issue if you have several network >>>> card. >>>> Can you try to use the computer IP? Or '0.0.0.0' for the launcher if >>>> that work? >>>> >>>> Otherwise I did not spotted any issue in your config. >>>> >>>> On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga >>>> wrote: >>>> >>>>> - apache 2.4.12 >>>>> - modules are enabled >>>>> - launcher.py launches without error, resrouces and apps section are >>>>> in the config file as described in the documentation >>>>> are all ports and hostnames right in my configuration files? apache is >>>>> localhost and paraview also >>>>> >>>>> >>>>> Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: >>>>> >>>>> Hi Daniel, >>>>> >>>>> Which version of Apache are you running? >>>>> >>>>> Did you enabled all the modules? >>>>> >>>>> $ sudo a2enmod vhost_alias >>>>> $ sudo a2enmod proxy >>>>> $ sudo a2enmod proxy_http >>>>> $ sudo a2enmod proxy_wstunnel >>>>> $ sudo a2enmod rewrite >>>>> >>>>> >>>>> For the launcher configuration, do you have a proper "resources" and >>>>> "apps" section? >>>>> >>>>> I'm guessing you are looking at the following documentation pages? >>>>> >>>>> - https://kitware.github.io/paraviewweb/docs/guides/apache_fro >>>>> nt_end.html >>>>> - https://kitware.github.io/paraviewweb/docs/guides/python_lau >>>>> ncher.html >>>>> >>>>> Once you have the forwarding of the launcher request working, the next >>>>> part will be the forwarding of the ws. But we can talk about it when and if >>>>> you run into issue about it. >>>>> >>>>> Seb >>>>> >>>>> On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga >>>>> wrote: >>>>> >>>>>> I tried to run the launcher as described in the docs. But I am still >>>>>> getting errors when running http://localhost/apps/Visualizer/ >>>>>> >>>>>> Firefox console: >>>>>> >>>>>> ------------------------------- >>>>>> >>>>>> 1. when setting sessionManagerURL in html set to >>>>>> vtkWeb.properties.sessionManagerURL: >>>>>> >>>>>> POST >>>>>> XHR >>>>>> http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable 48ms] >>>>>> Object { error: "The process did not properly start.?" } >>>>>> Visualizer:42:13 >>>>>> >>>>>> >>>>>> 2. when setting sessionManagerURL in html to >>>>>> http://localhost:8080/paraview: >>>>>> >>>>>> Firefox can't establish a connection to the server at >>>>>> ws://localhost/ws. autobahn.min.js:114:0 >>>>>> null Visualizer:42:13 >>>>>> No launcher found. Attempting to connect using the direct WS url. >>>>>> vtkweb-all.js:4456:19 >>>>>> Use of getPreventDefault() is deprecated. Use defaultPrevented >>>>>> instead. jquery-1.8.3.min.js:2:0 >>>>>> Cross-Origin Request Blocked: The Same Origin Policy disallows >>>>>> reading the remote resource at http://localhost:8080/paraview. >>>>>> (Reason: CORS header 'Access-Control-Allow-Origin' missing). >>>>>> GET >>>>>> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >>>>>> null >>>>>> >>>>>> >>>>>> So the launcher can't start the pv webserver? But running >>>>>> http://localhost:8080/paraview/1 in browser works but says: >>>>>> {"error": "No session with id: 1"} >>>>>> >>>>>> >>>>>> My apache config: >>>>>> >>>>>> ----------------------------- >>>>>> >>>>>> >>>>>> ServerName localhost >>>>>> ServerAdmin info at seoaachen.de >>>>>> DocumentRoot /home/daniel/salome_meca/V2016 >>>>>> /prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >>>>>> ErrorLog "logs/pv-error_log" >>>>>> CustomLog "logs/pv-access_log" common >>>>>> ### The following commented lines could be useful when running >>>>>> ### over https and wss: >>>>>> # SSLEngine On >>>>>> # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt >>>>>> # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key >>>>>> # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt >>>>>> # >>>>>> # >>>>>> # SSLRequireSSL On >>>>>> # SSLVerifyClient optional >>>>>> # SSLVerifyDepth 1 >>>>>> # SSLOptions +StdEnvVars +StrictRequire >>>>>> # >>>>>> # Have Apache pass these requests to the launcher :9000 >>>>>> ProxyPass /paraview http://localhost:8080/paraview >>>>>> # Turn on the rewrite engine >>>>>> RewriteEngine On >>>>>> # This is the path the mapping file Jetty creates >>>>>> RewriteMap session-to-port txt:/home/daniel/proxy.txt >>>>>> # This is the rewrite condition. Look for anything with a >>>>>> sessionId= in the query part of the URL and capture the value to use below. >>>>>> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >>>>>> # This does the rewrite using the mapping file and the sessionId >>>>>> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] >>>>>> >>>>> 6/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >>>>>> Options Indexes FollowSymLinks >>>>>> Order allow,deny >>>>>> Allow from all >>>>>> AllowOverride None >>>>>> Require all granted >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> my launcher.json >>>>>> >>>>>> ---------------------------- >>>>>> >>>>>> "configuration": { >>>>>> "host" : "localhost", >>>>>> >>>>>> "port" : 8080, >>>>>> "endpoint": "paraview", >>>>>> "content": "/.../www", >>>>>> "proxy_file" : "/home/daniel/proxy.txt", >>>>>> "sessionURL": "ws://localhost/proxy?sessionId=${id}", >>>>>> >>>>>> "timeout" : 25, >>>>>> "log_dir" : "/home/daniel", >>>>>> "upload_dir" : "/home/daniel", >>>>>> "fields" : ["file", "host", "port", "updir"] >>>>>> }, >>>>>> >>>>>> >>>>>> What am I doing wrong? >>>>>> >>>>>> >>>>>> Daniel Zuidinga >>>>>> Dipl.-Ing. >>>>>> >>>>>> SEO Aachen >>>>>> Passstr. 5 >>>>>> 52070 Aachen >>>>>> >>>>>> Tel : 0241 / 450 912 67 >>>>>> E-Mail: info at seoaachen.de >>>>>> Web : http://www.seoaachen.de (nur zum Teil aktuell) >>>>>> Xing : https://www.xing.com/profile/Daniel_Zuidinga >>>>>> >>>>>> Bald online: Software Tools f?r Konstrukteure und Bauteilherstellerhttp://www.engineeringonline.de >>>>>> >>>>>> Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >>>>>> >>>>>> Hi Daniel, >>>>>> >>>>>>> I want to use paraview web with SSL. As far as I understand I need >>>>>>> apache as a proxy server for that? Or is it possible with pvpython? >>>>>> >>>>>> It might be possible with pvpython, but I've never done it, I've >>>>>> always used apache to rely on a single opened port and handle the >>>>>> encryption. >>>>>> >>>>>> >>>>>>> I have my own launcher which opens pvpython with a different port >>>>>>> for each user. Is this the right way? Will this work with ssl? >>>>>> >>>>>> If pvpython directly support the wss connection, you can be good. >>>>>> Usually the setup, that I do is that I have Apache serving only the port >>>>>> 443 (https) for both the static content and the (wss) websocket endpoint. >>>>>> And I use a mapping file between the Websocket endpoint that get returned >>>>>> by my launcher and the host/port I should connect to on the backend to >>>>>> establish the link between the client and the actual ParaViewWeb server >>>>>> instance. >>>>>> But that does not mean, that's the only way to do it and if you don't >>>>>> mind having several port open, I don't see why it could not work. >>>>>> >>>>>> >>>>>>> Concerning: https://kitware.github.io/visualizer/docs/ The web >>>>>>> visuailzer should work via npm installation? It does not work for me: >>>>>>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualiz >>>>>>> er\bin\pvw-visualizer-cli.js:41 var pvPythonExecs = >>>>>>> find(paraview).filter(function(file) { return >>>>>>> file.match(/pvpython$/) || file.match(/pvpython.exe$/); }); >>>>>>> ^ TypeError: find(...).filter is not a function at >>>>>>> Object. (C:\Users\danie\AppData\Roamin >>>>>>> g\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >>>>>>> at Module._compile (module.js:409:26) at >>>>>>> Object.Module._extensions..js (module.js:416:10) at Module.load >>>>>>> (module.js:343:32) at Function.Module._load (module.js:300:12) at >>>>>>> Function.Module.runMain (module.js:441:10) at startup (node.js:139:18) >>>>>>> at node.js:968:3 >>>>>> >>>>>> Well, I guess I haven't tried to run the new Visualizer server on a >>>>>> Windows machine. >>>>>> But with ParaView 5.2 (yet to be released), we should have a >>>>>> ParaViewWeb back in the binaries. So we should make sure our Visualizer >>>>>> command line tool work on that platform as well. >>>>>> Although, the command line is more for beginners than anything else >>>>>> as it only simplify the demo usage. In real word deployment, with a >>>>>> launcher, the true pvpython command line should be used instead. >>>>>> Here is an example of what you should see in a working environment: >>>>>> $ Visualizer -d ~/Downloads/ >>>>>> ============================================================ >>>>>> =================== >>>>>> | Execute: >>>>>> | $ /Applications/paraview.app/Contents/bin/pvpython >>>>>> | -dr >>>>>> | /Users/seb/Documents/code/Web2/visualizer/server/pvw-visuali >>>>>> zer.py >>>>>> | --content >>>>>> | /Users/seb/Documents/code/Web2/visualizer/dist >>>>>> | --port >>>>>> | 8080 >>>>>> | --data >>>>>> | /Users/seb/Downloads/ >>>>>> ============================================================ >>>>>> =================== >>>>>> [...] >>>>>> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 Aachen Tel >>>>>> : 0241 / 450 912 67 E-Mail: info at seoaachen.de Web : >>>>>> http://www.seoaachen.de (nur zum Teil aktuell) Xing : >>>>>> https://www.xing.com/profile/Daniel_Zuidinga Bald online: Software >>>>>> Tools f?r Konstrukteure und Bauteilhersteller >>>>>> http://www.engineeringonline.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/mail >>>>>> man/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/ParaV >>>> iew 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 sebastien.jourdain at kitware.com Thu Aug 25 11:04:42 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 25 Aug 2016 09:04:42 -0600 Subject: [Paraview] ParaView over the internet In-Reply-To: References: Message-ID: http://www.paraview.org/download/ On Thu, Aug 25, 2016 at 8:31 AM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > It is part of the paraview distribution. > > start it via pvpython. > > On Wed, Aug 24, 2016 at 6:46 PM, Fa-Gung Fan wrote: > >> Hi Sebastien, >> >> I still have the failed to fetch problem (below). Is Ubuntu 12.04 (Linux >> 3.2.0-105-generic) too old? You said there is an older version of >> Visualizer provided along with ParaView binaries. Can you please point me >> to the location? I could not find it in http://kitware.github.io/parav >> iewweb/applications/ or http://kitware.github.io/parav >> iewweb/applications/. Thanks. >> >> - ffan >> >> ffan at caelinux2013-VirtualBox:~/packages/ParaView_Visualizer/visualizer$ >> npm install >> npm http GET https://registry.npmjs.org/commander/2.9.0 >> npm http GET https://registry.npmjs.org/open/0.0.5 >> npm http GET https://registry.npmjs.org/shelljs/0.7.3 >> npm http GET https://registry.npmjs.org/ws/0.8.1 >> npm http GET https://registry.npmjs.org/font-awesome/4.6.3 >> npm http GET https://registry.npmjs.org/gl-matrix/2.3.2 >> npm http GET https://registry.npmjs.org/hammerjs/2.0.8 >> npm http GET https://registry.npmjs.org/monologue.js/0.3.5 >> npm http GET https://registry.npmjs.org/mout/1.0.0 >> npm http GET https://registry.npmjs.org/normalize.css/4.2.0 >> npm http GET https://registry.npmjs.org/paraviewweb/2.0.6 >> npm http GET https://registry.npmjs.org/react/15.3.0 >> npm http GET https://registry.npmjs.org/react-dom/15.3.0 >> npm http GET https://registry.npmjs.org/react-redux/4.4.5 >> npm http GET https://registry.npmjs.org/redux/3.5.2 >> npm http GET https://registry.npmjs.org/reselect/2.5.3 >> npm http GET https://registry.npmjs.org/kw-web-suite/2.1.0 >> npm http GET https://registry.npmjs.org/kw-doc/1.0.13 >> >> npm ERR! Error: failed to fetch from registry: commander/2.9.0 >> npm ERR! at /usr/share/npm/lib/utils/npm-r >> egistry-client/get.js:139:12 >> npm ERR! at cb (/usr/share/npm/lib/utils/npm- >> registry-client/request.js:31:9) >> npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- >> registry-client/request.js:136:18) >> npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) >> npm ERR! at Request. (/usr/lib/nodejs/request/main. >> js:212:58) >> npm ERR! at Request.emit (events.js:88:20) >> npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main. >> js:412:12) >> npm ERR! at ClientRequest.emit (events.js:67:17) >> npm ERR! at HTTPParser.onIncoming (http.js:1261:11) >> npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) >> npm ERR! You may report this log at: >> npm ERR! >> npm ERR! or use >> npm ERR! reportbug --attach /home/ffan/packages/ParaView_V >> isualizer/visualizer/npm-debug.log npm >> npm ERR! >> npm ERR! System Linux 3.2.0-105-generic >> npm ERR! command "node" "/usr/bin/npm" "install" >> npm ERR! cwd /home/ffan/packages/ParaView_Visualizer/visualizer >> npm ERR! node -v v0.6.12 >> npm ERR! npm -v 1.1.4 >> npm ERR! message failed to fetch from registry: commander/2.9.0 >> npm ERR! >> npm ERR! Additional logging details can be found in: >> npm ERR! /home/ffan/packages/ParaView_Visualizer/visualizer/npm-debug >> .log >> npm not ok >> >> >> On Thu, Aug 11, 2016 at 7:17 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> You seem to have a very old node and npm. >>> >>> The npm package is here: https://www.npmjs.com/package/pvw-visualizer >>> >>> Maybe the service was down? >>> >>> On Thu, Aug 11, 2016 at 7:02 PM, Fa-Gung Fan wrote: >>> >>>> Thank you Sebastien. >>>> >>>> Following the installation instruction, I have: >>>> >>>> ffan at caelinux2013-VirtualBox:~$ npm install -g pvw-visualizer >>>> npm http GET https://registry.npmjs.org/pvw-visualizer >>>> >>>> npm ERR! Error: failed to fetch from registry: pvw-visualizer >>>> npm ERR! at /usr/share/npm/lib/utils/npm-r >>>> egistry-client/get.js:139:12 >>>> npm ERR! at cb (/usr/share/npm/lib/utils/npm- >>>> registry-client/request.js:31:9) >>>> npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- >>>> registry-client/request.js:136:18) >>>> npm ERR! at Request.callback (/usr/lib/nodejs/request/main. >>>> js:119:22) >>>> npm ERR! at Request. (/usr/lib/nodejs/request/main. >>>> js:212:58) >>>> npm ERR! at Request.emit (events.js:88:20) >>>> npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main. >>>> js:412:12) >>>> npm ERR! at ClientRequest.emit (events.js:67:17) >>>> npm ERR! at HTTPParser.onIncoming (http.js:1261:11) >>>> npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) >>>> npm ERR! You may report this log at: >>>> npm ERR! >>>> npm ERR! or use >>>> npm ERR! reportbug --attach /home/ffan/npm-debug.log npm >>>> npm ERR! >>>> npm ERR! System Linux 3.2.0-105-generic >>>> npm ERR! command "node" "/usr/bin/npm" "install" "-g" "pvw-visualizer" >>>> npm ERR! cwd /home/ffan >>>> npm ERR! node -v v0.6.12 >>>> npm ERR! npm -v 1.1.4 >>>> npm ERR! message failed to fetch from registry: pvw-visualizer >>>> npm ERR! >>>> npm ERR! Additional logging details can be found in: >>>> npm ERR! /home/ffan/npm-debug.log >>>> npm not ok >>>> ffan at caelinux2013-VirtualBox:~$ >>>> >>>> It says "failed to fetch from registry: pvw-visualizer". Did I do >>>> something wrong? Thanks. >>>> >>>> - ffan >>>> >>>> >>>> On Thu, Aug 11, 2016 at 5:02 PM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> ParaViewWeb - Visualizer is meant for that. Although, selection is not >>>>> implemented currently. >>>>> >>>>> http://kitware.github.io/paraviewweb/applications/ >>>>> >>>>> But that version of Visualizer require ParaView/master. >>>>> >>>>> Otherwise an older version of Visualizer is provided along with >>>>> ParaView binaries (except for Windows). >>>>> You can find documentation on it here: >>>>> http://paraviewweb.kitware.com/#!/guide/quick_start >>>>> http://paraviewweb.kitware.com/#!/guide/app_gallery >>>>> >>>>> On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan wrote: >>>>> >>>>>> Hi ParaView users/developers, >>>>>> >>>>>> In my works, I need to use ParaView remotely, over the Internet. >>>>>> Displaying the GUI and the images and accepting a selection become very >>>>>> slow. Is there a light-wright version of ParaView (even with lower >>>>>> resolution)? Or, if it is possible, how to configure ParaView so it can be >>>>>> easier to use over the Internet? Thank you. >>>>>> >>>>>> - ffan >>>>>> >>>>>> _______________________________________________ >>>>>> 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 sebastien.jourdain at kitware.com Thu Aug 25 11:05:50 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 25 Aug 2016 09:05:50 -0600 Subject: [Paraview] ParaView over the internet In-Reply-To: References: Message-ID: Then to run it (http://pvw.kitware.com/#!/guide/quick_start) $ tar xvzf ParaView-4.1.0-Linux-64bit-glibc-2.3.6.tar.gz $ cd ParaView-4.1.0-Linux-64bit $ ./bin/pvpython lib/paraview-4.1/site-packages/paraview/web/pv_web_visualizer.py \ --content ./share/paraview-4.1/www \ --data-dir /path-to-share/ \ --port 8080 &-=> Then, open a browser to the following URL http://localhost:8080/apps/Visualizer On Thu, Aug 25, 2016 at 9:04 AM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > http://www.paraview.org/download/ > > On Thu, Aug 25, 2016 at 8:31 AM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> It is part of the paraview distribution. >> >> start it via pvpython. >> >> On Wed, Aug 24, 2016 at 6:46 PM, Fa-Gung Fan wrote: >> >>> Hi Sebastien, >>> >>> I still have the failed to fetch problem (below). Is Ubuntu 12.04 >>> (Linux 3.2.0-105-generic) too old? You said there is an older version of >>> Visualizer provided along with ParaView binaries. Can you please point me >>> to the location? I could not find it in http://kitware.github.io/parav >>> iewweb/applications/ or http://kitware.github.io/parav >>> iewweb/applications/. Thanks. >>> >>> - ffan >>> >>> ffan at caelinux2013-VirtualBox:~/packages/ParaView_Visualizer/visualizer$ >>> npm install >>> npm http GET https://registry.npmjs.org/commander/2.9.0 >>> npm http GET https://registry.npmjs.org/open/0.0.5 >>> npm http GET https://registry.npmjs.org/shelljs/0.7.3 >>> npm http GET https://registry.npmjs.org/ws/0.8.1 >>> npm http GET https://registry.npmjs.org/font-awesome/4.6.3 >>> npm http GET https://registry.npmjs.org/gl-matrix/2.3.2 >>> npm http GET https://registry.npmjs.org/hammerjs/2.0.8 >>> npm http GET https://registry.npmjs.org/monologue.js/0.3.5 >>> npm http GET https://registry.npmjs.org/mout/1.0.0 >>> npm http GET https://registry.npmjs.org/normalize.css/4.2.0 >>> npm http GET https://registry.npmjs.org/paraviewweb/2.0.6 >>> npm http GET https://registry.npmjs.org/react/15.3.0 >>> npm http GET https://registry.npmjs.org/react-dom/15.3.0 >>> npm http GET https://registry.npmjs.org/react-redux/4.4.5 >>> npm http GET https://registry.npmjs.org/redux/3.5.2 >>> npm http GET https://registry.npmjs.org/reselect/2.5.3 >>> npm http GET https://registry.npmjs.org/kw-web-suite/2.1.0 >>> npm http GET https://registry.npmjs.org/kw-doc/1.0.13 >>> >>> npm ERR! Error: failed to fetch from registry: commander/2.9.0 >>> npm ERR! at /usr/share/npm/lib/utils/npm-r >>> egistry-client/get.js:139:12 >>> npm ERR! at cb (/usr/share/npm/lib/utils/npm- >>> registry-client/request.js:31:9) >>> npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- >>> registry-client/request.js:136:18) >>> npm ERR! at Request.callback (/usr/lib/nodejs/request/main. >>> js:119:22) >>> npm ERR! at Request. (/usr/lib/nodejs/request/main. >>> js:212:58) >>> npm ERR! at Request.emit (events.js:88:20) >>> npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main. >>> js:412:12) >>> npm ERR! at ClientRequest.emit (events.js:67:17) >>> npm ERR! at HTTPParser.onIncoming (http.js:1261:11) >>> npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) >>> npm ERR! You may report this log at: >>> npm ERR! >>> npm ERR! or use >>> npm ERR! reportbug --attach /home/ffan/packages/ParaView_V >>> isualizer/visualizer/npm-debug.log npm >>> npm ERR! >>> npm ERR! System Linux 3.2.0-105-generic >>> npm ERR! command "node" "/usr/bin/npm" "install" >>> npm ERR! cwd /home/ffan/packages/ParaView_Visualizer/visualizer >>> npm ERR! node -v v0.6.12 >>> npm ERR! npm -v 1.1.4 >>> npm ERR! message failed to fetch from registry: commander/2.9.0 >>> npm ERR! >>> npm ERR! Additional logging details can be found in: >>> npm ERR! /home/ffan/packages/ParaView_V >>> isualizer/visualizer/npm-debug.log >>> npm not ok >>> >>> >>> On Thu, Aug 11, 2016 at 7:17 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> You seem to have a very old node and npm. >>>> >>>> The npm package is here: https://www.npmjs.com/package/pvw-visualizer >>>> >>>> Maybe the service was down? >>>> >>>> On Thu, Aug 11, 2016 at 7:02 PM, Fa-Gung Fan wrote: >>>> >>>>> Thank you Sebastien. >>>>> >>>>> Following the installation instruction, I have: >>>>> >>>>> ffan at caelinux2013-VirtualBox:~$ npm install -g pvw-visualizer >>>>> npm http GET https://registry.npmjs.org/pvw-visualizer >>>>> >>>>> npm ERR! Error: failed to fetch from registry: pvw-visualizer >>>>> npm ERR! at /usr/share/npm/lib/utils/npm-r >>>>> egistry-client/get.js:139:12 >>>>> npm ERR! at cb (/usr/share/npm/lib/utils/npm- >>>>> registry-client/request.js:31:9) >>>>> npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm- >>>>> registry-client/request.js:136:18) >>>>> npm ERR! at Request.callback (/usr/lib/nodejs/request/main. >>>>> js:119:22) >>>>> npm ERR! at Request. (/usr/lib/nodejs/request/main. >>>>> js:212:58) >>>>> npm ERR! at Request.emit (events.js:88:20) >>>>> npm ERR! at ClientRequest. >>>>> (/usr/lib/nodejs/request/main.js:412:12) >>>>> npm ERR! at ClientRequest.emit (events.js:67:17) >>>>> npm ERR! at HTTPParser.onIncoming (http.js:1261:11) >>>>> npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) >>>>> npm ERR! You may report this log at: >>>>> npm ERR! >>>>> npm ERR! or use >>>>> npm ERR! reportbug --attach /home/ffan/npm-debug.log npm >>>>> npm ERR! >>>>> npm ERR! System Linux 3.2.0-105-generic >>>>> npm ERR! command "node" "/usr/bin/npm" "install" "-g" "pvw-visualizer" >>>>> npm ERR! cwd /home/ffan >>>>> npm ERR! node -v v0.6.12 >>>>> npm ERR! npm -v 1.1.4 >>>>> npm ERR! message failed to fetch from registry: pvw-visualizer >>>>> npm ERR! >>>>> npm ERR! Additional logging details can be found in: >>>>> npm ERR! /home/ffan/npm-debug.log >>>>> npm not ok >>>>> ffan at caelinux2013-VirtualBox:~$ >>>>> >>>>> It says "failed to fetch from registry: pvw-visualizer". Did I do >>>>> something wrong? Thanks. >>>>> >>>>> - ffan >>>>> >>>>> >>>>> On Thu, Aug 11, 2016 at 5:02 PM, Sebastien Jourdain < >>>>> sebastien.jourdain at kitware.com> wrote: >>>>> >>>>>> ParaViewWeb - Visualizer is meant for that. Although, selection is >>>>>> not implemented currently. >>>>>> >>>>>> http://kitware.github.io/paraviewweb/applications/ >>>>>> >>>>>> But that version of Visualizer require ParaView/master. >>>>>> >>>>>> Otherwise an older version of Visualizer is provided along with >>>>>> ParaView binaries (except for Windows). >>>>>> You can find documentation on it here: >>>>>> http://paraviewweb.kitware.com/#!/guide/quick_start >>>>>> http://paraviewweb.kitware.com/#!/guide/app_gallery >>>>>> >>>>>> On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan >>>>>> wrote: >>>>>> >>>>>>> Hi ParaView users/developers, >>>>>>> >>>>>>> In my works, I need to use ParaView remotely, over the Internet. >>>>>>> Displaying the GUI and the images and accepting a selection become very >>>>>>> slow. Is there a light-wright version of ParaView (even with lower >>>>>>> resolution)? Or, if it is possible, how to configure ParaView so it can be >>>>>>> easier to use over the Internet? Thank you. >>>>>>> >>>>>>> - ffan >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 burlen.loring at gmail.com Thu Aug 25 13:07:22 2016 From: burlen.loring at gmail.com (Burlen Loring) Date: Thu, 25 Aug 2016 10:07:22 -0700 Subject: [Paraview] associating table data with a Paraview source? In-Reply-To: <787E7423-6F3F-4639-83C1-6A0A00854069@email.arizona.edu> References: <787E7423-6F3F-4639-83C1-6A0A00854069@email.arizona.edu> Message-ID: hey Cynthia, if your data is in, or can be converted to, CSV format just open it up, and apply the table to points filter, followed by glyph filter. table to points you'll need to specify the coordinate arrays and check keep all arrays option. in the glyph filter properties you can select a sphere glyph and select glyph all points option. this will put a sphere at each point and you can scale and color them by any of the arrays. Burlen On 08/24/2016 03:41 PM, Hart, Cynthia Joyce - (cyndyb) wrote: > > Hi folks, An ignorant question. I know Paraview is great for > visualizing existing complex data sets, but I have a simple problem > wherein I need to create a dataset, and I would like to solve this > problem using Paraview, but I am unsure how to do so. > > In brief, I have been given point data of radiance values of 3 sensors > placed in specific locations around a mesh. I have no 3D object > provided that represents the sensors, no 3d volume; just a spreadsheet > of values of sensor readings over time. For illustrative purposes, it > is desired to visualize the sensors as radiant spheres, and animate > how the 3 sensor values change over time, by showing the sensor > spheres varying in color. > > It seems the way to go about this, is create source spheres in > Paraview, at the proper locations around the mesh object. This part > is easy! What is not clear to me, is if there is a way ? and if so, > what is it ? to associate my data tables of changing sensor values > with the Paraview sphere sources. Once I import the csv spreadsheet, > how can I associate it with an object already in Paraview? Can > someone kindly point me in the right direction, or tell me this cannot > be done. Thank you! > > Cynthia > > > > _______________________________________________ > 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 tim.gallagher at gatech.edu Thu Aug 25 14:22:19 2016 From: tim.gallagher at gatech.edu (Gallagher, Timothy P) Date: Thu, 25 Aug 2016 18:22:19 +0000 Subject: [Paraview] Status of BoxLib AMR reader Message-ID: Hi, Our code is moving away from traditional structured grids towards an AMR capability using BoxLib. That means, unfortunately, that all of the development we have done to make our code Paraview and CoProcessing friendly is not usable with the BoxLib file format. I have seen some information on various websites about using the VisitBridge to add the readers from Visit into Paraview, but when I build with it, the BoxLib reader was not included in the list of formats I could use for files -- even though it is listed online. Does anybody know what the status is of the reader in PV and if it is usable? Or is there a different format we can try to write out from our code that would be usable? I really don't want to lose the work we've done with PV and I would rather spend time writing code to get things working again for PV than learn to use new software! Thanks, Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From michalwozniak at live.ca Thu Aug 25 15:40:09 2016 From: michalwozniak at live.ca (michal wozniak) Date: Thu, 25 Aug 2016 15:40:09 -0400 Subject: [Paraview] 3D Widgets Message-ID: Hi, Thanks a lot! This is exactly what I was looking for. From: Utkarsh Ayachit Sent: Wednesday, August 24, 2016 4:00 PM To: michal wozniak Cc: paraview at paraview.org Subject: Re: [Paraview] 3D Widgets I think this is what you want is similar to "SPHVolumeInterpolator". See : 1. https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Points/points.xml#L671-699 2. https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Points/points.xml#L75-128 On Wed, Aug 24, 2016 at 3:44 PM, michal wozniak wrote: > Hi, > > I am trying to add 3D widgets to my custom filters. I am trying to find some > documentation. For eg, let's say I want to add a BoxWidget that will just > surround my input data. How do I achieve this? > I am having trouble understanding the process of linking the widget to the > filter inside the XML. > > I looked here > http://www.paraview.org/Wiki/ParaView/Properties_Panel and > ParaViewCore\ServerManager\SMApplication\Resources\3d_widgets.xml > > In 3d_widgets.XML, I see all the possible widgets available to ParaView. > What the XML syntax to access them. > > I was looking at the clip filter which is using the Box and a plane ( for > the plane clip) and saw that this part of XML is "triggering the process of > rendering the BOX with the plane" > > label="Clip Type" > name="ClipFunction"> > > > > > name="Plane" /> > name="Box" /> > name="Sphere" /> > name="Cylinder" /> > name="Scalar" /> > > > How do I customize this code, to add a different kind of 3D widgets ? > > > > _______________________________________________ > 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 info at seoaachen.de Fri Aug 26 07:52:24 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Fri, 26 Aug 2016 13:52:24 +0200 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> <54ca2292-2150-dae1-ccd5-fb21748e0ffc@seoaachen.de> <48e0cddf-7d9a-cd9f-f693-6f1d3d69f8a9@seoaachen.de> <41683484-80c4-6477-e415-9851818820fe@seoaachen.de> Message-ID: I have still a question. How can I pass arguments to that launcher from the client? E.g. I want to pass a file or a directory. Am 25.08.2016 um 16:32 schrieb Sebastien Jourdain: > Thanks Daniel, > > the documentation explain how to do it in a slightly more secure way > with groups and so on... ;-) > > On Thu, Aug 25, 2016 at 1:20 AM, Daniel Zuidinga > wrote: > > I allowed read/write permissions for proxy.txt for all. Now it > works! Thank you very much. I hope I can contribute to paraview > web when I am more into it. > > > Am 25.08.2016 um 01:19 schrieb Sebastien Jourdain: >> Looking at your system log you may have some hints on what is >> going wrong. (Still leaning toward file system security issue) >> >> The sessionId could still be sent back but if the launcher can >> not write that file, then apache could not figure out its mapping. >> >> What linux version are you running it on? >> >> >> On Wed, Aug 24, 2016 at 4:12 PM, Daniel Zuidinga >> > wrote: >> >> yes that file has contents. otherwise the sessionID also >> wouldn't be send back? >> >> any ideas how to fix the ws communication? >> >> >> Am 24.08.2016 um 23:44 schrieb Sebastien Jourdain: >>> Yes it seems the ws forwarding is not working. >>> >>> if you cat that file you should see some content with that >>> id and a host/port that apache should use to connect to the >>> server that is running paraview. >>> >>> Otherwise the documentation (link that I previously gave) >>> explain how to use unix group and setup the appropriate >>> rights to that file so apache can read while the launcher >>> can write. >>> >>> On Wed, Aug 24, 2016 at 3:01 PM, Daniel Zuidinga >>> > wrote: >>> >>> how can I check? >>> >>> The sessionID is sent to the client. So as far as I >>> understand the http requests work, but not the ws? >>> >>> >>> >>> Am 24.08.2016 um 22:52 schrieb Sebastien Jourdain: >>>> Are you sure apache has the right to read the >>>> /home/daniel/proxy.txt while the launcher is writting it? >>>> >>>> Do you see some content that match your sessionId >>>> within that file? >>>> >>>> On Wed, Aug 24, 2016 at 1:57 PM, Daniel Zuidinga >>>> > wrote: >>>> >>>> >>>> I changed sessionManagerURL in my html file to >>>> vtkWeb.properties.sessionManagerURL instead of >>>> http://localhost:8080/paraview. Now I get in firefox: >>>> >>>> Use of getPreventDefault() is deprecated. Use >>>> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >>>> GET >>>> http://localhost/proxy [HTTP/1.1 400 Bad Request 16ms] >>>> null Visualizer:42:13 >>>> Firefox can't establish a connection to the server >>>> at >>>> ws://localhost/proxy?sessionId=7d12745c-6a34-11e6-a5dc-0016d4e2bc28. >>>> autobahn.min.js:114:0 >>>> GET >>>> http://localhost/proxy [HTTP/1.1 400 Bad Request 2ms] >>>> null >>>> >>>> ...I think one more thing is needed. >>>> >>>> >>>> >>>> Am 24.08.2016 um 21:51 schrieb Daniel Zuidinga: >>>>> I had wrong paths in my launcher.config properties. >>>>> Now the request gets through and the vtk window >>>>> opens. But I have still the ws error. Firefox console: >>>>> >>>>> Firefox can't establish a connection to the server >>>>> at ws://localhost/ws. autobahn.min.js:114:0 >>>>> null Visualizer:42:13 >>>>> Use of getPreventDefault() is deprecated. Use >>>>> defaultPrevented instead. jquery-1.8.3.min.js:2:0 >>>>> No launcher found. Attempting to connect using the >>>>> direct WS url. vtkweb-all.js:4456:19 >>>>> >>>>> --- vtk window opens, then: >>>>> >>>>> Cross-Origin Request Blocked: The Same Origin >>>>> Policy disallows reading the remote resource at >>>>> http://localhost:8080/paraview. (Reason: CORS >>>>> header 'Access-Control-Allow-Origin' missing). >>>>> >>>>> GET >>>>> http://localhost/ws [HTTP/1.1 404 Not Found 2ms] >>>>> null Visualizer:42:13 >>>>> Firefox can't establish a connection to the server >>>>> at ws://localhost/ws. >>>>> >>>>> >>>>> Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: >>>>>> Actually the hostname might be an issue if you >>>>>> have several network card. >>>>>> Can you try to use the computer IP? Or '0.0.0.0' >>>>>> for the launcher if that work? >>>>>> >>>>>> Otherwise I did not spotted any issue in your config. >>>>>> >>>>>> On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga >>>>>> > wrote: >>>>>> >>>>>> - apache 2.4.12 >>>>>> - modules are enabled >>>>>> - launcher.py launches without error, >>>>>> resrouces and apps section are in the config >>>>>> file as described in the documentation >>>>>> are all ports and hostnames right in my >>>>>> configuration files? apache is localhost and >>>>>> paraview also >>>>>> >>>>>> >>>>>> Am 24.08.2016 um 16:22 schrieb Sebastien >>>>>> Jourdain: >>>>>>> Hi Daniel, >>>>>>> >>>>>>> Which version of Apache are you running? >>>>>>> >>>>>>> Did you enabled all the modules? >>>>>>> >>>>>>> $ sudo a2enmod vhost_alias >>>>>>> $ sudo a2enmod proxy >>>>>>> $ sudo a2enmod proxy_http >>>>>>> $ sudo a2enmod proxy_wstunnel >>>>>>> $ sudo a2enmod rewrite >>>>>>> >>>>>>> For the launcher configuration, do you have >>>>>>> a proper "resources" and "apps" section? >>>>>>> >>>>>>> I'm guessing you are looking at the >>>>>>> following documentation pages? >>>>>>> >>>>>>> - >>>>>>> https://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html >>>>>>> >>>>>>> - >>>>>>> https://kitware.github.io/paraviewweb/docs/guides/python_launcher.html >>>>>>> >>>>>>> >>>>>>> Once you have the forwarding of the launcher >>>>>>> request working, the next part will be the >>>>>>> forwarding of the ws. But we can talk about >>>>>>> it when and if you run into issue about it. >>>>>>> >>>>>>> Seb >>>>>>> >>>>>>> On Wed, Aug 24, 2016 at 2:22 AM, Daniel >>>>>>> Zuidinga >>>>>> > wrote: >>>>>>> >>>>>>> I tried to run the launcher as described >>>>>>> in the docs. But I am still getting >>>>>>> errors when running >>>>>>> http://localhost/apps/Visualizer/ >>>>>>> >>>>>>> >>>>>>> Firefox console: >>>>>>> >>>>>>> ------------------------------- >>>>>>> >>>>>>> 1. when setting sessionManagerURL in >>>>>>> html set to >>>>>>> vtkWeb.properties.sessionManagerURL: >>>>>>> >>>>>>> POST >>>>>>> XHR >>>>>>> http://localhost/paraview/ [HTTP/1.1 503 >>>>>>> Service Unavailable 48ms] >>>>>>> Object { error: "The process did not >>>>>>> properly start.?" } Visualizer:42:13 >>>>>>> >>>>>>> >>>>>>> 2. when setting sessionManagerURL in >>>>>>> html to http://localhost:8080/paraview: >>>>>>> >>>>>>> Firefox can't establish a connection to >>>>>>> the server at ws://localhost/ws. >>>>>>> autobahn.min.js:114:0 >>>>>>> null Visualizer:42:13 >>>>>>> No launcher found. Attempting to connect >>>>>>> using the direct WS url. >>>>>>> vtkweb-all.js:4456:19 >>>>>>> Use of getPreventDefault() is >>>>>>> deprecated. Use defaultPrevented >>>>>>> instead. jquery-1.8.3.min.js:2:0 >>>>>>> Cross-Origin Request Blocked: The Same >>>>>>> Origin Policy disallows reading the >>>>>>> remote resource at >>>>>>> http://localhost:8080/paraview. (Reason: >>>>>>> CORS header >>>>>>> 'Access-Control-Allow-Origin' missing). >>>>>>> >>>>>>> GET >>>>>>> http://localhost/ws [HTTP/1.1 404 Not >>>>>>> Found 12ms] >>>>>>> null >>>>>>> >>>>>>> >>>>>>> So the launcher can't start the pv >>>>>>> webserver? But running >>>>>>> http://localhost:8080/paraview/1 >>>>>>> in >>>>>>> browser works but says: {"error": "No >>>>>>> session with id: 1"} >>>>>>> >>>>>>> >>>>>>> My apache config: >>>>>>> >>>>>>> ----------------------------- >>>>>>> >>>>>>> >>>>>>> ServerName localhost >>>>>>> ServerAdmin info at seoaachen.de >>>>>>> >>>>>>> DocumentRoot >>>>>>> /home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >>>>>>> ErrorLog "logs/pv-error_log" >>>>>>> CustomLog "logs/pv-access_log" common >>>>>>> ### The following commented lines >>>>>>> could be useful when running >>>>>>> ### over https and wss: >>>>>>> # SSLEngine On >>>>>>> # SSLCertificateFile >>>>>>> /etc/apache2/ssl/your_certificate.crt >>>>>>> # SSLCertificateKeyFile >>>>>>> /etc/apache2/ssl/your_domain_key.key >>>>>>> # SSLCertificateChainFile >>>>>>> /etc/apache2/ssl/DigiCertCA.crt >>>>>>> # >>>>>>> # >>>>>>> # SSLRequireSSL On >>>>>>> # SSLVerifyClient optional >>>>>>> # SSLVerifyDepth 1 >>>>>>> # SSLOptions +StdEnvVars +StrictRequire >>>>>>> # >>>>>>> # Have Apache pass these requests to >>>>>>> the launcher :9000 >>>>>>> ProxyPass /paraview >>>>>>> http://localhost:8080/paraview >>>>>>> # Turn on the rewrite engine >>>>>>> RewriteEngine On >>>>>>> # This is the path the mapping file >>>>>>> Jetty creates >>>>>>> RewriteMap session-to-port >>>>>>> txt:/home/daniel/proxy.txt >>>>>>> # This is the rewrite condition. >>>>>>> Look for anything with a sessionId= in >>>>>>> the query part of the URL and capture >>>>>>> the value to use below. >>>>>>> RewriteCond %{QUERY_STRING} >>>>>>> ^sessionId=(.*)$ [NC] >>>>>>> # This does the rewrite using the >>>>>>> mapping file and the sessionId >>>>>>> RewriteRule ^/proxy.*$ >>>>>>> ws://${session-to-port:%1}/ws [P] >>>>>>> >>>>>> "/home/daniel/salome_meca/V2016/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >>>>>>> Options Indexes FollowSymLinks >>>>>>> Order allow,deny >>>>>>> Allow from all >>>>>>> AllowOverride None >>>>>>> Require all granted >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> my launcher.json >>>>>>> >>>>>>> ---------------------------- >>>>>>> >>>>>>> "configuration": { >>>>>>> "host" : "localhost", >>>>>>> >>>>>>> "port" : 8080, >>>>>>> "endpoint": "paraview", >>>>>>> "content": "/.../www", >>>>>>> "proxy_file" : "/home/daniel/proxy.txt", >>>>>>> "sessionURL": >>>>>>> "ws://localhost/proxy?sessionId=${id}", >>>>>>> >>>>>>> "timeout" : 25, >>>>>>> "log_dir" : "/home/daniel", >>>>>>> "upload_dir" : "/home/daniel", >>>>>>> "fields" : ["file", "host", "port", >>>>>>> "updir"] >>>>>>> }, >>>>>>> >>>>>>> >>>>>>> What am I doing wrong? >>>>>>> >>>>>>> >>>>>>> Daniel Zuidinga >>>>>>> Dipl.-Ing. >>>>>>> >>>>>>> SEO Aachen >>>>>>> Passstr. 5 >>>>>>> 52070 Aachen >>>>>>> >>>>>>> Tel : 0241 / 450 912 67 >>>>>>> E-Mail:info at seoaachen.de >>>>>>> Web :http://www.seoaachen.de (nur zum Teil aktuell) >>>>>>> Xing :https://www.xing.com/profile/Daniel_Zuidinga >>>>>>> >>>>>>> >>>>>>> Bald online: Software Tools f?r Konstrukteure und Bauteilhersteller >>>>>>> http://www.engineeringonline.de >>>>>>> >>>>>>> >>>>>>> Am 22.08.2016 um 22:32 schrieb Sebastien >>>>>>> Jourdain: >>>>>>>> Hi Daniel, >>>>>>>> >>>>>>>> I want to use paraview web with >>>>>>>> SSL. As far as I understand I need >>>>>>>> apache as a proxy server for that? >>>>>>>> Or is it possible with pvpython? >>>>>>>> >>>>>>>> It might be possible with pvpython, but >>>>>>>> I've never done it, I've always used >>>>>>>> apache to rely on a single opened port >>>>>>>> and handle the encryption. >>>>>>>> >>>>>>>> I have my own launcher which opens >>>>>>>> pvpython with a different port for >>>>>>>> each user. Is this the right way? >>>>>>>> Will this work with ssl? >>>>>>>> >>>>>>>> If pvpython directly support the wss >>>>>>>> connection, you can be good. Usually >>>>>>>> the setup, that I do is that I have >>>>>>>> Apache serving only the port 443 >>>>>>>> (https) for both the static content and >>>>>>>> the (wss) websocket endpoint. And I use >>>>>>>> a mapping file between the Websocket >>>>>>>> endpoint that get returned by my >>>>>>>> launcher and the host/port I should >>>>>>>> connect to on the backend to establish >>>>>>>> the link between the client and the >>>>>>>> actual ParaViewWeb server instance. >>>>>>>> But that does not mean, that's the only >>>>>>>> way to do it and if you don't mind >>>>>>>> having several port open, I don't see >>>>>>>> why it could not work. >>>>>>>> >>>>>>>> Concerning: >>>>>>>> https://kitware.github.io/visualizer/docs/ >>>>>>>> >>>>>>>> The web visuailzer should work via >>>>>>>> npm installation? It does not work >>>>>>>> for me: >>>>>>>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41 >>>>>>>> var pvPythonExecs = >>>>>>>> find(paraview).filter(function(file) >>>>>>>> { return file.match(/pvpython$/) || >>>>>>>> file.match(/pvpython.exe$/); }); >>>>>>>> ^ >>>>>>>> TypeError: find(...).filter is not >>>>>>>> a function at >>>>>>>> Object. >>>>>>>> (C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >>>>>>>> at Module._compile >>>>>>>> (module.js:409:26) at >>>>>>>> Object.Module._extensions..js >>>>>>>> (module.js:416:10) at >>>>>>>> Module.load (module.js:343:32) >>>>>>>> at Function.Module._load >>>>>>>> (module.js:300:12) at >>>>>>>> Function.Module.runMain >>>>>>>> (module.js:441:10) at startup >>>>>>>> (node.js:139:18) at node.js:968:3 >>>>>>>> >>>>>>>> Well, I guess I haven't tried to run >>>>>>>> the new Visualizer server on a Windows >>>>>>>> machine. >>>>>>>> But with ParaView 5.2 (yet to be >>>>>>>> released), we should have a ParaViewWeb >>>>>>>> back in the binaries. So we should make >>>>>>>> sure our Visualizer command line tool >>>>>>>> work on that platform as well. >>>>>>>> Although, the command line is more for >>>>>>>> beginners than anything else as it only >>>>>>>> simplify the demo usage. In real word >>>>>>>> deployment, with a launcher, the true >>>>>>>> pvpython command line should be used >>>>>>>> instead. >>>>>>>> Here is an example of what you should >>>>>>>> see in a working environment: >>>>>>>> $ Visualizer -d ~/Downloads/ >>>>>>>> =============================================================================== >>>>>>>> | Execute: >>>>>>>> | $ >>>>>>>> /Applications/paraview.app/Contents/bin/pvpython >>>>>>>> | -dr >>>>>>>> | >>>>>>>> /Users/seb/Documents/code/Web2/visualizer/server/pvw-visualizer.py >>>>>>>> | --content >>>>>>>> | >>>>>>>> /Users/seb/Documents/code/Web2/visualizer/dist >>>>>>>> | --port >>>>>>>> | 8080 >>>>>>>> | --data >>>>>>>> | /Users/seb/Downloads/ >>>>>>>> =============================================================================== >>>>>>>> [...] >>>>>>>> -- Daniel Zuidinga Dipl.-Ing. SEO >>>>>>>> Aachen Passstr. 5 52070 Aachen Tel : >>>>>>>> 0241 / 450 912 67 E-Mail: >>>>>>>> info at seoaachen.de >>>>>>>> Web : >>>>>>>> http://www.seoaachen.de (nur zum Teil >>>>>>>> aktuell) Xing : >>>>>>>> https://www.xing.com/profile/Daniel_Zuidinga >>>>>>>> >>>>>>>> Bald online: Software Tools f?r >>>>>>>> Konstrukteure und Bauteilhersteller >>>>>>>> http://www.engineeringonline.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 >>>>>>>> >>>>>>>> >>>>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Aug 26 08:35:27 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 26 Aug 2016 08:35:27 -0400 Subject: [Paraview] Status of BoxLib AMR reader In-Reply-To: References: Message-ID: Tim, I am not exactly sure what's the status of the reader, but I can certainly look it up. Do you have a sample dataset also to test that it's working (or not)? Utkarsh On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P wrote: > Hi, > > > Our code is moving away from traditional structured grids towards an AMR > capability using BoxLib. That means, unfortunately, that all of the > development we have done to make our code Paraview and CoProcessing friendly > is not usable with the BoxLib file format. > > > I have seen some information on various websites about using the VisitBridge > to add the readers from Visit into Paraview, but when I build with it, the > BoxLib reader was not included in the list of formats I could use for files > -- even though it is listed online. > > > Does anybody know what the status is of the reader in PV and if it is > usable? Or is there a different format we can try to write out from our code > that would be usable? I really don't want to lose the work we've done with > PV and I would rather spend time writing code to get things working again > for PV than learn to use new software! > > > Thanks, > > > Tim > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > 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 sebastien.jourdain at kitware.com Fri Aug 26 11:28:53 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Fri, 26 Aug 2016 09:28:53 -0600 Subject: [Paraview] Paraview Web with SSL In-Reply-To: References: <06c53fd3-e6cd-b8ea-3f0e-a211975718c1@seoaachen.de> <54ca2292-2150-dae1-ccd5-fb21748e0ffc@seoaachen.de> <48e0cddf-7d9a-cd9f-f693-6f1d3d69f8a9@seoaachen.de> <41683484-80c4-6477-e415-9851818820fe@seoaachen.de> Message-ID: You should be able to add any key/pair in your config object that you submit for connecting to the server. Then in the launcher config you can use those provided key as argument of your command line like follow: var conf = { app: 'visualizer', fileToLoad: './dataset.vtk' } Launcher cmd: [ ..., "--file-to-load", "${fileToLoad}" ] On Fri, Aug 26, 2016 at 5:52 AM, Daniel Zuidinga wrote: > I have still a question. How can I pass arguments to that launcher from > the client? E.g. I want to pass a file or a directory. > > > Am 25.08.2016 um 16:32 schrieb Sebastien Jourdain: > > Thanks Daniel, > > the documentation explain how to do it in a slightly more secure way with > groups and so on... ;-) > > On Thu, Aug 25, 2016 at 1:20 AM, Daniel Zuidinga > wrote: > >> I allowed read/write permissions for proxy.txt for all. Now it works! >> Thank you very much. I hope I can contribute to paraview web when I am more >> into it. >> >> >> Am 25.08.2016 um 01:19 schrieb Sebastien Jourdain: >> >> Looking at your system log you may have some hints on what is going >> wrong. (Still leaning toward file system security issue) >> >> The sessionId could still be sent back but if the launcher can not write >> that file, then apache could not figure out its mapping. >> >> What linux version are you running it on? >> >> >> On Wed, Aug 24, 2016 at 4:12 PM, Daniel Zuidinga >> wrote: >> >>> yes that file has contents. otherwise the sessionID also wouldn't be >>> send back? >>> >>> any ideas how to fix the ws communication? >>> >>> >>> Am 24.08.2016 um 23:44 schrieb Sebastien Jourdain: >>> >>> Yes it seems the ws forwarding is not working. >>> >>> if you cat that file you should see some content with that id and a >>> host/port that apache should use to connect to the server that is running >>> paraview. >>> >>> Otherwise the documentation (link that I previously gave) explain how to >>> use unix group and setup the appropriate rights to that file so apache can >>> read while the launcher can write. >>> >>> On Wed, Aug 24, 2016 at 3:01 PM, Daniel Zuidinga >>> wrote: >>> >>>> how can I check? >>>> >>>> The sessionID is sent to the client. So as far as I understand the http >>>> requests work, but not the ws? >>>> >>>> >>>> >>>> Am 24.08.2016 um 22:52 schrieb Sebastien Jourdain: >>>> >>>> Are you sure apache has the right to read the /home/daniel/proxy.txt >>>> while the launcher is writting it? >>>> >>>> Do you see some content that match your sessionId within that file? >>>> >>>> On Wed, Aug 24, 2016 at 1:57 PM, Daniel Zuidinga >>>> wrote: >>>> >>>>> >>>>> I changed sessionManagerURL in my html file to >>>>> vtkWeb.properties.sessionManagerURL instead of >>>>> http://localhost:8080/paraview. Now I get in firefox: >>>>> >>>>> Use of getPreventDefault() is deprecated. Use defaultPrevented >>>>> instead. jquery-1.8.3.min.js:2:0 >>>>> GET >>>>> http://localhost/proxy [HTTP/1.1 400 Bad Request 16ms] >>>>> null Visualizer:42:13 >>>>> Firefox can't establish a connection to the server at >>>>> ws://localhost/proxy?sessionId=7d12745c-6a34-11e6-a5dc-0016d4e2bc28. >>>>> autobahn.min.js:114:0 >>>>> GET >>>>> http://localhost/proxy [HTTP/1.1 400 Bad Request 2ms] >>>>> null >>>>> >>>>> ...I think one more thing is needed. >>>>> >>>>> >>>>> >>>>> Am 24.08.2016 um 21:51 schrieb Daniel Zuidinga: >>>>> >>>>> I had wrong paths in my launcher.config properties. >>>>> Now the request gets through and the vtk window opens. But I have >>>>> still the ws error. Firefox console: >>>>> >>>>> Firefox can't establish a connection to the server at >>>>> ws://localhost/ws. autobahn.min.js:114:0 >>>>> null Visualizer:42:13 >>>>> Use of getPreventDefault() is deprecated. Use defaultPrevented >>>>> instead. jquery-1.8.3.min.js:2:0 >>>>> No launcher found. Attempting to connect using the direct WS url. >>>>> vtkweb-all.js:4456:19 >>>>> >>>>> --- vtk window opens, then: >>>>> >>>>> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >>>>> the remote resource at http://localhost:8080/paraview. (Reason: CORS >>>>> header 'Access-Control-Allow-Origin' missing). >>>>> GET >>>>> http://localhost/ws [HTTP/1.1 404 Not Found 2ms] >>>>> null Visualizer:42:13 >>>>> Firefox can't establish a connection to the server at >>>>> ws://localhost/ws. >>>>> >>>>> >>>>> Am 24.08.2016 um 19:18 schrieb Sebastien Jourdain: >>>>> >>>>> Actually the hostname might be an issue if you have several network >>>>> card. >>>>> Can you try to use the computer IP? Or '0.0.0.0' for the launcher if >>>>> that work? >>>>> >>>>> Otherwise I did not spotted any issue in your config. >>>>> >>>>> On Wed, Aug 24, 2016 at 11:14 AM, Daniel Zuidinga >>>>> wrote: >>>>> >>>>>> - apache 2.4.12 >>>>>> - modules are enabled >>>>>> - launcher.py launches without error, resrouces and apps section are >>>>>> in the config file as described in the documentation >>>>>> are all ports and hostnames right in my configuration files? apache >>>>>> is localhost and paraview also >>>>>> >>>>>> >>>>>> Am 24.08.2016 um 16:22 schrieb Sebastien Jourdain: >>>>>> >>>>>> Hi Daniel, >>>>>> >>>>>> Which version of Apache are you running? >>>>>> >>>>>> Did you enabled all the modules? >>>>>> >>>>>> $ sudo a2enmod vhost_alias >>>>>> $ sudo a2enmod proxy >>>>>> $ sudo a2enmod proxy_http >>>>>> $ sudo a2enmod proxy_wstunnel >>>>>> $ sudo a2enmod rewrite >>>>>> >>>>>> >>>>>> For the launcher configuration, do you have a proper "resources" and >>>>>> "apps" section? >>>>>> >>>>>> I'm guessing you are looking at the following documentation pages? >>>>>> >>>>>> - https://kitware.github.io/paraviewweb/docs/guides/apache_fro >>>>>> nt_end.html >>>>>> - https://kitware.github.io/paraviewweb/docs/guides/python_lau >>>>>> ncher.html >>>>>> >>>>>> Once you have the forwarding of the launcher request working, the >>>>>> next part will be the forwarding of the ws. But we can talk about it when >>>>>> and if you run into issue about it. >>>>>> >>>>>> Seb >>>>>> >>>>>> On Wed, Aug 24, 2016 at 2:22 AM, Daniel Zuidinga >>>>>> wrote: >>>>>> >>>>>>> I tried to run the launcher as described in the docs. But I am still >>>>>>> getting errors when running http://localhost/apps/Visualizer/ >>>>>>> >>>>>>> Firefox console: >>>>>>> >>>>>>> ------------------------------- >>>>>>> >>>>>>> 1. when setting sessionManagerURL in html set to >>>>>>> vtkWeb.properties.sessionManagerURL: >>>>>>> >>>>>>> POST >>>>>>> XHR >>>>>>> http://localhost/paraview/ [HTTP/1.1 503 Service Unavailable 48ms] >>>>>>> Object { error: "The process did not properly start.?" } >>>>>>> Visualizer:42:13 >>>>>>> >>>>>>> >>>>>>> 2. when setting sessionManagerURL in html to >>>>>>> http://localhost:8080/paraview: >>>>>>> >>>>>>> Firefox can't establish a connection to the server at >>>>>>> ws://localhost/ws. autobahn.min.js:114:0 >>>>>>> null Visualizer:42:13 >>>>>>> No launcher found. Attempting to connect using the direct WS url. >>>>>>> vtkweb-all.js:4456:19 >>>>>>> Use of getPreventDefault() is deprecated. Use defaultPrevented >>>>>>> instead. jquery-1.8.3.min.js:2:0 >>>>>>> Cross-Origin Request Blocked: The Same Origin Policy disallows >>>>>>> reading the remote resource at http://localhost:8080/paraview. >>>>>>> (Reason: CORS header 'Access-Control-Allow-Origin' missing). >>>>>>> GET >>>>>>> http://localhost/ws [HTTP/1.1 404 Not Found 12ms] >>>>>>> null >>>>>>> >>>>>>> >>>>>>> So the launcher can't start the pv webserver? But running >>>>>>> http://localhost:8080/paraview/1 in browser works but says: >>>>>>> {"error": "No session with id: 1"} >>>>>>> >>>>>>> >>>>>>> My apache config: >>>>>>> >>>>>>> ----------------------------- >>>>>>> >>>>>>> >>>>>>> ServerName localhost >>>>>>> ServerAdmin info at seoaachen.de >>>>>>> DocumentRoot /home/daniel/salome_meca/V2016 >>>>>>> /prerequisites/Paraview-v501_EDF/share/paraview-5.0/www >>>>>>> ErrorLog "logs/pv-error_log" >>>>>>> CustomLog "logs/pv-access_log" common >>>>>>> ### The following commented lines could be useful when running >>>>>>> ### over https and wss: >>>>>>> # SSLEngine On >>>>>>> # SSLCertificateFile /etc/apache2/ssl/your_certificate.crt >>>>>>> # SSLCertificateKeyFile /etc/apache2/ssl/your_domain_key.key >>>>>>> # SSLCertificateChainFile /etc/apache2/ssl/DigiCertCA.crt >>>>>>> # >>>>>>> # >>>>>>> # SSLRequireSSL On >>>>>>> # SSLVerifyClient optional >>>>>>> # SSLVerifyDepth 1 >>>>>>> # SSLOptions +StdEnvVars +StrictRequire >>>>>>> # >>>>>>> # Have Apache pass these requests to the launcher :9000 >>>>>>> ProxyPass /paraview http://localhost:8080/paraview >>>>>>> # Turn on the rewrite engine >>>>>>> RewriteEngine On >>>>>>> # This is the path the mapping file Jetty creates >>>>>>> RewriteMap session-to-port txt:/home/daniel/proxy.txt >>>>>>> # This is the rewrite condition. Look for anything with a >>>>>>> sessionId= in the query part of the URL and capture the value to use below. >>>>>>> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >>>>>>> # This does the rewrite using the mapping file and the sessionId >>>>>>> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] >>>>>>> >>>>>> 6/prerequisites/Paraview-v501_EDF/share/paraview-5.0/www"> >>>>>>> Options Indexes FollowSymLinks >>>>>>> Order allow,deny >>>>>>> Allow from all >>>>>>> AllowOverride None >>>>>>> Require all granted >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> my launcher.json >>>>>>> >>>>>>> ---------------------------- >>>>>>> >>>>>>> "configuration": { >>>>>>> "host" : "localhost", >>>>>>> >>>>>>> "port" : 8080, >>>>>>> "endpoint": "paraview", >>>>>>> "content": "/.../www", >>>>>>> "proxy_file" : "/home/daniel/proxy.txt", >>>>>>> "sessionURL": "ws://localhost/proxy?sessionId=${id}", >>>>>>> >>>>>>> "timeout" : 25, >>>>>>> "log_dir" : "/home/daniel", >>>>>>> "upload_dir" : "/home/daniel", >>>>>>> "fields" : ["file", "host", "port", "updir"] >>>>>>> }, >>>>>>> >>>>>>> >>>>>>> What am I doing wrong? >>>>>>> >>>>>>> >>>>>>> Daniel Zuidinga >>>>>>> Dipl.-Ing. >>>>>>> >>>>>>> SEO Aachen >>>>>>> Passstr. 5 >>>>>>> 52070 Aachen >>>>>>> >>>>>>> Tel : 0241 / 450 912 67 >>>>>>> E-Mail: info at seoaachen.de >>>>>>> Web : http://www.seoaachen.de (nur zum Teil aktuell) >>>>>>> Xing : https://www.xing.com/profile/Daniel_Zuidinga >>>>>>> >>>>>>> Bald online: Software Tools f?r Konstrukteure und Bauteilherstellerhttp://www.engineeringonline.de >>>>>>> >>>>>>> Am 22.08.2016 um 22:32 schrieb Sebastien Jourdain: >>>>>>> >>>>>>> Hi Daniel, >>>>>>> >>>>>>>> I want to use paraview web with SSL. As far as I understand I need >>>>>>>> apache as a proxy server for that? Or is it possible with pvpython? >>>>>>> >>>>>>> It might be possible with pvpython, but I've never done it, I've >>>>>>> always used apache to rely on a single opened port and handle the >>>>>>> encryption. >>>>>>> >>>>>>> >>>>>>>> I have my own launcher which opens pvpython with a different port >>>>>>>> for each user. Is this the right way? Will this work with ssl? >>>>>>> >>>>>>> If pvpython directly support the wss connection, you can be good. >>>>>>> Usually the setup, that I do is that I have Apache serving only the port >>>>>>> 443 (https) for both the static content and the (wss) websocket endpoint. >>>>>>> And I use a mapping file between the Websocket endpoint that get returned >>>>>>> by my launcher and the host/port I should connect to on the backend to >>>>>>> establish the link between the client and the actual ParaViewWeb server >>>>>>> instance. >>>>>>> But that does not mean, that's the only way to do it and if you >>>>>>> don't mind having several port open, I don't see why it could not work. >>>>>>> >>>>>>> >>>>>>>> Concerning: https://kitware.github.io/visualizer/docs/ The web >>>>>>>> visuailzer should work via npm installation? It does not work for me: >>>>>>>> C:\Users\danie\AppData\Roaming\npm\node_modules\pvw-visualiz >>>>>>>> er\bin\pvw-visualizer-cli.js:41 var pvPythonExecs = >>>>>>>> find(paraview).filter(function(file) { return >>>>>>>> file.match(/pvpython$/) || file.match(/pvpython.exe$/); }); >>>>>>>> ^ TypeError: find(...).filter is not a function at >>>>>>>> Object. (C:\Users\danie\AppData\Roamin >>>>>>>> g\npm\node_modules\pvw-visualizer\bin\pvw-visualizer-cli.js:41:36) >>>>>>>> at Module._compile (module.js:409:26) at >>>>>>>> Object.Module._extensions..js (module.js:416:10) at Module.load >>>>>>>> (module.js:343:32) at Function.Module._load (module.js:300:12) at >>>>>>>> Function.Module.runMain (module.js:441:10) at startup (node.js:139:18) >>>>>>>> at node.js:968:3 >>>>>>> >>>>>>> Well, I guess I haven't tried to run the new Visualizer server on a >>>>>>> Windows machine. >>>>>>> But with ParaView 5.2 (yet to be released), we should have a >>>>>>> ParaViewWeb back in the binaries. So we should make sure our Visualizer >>>>>>> command line tool work on that platform as well. >>>>>>> Although, the command line is more for beginners than anything else >>>>>>> as it only simplify the demo usage. In real word deployment, with a >>>>>>> launcher, the true pvpython command line should be used instead. >>>>>>> Here is an example of what you should see in a working environment: >>>>>>> $ Visualizer -d ~/Downloads/ >>>>>>> ============================================================ >>>>>>> =================== >>>>>>> | Execute: >>>>>>> | $ /Applications/paraview.app/Contents/bin/pvpython >>>>>>> | -dr >>>>>>> | /Users/seb/Documents/code/Web2/visualizer/server/pvw-visuali >>>>>>> zer.py >>>>>>> | --content >>>>>>> | /Users/seb/Documents/code/Web2/visualizer/dist >>>>>>> | --port >>>>>>> | 8080 >>>>>>> | --data >>>>>>> | /Users/seb/Downloads/ >>>>>>> ============================================================ >>>>>>> =================== >>>>>>> [...] >>>>>>> -- Daniel Zuidinga Dipl.-Ing. SEO Aachen Passstr. 5 52070 Aachen >>>>>>> Tel : 0241 / 450 912 67 E-Mail: info at seoaachen.de Web : >>>>>>> http://www.seoaachen.de (nur zum Teil aktuell) Xing : >>>>>>> https://www.xing.com/profile/Daniel_Zuidinga Bald online: Software >>>>>>> Tools f?r Konstrukteure und Bauteilhersteller >>>>>>> http://www.engineeringonline.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/mail >>>>>>> man/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/mail >>>>> man/listinfo/paraview >>>> >>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim.gallagher at gatech.edu Fri Aug 26 11:53:01 2016 From: tim.gallagher at gatech.edu (Gallagher, Timothy P) Date: Fri, 26 Aug 2016 15:53:01 +0000 Subject: [Paraview] Status of BoxLib AMR reader In-Reply-To: References: , Message-ID: Hi Utkarsh, I just checked with the latest head of the git repo and when I compile with the VisitBridge, there are no readers for BoxLib built. This page lists it as supported: http://www.paraview.org/ParaView/index.php/VisIt_avt_Integration But then this later one doesn't include it: http://www.paraview.org/Wiki/VisIt_Database_Bridge I have a dataset for you, I will send it off-list. Thanks, Tim ________________________________ From: Utkarsh Ayachit Sent: Friday, August 26, 2016 8:35 AM To: Gallagher, Timothy P Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, I am not exactly sure what's the status of the reader, but I can certainly look it up. Do you have a sample dataset also to test that it's working (or not)? Utkarsh On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P wrote: > Hi, > > > Our code is moving away from traditional structured grids towards an AMR > capability using BoxLib. That means, unfortunately, that all of the > development we have done to make our code Paraview and CoProcessing friendly > is not usable with the BoxLib file format. > > > I have seen some information on various websites about using the VisitBridge > to add the readers from Visit into Paraview, but when I build with it, the > BoxLib reader was not included in the list of formats I could use for files > -- even though it is listed online. > > > Does anybody know what the status is of the reader in PV and if it is > usable? Or is there a different format we can try to write out from our code > that would be usable? I really don't want to lose the work we've done with > PV and I would rather spend time writing code to get things working again > for PV than learn to use new software! > > > Thanks, > > > Tim > > > _______________________________________________ > Powered by www.kitware.com [http://www.kitware.com/img/Areas_Index_Home.jpg] Kitware Inc. - leading edge, high-quality software www.kitware.com Kitware's mission is to create state-of-the-art software products and services in visualization and data processing using advanced quality software methods and ... > > 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 andrealphus at gmail.com Fri Aug 26 12:58:17 2016 From: andrealphus at gmail.com (andrealphus) Date: Fri, 26 Aug 2016 09:58:17 -0700 Subject: [Paraview] Qt5/Ubuntu Message-ID: Anyone had success building Paraview from source using Qt5 on Ubuntu? If so, was it straight forward? Which version of Qt5? Did you install Qt from source or repository? -ashton From utkarsh.ayachit at kitware.com Fri Aug 26 13:25:49 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 26 Aug 2016 13:25:49 -0400 Subject: [Paraview] Qt5/Ubuntu In-Reply-To: References: Message-ID: I built with Qt 5.7 (build from source) on Ubuntu. That's my primary development config. On Fri, Aug 26, 2016 at 12:58 PM, andrealphus wrote: > Anyone had success building Paraview from source using Qt5 on Ubuntu? > If so, was it straight forward? Which version of Qt5? Did you install > Qt from source or repository? > > -ashton > _______________________________________________ > 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 andrealphus at gmail.com Fri Aug 26 14:16:15 2016 From: andrealphus at gmail.com (andrealphus) Date: Fri, 26 Aug 2016 11:16:15 -0700 Subject: [Paraview] Qt5/Ubuntu In-Reply-To: References: Message-ID: So I tried following these two walk throughs; https://wiki.qt.io/Install_Qt_5_on_Ubuntu http://www.paraview.org/Wiki/ParaView:Build_And_Install but had issues with it not finding the right qt config files. Did you install Qt5.7 in a similar process to the one described on qt5 install page? I think the newest version I saw in apt was 5.5. Maybe I need to purge 5.5 from my system.... Thank you as always Utkarsh! On Fri, Aug 26, 2016 at 10:25 AM, Utkarsh Ayachit wrote: > I built with Qt 5.7 (build from source) on Ubuntu. That's my primary > development config. > > On Fri, Aug 26, 2016 at 12:58 PM, andrealphus wrote: >> Anyone had success building Paraview from source using Qt5 on Ubuntu? >> If so, was it straight forward? Which version of Qt5? Did you install >> Qt from source or repository? >> >> -ashton >> _______________________________________________ >> 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 Fri Aug 26 16:29:07 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 26 Aug 2016 16:29:07 -0400 Subject: [Paraview] Qt5/Ubuntu In-Reply-To: References: Message-ID: Here are some of the vars I set on my build: //The directory containing a CMake configuration file for Qt5Core. Qt5Core_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Core //The directory containing a CMake configuration file for Qt5Gui. Qt5Gui_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Gui //The directory containing a CMake configuration file for Qt5Help. Qt5Help_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Help //The directory containing a CMake configuration file for Qt5Network. Qt5Network_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Network //The directory containing a CMake configuration file for Qt5Test. Qt5Test_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Test //The directory containing a CMake configuration file for Qt5UiPlugin. Qt5UiPlugin_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5UiPlugin //The directory containing a CMake configuration file for Qt5UiTools. Qt5UiTools_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5UiTools //The directory containing a CMake configuration file for Qt5Widgets. Qt5Widgets_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5Widgets //The directory containing a CMake configuration file for Qt5X11Extras. Qt5X11Extras_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5X11Extras //The directory containing a CMake configuration file for Qt5. Qt5_DIR:PATH=/home/utkarsh/Software/qt/5.7.0/install/lib/cmake/Qt5 If you're using ParaView 5.*, you may need to specify most (if not all). With ParaView "master", only setting the Qt5_DIR does the trick. Utkarsh On Fri, Aug 26, 2016 at 2:16 PM, andrealphus wrote: > So I tried following these two walk throughs; > > https://wiki.qt.io/Install_Qt_5_on_Ubuntu > http://www.paraview.org/Wiki/ParaView:Build_And_Install > > but had issues with it not finding the right qt config files. > > Did you install Qt5.7 in a similar process to the one described on qt5 > install page? I think the newest version I saw in apt was 5.5. > > Maybe I need to purge 5.5 from my system.... > > > Thank you as always Utkarsh! > > On Fri, Aug 26, 2016 at 10:25 AM, Utkarsh Ayachit > wrote: >> I built with Qt 5.7 (build from source) on Ubuntu. That's my primary >> development config. >> >> On Fri, Aug 26, 2016 at 12:58 PM, andrealphus wrote: >>> Anyone had success building Paraview from source using Qt5 on Ubuntu? >>> If so, was it straight forward? Which version of Qt5? Did you install >>> Qt from source or repository? >>> >>> -ashton >>> _______________________________________________ >>> 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 corinnareuter75 at gmail.com Fri Aug 26 18:18:33 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Sat, 27 Aug 2016 00:18:33 +0200 Subject: [Paraview] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2? Message-ID: Hello, I am trying to first build and install VTK-7.0.0 and then compile ParaView 5.1.2, which should use the installed VTK-7.0.0 instead of building its own VTK version. For this purpose I configure ParaView with the -DUSE_EXTERNAL_VTK=ON option, but I get a bunch of errors. Before I attach lengthy error logs, I'd like to ask whether this can work at all? It is not clear from older bug reports, whether USE_EXTERNAL_VTK is finally supported or whether it is in some buggy, experimental stage since 3 years. If it is supported, are the 5.1.2 and 7.0.0 versions compatible, or should I try a different combination? If somebody can confirm that this should work in principle, I'll try to solve as many compilation problems as possible before I send the remaining error output for further discussion. The background of my request is that I need to develop a ParaView plugin which links a software tool that depends on VTK by itself. I couldn't find a possibility to link this tool against the VTK which is included in ParaView. Therefore I am trying to first build VTK, and then link both ParaView and the software tool with the compiled VTK. I hope this makes sense. Thank you Corinna -------------- next part -------------- An HTML attachment was scrubbed... URL: From andras.g.major at gmail.com Fri Aug 26 18:23:55 2016 From: andras.g.major at gmail.com (Major A) Date: Sat, 27 Aug 2016 00:23:55 +0200 Subject: [Paraview] Need help with reload macro Message-ID: Hello there, I'm relatively new to Paraview, and I'd love to have an easy way of reloading the data and updating the display. From the list archives, I understand there is no ready-made solution for this at the moment. So I got the idea to use the sequence "Reset session" -> "Load State" from the menu, which works like a charm but is a hassle nonetheless. Next, I tried using this python code as a macro: from paraview.simple import * from tempfile import * t = NamedTemporaryFile(suffix=".pvsm", delete=False) f = t.name SaveState(f) s = GetSources() for key,val in s.items(): Delete(val) LoadState(f) This works, sort of, but deleting the sources isn't quite the same as resetting the session, for which I haven't been able to find a python equivalent. What it does, however, is to create a new layout each time I run the macro, and display a warning "This code may not work in multi-clients mode" as well. It also appears to tie up a lot of memory after a few uses, which isn't really that funny. I also tried adding equivalent lines to delete the views and the layouts, but behaviour was the same whatever I did. So, what do I need to do differently? What's the closest I could get in python to the menu item "Reset session"? Thanks! From tim.gallagher at gatech.edu Fri Aug 26 18:26:19 2016 From: tim.gallagher at gatech.edu (Gallagher, Timothy P) Date: Fri, 26 Aug 2016 22:26:19 +0000 Subject: [Paraview] Status of BoxLib AMR reader In-Reply-To: References: , , Message-ID: I took a stab at adding the Boxlib reader from the visit source to the VisitBridge internal readers. I managed to get everything to compile and link, Paraview built fine, but I can't seem to figure out how to make Paraview aware the reader exists. There isn't an option for Boxlib in the dropdown for the file type when I try to open a file, and it doesn't appear as an available reader when I try to select the file -- although all the others from the VisitBridge appear. I missed a configuration file somewhere to make the file loading aware of the reader. Any suggestions on what I missed? I added a section in the Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't enough I guess. Thanks, Tim ________________________________ From: ParaView on behalf of Gallagher, Timothy P Sent: Friday, August 26, 2016 11:53 AM To: Utkarsh Ayachit Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Hi Utkarsh, I just checked with the latest head of the git repo and when I compile with the VisitBridge, there are no readers for BoxLib built. This page lists it as supported: http://www.paraview.org/ParaView/index.php/VisIt_avt_Integration But then this later one doesn't include it: http://www.paraview.org/Wiki/VisIt_Database_Bridge I have a dataset for you, I will send it off-list. Thanks, Tim ________________________________ From: Utkarsh Ayachit Sent: Friday, August 26, 2016 8:35 AM To: Gallagher, Timothy P Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, I am not exactly sure what's the status of the reader, but I can certainly look it up. Do you have a sample dataset also to test that it's working (or not)? Utkarsh On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P wrote: > Hi, > > > Our code is moving away from traditional structured grids towards an AMR > capability using BoxLib. That means, unfortunately, that all of the > development we have done to make our code Paraview and CoProcessing friendly > is not usable with the BoxLib file format. > > > I have seen some information on various websites about using the VisitBridge > to add the readers from Visit into Paraview, but when I build with it, the > BoxLib reader was not included in the list of formats I could use for files > -- even though it is listed online. > > > Does anybody know what the status is of the reader in PV and if it is > usable? Or is there a different format we can try to write out from our code > that would be usable? I really don't want to lose the work we've done with > PV and I would rather spend time writing code to get things working again > for PV than learn to use new software! > > > Thanks, > > > Tim > > > _______________________________________________ > Powered by www.kitware.com [http://www.kitware.com/img/Areas_Index_Home.jpg] Kitware Inc. - leading edge, high-quality software www.kitware.com Kitware's mission is to create state-of-the-art software products and services in visualization and data processing using advanced quality software methods and ... > > 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 chrisneal at snumerics.com Fri Aug 26 18:54:25 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Fri, 26 Aug 2016 18:54:25 -0400 Subject: [Paraview] Catalyst causing crash during WriteImages stage Message-ID: Hi, I?m running a version of Catalyst that was compiled with ParaView 5.1. I generated a catalyst script using ParaView 5.1 that just performs a clip of the domain and then outputs a .png of the view. I?m seeing an error about a floating point exception. I?ve had success with scripts that strictly just save data to the *vtu format. This is my first script that tries to save a screenshot of the simulation domain. I went through and put print statements around my code, and the error is in the CoProcess function: if(Processor->RequestDataDescription(dataDescription.GetPointer())!=0){ ????????? dataDescription->GetInputDescriptionByName("input")->SetGrid(VTKGrid) ; ??????????Processor->CoProcess(dataDescription.GetPointer()) ; ??????? } I took the above from the CxxFullExample Catalyst example. I only have 1 script, so I peppered print statements around it and saw that the code was crashing in the DoCoProcessing function, specifically during the call to coprocessor.WriteImages(datadescription,rescale_lookuptable=False). Has anyone had an issue like this before when using Catalyst? Thank you, Chris Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sat Aug 27 06:27:27 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sat, 27 Aug 2016 06:27:27 -0400 Subject: [Paraview] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2? In-Reply-To: References: Message-ID: > For this purpose I configure ParaView with the > -DUSE_EXTERNAL_VTK=ON option, but I get a bunch of errors. > Before I attach lengthy error logs, I'd like to ask whether this can work at > all? No, it's not supported and there are no indications that it will any time soon unless someone from the community takes it up. > The background of my request is that I need to develop a ParaView plugin > which links a software tool that depends on VTK by itself. I couldn't find a > possibility to link this tool against the VTK which is included in ParaView. You should be able to set your VTK_DIR to ParaViewBuildDir/VTK. From corinnareuter75 at gmail.com Sun Aug 28 09:28:51 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Sun, 28 Aug 2016 15:28:51 +0200 Subject: [Paraview] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2? In-Reply-To: References: Message-ID: Thank you, I will try if that works. Now that you mention it, I think I remember that I have been successful in a similar situation quite some time ago by using the build directory. However, the problem with this is that I would have to always copy around the complete build directory between production servers. At the moment I only install the installation directory on those servers. (The much smaller installation directory helps to reduce the startup time significantly.) In the installation directory, "VTKTargets.cmake" is missing, so that other projects cannot use this as VTK_DIR. Would it be easy for you to make the ParaView installation directory usable as VTK_DIR by adding the required cmake files? Or is there a more difficult problem underneath? The missing VTKTargets.cmake has been discussed several times in the past with no real solution. Thank you Corinna On Sat, Aug 27, 2016 at 12:27 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > > For this purpose I configure ParaView with the > > -DUSE_EXTERNAL_VTK=ON option, but I get a bunch of errors. > > Before I attach lengthy error logs, I'd like to ask whether this can > work at > > all? > > No, it's not supported and there are no indications that it will any > time soon unless someone from the community takes it up. > > > The background of my request is that I need to develop a ParaView plugin > > which links a software tool that depends on VTK by itself. I couldn't > find a > > possibility to link this tool against the VTK which is included in > ParaView. > > You should be able to set your VTK_DIR to ParaViewBuildDir/VTK. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at seoaachen.de Mon Aug 29 04:19:54 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Mon, 29 Aug 2016 10:19:54 +0200 Subject: [Paraview] Paraview Web inside web app - pv is not defined Message-ID: Hi, I try to get pv web visualizer to work inside an angular2 component. The window opens on server and connection object seems right. But I get pv is not defined when try to call Snippet pv.initializeVisualizer(...) . Any ideas why this could be? ReferenceError: pv is not defined at start (http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18) at q.connectionInfo.connection.onopen (http://localhost:24264/lib/core/vtkweb-all.min.js:30:556) at w.b._session.onjoin (http://localhost:24264/ext/core/autobahn.min.js:29:210) at Object.f._socket.onmessage (http://localhost:24264/ext/core/autobahn.min.js:95:330) at WebSocket.window.b.onmessage (http://localhost:24264/ext/core/autobahn.min.js:114:422) -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at seoaachen.de Mon Aug 29 06:47:50 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Mon, 29 Aug 2016 12:47:50 +0200 Subject: [Paraview] Paraview Web inside web app - pv is not defined In-Reply-To: References: Message-ID: I looked into it. Seems that I have to get rid of the vtkweb-loader.js and load the js, tpl and css myself. Am 29.08.2016 um 10:19 schrieb Daniel Zuidinga: > > Hi, > > I try to get pv web visualizer to work inside an angular2 component. > > The window opens on server and connection object seems right. But I > get pv is not defined when try to call > > Snippet > > pv.initializeVisualizer(...) > . Any ideas why this could be? > > > ReferenceError: pv is not defined > at start > (http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18) > at q.connectionInfo.connection.onopen > (http://localhost:24264/lib/core/vtkweb-all.min.js:30:556) > at w.b._session.onjoin > (http://localhost:24264/ext/core/autobahn.min.js:29:210) > at Object.f._socket.onmessage > (http://localhost:24264/ext/core/autobahn.min.js:95:330) > at WebSocket.window.b.onmessage > (http://localhost:24264/ext/core/autobahn.min.js:114:422) > > > > > _______________________________________________ > 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 Matthias.Zenker at erbe-med.com Mon Aug 29 06:59:36 2016 From: Matthias.Zenker at erbe-med.com (Zenker, Dr. Matthias) Date: Mon, 29 Aug 2016 10:59:36 +0000 Subject: [Paraview] contour filter: customize values Message-ID: Hi, I have a (hopefully) simple question: In the contour filter (on a 2D slice of a 3D dataset), I want to visualize contours corresponding to the values I give in the "Isosurfaces" table. But I get also contours corresponding apparently to min and max values of the corresponding data set. How can I suppress those? Thanks, Matthias ________________________________ Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137 -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Aug 29 08:42:17 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 29 Aug 2016 08:42:17 -0400 Subject: [Paraview] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2? In-Reply-To: References: Message-ID: > Would it be easy for you to make the ParaView installation directory usable > as VTK_DIR by adding the required cmake files? Or is there a more difficult > problem underneath? The missing VTKTargets.cmake has been discussed several > times in the past with no real solution. We can certainly support that use-case. I've reported an issue: https://gitlab.kitware.com/paraview/paraview/issues/16865 Utkarsh From utkarsh.ayachit at kitware.com Mon Aug 29 08:46:39 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 29 Aug 2016 08:46:39 -0400 Subject: [Paraview] Status of BoxLib AMR reader In-Reply-To: References: Message-ID: Tim, Did you also add it to visit_readers.xml [1]? The proxy definition should also have a section like so [2]. Utkarsh [1] https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml [2] https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml#L2562-2565 On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P < tim.gallagher at gatech.edu> wrote: > I took a stab at adding the Boxlib reader from the visit source to the > VisitBridge internal readers. I managed to get everything to compile and > link, Paraview built fine, but I can't seem to figure out how to make > Paraview aware the reader exists. > > > There isn't an option for Boxlib in the dropdown for the file type when I > try to open a file, and it doesn't appear as an available reader when I try > to select the file -- although all the others from the VisitBridge appear. > I missed a configuration file somewhere to make the file loading aware of > the reader. > > > Any suggestions on what I missed? I added a section in the > Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't > enough I guess. > > > Thanks, > > > Tim > > > ------------------------------ > *From:* ParaView on behalf of Gallagher, > Timothy P > *Sent:* Friday, August 26, 2016 11:53 AM > *To:* Utkarsh Ayachit > > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Status of BoxLib AMR reader > > > Hi Utkarsh, > > > I just checked with the latest head of the git repo and when I compile > with the VisitBridge, there are no readers for BoxLib built. > > > This page lists it as supported: http://www.paraview.org/ > ParaView/index.php/VisIt_avt_Integration > > > But then this later one doesn't include it: http://www.paraview.org/ > Wiki/VisIt_Database_Bridge > > > I have a dataset for you, I will send it off-list. > > > Thanks, > > > Tim > > > ------------------------------ > *From:* Utkarsh Ayachit > *Sent:* Friday, August 26, 2016 8:35 AM > *To:* Gallagher, Timothy P > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Status of BoxLib AMR reader > > Tim, > > I am not exactly sure what's the status of the reader, but I can > certainly look it up. Do you have a sample dataset also to test that > it's working (or not)? > > Utkarsh > > On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P > wrote: > > Hi, > > > > > > Our code is moving away from traditional structured grids towards an AMR > > capability using BoxLib. That means, unfortunately, that all of the > > development we have done to make our code Paraview and CoProcessing > friendly > > is not usable with the BoxLib file format. > > > > > > I have seen some information on various websites about using the > VisitBridge > > to add the readers from Visit into Paraview, but when I build with it, > the > > BoxLib reader was not included in the list of formats I could use for > files > > -- even though it is listed online. > > > > > > Does anybody know what the status is of the reader in PV and if it is > > usable? Or is there a different format we can try to write out from our > code > > that would be usable? I really don't want to lose the work we've done > with > > PV and I would rather spend time writing code to get things working again > > for PV than learn to use new software! > > > > > > Thanks, > > > > > > Tim > > > > > > _______________________________________________ > > Powered by www.kitware.com > > Kitware Inc. - leading edge, high-quality software > > www.kitware.com > Kitware's mission is to create state-of-the-art software products and > services in visualization and data processing using advanced quality > software methods and ... > > > > > 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 Aug 29 09:07:59 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 29 Aug 2016 09:07:59 -0400 Subject: [Paraview] contour filter: customize values In-Reply-To: References: Message-ID: Matthias, You should not get contours for min/max values unless you asked for them. Note, original input is not hidden when you apply the Contour filter. Is that what you're seeing? On Mon, Aug 29, 2016 at 6:59 AM, Zenker, Dr. Matthias wrote: > Hi, > > > > I have a (hopefully) simple question: In the contour filter (on a 2D slice > of a 3D dataset), I want to visualize contours corresponding to the values I > give in the ?Isosurfaces? table. But I get also contours corresponding > apparently to min and max values of the corresponding data set. How can I > suppress those? > > > > Thanks, > > > > Matthias > > ________________________________ > > Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: > Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137 > > > _______________________________________________ > 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 christophe.trophime at lncmi.cnrs.fr Mon Aug 29 09:28:45 2016 From: christophe.trophime at lncmi.cnrs.fr (Christophe Trophime) Date: Mon, 29 Aug 2016 15:28:45 +0200 (CEST) Subject: [Paraview] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2? In-Reply-To: References: Message-ID: <1315340285.4591912.1472477325182.JavaMail.zimbra@lncmi.cnrs.fr> > From: "corinna reuter" > To: "Utkarsh Ayachit" > Cc: "ParaView" > Sent: Sunday, August 28, 2016 3:28:51 PM > Subject: Re: [Paraview] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2? > Thank you, I will try if that works. Now that you mention it, I think I > remember that I have been successful in a similar situation quite some time > ago by using the build directory. > However, the problem with this is that I would have to always copy around the > complete build directory between production servers. At the moment I only > install the installation directory on those servers. (The much smaller > installation directory helps to reduce the startup time significantly.) In > the installation directory, "VTKTargets.cmake" is missing, so that other > projects cannot use this as VTK_DIR. > Would it be easy for you to make the ParaView installation directory usable > as VTK_DIR by adding the required cmake files? Or is there a more difficult > problem underneath? The missing VTKTargets.cmake has been discussed several > times in the past with no real solution. Hi, just to let you know that I add try something very similar that is building my app (using Feelpp library) using Paraview/VTK instead of plain VTK. To do so we made something like this: if ( FEELPP_ENABLE_VTK ) # First try to find ParaView FIND_PACKAGE(ParaView NO_MODULE PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) if(ParaView_FOUND) message(STATUS "[ParaView] Use file: ${PARAVIEW_USE_FILE}") INCLUDE(${PARAVIEW_USE_FILE}) # trying to load a minimal vtk IF (TARGET vtkParallelMPI) FIND_PACKAGE(ParaView QUIET COMPONENTS vtkParallelMPI NO_MODULE PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) message(STATUS "[ParaView] Loading vtkParallelMPI module") ENDIF () IF (TARGET vtkPVCatalyst) FIND_PACKAGE(ParaView COMPONENTS vtkPVCatalyst NO_MODULE PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) message(STATUS "[ParaView] Loading vtkPVCatalyst module") ENDIF () IF (TARGET vtkPVPythonCatalyst) FIND_PACKAGE(ParaView COMPONENTS vtkPVPythonCatalyst NO_MODULE PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) message(STATUS "[ParaView] Loading vtkPVPythonCatalyst module") ENDIF () # Enable VTK exporter and insitu in config IF (TARGET vtkPVCatalyst AND TARGET vtkPVPythonCatalyst) set(FEELPP_VTK_INSITU_ENABLED 1) message(STATUS "In-situ visualisation enabled (vtkPVCatalyst, vtkPVPythonCatalyst).") ENDIF() # Mark VTK and ParaView as available set(FEELPP_HAS_VTK 1) set(FEELPP_HAS_PARAVIEW 1) # Check for version to ensure that we are able to # use an external communicator set(VTK_HAS_PARALLEL 0) if( VTK_MAJOR_VERSION EQUAL 6 OR VTK_MAJOR_VERSION GREATER 6 ) set(VTK_HAS_PARALLEL 1) endif() INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${ParaView_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS}) SET(FEELPP_LIBRARIES ${ParaView_LIBRARIES} ${FEELPP_LIBRARIES}) SET(FEELPP_LIBRARIES ${VTK_LIBRARIES} ${FEELPP_LIBRARIES}) SET(FEELPP_ENABLED_OPTIONS "${FEELPP_ENABLED_OPTIONS} ParaView/VTK" ) message(STATUS "Found ParaView ${PARAVIEW_VERSION_FULL}/VTK ${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}") endif() # If ParaView was not found we try to find VTK if(NOT ParaView_FOUND) message(STATUS "ParaView could not be found or is not compatible with Feel++. Looking for VTK...") FIND_PACKAGE(VTK QUIET) if( VTK_FOUND ) .... It compiles without any problem. On Debian/Testing this won't work with packaged paraview. The package need to be reworked in order to use it for providing vtk. It consists mainly in adding some "missing files" into the paraview-dev package. I'm trying to fix this However I run into a problem regarding paraview and vtk python bindings. In a "standard" installation of paraview we end-up with the following directories: ../site-packages/paraview/vtk ../site-packages/vtk These 2 directories contains the same python files except for the __init__.py files. The last directory (vtk) also contains some shared libs. Would it be possible to somehow to have only on vtk directory into site-packages? This would avoid a clash between python-paraview package and python-vtk6 package.. or to use python-vtk6 package to provide ../site-packages/vtk as it's done right now (Besides paraview 5.1.2 actually provides vtk7 which is not packaged so far...) Any idea or comments to work around this problem Best. > Thank you > Corinna > On Sat, Aug 27, 2016 at 12:27 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com > wrote: > > > For this purpose I configure ParaView with the > > > > -DUSE_EXTERNAL_VTK=ON option, but I get a bunch of errors. > > > > Before I attach lengthy error logs, I'd like to ask whether this can work > > > at > > > > all? > > > No, it's not supported and there are no indications that it will any > > > time soon unless someone from the community takes it up. > > > > The background of my request is that I need to develop a ParaView plugin > > > > which links a software tool that depends on VTK by itself. I couldn't > > > find > > > a > > > > possibility to link this tool against the VTK which is included in > > > ParaView. > > > You should be able to set your VTK_DIR to ParaViewBuildDir/VTK. > > _______________________________________________ > 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 Matthias.Zenker at erbe-med.com Mon Aug 29 09:40:17 2016 From: Matthias.Zenker at erbe-med.com (Zenker, Dr. Matthias) Date: Mon, 29 Aug 2016 13:40:17 +0000 Subject: [Paraview] contour filter: customize values In-Reply-To: References: Message-ID: Hi Utkarsh, thanks for replying so quickly. I have realized that in fact I see numerical fluctuations in my simulated data (nonzero electrical field in a normally field free region), so ParaView is not to blame... ;) My mesh being a bit coarse in some regions of the geometry, the contours have unphysical edges. Is there a chance to get smoother contours? Thanks again, Matthias > -----Urspr?ngliche Nachricht----- > Von: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > Gesendet: Montag, 29. August 2016 15:08 > An: Zenker, Dr. Matthias > Cc: paraview at paraview.org > Betreff: Re: [Paraview] contour filter: customize values > > Matthias, > > You should not get contours for min/max values unless you asked for them. > Note, original input is not hidden when you apply the Contour filter. Is that > what you're seeing? > > On Mon, Aug 29, 2016 at 6:59 AM, Zenker, Dr. Matthias > wrote: > > Hi, > > > > > > > > I have a (hopefully) simple question: In the contour filter (on a 2D > > slice of a 3D dataset), I want to visualize contours corresponding to > > the values I give in the ?Isosurfaces? table. But I get also contours > > corresponding apparently to min and max values of the corresponding > > data set. How can I suppress those? > > > > > > > > Thanks, > > > > > > > > Matthias > > > > ________________________________ > > > > Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen > Geschaeftsfuehrer: > > Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137 > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > https://urldefense.proofpoint.com/v2/url?u=http- > 3A__www.kitware.com_op > > ensource_opensource.html&d=DQIFaQ&c=7vND7vRFB1FzfxRXc-X80O- > MJSZd5Q-IVy > > yYW- > Ff2gY&r=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4&m=bxLTOI > yitHDy > > -8- > PIdGZr8qFsMUs7TB_GyicbEFzh_Q&s=k2m9bIa8zmVQzb4voJiGgEoecfx_hke > GXw8A > > 6DFjS5A&e= > > > > Please keep messages on-topic and check the ParaView Wiki at: > > https://urldefense.proofpoint.com/v2/url?u=http- > 3A__paraview.org_Wiki_ > > ParaView&d=DQIFaQ&c=7vND7vRFB1FzfxRXc-X80O-MJSZd5Q-IVyyYW- > Ff2gY&r=3enl > > I3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4&m=bxLTOIyitHDy-8- > PIdGZr8qFsMUs > > 7TB_GyicbEFzh_Q&s=MVDOY6rvDM_Ghj_1qd7736UVR81TjkfD3wEwTJd- > 4N0&e= > > > > Search the list archives at: > > https://urldefense.proofpoint.com/v2/url?u=http- > 3A__markmail.org_searc > > h_-3Fq-3DParaView&d=DQIFaQ&c=7vND7vRFB1FzfxRXc-X80O-MJSZd5Q- > IVyyYW-Ff2 > > > gY&r=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4&m=bxLTOIyit > HDy-8-PIdG > > > Zr8qFsMUs7TB_GyicbEFzh_Q&s=oKm51bunaH_REFRm1v1YvNA7pbkw1lrqpc > KTYyA_xDE > > &e= > > > > Follow this link to subscribe/unsubscribe: > > https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com > > _mailman_listinfo_paraview&d=DQIFaQ&c=7vND7vRFB1FzfxRXc-X80O- > MJSZd5Q-I > > VyyYW- > Ff2gY&r=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4&m=bxLTOI > yitH > > Dy-8-PIdGZr8qFsMUs7TB_GyicbEFzh_Q&s=zJiRgsBFg7cgX- > g07WhN3iPESGvc9J3eYI > > aKIII-eJw&e= > > ________________________________ Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137 From Matthias.Zenker at erbe-med.com Mon Aug 29 10:38:14 2016 From: Matthias.Zenker at erbe-med.com (Zenker, Dr. Matthias) Date: Mon, 29 Aug 2016 14:38:14 +0000 Subject: [Paraview] contour filter: customize values In-Reply-To: References: Message-ID: And another question: When I apply the contour filtert to a slice and display both, the slide hides aprt oft he contour line. Is there anything I can do to avoid that? Thank you, Matthias > -----Urspr?ngliche Nachricht----- > Von: Zenker, Dr. Matthias > Gesendet: Montag, 29. August 2016 15:40 > An: 'Utkarsh Ayachit' > Cc: paraview at paraview.org > Betreff: AW: [Paraview] contour filter: customize values > > Hi Utkarsh, > > thanks for replying so quickly. I have realized that in fact I see numerical > fluctuations in my simulated data (nonzero electrical field in a normally field > free region), so ParaView is not to blame... ;) My mesh being a bit coarse in > some regions of the geometry, the contours have unphysical edges. Is there > a chance to get smoother contours? > > Thanks again, > > Matthias > > > -----Urspr?ngliche Nachricht----- > > Von: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > > Gesendet: Montag, 29. August 2016 15:08 > > An: Zenker, Dr. Matthias > > Cc: paraview at paraview.org > > Betreff: Re: [Paraview] contour filter: customize values > > > > Matthias, > > > > You should not get contours for min/max values unless you asked for > them. > > Note, original input is not hidden when you apply the Contour filter. > > Is that what you're seeing? > > > > On Mon, Aug 29, 2016 at 6:59 AM, Zenker, Dr. Matthias > > wrote: > > > Hi, > > > > > > > > > > > > I have a (hopefully) simple question: In the contour filter (on a 2D > > > slice of a 3D dataset), I want to visualize contours corresponding > > > to the values I give in the ?Isosurfaces? table. But I get also > > > contours corresponding apparently to min and max values of the > > > corresponding data set. How can I suppress those? > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Matthias > > > > > > ________________________________ > > > > > > Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen > > Geschaeftsfuehrer: > > > Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB > > > 380137 > > > > > > > > > _______________________________________________ > > > Powered by www.kitware.com > > > > > > Visit other Kitware open-source projects at > > > https://urldefense.proofpoint.com/v2/url?u=http- > > 3A__www.kitware.com_op > > > ensource_opensource.html&d=DQIFaQ&c=7vND7vRFB1FzfxRXc-X80O- > > MJSZd5Q-IVy > > > yYW- > > > Ff2gY&r=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4&m=bxLTOI > > yitHDy > > > -8- > > > PIdGZr8qFsMUs7TB_GyicbEFzh_Q&s=k2m9bIa8zmVQzb4voJiGgEoecfx_hke > > GXw8A > > > 6DFjS5A&e= > > > > > > Please keep messages on-topic and check the ParaView Wiki at: > > > https://urldefense.proofpoint.com/v2/url?u=http- > > 3A__paraview.org_Wiki_ > > > ParaView&d=DQIFaQ&c=7vND7vRFB1FzfxRXc-X80O-MJSZd5Q-IVyyYW- > > Ff2gY&r=3enl > > > I3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4&m=bxLTOIyitHDy-8- > > PIdGZr8qFsMUs > > > 7TB_GyicbEFzh_Q&s=MVDOY6rvDM_Ghj_1qd7736UVR81TjkfD3wEwTJd- > > 4N0&e= > > > > > > Search the list archives at: > > > https://urldefense.proofpoint.com/v2/url?u=http- > > 3A__markmail.org_searc > > > h_-3Fq-3DParaView&d=DQIFaQ&c=7vND7vRFB1FzfxRXc-X80O-MJSZd5Q- > > IVyyYW-Ff2 > > > > > > gY&r=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4&m=bxLTOIyit > > HDy-8-PIdG > > > > > > Zr8qFsMUs7TB_GyicbEFzh_Q&s=oKm51bunaH_REFRm1v1YvNA7pbkw1lrqpc > > KTYyA_xDE > > > &e= > > > > > > Follow this link to subscribe/unsubscribe: > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.c > > > om > > > _mailman_listinfo_paraview&d=DQIFaQ&c=7vND7vRFB1FzfxRXc-X80O- > > MJSZd5Q-I > > > VyyYW- > > > Ff2gY&r=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4&m=bxLTOI > > yitH > > > Dy-8-PIdGZr8qFsMUs7TB_GyicbEFzh_Q&s=zJiRgsBFg7cgX- > > g07WhN3iPESGvc9J3eYI > > > aKIII-eJw&e= > > > ________________________________ Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137 From utkarsh.ayachit at kitware.com Mon Aug 29 12:17:14 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 29 Aug 2016 12:17:14 -0400 Subject: [Paraview] Status of BoxLib AMR reader In-Reply-To: References: Message-ID: Tim, It doesn't know what the class is. Multiple things could have gone wrong: 1. is there call to ADD_VISIT_READER() for the new reader? 2. does the case match between the XML's class="" and the name specified in 1? If it makes it easier, create a MR on the https://gitlab.kitware.com/paraview/visitbridge repo with your changes, and I can do the necessary fixes. Utkarsh On Mon, Aug 29, 2016 at 12:06 PM, Gallagher, Timothy P < tim.gallagher at gatech.edu> wrote: > Utkarash, > > > Thanks, I had added it to the xml file, but I didn't reconfigure (just > rebuilt) so it didn't get added to the list. > > > I'm making some progress it seems, it is picking the right reader now. But > it is crashing with a rather unhelpful message: > > > ERROR: In /data4/PVBoxLibTest/paraview/ParaViewCore/ > ServerImplementation/Core/vtkSIProxy.cxx, line 310 > vtkSISourceProxy (0x3e87420): Failed to create vtkVisItBoxlib2DReader. > Aborting for debugging purposes. > > I thought compiling with a Debug build type would give more verbose > messages, but it's the same. > > > Is there documentation or suggestions on debugging paraview? Is there a > way to get more verbose output on why it isn't able to create the reader? > > > Thanks again, > > > Tim > > ------------------------------ > *From:* Utkarsh Ayachit > *Sent:* Monday, August 29, 2016 8:46 AM > > *To:* Gallagher, Timothy P > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Status of BoxLib AMR reader > > Tim, > > Did you also add it to visit_readers.xml [1]? The proxy definition should > also have a section like so [2]. > > Utkarsh > > [1] https://gitlab.kitware.com/paraview/visitbridge/blob/ > master/databases/visit_readers.xml > [2] https://gitlab.kitware.com/paraview/visitbridge/blob/ > master/databases/visit_readers.xml#L2562-2565 > > > > On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P < > tim.gallagher at gatech.edu> wrote: > >> I took a stab at adding the Boxlib reader from the visit source to the >> VisitBridge internal readers. I managed to get everything to compile and >> link, Paraview built fine, but I can't seem to figure out how to make >> Paraview aware the reader exists. >> >> >> There isn't an option for Boxlib in the dropdown for the file type when I >> try to open a file, and it doesn't appear as an available reader when I try >> to select the file -- although all the others from the VisitBridge appear. >> I missed a configuration file somewhere to make the file loading aware of >> the reader. >> >> >> Any suggestions on what I missed? I added a section in the >> Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't >> enough I guess. >> >> >> Thanks, >> >> >> Tim >> >> >> ------------------------------ >> *From:* ParaView on behalf of Gallagher, >> Timothy P >> *Sent:* Friday, August 26, 2016 11:53 AM >> *To:* Utkarsh Ayachit >> >> *Cc:* paraview at paraview.org >> *Subject:* Re: [Paraview] Status of BoxLib AMR reader >> >> >> Hi Utkarsh, >> >> >> I just checked with the latest head of the git repo and when I compile >> with the VisitBridge, there are no readers for BoxLib built. >> >> >> This page lists it as supported: http://www.paraview.org/ParaVi >> ew/index.php/VisIt_avt_Integration >> >> >> But then this later one doesn't include it: http://www.paraview.org/Wi >> ki/VisIt_Database_Bridge >> >> >> I have a dataset for you, I will send it off-list. >> >> >> Thanks, >> >> >> Tim >> >> >> ------------------------------ >> *From:* Utkarsh Ayachit >> *Sent:* Friday, August 26, 2016 8:35 AM >> *To:* Gallagher, Timothy P >> *Cc:* paraview at paraview.org >> *Subject:* Re: [Paraview] Status of BoxLib AMR reader >> >> Tim, >> >> I am not exactly sure what's the status of the reader, but I can >> certainly look it up. Do you have a sample dataset also to test that >> it's working (or not)? >> >> Utkarsh >> >> On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P >> wrote: >> > Hi, >> > >> > >> > Our code is moving away from traditional structured grids towards an AMR >> > capability using BoxLib. That means, unfortunately, that all of the >> > development we have done to make our code Paraview and CoProcessing >> friendly >> > is not usable with the BoxLib file format. >> > >> > >> > I have seen some information on various websites about using the >> VisitBridge >> > to add the readers from Visit into Paraview, but when I build with it, >> the >> > BoxLib reader was not included in the list of formats I could use for >> files >> > -- even though it is listed online. >> > >> > >> > Does anybody know what the status is of the reader in PV and if it is >> > usable? Or is there a different format we can try to write out from our >> code >> > that would be usable? I really don't want to lose the work we've done >> with >> > PV and I would rather spend time writing code to get things working >> again >> > for PV than learn to use new software! >> > >> > >> > Thanks, >> > >> > >> > Tim >> > >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> >> Kitware Inc. - leading edge, high-quality software >> >> www.kitware.com >> Kitware's mission is to create state-of-the-art software products and >> services in visualization and data processing using advanced quality >> software methods and ... >> >> > >> > 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 sebastien.jourdain at kitware.com Mon Aug 29 12:53:35 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 29 Aug 2016 10:53:35 -0600 Subject: [Paraview] Paraview Web inside web app - pv is not defined In-Reply-To: References: Message-ID: Did you figure out how to load everything by hand? On Mon, Aug 29, 2016 at 4:47 AM, Daniel Zuidinga wrote: > > I looked into it. > Seems that I have to get rid of the vtkweb-loader.js and load the js, tpl > and css myself. > > > > > Am 29.08.2016 um 10:19 schrieb Daniel Zuidinga: > > Hi, > > I try to get pv web visualizer to work inside an angular2 component. > > The window opens on server and connection object seems right. But I get pv > is not defined when try to call > > pv.initializeVisualizer(...) > > . Any ideas why this could be? > > > ReferenceError: pv is not defined > at start (http://localhost:24264/dist/main.js?v= > xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18) > at q.connectionInfo.connection.onopen (http://localhost:24264/lib/ > core/vtkweb-all.min.js:30:556) > at w.b._session.onjoin (http://localhost:24264/ext/ > core/autobahn.min.js:29:210) > at Object.f._socket.onmessage (http://localhost:24264/ext/ > core/autobahn.min.js:95:330) > at WebSocket.window.b.onmessage (http://localhost:24264/ext/ > core/autobahn.min.js:114:422) > > > > _______________________________________________ > 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 tim.gallagher at gatech.edu Mon Aug 29 12:41:38 2016 From: tim.gallagher at gatech.edu (Gallagher, Timothy P) Date: Mon, 29 Aug 2016 16:41:38 +0000 Subject: [Paraview] Status of BoxLib AMR reader In-Reply-To: References: , Message-ID: Thanks for the quick response, the case didn't match between the two files and that was the issue. I'm able to use the reader to select the file and it sees the names of the variables in it properly, but when I hit Apply it throws: ERROR: In /data4/PVBoxLibTest/paraview/VTK/Common/DataModel/vtkAMRInformation.cxx, line 573 vtkAMRInformation (0x44210f0): Invalid grid description for a vtkUniformGrid I have a feeling this might get beyond my paraview knowledge to fix. One potential source of the problem -- what version of Visit are the other readers pulled from? I have the Boxlib files from the latest version, but looking at some of the other readers, they are from older versions. The latest date I see in the copyright for existing readers is 2013 and looking through the Visit Release notes, the last release in 2013 says it was upgraded to use VTK-6.0. Is it possible the bridge is based on Visit before that major VTK upgrade and I need to pull the reader code from a version earlier than that? Thanks for your help. If I can't find something I know how to fix soon, I can create a merge request and see if anybody else can get it the rest of the way. Tim ________________________________ From: Utkarsh Ayachit Sent: Monday, August 29, 2016 12:17 PM To: Gallagher, Timothy P Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, It doesn't know what the class is. Multiple things could have gone wrong: 1. is there call to ADD_VISIT_READER() for the new reader? 2. does the case match between the XML's class="" and the name specified in 1? If it makes it easier, create a MR on the https://gitlab.kitware.com/paraview/visitbridge repo with your changes, and I can do the necessary fixes. [https://gitlab.kitware.com/uploads/project/avatar/12/VisitBridge_Icon__3_.png] ParaView / VisItBridge gitlab.kitware.com Bridge between VisIt and ParaView to use VisIt readers in ParaView. Utkarsh On Mon, Aug 29, 2016 at 12:06 PM, Gallagher, Timothy P > wrote: Utkarash, Thanks, I had added it to the xml file, but I didn't reconfigure (just rebuilt) so it didn't get added to the list. I'm making some progress it seems, it is picking the right reader now. But it is crashing with a rather unhelpful message: ERROR: In /data4/PVBoxLibTest/paraview/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, line 310 vtkSISourceProxy (0x3e87420): Failed to create vtkVisItBoxlib2DReader. Aborting for debugging purposes. I thought compiling with a Debug build type would give more verbose messages, but it's the same. Is there documentation or suggestions on debugging paraview? Is there a way to get more verbose output on why it isn't able to create the reader? Thanks again, Tim ________________________________ From: Utkarsh Ayachit > Sent: Monday, August 29, 2016 8:46 AM To: Gallagher, Timothy P Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, Did you also add it to visit_readers.xml [1]? The proxy definition should also have a section like so [2]. Utkarsh [1] https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml [2] https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml#L2562-2565 On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P > wrote: I took a stab at adding the Boxlib reader from the visit source to the VisitBridge internal readers. I managed to get everything to compile and link, Paraview built fine, but I can't seem to figure out how to make Paraview aware the reader exists. There isn't an option for Boxlib in the dropdown for the file type when I try to open a file, and it doesn't appear as an available reader when I try to select the file -- although all the others from the VisitBridge appear. I missed a configuration file somewhere to make the file loading aware of the reader. Any suggestions on what I missed? I added a section in the Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't enough I guess. Thanks, Tim ________________________________ From: ParaView > on behalf of Gallagher, Timothy P > Sent: Friday, August 26, 2016 11:53 AM To: Utkarsh Ayachit Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Hi Utkarsh, I just checked with the latest head of the git repo and when I compile with the VisitBridge, there are no readers for BoxLib built. This page lists it as supported: http://www.paraview.org/ParaView/index.php/VisIt_avt_Integration But then this later one doesn't include it: http://www.paraview.org/Wiki/VisIt_Database_Bridge I have a dataset for you, I will send it off-list. Thanks, Tim ________________________________ From: Utkarsh Ayachit > Sent: Friday, August 26, 2016 8:35 AM To: Gallagher, Timothy P Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, I am not exactly sure what's the status of the reader, but I can certainly look it up. Do you have a sample dataset also to test that it's working (or not)? Utkarsh On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P > wrote: > Hi, > > > Our code is moving away from traditional structured grids towards an AMR > capability using BoxLib. That means, unfortunately, that all of the > development we have done to make our code Paraview and CoProcessing friendly > is not usable with the BoxLib file format. > > > I have seen some information on various websites about using the VisitBridge > to add the readers from Visit into Paraview, but when I build with it, the > BoxLib reader was not included in the list of formats I could use for files > -- even though it is listed online. > > > Does anybody know what the status is of the reader in PV and if it is > usable? Or is there a different format we can try to write out from our code > that would be usable? I really don't want to lose the work we've done with > PV and I would rather spend time writing code to get things working again > for PV than learn to use new software! > > > Thanks, > > > Tim > > > _______________________________________________ > Powered by www.kitware.com [http://www.kitware.com/img/Areas_Index_Home.jpg] Kitware Inc. - leading edge, high-quality software www.kitware.com Kitware's mission is to create state-of-the-art software products and services in visualization and data processing using advanced quality software methods and ... > > 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 tim.gallagher at gatech.edu Mon Aug 29 12:06:38 2016 From: tim.gallagher at gatech.edu (Gallagher, Timothy P) Date: Mon, 29 Aug 2016 16:06:38 +0000 Subject: [Paraview] Status of BoxLib AMR reader In-Reply-To: References: , Message-ID: Utkarash, Thanks, I had added it to the xml file, but I didn't reconfigure (just rebuilt) so it didn't get added to the list. I'm making some progress it seems, it is picking the right reader now. But it is crashing with a rather unhelpful message: ERROR: In /data4/PVBoxLibTest/paraview/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, line 310 vtkSISourceProxy (0x3e87420): Failed to create vtkVisItBoxlib2DReader. Aborting for debugging purposes. I thought compiling with a Debug build type would give more verbose messages, but it's the same. Is there documentation or suggestions on debugging paraview? Is there a way to get more verbose output on why it isn't able to create the reader? Thanks again, Tim ________________________________ From: Utkarsh Ayachit Sent: Monday, August 29, 2016 8:46 AM To: Gallagher, Timothy P Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, Did you also add it to visit_readers.xml [1]? The proxy definition should also have a section like so [2]. Utkarsh [1] https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml [2] https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml#L2562-2565 On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P > wrote: I took a stab at adding the Boxlib reader from the visit source to the VisitBridge internal readers. I managed to get everything to compile and link, Paraview built fine, but I can't seem to figure out how to make Paraview aware the reader exists. There isn't an option for Boxlib in the dropdown for the file type when I try to open a file, and it doesn't appear as an available reader when I try to select the file -- although all the others from the VisitBridge appear. I missed a configuration file somewhere to make the file loading aware of the reader. Any suggestions on what I missed? I added a section in the Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't enough I guess. Thanks, Tim ________________________________ From: ParaView > on behalf of Gallagher, Timothy P > Sent: Friday, August 26, 2016 11:53 AM To: Utkarsh Ayachit Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Hi Utkarsh, I just checked with the latest head of the git repo and when I compile with the VisitBridge, there are no readers for BoxLib built. This page lists it as supported: http://www.paraview.org/ParaView/index.php/VisIt_avt_Integration But then this later one doesn't include it: http://www.paraview.org/Wiki/VisIt_Database_Bridge I have a dataset for you, I will send it off-list. Thanks, Tim ________________________________ From: Utkarsh Ayachit > Sent: Friday, August 26, 2016 8:35 AM To: Gallagher, Timothy P Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, I am not exactly sure what's the status of the reader, but I can certainly look it up. Do you have a sample dataset also to test that it's working (or not)? Utkarsh On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P > wrote: > Hi, > > > Our code is moving away from traditional structured grids towards an AMR > capability using BoxLib. That means, unfortunately, that all of the > development we have done to make our code Paraview and CoProcessing friendly > is not usable with the BoxLib file format. > > > I have seen some information on various websites about using the VisitBridge > to add the readers from Visit into Paraview, but when I build with it, the > BoxLib reader was not included in the list of formats I could use for files > -- even though it is listed online. > > > Does anybody know what the status is of the reader in PV and if it is > usable? Or is there a different format we can try to write out from our code > that would be usable? I really don't want to lose the work we've done with > PV and I would rather spend time writing code to get things working again > for PV than learn to use new software! > > > Thanks, > > > Tim > > > _______________________________________________ > Powered by www.kitware.com [http://www.kitware.com/img/Areas_Index_Home.jpg] Kitware Inc. - leading edge, high-quality software www.kitware.com Kitware's mission is to create state-of-the-art software products and services in visualization and data processing using advanced quality software methods and ... > > 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 tim.gallagher at gatech.edu Mon Aug 29 16:12:00 2016 From: tim.gallagher at gatech.edu (Gallagher, Timothy P) Date: Mon, 29 Aug 2016 20:12:00 +0000 Subject: [Paraview] Status of BoxLib AMR reader In-Reply-To: References: , , Message-ID: I have to throw in the towel on this one for now and get back to some other deadlines... but, I put what I have so far online and created a merge request with information about the error and an example dataset attached. Hopefully somebody better with VTK than I am can take a look and figure out what I'm missing. I tried comparing the files for Chombo against the original Visit source files to see if any special modifications were required and none are (the only changes are HDF5 related). It looks like the Chombo reader is from Visit 2.7.0 -- the Boxlib files I added are from 2.10.3, but I tried it with the Boxlib reader from Visit 2.7.0 also and it's the same issue. If anybody has a chance to take a look, I'd appreciate it. Hopefully it's something simple. If not, I'll try to pick it back up in a few days. I apologize for the hacked CMakeLists to link against the library, I will fix it to do it properly once everything else works! Tim ________________________________ From: ParaView on behalf of Gallagher, Timothy P Sent: Monday, August 29, 2016 12:41 PM To: Utkarsh Ayachit Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Thanks for the quick response, the case didn't match between the two files and that was the issue. I'm able to use the reader to select the file and it sees the names of the variables in it properly, but when I hit Apply it throws: ERROR: In /data4/PVBoxLibTest/paraview/VTK/Common/DataModel/vtkAMRInformation.cxx, line 573 vtkAMRInformation (0x44210f0): Invalid grid description for a vtkUniformGrid I have a feeling this might get beyond my paraview knowledge to fix. One potential source of the problem -- what version of Visit are the other readers pulled from? I have the Boxlib files from the latest version, but looking at some of the other readers, they are from older versions. The latest date I see in the copyright for existing readers is 2013 and looking through the Visit Release notes, the last release in 2013 says it was upgraded to use VTK-6.0. Is it possible the bridge is based on Visit before that major VTK upgrade and I need to pull the reader code from a version earlier than that? Thanks for your help. If I can't find something I know how to fix soon, I can create a merge request and see if anybody else can get it the rest of the way. Tim ________________________________ From: Utkarsh Ayachit Sent: Monday, August 29, 2016 12:17 PM To: Gallagher, Timothy P Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, It doesn't know what the class is. Multiple things could have gone wrong: 1. is there call to ADD_VISIT_READER() for the new reader? 2. does the case match between the XML's class="" and the name specified in 1? If it makes it easier, create a MR on the https://gitlab.kitware.com/paraview/visitbridge repo with your changes, and I can do the necessary fixes. [https://gitlab.kitware.com/uploads/project/avatar/12/VisitBridge_Icon__3_.png] ParaView / VisItBridge gitlab.kitware.com Bridge between VisIt and ParaView to use VisIt readers in ParaView. Utkarsh On Mon, Aug 29, 2016 at 12:06 PM, Gallagher, Timothy P > wrote: Utkarash, Thanks, I had added it to the xml file, but I didn't reconfigure (just rebuilt) so it didn't get added to the list. I'm making some progress it seems, it is picking the right reader now. But it is crashing with a rather unhelpful message: ERROR: In /data4/PVBoxLibTest/paraview/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, line 310 vtkSISourceProxy (0x3e87420): Failed to create vtkVisItBoxlib2DReader. Aborting for debugging purposes. I thought compiling with a Debug build type would give more verbose messages, but it's the same. Is there documentation or suggestions on debugging paraview? Is there a way to get more verbose output on why it isn't able to create the reader? Thanks again, Tim ________________________________ From: Utkarsh Ayachit > Sent: Monday, August 29, 2016 8:46 AM To: Gallagher, Timothy P Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, Did you also add it to visit_readers.xml [1]? The proxy definition should also have a section like so [2]. Utkarsh [1] https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml [2] https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml#L2562-2565 On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P > wrote: I took a stab at adding the Boxlib reader from the visit source to the VisitBridge internal readers. I managed to get everything to compile and link, Paraview built fine, but I can't seem to figure out how to make Paraview aware the reader exists. There isn't an option for Boxlib in the dropdown for the file type when I try to open a file, and it doesn't appear as an available reader when I try to select the file -- although all the others from the VisitBridge appear. I missed a configuration file somewhere to make the file loading aware of the reader. Any suggestions on what I missed? I added a section in the Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't enough I guess. Thanks, Tim ________________________________ From: ParaView > on behalf of Gallagher, Timothy P > Sent: Friday, August 26, 2016 11:53 AM To: Utkarsh Ayachit Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Hi Utkarsh, I just checked with the latest head of the git repo and when I compile with the VisitBridge, there are no readers for BoxLib built. This page lists it as supported: http://www.paraview.org/ParaView/index.php/VisIt_avt_Integration But then this later one doesn't include it: http://www.paraview.org/Wiki/VisIt_Database_Bridge I have a dataset for you, I will send it off-list. Thanks, Tim ________________________________ From: Utkarsh Ayachit > Sent: Friday, August 26, 2016 8:35 AM To: Gallagher, Timothy P Cc: paraview at paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, I am not exactly sure what's the status of the reader, but I can certainly look it up. Do you have a sample dataset also to test that it's working (or not)? Utkarsh On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P > wrote: > Hi, > > > Our code is moving away from traditional structured grids towards an AMR > capability using BoxLib. That means, unfortunately, that all of the > development we have done to make our code Paraview and CoProcessing friendly > is not usable with the BoxLib file format. > > > I have seen some information on various websites about using the VisitBridge > to add the readers from Visit into Paraview, but when I build with it, the > BoxLib reader was not included in the list of formats I could use for files > -- even though it is listed online. > > > Does anybody know what the status is of the reader in PV and if it is > usable? Or is there a different format we can try to write out from our code > that would be usable? I really don't want to lose the work we've done with > PV and I would rather spend time writing code to get things working again > for PV than learn to use new software! > > > Thanks, > > > Tim > > > _______________________________________________ > Powered by www.kitware.com [http://www.kitware.com/img/Areas_Index_Home.jpg] Kitware Inc. - leading edge, high-quality software www.kitware.com Kitware's mission is to create state-of-the-art software products and services in visualization and data processing using advanced quality software methods and ... > > 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 corinnareuter75 at gmail.com Mon Aug 29 16:40:59 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Mon, 29 Aug 2016 22:40:59 +0200 Subject: [Paraview] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2? In-Reply-To: References: Message-ID: You'll save many people's frustration by including VTKTargets.cmake in the "make install" target, thank you. I found a workaround is to copy VTKTargets.cmake from ParaView's build directory to the same place as the installed VTKConfig.cmake, and to replace all occurrences of the build directory by their installation counterparts. Thank you Corinna On Mon, Aug 29, 2016 at 2:42 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > > Would it be easy for you to make the ParaView installation directory > usable > > as VTK_DIR by adding the required cmake files? Or is there a more > difficult > > problem underneath? The missing VTKTargets.cmake has been discussed > several > > times in the past with no real solution. > > We can certainly support that use-case. I've reported an issue: > https://gitlab.kitware.com/paraview/paraview/issues/16865 > > Utkarsh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From salazardetro1 at llnl.gov Mon Aug 29 18:44:07 2016 From: salazardetro1 at llnl.gov (Salazar De Troya, Miguel) Date: Mon, 29 Aug 2016 22:44:07 +0000 Subject: [Paraview] X and Y bounds in python Message-ID: Hello I?ve got an object opened that consists on an unstructured mesh with some cell data. In the Information tab, I can read the bounds for the X and Y coordinates, how can I extract this information in a python script? Thanks Miguel -------------- next part -------------- An HTML attachment was scrubbed... URL: From patchett2002 at gmail.com Mon Aug 29 19:52:25 2016 From: patchett2002 at gmail.com (John Patchett) Date: Mon, 29 Aug 2016 17:52:25 -0600 Subject: [Paraview] paraview.5.1.renderingbackend.opengl on server and paraview.5.1.renderingbackend.opengl2 on client Message-ID: I have built a ParaView on a parallel machine with: 1) intel/16.0.3 2) openmpi/1.6.5 3) cmake/3.5.2 And "Classic OSMesa? Mesa-9.2.5 configured with instructions at: http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D#Installing_Classic_OSMesa My problem is a handshake issue and client server connection time I suspect the hand shake strings are the problem as the server sting is: ParaView handshake strings are different on the two connecting processes (Current value: paraview.5.1.renderingbackend.opengl). And the client string is: StartFragmentParaView handshake strings are different on the two connecting processes (Current value: paraview.5.1.renderingbackend.opengl2). Is it true that I can?t use the classic rendering (old GL) on the backend with a GL 2 on the client? Is there a workaround or do I have to figure out how to build a more modern OS Mesa (which might just be a copy/paste from the aforementioned website?)? Thanks, ?John. -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at seoaachen.de Tue Aug 30 03:41:30 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Tue, 30 Aug 2016 09:41:30 +0200 Subject: [Paraview] Paraview Web inside web app - pv is not defined In-Reply-To: References: Message-ID: <32f2f496-699e-2408-9ff1-c3d1128ec808@seoaachen.de> not yet, but an IFrame is enough for me now. I think I have just to add the files added by the loader. Am 29.08.2016 um 18:53 schrieb Sebastien Jourdain: > Did you figure out how to load everything by hand? > > On Mon, Aug 29, 2016 at 4:47 AM, Daniel Zuidinga > wrote: > > > I looked into it. > Seems that I have to get rid of the vtkweb-loader.js and load the > js, tpl and css myself. > > > > > Am 29.08.2016 um 10:19 schrieb Daniel Zuidinga: >> >> Hi, >> >> I try to get pv web visualizer to work inside an angular2 component. >> >> The window opens on server and connection object seems right. But >> I get pv is not defined when try to call >> >> pv.initializeVisualizer(...) >> . Any ideas why this could be? >> >> >> ReferenceError: pv is not defined >> at start >> (http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18 >> ) >> at q.connectionInfo.connection.onopen >> (http://localhost:24264/lib/core/vtkweb-all.min.js:30:556 >> ) >> at w.b._session.onjoin >> (http://localhost:24264/ext/core/autobahn.min.js:29:210 >> ) >> at Object.f._socket.onmessage >> (http://localhost:24264/ext/core/autobahn.min.js:95:330 >> ) >> at WebSocket.window.b.onmessage >> (http://localhost:24264/ext/core/autobahn.min.js:114:422 >> ) >> >> >> >> >> _______________________________________________ >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Aug 30 07:51:06 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 30 Aug 2016 07:51:06 -0400 Subject: [Paraview] Status of BoxLib AMR reader In-Reply-To: References: Message-ID: Thanks, Tim. I'll take a look in next few days. Utkarsh On Mon, Aug 29, 2016 at 4:12 PM, Gallagher, Timothy P < tim.gallagher at gatech.edu> wrote: > I have to throw in the towel on this one for now and get back to some > other deadlines... but, I put what I have so far online and created a merge > request with information about the error and an example dataset attached. > > > Hopefully somebody better with VTK than I am can take a look and figure > out what I'm missing. I tried comparing the files for Chombo against the > original Visit source files to see if any special modifications were > required and none are (the only changes are HDF5 related). It looks like > the Chombo reader is from Visit 2.7.0 -- the Boxlib files I added are from > 2.10.3, but I tried it with the Boxlib reader from Visit 2.7.0 also and > it's the same issue. > > > If anybody has a chance to take a look, I'd appreciate it. Hopefully it's > something simple. If not, I'll try to pick it back up in a few days. I > apologize for the hacked CMakeLists to link against the library, I will fix > it to do it properly once everything else works! > > Tim > > > ------------------------------ > *From:* ParaView on behalf of Gallagher, > Timothy P > *Sent:* Monday, August 29, 2016 12:41 PM > > *To:* Utkarsh Ayachit > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Status of BoxLib AMR reader > > > Thanks for the quick response, the case didn't match between the two files > and that was the issue. I'm able to use the reader to select the file and > it sees the names of the variables in it properly, but when I hit Apply it > throws: > > > ERROR: In /data4/PVBoxLibTest/paraview/VTK/Common/DataModel/vtkAMRInformation.cxx, > line 573 > vtkAMRInformation (0x44210f0): Invalid grid description for a > vtkUniformGrid > > > I have a feeling this might get beyond my paraview knowledge to fix. > > > One potential source of the problem -- what version of Visit are the other > readers pulled from? I have the Boxlib files from the latest version, but > looking at some of the other readers, they are from older versions. > > The latest date I see in the copyright for existing readers is 2013 and > looking through the Visit Release notes, the last release in 2013 says it > was upgraded to use VTK-6.0. > > > Is it possible the bridge is based on Visit before that major VTK upgrade > and I need to pull the reader code from a version earlier than that? > > > Thanks for your help. If I can't find something I know how to fix soon, I > can create a merge request and see if anybody else can get it the rest of > the way. > > > Tim > > ------------------------------ > *From:* Utkarsh Ayachit > *Sent:* Monday, August 29, 2016 12:17 PM > *To:* Gallagher, Timothy P > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Status of BoxLib AMR reader > > Tim, > > It doesn't know what the class is. Multiple things could have gone wrong: > 1. is there call to ADD_VISIT_READER() for the new reader? > 2. does the case match between the XML's class="" and the name specified > in 1? > > If it makes it easier, create a MR on the https://gitlab.kitware. > com/paraview/visitbridge repo with your changes, and I can do the > necessary fixes. > > ParaView / VisItBridge > gitlab.kitware.com > Bridge between VisIt and ParaView to use VisIt readers in ParaView. > > Utkarsh > > On Mon, Aug 29, 2016 at 12:06 PM, Gallagher, Timothy P < > tim.gallagher at gatech.edu> wrote: > >> Utkarash, >> >> >> Thanks, I had added it to the xml file, but I didn't reconfigure (just >> rebuilt) so it didn't get added to the list. >> >> >> I'm making some progress it seems, it is picking the right reader now. >> But it is crashing with a rather unhelpful message: >> >> >> ERROR: In /data4/PVBoxLibTest/paraview/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, >> line 310 >> vtkSISourceProxy (0x3e87420): Failed to create vtkVisItBoxlib2DReader. >> Aborting for debugging purposes. >> >> I thought compiling with a Debug build type would give more verbose >> messages, but it's the same. >> >> >> Is there documentation or suggestions on debugging paraview? Is there a >> way to get more verbose output on why it isn't able to create the reader? >> >> >> Thanks again, >> >> >> Tim >> >> ------------------------------ >> *From:* Utkarsh Ayachit >> *Sent:* Monday, August 29, 2016 8:46 AM >> >> *To:* Gallagher, Timothy P >> *Cc:* paraview at paraview.org >> *Subject:* Re: [Paraview] Status of BoxLib AMR reader >> >> Tim, >> >> Did you also add it to visit_readers.xml [1]? The proxy definition should >> also have a section like so [2]. >> >> Utkarsh >> >> [1] https://gitlab.kitware.com/paraview/visitbridge/blob/mas >> ter/databases/visit_readers.xml >> [2] https://gitlab.kitware.com/paraview/visitbridge/blob/mas >> ter/databases/visit_readers.xml#L2562-2565 >> >> >> >> On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P < >> tim.gallagher at gatech.edu> wrote: >> >>> I took a stab at adding the Boxlib reader from the visit source to the >>> VisitBridge internal readers. I managed to get everything to compile and >>> link, Paraview built fine, but I can't seem to figure out how to make >>> Paraview aware the reader exists. >>> >>> >>> There isn't an option for Boxlib in the dropdown for the file type when >>> I try to open a file, and it doesn't appear as an available reader when I >>> try to select the file -- although all the others from the VisitBridge >>> appear. I missed a configuration file somewhere to make the file loading >>> aware of the reader. >>> >>> >>> Any suggestions on what I missed? I added a section in the >>> Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't >>> enough I guess. >>> >>> >>> Thanks, >>> >>> >>> Tim >>> >>> >>> ------------------------------ >>> *From:* ParaView on behalf of >>> Gallagher, Timothy P >>> *Sent:* Friday, August 26, 2016 11:53 AM >>> *To:* Utkarsh Ayachit >>> >>> *Cc:* paraview at paraview.org >>> *Subject:* Re: [Paraview] Status of BoxLib AMR reader >>> >>> >>> Hi Utkarsh, >>> >>> >>> I just checked with the latest head of the git repo and when I compile >>> with the VisitBridge, there are no readers for BoxLib built. >>> >>> >>> This page lists it as supported: http://www.paraview.org/ParaVi >>> ew/index.php/VisIt_avt_Integration >>> >>> >>> But then this later one doesn't include it: http://www.paraview.org/Wi >>> ki/VisIt_Database_Bridge >>> >>> >>> I have a dataset for you, I will send it off-list. >>> >>> >>> Thanks, >>> >>> >>> Tim >>> >>> >>> ------------------------------ >>> *From:* Utkarsh Ayachit >>> *Sent:* Friday, August 26, 2016 8:35 AM >>> *To:* Gallagher, Timothy P >>> *Cc:* paraview at paraview.org >>> *Subject:* Re: [Paraview] Status of BoxLib AMR reader >>> >>> Tim, >>> >>> I am not exactly sure what's the status of the reader, but I can >>> certainly look it up. Do you have a sample dataset also to test that >>> it's working (or not)? >>> >>> Utkarsh >>> >>> On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P >>> wrote: >>> > Hi, >>> > >>> > >>> > Our code is moving away from traditional structured grids towards an >>> AMR >>> > capability using BoxLib. That means, unfortunately, that all of the >>> > development we have done to make our code Paraview and CoProcessing >>> friendly >>> > is not usable with the BoxLib file format. >>> > >>> > >>> > I have seen some information on various websites about using the >>> VisitBridge >>> > to add the readers from Visit into Paraview, but when I build with it, >>> the >>> > BoxLib reader was not included in the list of formats I could use for >>> files >>> > -- even though it is listed online. >>> > >>> > >>> > Does anybody know what the status is of the reader in PV and if it is >>> > usable? Or is there a different format we can try to write out from >>> our code >>> > that would be usable? I really don't want to lose the work we've done >>> with >>> > PV and I would rather spend time writing code to get things working >>> again >>> > for PV than learn to use new software! >>> > >>> > >>> > Thanks, >>> > >>> > >>> > Tim >>> > >>> > >>> > _______________________________________________ >>> > Powered by www.kitware.com >>> >>> Kitware Inc. - leading edge, high-quality software >>> >>> www.kitware.com >>> Kitware's mission is to create state-of-the-art software products and >>> services in visualization and data processing using advanced quality >>> software methods and ... >>> >>> > >>> > 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 hermano_lustosa at hotmail.com Tue Aug 30 09:16:10 2016 From: hermano_lustosa at hotmail.com (Hermano ...) Date: Tue, 30 Aug 2016 13:16:10 +0000 Subject: [Paraview] Compiling Catalyst Examples Message-ID: Hello Everyone I am looking for some help in order to run the catalyst examples found in: https://github.com/Kitware/ParaViewCatalystExampleCode-MOVED- I've downloaded and compile paraview with Examples flag set to on in ccmake during configuration. But I can't find any binaries in the build directory for the examples in the page above. Is there another flag specifically for catalyst examples? And where will the corresponding binaries by placed in the build directory? If you could point me to some reference I'll be very glad. Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: From agsmith424 at gmail.com Tue Aug 30 09:28:02 2016 From: agsmith424 at gmail.com (Andy Smith) Date: Tue, 30 Aug 2016 09:28:02 -0400 Subject: [Paraview] X and Y bounds in python In-Reply-To: References: Message-ID: Miguel, Can you try: bounds = myObject.GetDataInformation().GetBounds() where bounds is an array containing [xmin, xmax, ymin, ymax, zmin, zmax] -Andy On Mon, Aug 29, 2016 at 6:44 PM, Salazar De Troya, Miguel < salazardetro1 at llnl.gov> wrote: > Hello > > I?ve got an object opened that consists on an unstructured mesh with some > cell data. In the Information tab, I can read the bounds for the X and Y > coordinates, how can I extract this information in a python script? > > Thanks > Miguel > > > _______________________________________________ > 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 Aug 30 09:42:49 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 30 Aug 2016 09:42:49 -0400 Subject: [Paraview] Compiling Catalyst Examples In-Reply-To: References: Message-ID: Hi, The examples have been moved into the ParaView source tree at /Examples/Catalyst. This makes it easier to test the examples and keep them in sync with the PV source. You can still compile them separately and individually if you want to. On my Linux machine, when I build ParaView master (a bit beyond 5.1.2) the example executables get put in the bin subdirectory of the build directory. They may not get installed to the install bin directory though if that's where you're looking for them. If you're looking for them in the build directory, what gets returned when you search for CxxFullExample? That's where all of the Catalyst examples should get put. Best, Andy On Tue, Aug 30, 2016 at 9:16 AM, Hermano ... wrote: > Hello Everyone > > I am looking for some help in order to run the catalyst examples found in: > https://github.com/Kitware/ParaViewCatalystExampleCode-MOVED- > > > I've downloaded and compile paraview with Examples flag set to on in > ccmake during configuration. But I can't find any binaries in the build > directory for the examples in the page above. Is there another flag > specifically for catalyst examples? And where will the corresponding > binaries by placed in the build directory? > > If you could point me to some reference I'll be very glad. Thanks in > advance > > _______________________________________________ > 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 sebastien.jourdain at kitware.com Tue Aug 30 10:18:03 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 30 Aug 2016 08:18:03 -0600 Subject: [Paraview] Paraview Web inside web app - pv is not defined In-Reply-To: <32f2f496-699e-2408-9ff1-c3d1128ec808@seoaachen.de> References: <32f2f496-699e-2408-9ff1-c3d1128ec808@seoaachen.de> Message-ID: You might also be able to use the url for the iframe to inform the configuration to use some aditional key/pair. like http://host/pvw?fileToLoad=disk.vtk That should work too. Seb On Tue, Aug 30, 2016 at 1:41 AM, Daniel Zuidinga wrote: > not yet, but an IFrame is enough for me now. I think I have just to add > the files added by the loader. > > > Am 29.08.2016 um 18:53 schrieb Sebastien Jourdain: > > Did you figure out how to load everything by hand? > > On Mon, Aug 29, 2016 at 4:47 AM, Daniel Zuidinga > wrote: > >> >> I looked into it. >> Seems that I have to get rid of the vtkweb-loader.js and load the js, tpl >> and css myself. >> >> >> >> >> Am 29.08.2016 um 10:19 schrieb Daniel Zuidinga: >> >> Hi, >> >> I try to get pv web visualizer to work inside an angular2 component. >> >> The window opens on server and connection object seems right. But I get >> pv is not defined when try to call >> >> pv.initializeVisualizer(...) >> >> . Any ideas why this could be? >> >> >> ReferenceError: pv is not defined >> at start (http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9 >> OjgnSb7SIXqeGE04k7xU20:57595:18) >> at q.connectionInfo.connection.onopen (http://localhost:24264/lib/co >> re/vtkweb-all.min.js:30:556) >> at w.b._session.onjoin (http://localhost:24264/ext/co >> re/autobahn.min.js:29:210) >> at Object.f._socket.onmessage (http://localhost:24264/ext/co >> re/autobahn.min.js:95:330) >> at WebSocket.window.b.onmessage (http://localhost:24264/ext/co >> re/autobahn.min.js:114:422) >> >> >> >> _______________________________________________ >> 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/ParaV >> iew Search the list archives at: http://markmail.org/search/?q=ParaView >> Follow this link to subscribe/unsubscribe: http://public.kitware.com/mail >> man/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michalwozniak at live.ca Tue Aug 30 11:29:39 2016 From: michalwozniak at live.ca (michal wozniak) Date: Tue, 30 Aug 2016 11:29:39 -0400 Subject: [Paraview] Loading state file - not loading the connections to each inputs port Message-ID: I have a state file which contains multiple filters, some have multiple inputs port. When I load the state file everything load correctly but every filter that uses multiple ports (input) get this error "Input port (1,2,3,4,...) of algorithm "random name" has 0 connection but is not optional. If the filter instead uses multiple connections to one port then it gets loaded correctly. Can multiple port connection be saved in the state files? thanks you Michal -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyndyb at email.arizona.edu Tue Aug 30 12:18:46 2016 From: cyndyb at email.arizona.edu (Hart, Cynthia Joyce - (cyndyb)) Date: Tue, 30 Aug 2016 16:18:46 +0000 Subject: [Paraview] change background color based on a data variable? Message-ID: <63B92F57-ED86-4B7E-AB51-08FDDAC37F82@email.arizona.edu> Hi folks. Another ignorant question. (and Thank You to Burlen Loring for his assistance with my last question) I have created an animation of a time series of some months of several temperature sensors. It is desired by the end user of this visualization, to show the diurnal cycle as the animation goes by, by changing the background color from blue to through to black as the days so by. I can use the time values in the data table that contains my sensor data as a variable to determine a color by, but I don?t know what/or if there is, a filter to use to do this readily; that is, as a control of the background color. If anyone can give me some direction, I?d appreciate it much. Thank you, Cynthia -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at seoaachen.de Tue Aug 30 12:29:26 2016 From: info at seoaachen.de (Daniel Zuidinga) Date: Tue, 30 Aug 2016 18:29:26 +0200 Subject: [Paraview] paraview web architecture Message-ID: Hi once again, what's a good way to learn paraview web? I am still struggling a a bit with it's architecture. Protocol.py is the entry point? When I want for example to change the default background color for all renderers where do I have to look? Is this set once or for each renderer? Another thing I would like to change is that I can open a file from client inside a running pv web session so that I can load pv web upfront and load files without this long wait time. best regards Daniel From scott.wittenburg at kitware.com Tue Aug 30 12:41:52 2016 From: scott.wittenburg at kitware.com (Scott Wittenburg) Date: Tue, 30 Aug 2016 10:41:52 -0600 Subject: [Paraview] paraview web architecture In-Reply-To: References: Message-ID: On Tue, Aug 30, 2016 at 10:29 AM, Daniel Zuidinga wrote: > Hi once again, > > what's a good way to learn paraview web? All the guides we have written are located here: http://kitware.github.io/paraviewweb/docs/ > I am still struggling a a bit with it's architecture. Protocol.py is the > entry point? Not sure what you mean by "entry point". However, that file has many of the rpc methods that are available to be called from the web client. You can also learn a lot by reading through the methods in there to see how we use Python to control/manage ParaView. > When I want for example to change the default background color for all > renderers where do I have to look? Is this set once or for each renderer? > I am not sure whether or not this is something you can set for all renderers, but you can use the properties panel in the "Visualizer" application to set the background color. This a property you will find under the "View" section. > > Another thing I would like to change is that I can open a file from client > inside a running pv web session so that I can load pv web upfront and load > files without this long wait time. > > Not exactly sure what you're asking here, but you can have the client load a file as soon as the connection is established, as Sebastien mentioned in a previous thread. Hope this helps, Scott > best regards > Daniel > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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 rodrigo.pelorosso at gmail.com Tue Aug 30 12:42:22 2016 From: rodrigo.pelorosso at gmail.com (Rodrigo Pelorosso) Date: Tue, 30 Aug 2016 13:42:22 -0300 Subject: [Paraview] paraview web architecture In-Reply-To: References: Message-ID: Sadly, I feel there should be A LOT more documentation regarding ParaviewWeb. What I found useful to learn how to interact with the Paraview server using python is the Tracer feature of paraview. It can show what python commands the interface triggers. I've found that there are some commands that are not displayed, though. (changing the texture of a source, for instance. I've yet to discover how to do that via python) On Tue, Aug 30, 2016 at 1:29 PM, Daniel Zuidinga wrote: > Hi once again, > > what's a good way to learn paraview web? I am still struggling a a bit > with it's architecture. Protocol.py is the entry point? When I want for > example to change the default background color for all renderers where do I > have to look? Is this set once or for each renderer? > > Another thing I would like to change is that I can open a file from client > inside a running pv web session so that I can load pv web upfront and load > files without this long wait time. > > best regards > Daniel > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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 > -- Nusive || Software Development and IT solutions www.nusive.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlcercos at gmail.com Wed Aug 31 06:49:10 2016 From: jlcercos at gmail.com (=?UTF-8?Q?Jose_Luis_Cerc=C3=B3s?=) Date: Wed, 31 Aug 2016 12:49:10 +0200 Subject: [Paraview] pv_web_visualizer.py segmentation fault when loading a pvsm file Message-ID: Hi community! In Paraview 4.4.0, 5.1.0, and 5.1.2, I'm having a weird error (I don't know if other versions are affected as well)... After launching the ParaViewWeb visualizer script: ./bin/pvpython ./lib/paraview-5.1/site-packages/paraview/web/pv_web_visualizer.py --content ./share/paraview-5.1/www --data-dir /PATH_TO_THE_FILES/ --port 8080 Connecting with it (http://localhost:8080/apps/Visualizer/), loading a pvsm file, and reloading the web page (to close the connection and the ParaViewWeb visualizer instance), I'm receiving a segmentation fault: (...) 2016-08-31 12:39:23+0200 [twisted.web.server.Site] (TCP Port 8080 Closed) 2016-08-31 12:39:23+0200 [twisted.web.server.Site] Stopping factory 2016-08-31 12:39:23+0200 [HTTPChannel,6,127.0.0.1] connection_lost: connection count = 0 2016-08-31 12:39:23+0200 [HTTPChannel,6,127.0.0.1] Starting timer, process will terminate in: 300sec 2016-08-31 12:39:23+0200 [-] Main loop terminated. *Segmentation fault (core dumped)* However, it is not happening if I manually load the data and reproduce all the process (In such case it is just logging "Main loop terminated" and conveniently closing the app) The half good news are that, in Paraview >= 5.1.0 at least it is ever terminating (with the segfault), while in Paraview 4.4 it may become hanged (instead of crashing). Someone else with the same problem? Any idea to fix that? Thanks! Pepe -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.oliveira at gmail.com Wed Aug 31 06:55:27 2016 From: thomas.oliveira at gmail.com (Thomas Oliveira) Date: Wed, 31 Aug 2016 11:55:27 +0100 Subject: [Paraview] Import Raw (binary) Files as Cell Data In-Reply-To: <6D453663-D59B-4D9F-A87C-5FFA987B2799@snumerics.com> References: <6D453663-D59B-4D9F-A87C-5FFA987B2799@snumerics.com> Message-ID: Dear Christopher, Yes, the filters 'Cell Data To Point Data' and 'Point Data To Cell Data' just interpolates from the cell centres to the cell vertices or the other way round. It doesn?t affect how the data is initially imported. Thank you for your reply and for pointing out the solution involving the VTK format. For now, I've chosen to use XDMF, since it is simpler and it is enough for what I need. Best regards, Thomas On Fri, Aug 19, 2016 at 4:44 PM, Christopher Neal wrote: > Hi Thomas, > > If you have the ability to view/edit the source code that is generating > the output binary file, then I would suggest that you take a look at the > vtk manual that describes the data formats. It discusses how to write the > data in the vtk format such that the output is either cell data or point > data. VTK data format guide: http://www.vtk.org/wp-content/ > uploads/2015/04/file-formats.pdf > > > > If it is a black box, then perhaps you can look into using the filter > ?Cell Data To Point Data?. This may yield something helpful, although it is > just an interpolation from the cell centers to the cell vertices(If I > understand correctly). > > Best regards, > > Chris Neal > > > > *From: *ParaView on behalf of Thomas > Oliveira > *Date: *Friday, August 19, 2016 at 11:20 AM > *To: *ParaView > *Subject: *[Paraview] Import Raw (binary) Files as Cell Data > > > > Dear all, > > In a raw (binary) file, I have 4x4x5 values that represent the values on a > grid composed by 4x4x5 blocks. When I import it on Paraview, the values are > is interpreted as Point Data, giving rise to 3x3x4 blocks (with 4x4x5 > points). How can import those 4x4x5 values as Cell Data? > > Best regards, > > Thomas Oliveira > > _______________________________________________ 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.oliveira at gmail.com Wed Aug 31 06:58:21 2016 From: thomas.oliveira at gmail.com (Thomas Oliveira) Date: Wed, 31 Aug 2016 11:58:21 +0100 Subject: [Paraview] Import Raw (binary) Files as Cell Data In-Reply-To: <0EB9B6375711A04B820E6B6F5CCA9F68436856A6@MBX111.d.ethz.ch> References: <6D453663-D59B-4D9F-A87C-5FFA987B2799@snumerics.com> <0EB9B6375711A04B820E6B6F5CCA9F68436856A6@MBX111.d.ethz.ch> Message-ID: Dear Jean, Thank you for your reply. The solution you suggested involving XDMF has worked. I just needed to change NumberType, Precision and Endian attributes to match to my data. Best regards, Thomas On Mon, Aug 22, 2016 at 9:22 AM, Favre Jean wrote: > I personally favor the use of XDMF to import raw binary data. This gives > the flexibility to import cell-data and/or node-data > > the XDMF code most likely to work for your example is the following: > > Given your binary data stored in file "rawdata.bin", double-length > floating point, with 4x4x5 cells, i.e. a grid of 5x5x6 vertices... > > > > > > > > > Format="XML">0. 0. 0. > Format="XML">1. 1. 1. > > Center="Cell"> > Format="Binary">rawdata.bin > > > > > > ----------------- > Jean > CSCS > > > _______________________________________________ > 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 l.calori at cineca.it Wed Aug 31 09:43:19 2016 From: l.calori at cineca.it (Luigi Calori) Date: Wed, 31 Aug 2016 15:43:19 +0200 Subject: [Paraview] paraview catalyst connection python script Message-ID: <57C6DEF7.2040801@cineca.it> We would like to automate the opening of catalyst connection inside Paraview standalone by providing a python macro We tried to use tracing but the catalyst opening and port setting was not recorded. Any hint would be appreciated Thanks in advance -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it From berk.geveci at kitware.com Wed Aug 31 12:43:11 2016 From: berk.geveci at kitware.com (Berk Geveci) Date: Wed, 31 Aug 2016 12:43:11 -0400 Subject: [Paraview] =?utf-8?q?You_can_still_participate_in_SC16=E2=80=99s_?= =?utf-8?q?Visualization_Showcase!_Short_videos_due_on_November_1?= =?utf-8?q?=2C_2016?= Message-ID: Visualization Showcase Short Videos ------------------------------ Important Dates: *November 1, 2016: Short Video Submissions Deadline* *November 7, 2016: **Notifications Sent* ------------------------------ *You can still participate in SC16?s Visualization Showcase!* SC16?s Visualization and Data Analytics Showcase Program provides a forum for the year?s most instrumental movies in HPC. We are now requesting short videos that will be shown on large monitors at the conference so that attendees can experience and enjoy the latest in science and engineering HPC results expressed through state-of-the-art visualization technologies. *Review and selection process:* Video submissions (up to 1.5 Gb) need to be submitted to the website below by November 1, 2016. Videos should have a slide that includes the video title, authors and institution. These short video submissions will be reviewed by the Visualization Showcase Co-Chairs. http://sc16.supercomputing.org/submitters/showcases/ scientific-visualization-showcase/ *Web Submissions:* https://submissions.supercomputing.org/ *Email Contact:* vis_showcase at info.supercomputing.org SC16 Visualization Showcase Chair Chris Johnson, University of Utah SC16 Visualization Showcase Vice Chair Kristin Potter, University of Oregon -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Wed Aug 31 21:33:14 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 31 Aug 2016 21:33:14 -0400 Subject: [Paraview] paraview catalyst connection python script In-Reply-To: <57C6DEF7.2040801@cineca.it> References: <57C6DEF7.2040801@cineca.it> Message-ID: I don't know if this functionality is supported through the Python API. If not I don't think it would be too much effort to add it in. On Wed, Aug 31, 2016 at 9:43 AM, Luigi Calori wrote: > We would like to automate the opening of catalyst connection inside > Paraview standalone by providing a python macro > We tried to use tracing but the catalyst opening and port setting was not > recorded. > Any hint would be appreciated > > Thanks in advance > > -- > Luigi Calori > SuperComputing Applications and Innovation Department > CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY > Tel: +39 051 6171509 Fax: +39 051 6132198 > hpc.cineca.it > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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 claytonfcampbell at gmail.com Thu Aug 4 13:03:47 2016 From: claytonfcampbell at gmail.com (Clayton C) Date: Thu, 04 Aug 2016 17:03:47 -0000 Subject: [Paraview] Save Animation Bug (possibly) In-Reply-To: References: Message-ID: Utkarsh, The resolution I am using is 1036X824. I have attached an example of both scenarios. The vertical split in the view port can been seen in the 'Save Animation' file, but is correctly hidden in the 'Save Screenshot' file. Cheers, Clayton ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Save Screenshot.tif Type: image/tiff Size: 2464156 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Save Animation.tif Type: image/tiff Size: 2465884 bytes Desc: not available URL: From julio.hoffimann at gmail.com Thu Aug 4 21:38:53 2016 From: julio.hoffimann at gmail.com (=?UTF-8?Q?J=C3=BAlio_Hoffimann?=) Date: Fri, 05 Aug 2016 01:38:53 -0000 Subject: [Paraview] Depth rendering issues on ParaView Desktop 5.1.0 In-Reply-To: References: Message-ID: Hi David, First of all, thank you for sharing this option. It will allow me to continue with my work partially. The default option is "Follow Frontface" and that is causing the undesired effect. The option "Cull Frontface" has the same undesired effect, whereas the option "Cull Backface" fixes it. This fix is however not working when I load two grid files and superimpose them. In this second attachment I enabled the option "Cull Backface" in both grids, but you can see that for some reason the box is transparent and I can see the various pillars defined in the other grid inside of the box. I tried the same visualization in another computer and this problem doesn't occur. So I am almost sure it is something related to my laptop, GPU or Paraview build. ? Please let me know how can I help solve this issue and if you need any other information from me. -J?lio 2016-08-04 8:35 GMT-05:00 David Lonie : > This looks like the front faces of the surface have been culled. In the > properties tab, enable advanced properties (the gear button) and locate the > "Backface representation" setting. It's usually set to "Follow Frontface", > but "Cull Frontface" will give results like you're seeing. > > Does changing this value help? > > On Wed, Aug 3, 2016 at 10:53 PM, J?lio Hoffimann < > julio.hoffimann at gmail.com> wrote: > >> Dear all, >> >> I have a depth rendering issue that is now compromising my work on a Arch >> Linux laptop. This is a simple Dell XPS 13 with an integrated Intel(R) HD >> Graphics Skylake ULT GT2 GPU. >> >> The attached figure shows a 3D volume with incorrect depth rendering: >> >> >> ? >> Is this an issue with the graphics card driver? How can I solve it? >> >> I appreciate any guidance. >> >> Sincerely, >> -J?lio >> >> _______________________________________________ >> 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: Screenshot from 2016-08-04 20-34-11.png Type: image/png Size: 194943 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2016-08-03 21-48-26.png Type: image/png Size: 88959 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2016-08-04 20-34-11.png Type: image/png Size: 194943 bytes Desc: not available URL: From danielbo17 at hotmail.com Sun Aug 7 23:39:42 2016 From: danielbo17 at hotmail.com (Daniel Oliveira) Date: Mon, 08 Aug 2016 03:39:42 -0000 Subject: [Paraview] Problems with export pdf Message-ID: Dear all, I have had problems to export a scene in pdf in Paravis 5.0 of the Salome-7.8.0.The scenario is: when I load a file with some results in a timestep I am able to see all my results normally. https://mega.nz/#!Z1EgCJbC!-UFNy_yDMRUpYTj6ihr9rtE3Xtv5KgancOoqctFGhTE Then I position my study in a timestep and export the results in pdf format using that configuration: https://mega.nz/#!NgUkFDIB!V0SCj4PqCtryE0nv_E0bSD74K5jqZS_dudV5hxlI2Ow The result is a picture with only the geometry without any colors. https://mega.nz/#!wlMRWC6S!RJQrAbLHcflmdNS4eVtxLK7CdVKe7oF_4cQVvsYjjN8 The resulting pdf is attached.https://mega.nz/#!5g1lwThI!HFXiK-vFRr_eMtSUWdgkwfKfdRdp_sNYBJlR2bMZ8NMI don't know what is happening, but I really wish to extract my results in vector format.Can anyone help with this?I thank you in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: teste.pdf Type: application/pdf Size: 351792 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Imagem2.png Type: image/png Size: 30268 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Imagem11.png Type: image/png Size: 148351 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagem22.png Type: image/png Size: 18637 bytes Desc: not available URL: From labcorrea at gmail.com Tue Aug 9 08:12:55 2016 From: labcorrea at gmail.com (=?UTF-8?B?TMO6Y2lvIENvcnLDqmE=?=) Date: Tue, 09 Aug 2016 12:12:55 -0000 Subject: [Paraview] Fwd: Problem to save screenshot in VERY HIGH resolution In-Reply-To: References: Message-ID: Hi, I'm trying to save one screenshot with a very high resolution. I try to run in several different machines and configurations but I had always the same problem. Some black rectangular strips appears in the figure. I'm sending an exemple, one figure and the python code that generate this figure... Someone had some ideia why I have this problem? -- MSc. Eng. L?cio Corr?a lcorrea at demet.ufrgs.br -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.png Type: image/png Size: 4163333 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Export_test.py Type: text/x-python-script Size: 2093 bytes Desc: not available URL: