Re: [Paraview] Cannot get parallelism working in paraview 4.2.0 on our clusters (works with 4.1.0)
Hey Rich, Can you send me the dataset? Best, -berk On Mon, Nov 24, 2014 at 7:25 PM, Cook, Rich coo...@llnl.gov wrote: Hi, I have recently compiled paraview 4.2.0 on our clusters in the same way I compile with 4.1.0 and am getting some errors. I run pvserver in parallel, and it does not give any weird outputs. I connect with it from my desktop (Mac OS X). I can see in the desktop GUI that four remote servers are connected. I open up a PDB dataset and it is different. I see two “Output” objects in the pipeline browser. This is different than the behavior in 4.1.0. I click Apply and get smacked in the face with an error dialog. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Domains/Chemistry/vtkBlueObeliskDataParser.cxx, line 68 vtkBlueObeliskDataParser (0x7fea5e2a9980): Cannot find elements.xml. Checked /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview-build/CMakeFiles/__macos_install/share/paraview-4.2/vtkDomainsChemistry and /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Domains/Chemistry ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/IO/XMLParser/vtkXMLParser.cxx, line 382 vtkBlueObeliskDataParser (0x7fea5e2a9980): Parse() called with no Stream set. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 710 vtkPVDataRepresentationPipeline (0x7fea5e2a4d80): Input port 0 of algorithm vtkMoleculeRepresentation(0x7fea56c005d0) has 0 connections but is not optional. I’m unable to color by process scalar ID, or more precisely, the Filter seems to get applied but the color does not change. Appears all work is done on process 0. Something is vewwwy scwewwy. Help? -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management Graphics Grp., Services Development Div., Integrated Computing Communications Dept. (opinions expressed herein are mine and not those of LLNL) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Cannot get parallelism working in paraview 4.2.0 on our clusters (works with 4.1.0)
Hi, I think I know the cause, the PDB reader was modified to produce a vtkMolecule in addition to the vtkPolyData I think it has always produced. It looks like there is a packaging issue, and the XML file cannot be found. We should probably just statically compile the file in, or convert it to a header as the data is pretty static - atomic radii, colors, etc. Marcus On Tue, Nov 25, 2014 at 9:06 AM, Berk Geveci berk.gev...@kitware.com wrote: Hey Rich, Can you send me the dataset? Best, -berk On Mon, Nov 24, 2014 at 7:25 PM, Cook, Rich coo...@llnl.gov wrote: Hi, I have recently compiled paraview 4.2.0 on our clusters in the same way I compile with 4.1.0 and am getting some errors. I run pvserver in parallel, and it does not give any weird outputs. I connect with it from my desktop (Mac OS X). I can see in the desktop GUI that four remote servers are connected. I open up a PDB dataset and it is different. I see two “Output” objects in the pipeline browser. This is different than the behavior in 4.1.0. I click Apply and get smacked in the face with an error dialog. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Domains/Chemistry/vtkBlueObeliskDataParser.cxx, line 68 vtkBlueObeliskDataParser (0x7fea5e2a9980): Cannot find elements.xml. Checked /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview-build/CMakeFiles/__macos_install/share/paraview-4.2/vtkDomainsChemistry and /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Domains/Chemistry ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/IO/XMLParser/vtkXMLParser.cxx, line 382 vtkBlueObeliskDataParser (0x7fea5e2a9980): Parse() called with no Stream set. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 710 vtkPVDataRepresentationPipeline (0x7fea5e2a4d80): Input port 0 of algorithm vtkMoleculeRepresentation(0x7fea56c005d0) has 0 connections but is not optional. I’m unable to color by process scalar ID, or more precisely, the Filter seems to get applied but the color does not change. Appears all work is done on process 0. Something is vewwwy scwewwy. Help? -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management Graphics Grp., Services Development Div., Integrated Computing Communications Dept. (opinions expressed herein are mine and not those of LLNL) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://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 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] Which reader run in parallel? All of them?
Hello Paraview Overlords, Does every paraview reader run in parallel with its data? I know that is not the case with VisIt, so I’m thinking probably not true for paraview either. If not, is there a list of which readers parallelize and which are not, or a way to compile such a list without reading the source code? Thanks! -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management Graphics Grp., Services Development Div., Integrated Computing Communications Dept. (opinions expressed herein are mine and not those of LLNL) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Which reader run in parallel? All of them?
Like VisIt, there exist readers in ParaView that do not perform well or at all when reading data in parallel. There are practical reasons for allowing non-parallel readers to exist within ParaView (and VisIt). The underling architecture is modular and designed to make it straightforward to add components like readers. Thus, the reader implementation often happens outside of ParaView development and is not necessarily designed for parallel usage. It is also the case that many file formats are not very amenable for parallel reading, but there are still good use cases for supporting them in some way in ParaView. As far as I know, there is no list of what readers do or do not read in parallel. I suppose it would be possible to iterate over all readers and see which ones report pieces or extents, but that would not give reliable information about parallel behavior or the limitations. It would be hard to quantify the parallel behavior of the readers in any meaningful way. A list of parallel readers may not be the right way to ask the question. A better question to ask is if I have data in a particular format can I read that in parallel? Yes, this is most reliably answered by pouring through the source code, but an email to this list will probably provide a satisfactory answer if its a common format. The converse question is for data of a given type, what is the best file format to use for parallel performance? You're bound to get a more complete answer by asking humans than consulting a list. -Evil ParaView Overlord #42 From: Cook, Rich coo...@llnl.govmailto:coo...@llnl.gov Date: Tuesday, November 25, 2014 at 11:16 AM To: paraview@paraview.orgmailto:paraview@paraview.org paraview@paraview.orgmailto:paraview@paraview.org Subject: [EXTERNAL] [Paraview] Which reader run in parallel? All of them? Hello Paraview Overlords, Does every paraview reader run in parallel with its data? I know that is not the case with VisIt, so I’m thinking probably not true for paraview either. If not, is there a list of which readers parallelize and which are not, or a way to compile such a list without reading the source code? Thanks! -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management Graphics Grp., Services Development Div., Integrated Computing Communications Dept. (opinions expressed herein are mine and not those of LLNL) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Which reader run in parallel? All of them?
Hi, Ken, your approach makes sense, unless you are in my shoes of maintaining the software for use by others. In that case, users come to me asking which package they should use to view their data and the ability to view in parallel is an important consideration which I’d like to have at my fingertips. So far it’s not so frequent, but quantifying it in some way would help me at least as a central maintenance and support guy. But it seems I will have to take your approach, querying piecemeal as needed. Thanks — Rich On Nov 25, 2014, at 11:16 AM, Moreland, Kenneth kmo...@sandia.govmailto:kmo...@sandia.gov wrote: Like VisIt, there exist readers in ParaView that do not perform well or at all when reading data in parallel. There are practical reasons for allowing non-parallel readers to exist within ParaView (and VisIt). The underling architecture is modular and designed to make it straightforward to add components like readers. Thus, the reader implementation often happens outside of ParaView development and is not necessarily designed for parallel usage. It is also the case that many file formats are not very amenable for parallel reading, but there are still good use cases for supporting them in some way in ParaView. As far as I know, there is no list of what readers do or do not read in parallel. I suppose it would be possible to iterate over all readers and see which ones report pieces or extents, but that would not give reliable information about parallel behavior or the limitations. It would be hard to quantify the parallel behavior of the readers in any meaningful way. A list of parallel readers may not be the right way to ask the question. A better question to ask is if I have data in a particular format can I read that in parallel? Yes, this is most reliably answered by pouring through the source code, but an email to this list will probably provide a satisfactory answer if its a common format. The converse question is for data of a given type, what is the best file format to use for parallel performance? You're bound to get a more complete answer by asking humans than consulting a list. -Evil ParaView Overlord #42 From: Cook, Rich coo...@llnl.govmailto:coo...@llnl.gov Date: Tuesday, November 25, 2014 at 11:16 AM To: paraview@paraview.orgmailto:paraview@paraview.org paraview@paraview.orgmailto:paraview@paraview.org Subject: [EXTERNAL] [Paraview] Which reader run in parallel? All of them? Hello Paraview Overlords, Does every paraview reader run in parallel with its data? I know that is not the case with VisIt, so I’m thinking probably not true for paraview either. If not, is there a list of which readers parallelize and which are not, or a way to compile such a list without reading the source code? Thanks! -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management Graphics Grp., Services Development Div., Integrated Computing Communications Dept. (opinions expressed herein are mine and not those of LLNL) -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management Graphics Grp., Services Development Div., Integrated Computing Communications Dept. (opinions expressed herein are mine and not those of LLNL) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Cannot get parallelism working in paraview 4.2.0 on our clusters (works with 4.1.0)
Marcus will investigate the errors. They are not related to why the dataset is no longer distributed. There was code in 4.1 that automatically redistributed data from serial readers using a very naive approach. That code is no longer there. We are investigating various options of improving on the 4.1 functionality. I would normally say that you can use the D3 filter to distribute the data but I was cautious and tried it first. It crashes :-( This dataset has string arrays in it, which it seems D3 does not handle. Do you have a particular use case driving parallel PDB capability? If you do, I can find some workarounds of these issues. If not, D3 should nicely work on most polydata and unstructured grid sources. We are working on better ways of redistributing the other data types. Best, -berk On Tue, Nov 25, 2014 at 9:44 AM, Marcus D. Hanwell marcus.hanw...@kitware.com wrote: Hi, I think I know the cause, the PDB reader was modified to produce a vtkMolecule in addition to the vtkPolyData I think it has always produced. It looks like there is a packaging issue, and the XML file cannot be found. We should probably just statically compile the file in, or convert it to a header as the data is pretty static - atomic radii, colors, etc. Marcus On Tue, Nov 25, 2014 at 9:06 AM, Berk Geveci berk.gev...@kitware.com wrote: Hey Rich, Can you send me the dataset? Best, -berk On Mon, Nov 24, 2014 at 7:25 PM, Cook, Rich coo...@llnl.gov wrote: Hi, I have recently compiled paraview 4.2.0 on our clusters in the same way I compile with 4.1.0 and am getting some errors. I run pvserver in parallel, and it does not give any weird outputs. I connect with it from my desktop (Mac OS X). I can see in the desktop GUI that four remote servers are connected. I open up a PDB dataset and it is different. I see two “Output” objects in the pipeline browser. This is different than the behavior in 4.1.0. I click Apply and get smacked in the face with an error dialog. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Domains/Chemistry/vtkBlueObeliskDataParser.cxx, line 68 vtkBlueObeliskDataParser (0x7fea5e2a9980): Cannot find elements.xml. Checked /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview-build/CMakeFiles/__macos_install/share/paraview-4.2/vtkDomainsChemistry and /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Domains/Chemistry ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/IO/XMLParser/vtkXMLParser.cxx, line 382 vtkBlueObeliskDataParser (0x7fea5e2a9980): Parse() called with no Stream set. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 710 vtkPVDataRepresentationPipeline (0x7fea5e2a4d80): Input port 0 of algorithm vtkMoleculeRepresentation(0x7fea56c005d0) has 0 connections but is not optional. I’m unable to color by process scalar ID, or more precisely, the Filter seems to get applied but the color does not change. Appears all work is done on process 0. Something is vewwwy scwewwy. Help? -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management Graphics Grp., Services Development Div., Integrated Computing Communications Dept. (opinions expressed herein are mine and not those of LLNL) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://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 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Cannot get parallelism working in paraview 4.2.0 on our clusters (works with 4.1.0)
I do not have an urgent need to view this data. However, be advised that I got it from what appears to be the PDB canonical source, so I assumed our molecular people would appreciate being able to visualize their stuff. This kind of model doesn’t usually get that big, though, probably. http://www.rcsb.org/pdb/explore.do?structureId=1lmb Thank you kindly. No workaround is needed. — Rich On Nov 25, 2014, at 12:55 PM, Berk Geveci berk.gev...@kitware.commailto:berk.gev...@kitware.com wrote: Marcus will investigate the errors. They are not related to why the dataset is no longer distributed. There was code in 4.1 that automatically redistributed data from serial readers using a very naive approach. That code is no longer there. We are investigating various options of improving on the 4.1 functionality. I would normally say that you can use the D3 filter to distribute the data but I was cautious and tried it first. It crashes :-( This dataset has string arrays in it, which it seems D3 does not handle. Do you have a particular use case driving parallel PDB capability? If you do, I can find some workarounds of these issues. If not, D3 should nicely work on most polydata and unstructured grid sources. We are working on better ways of redistributing the other data types. Best, -berk On Tue, Nov 25, 2014 at 9:44 AM, Marcus D. Hanwell marcus.hanw...@kitware.commailto:marcus.hanw...@kitware.com wrote: Hi, I think I know the cause, the PDB reader was modified to produce a vtkMolecule in addition to the vtkPolyData I think it has always produced. It looks like there is a packaging issue, and the XML file cannot be found. We should probably just statically compile the file in, or convert it to a header as the data is pretty static - atomic radii, colors, etc. Marcus On Tue, Nov 25, 2014 at 9:06 AM, Berk Geveci berk.gev...@kitware.commailto:berk.gev...@kitware.com wrote: Hey Rich, Can you send me the dataset? Best, -berk On Mon, Nov 24, 2014 at 7:25 PM, Cook, Rich coo...@llnl.govmailto:coo...@llnl.gov wrote: Hi, I have recently compiled paraview 4.2.0 on our clusters in the same way I compile with 4.1.0 and am getting some errors. I run pvserver in parallel, and it does not give any weird outputs. I connect with it from my desktop (Mac OS X). I can see in the desktop GUI that four remote servers are connected. I open up a PDB dataset and it is different. I see two “Output” objects in the pipeline browser. This is different than the behavior in 4.1.0. Voila_Capture 2014-11-24_04-23-27_PM.png I click Apply and get smacked in the face with an error dialog. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Domains/Chemistry/vtkBlueObeliskDataParser.cxx, line 68 vtkBlueObeliskDataParser (0x7fea5e2a9980): Cannot find elements.xml. Checked /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview-build/CMakeFiles/__macos_install/share/paraview-4.2/vtkDomainsChemistry and /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Domains/Chemistry ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/IO/XMLParser/vtkXMLParser.cxx, line 382 vtkBlueObeliskDataParser (0x7fea5e2a9980): Parse() called with no Stream set. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 710 vtkPVDataRepresentationPipeline (0x7fea5e2a4d80): Input port 0 of algorithm vtkMoleculeRepresentation(0x7fea56c005d0) has 0 connections but is not optional. I’m unable to color by process scalar ID, or more precisely, the Filter seems to get applied but the color does not change. Appears all work is done on process 0. Something is vewwwy scwewwy. Help? -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605tel:%28925%29%20423-9605 ☎ (fax) (925) 423-6961tel:%28925%29%20423-6961 --- Information Management Graphics Grp., Services Development Div., Integrated Computing Communications Dept. (opinions expressed herein are mine and not those of LLNL) ___ Powered by www.kitware.comhttp://www.kitware.com/ Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview ___ Powered by www.kitware.comhttp://www.kitware.com/ Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep
Re: [Paraview] paraview web issue
Hi Sebastien, OK, I finally upgrade to Ubuntu 14.04 and apache 2.4! however, I still have some issue. again I see the render window pop up in the background, in the browser I have the ParaView web logo and spinning wheel, now after a few seconds a dialog: Session did not start before timeout expired. Check session logs. I cranked up the log verbosity in apache. attached everything. Any idea what the problem is? how to get more info? paraview has an error, how does that get reported? Thanks Burlen On 11/24/2014 12:48 PM, Sebastien Jourdain wrote: Apache 2.2 will probably be an issue as WS forwarding was not properly supported with url rewrite. You may need to build Apache yourself on that distribution. The one that have all the fix and is supposed to work is 2.4.7+. We have some additional documentation about that part here: http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/apache_front_end http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/apache_front_end Seb On Mon, Nov 24, 2014 at 12:47 PM, Burlen Loring blor...@lbl.gov mailto:blor...@lbl.gov wrote: Hi Sebastien, this is for a public deployment but I am testing in the browser while it locally logged into the system. This server is running ubuntu 11.04, apache 2.2.22. I hope that this isn't a roadblock.I can't easily upgrade. your instructions for 14.04 went off OK but in 2 spots I had to find a work around: 1) proxy_wstunnel had to be installed manually, this went without a hitch and it loaded up without error 2) in the apache config I had to comment #Require all granted as that wasn't valid in 2.2 the session id was in the proxy.txt file and had the port number 9100 which I see elsewhere in the logs, so that looks OK. I'm attaching the launcher config. the apache config is pasted below. 131 333 132 VirtualHost *:80 133 ServerName paraview.lbl.gov http://paraview.lbl.gov 134 ServerAdmin blor...@lbl.gov mailto:blor...@lbl.gov 135 DocumentRoot /var/www/ParaView/www 136 ErrorLog /var/www/ParaView/logs/error.log 137 CustomLog /var/www/ParaView/logs/access.log common 138 139 Directory /var/www/ParaView/www 140 Options Indexes FollowSymLinks 141 Order allow,deny 142 Allow from all 143 AllowOverride None 144 #for ver = 2.4 145 #Require all granted 146 /Directory 147 148 # Handle launcher forwarding 149 ProxyPass /paraview http://localhost:8080/paraview 150 151 # Handle WebSocket forwarding 152 RewriteEngine On 153 RewriteMap session-to-port txt:/var/www/ParaView/proxy.txt 154 RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] 155 RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] 156 /VirtualHost On 11/24/2014 10:02 AM, Sebastien Jourdain wrote: Hi Burlen, Just to make sure, you are performing the install on an Ubuntu 14.04 ? Are you trying to try it locally first using localhost, or are you targeting a real deploy with a real host name? Can you share your config file for the launcher + apache? (You can do it privately depending on your target deploy / security) Moreover, can you validate that the session id c3079f24-73f9-11e4-a023-002590202132 was properly mapped inside the text file that is shared between Apache and the Python launcher? Thanks, Seb On Mon, Nov 24, 2014 at 10:29 AM, burlen burlen.lor...@gmail.com mailto:burlen.lor...@gmail.com wrote: Hi All, Making an attempt to install ParaView web. I need some assistance in trouble shooting. I am attaching a set of logs from a single attempt. I'm following theinstructions for Ubuntu 14.04 http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/ubuntu_14_04. I see the x11 render window open, but the web page shows nothing. from the error log [Mon Nov 24 08:48:53 2014] [error] [client 131.243.240.15] File does not exist: /var/www/ParaView/www/ws: from the access log 131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET /ws://localhost:9100/ws?sessionId=c3079f24-73f9-11e4-a023-002590202132 HTTP/1.1 404 513 131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET /proxy?sessionId=c3079f24-73f9-11e4-a023-002590202132 HTTP/1.1 404 457 Seems that the problem potentially relates to web sockets. How can I get further info about what's failing? Can anyone give some hint on troubleshooting this issue? Burlen ___ Powered by www.kitware.com http://www.kitware.com
Re: [Paraview] paraview web issue
Found the issue! Or at least I think I do ;-) The short answer is that the ready_line property inside your launcher.json file should be Starting factory and not Starting factory - XYZ for all the command lines. (Like written in the documentation ;-) The reason is that the launcher look for that exact String in the output of the process that it runs. This allow to know when the process is ready. And the line Starting factory - XYZ never show up, hence the error message Session did not start before timeout expired. Check session logs. has it think the process is not ready. Let me know if you run into something else. Seb On Tue, Nov 25, 2014 at 5:00 PM, Burlen Loring blor...@lbl.gov wrote: Hi Sebastien, OK, I finally upgrade to Ubuntu 14.04 and apache 2.4! however, I still have some issue. again I see the render window pop up in the background, in the browser I have the ParaView web logo and spinning wheel, now after a few seconds a dialog: Session did not start before timeout expired. Check session logs. I cranked up the log verbosity in apache. attached everything. Any idea what the problem is? how to get more info? paraview has an error, how does that get reported? Thanks Burlen On 11/24/2014 12:48 PM, Sebastien Jourdain wrote: Apache 2.2 will probably be an issue as WS forwarding was not properly supported with url rewrite. You may need to build Apache yourself on that distribution. The one that have all the fix and is supposed to work is 2.4.7+. We have some additional documentation about that part here: http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/apache_front_end Seb On Mon, Nov 24, 2014 at 12:47 PM, Burlen Loring blor...@lbl.gov wrote: Hi Sebastien, this is for a public deployment but I am testing in the browser while it locally logged into the system. This server is running ubuntu 11.04, apache 2.2.22. I hope that this isn't a roadblock.I can't easily upgrade. your instructions for 14.04 went off OK but in 2 spots I had to find a work around: 1) proxy_wstunnel had to be installed manually, this went without a hitch and it loaded up without error 2) in the apache config I had to comment #Require all granted as that wasn't valid in 2.2 the session id was in the proxy.txt file and had the port number 9100 which I see elsewhere in the logs, so that looks OK. I'm attaching the launcher config. the apache config is pasted below. 131 333 132 VirtualHost *:80 133 ServerName paraview.lbl.gov 134 ServerAdmin blor...@lbl.gov 135 DocumentRoot /var/www/ParaView/www 136 ErrorLog /var/www/ParaView/logs/error.log 137 CustomLog /var/www/ParaView/logs/access.log common 138 139 Directory /var/www/ParaView/www 140 Options Indexes FollowSymLinks 141 Order allow,deny 142 Allow from all 143 AllowOverride None 144 #for ver = 2.4 145 #Require all granted 146 /Directory 147 148 # Handle launcher forwarding 149 ProxyPass /paraview http://localhost:8080/paraview 150 151 # Handle WebSocket forwarding 152 RewriteEngine On 153 RewriteMap session-to-port txt:/var/www/ParaView/proxy.txt 154 RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] 155 RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] 156 /VirtualHost On 11/24/2014 10:02 AM, Sebastien Jourdain wrote: Hi Burlen, Just to make sure, you are performing the install on an Ubuntu 14.04 ? Are you trying to try it locally first using localhost, or are you targeting a real deploy with a real host name? Can you share your config file for the launcher + apache? (You can do it privately depending on your target deploy / security) Moreover, can you validate that the session id c3079f24-73f9-11e4-a023-002590202132 was properly mapped inside the text file that is shared between Apache and the Python launcher? Thanks, Seb On Mon, Nov 24, 2014 at 10:29 AM, burlen burlen.lor...@gmail.com wrote: Hi All, Making an attempt to install ParaView web. I need some assistance in trouble shooting. I am attaching a set of logs from a single attempt. I'm following the instructions for Ubuntu 14.04 http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/ubuntu_14_04. I see the x11 render window open, but the web page shows nothing. from the error log [Mon Nov 24 08:48:53 2014] [error] [client 131.243.240.15] File does not exist: /var/www/ParaView/www/ws: from the access log 131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET / ws://localhost:9100/ws?sessionId=c3079f24-73f9-11e4-a023-002590202132 HTTP/1.1 404 513 131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET /proxy?sessionId=c3079f24-73f9-11e4-a023-002590202132 HTTP/1.1 404 457 Seems that the problem potentially relates to web sockets. How can I get further
Re: [Paraview] paraview web issue
BTW, once you update the configuration file, you will need to restart that launcher process. It is not smart enough to watch that file. ;-) And down the road, if you want to use different machine for the Viz, you can issue some ssh command to remotely start that ParaView process even with mpi/pvserver. Seb On Tue, Nov 25, 2014 at 8:01 PM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Found the issue! Or at least I think I do ;-) The short answer is that the ready_line property inside your launcher.json file should be Starting factory and not Starting factory - XYZ for all the command lines. (Like written in the documentation ;-) The reason is that the launcher look for that exact String in the output of the process that it runs. This allow to know when the process is ready. And the line Starting factory - XYZ never show up, hence the error message Session did not start before timeout expired. Check session logs. has it think the process is not ready. Let me know if you run into something else. Seb On Tue, Nov 25, 2014 at 5:00 PM, Burlen Loring blor...@lbl.gov wrote: Hi Sebastien, OK, I finally upgrade to Ubuntu 14.04 and apache 2.4! however, I still have some issue. again I see the render window pop up in the background, in the browser I have the ParaView web logo and spinning wheel, now after a few seconds a dialog: Session did not start before timeout expired. Check session logs. I cranked up the log verbosity in apache. attached everything. Any idea what the problem is? how to get more info? paraview has an error, how does that get reported? Thanks Burlen On 11/24/2014 12:48 PM, Sebastien Jourdain wrote: Apache 2.2 will probably be an issue as WS forwarding was not properly supported with url rewrite. You may need to build Apache yourself on that distribution. The one that have all the fix and is supposed to work is 2.4.7+. We have some additional documentation about that part here: http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/apache_front_end Seb On Mon, Nov 24, 2014 at 12:47 PM, Burlen Loring blor...@lbl.gov wrote: Hi Sebastien, this is for a public deployment but I am testing in the browser while it locally logged into the system. This server is running ubuntu 11.04, apache 2.2.22. I hope that this isn't a roadblock.I can't easily upgrade. your instructions for 14.04 went off OK but in 2 spots I had to find a work around: 1) proxy_wstunnel had to be installed manually, this went without a hitch and it loaded up without error 2) in the apache config I had to comment #Require all granted as that wasn't valid in 2.2 the session id was in the proxy.txt file and had the port number 9100 which I see elsewhere in the logs, so that looks OK. I'm attaching the launcher config. the apache config is pasted below. 131 333 132 VirtualHost *:80 133 ServerName paraview.lbl.gov 134 ServerAdmin blor...@lbl.gov 135 DocumentRoot /var/www/ParaView/www 136 ErrorLog /var/www/ParaView/logs/error.log 137 CustomLog /var/www/ParaView/logs/access.log common 138 139 Directory /var/www/ParaView/www 140 Options Indexes FollowSymLinks 141 Order allow,deny 142 Allow from all 143 AllowOverride None 144 #for ver = 2.4 145 #Require all granted 146 /Directory 147 148 # Handle launcher forwarding 149 ProxyPass /paraview http://localhost:8080/paraview 150 151 # Handle WebSocket forwarding 152 RewriteEngine On 153 RewriteMap session-to-port txt:/var/www/ParaView/proxy.txt 154 RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] 155 RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] 156 /VirtualHost On 11/24/2014 10:02 AM, Sebastien Jourdain wrote: Hi Burlen, Just to make sure, you are performing the install on an Ubuntu 14.04 ? Are you trying to try it locally first using localhost, or are you targeting a real deploy with a real host name? Can you share your config file for the launcher + apache? (You can do it privately depending on your target deploy / security) Moreover, can you validate that the session id c3079f24-73f9-11e4-a023-002590202132 was properly mapped inside the text file that is shared between Apache and the Python launcher? Thanks, Seb On Mon, Nov 24, 2014 at 10:29 AM, burlen burlen.lor...@gmail.com wrote: Hi All, Making an attempt to install ParaView web. I need some assistance in trouble shooting. I am attaching a set of logs from a single attempt. I'm following the instructions for Ubuntu 14.04 http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/ubuntu_14_04. I see the x11 render window open, but the web page shows nothing. from the error log [Mon Nov 24 08:48:53 2014] [error] [client 131.243.240.15] File does