MantisBT - ParaView
View Issue Details
0012166ParaViewFeaturepublic2011-05-06 18:332011-06-24 20:23
Alan Scott 
Robert Maynard 
normalminorhave not tried
closedfixed 
 
3.12 
0012166: CTH file reader needs to only open files once
The CTH reader needs to only open files once. At present, files are opened three times. As per an e-mail from Robert,

Every Process will do the following during Request Information:
• Open the input file and read 7 bits
• Close input file
• If Time Series
o Will query the file system to see the number of files in the time series. The net result is that we will call access() on each file in the time series plus 3 to see if we have read access and that file exists. At worse we will ask for we have read access on 3 files that don't exist.
• Now we will read the first file in the time series for the information.
o We read the majority of the file ( 86% in this case )
o We do 147 relative seeks
o We do 22 absolute seeks from the start of the file
Now the primary issue is that the Request Information step is called 3 times before the GUI Panel is displayed, causing all the above
file IO to happen 3 times on each process.
 
I also have attached a basic log of the read step, and I can generate an even more detailed log if needed.
 
No tags attached.
Issue History
2011-05-06 18:33Alan ScottNew Issue
2011-05-06 18:35Alan ScottTarget Version => 3.12
2011-05-30 10:45Robert MaynardAssigned To => Robert Maynard
2011-05-30 10:45Robert MaynardStatusbacklog => tabled
2011-06-07 08:57Robert MaynardNote Added: 0026736
2011-06-07 08:57Robert MaynardStatustabled => @80@
2011-06-07 08:57Robert MaynardFixed in Version => 3.12
2011-06-07 08:57Robert MaynardResolutionopen => fixed
2011-06-16 13:10Zack GalbreathCategoryFeature Request => Feature
2011-06-24 20:23Alan ScottNote Added: 0026889
2011-06-24 20:23Alan ScottStatuscustomer review => closed

Notes
(0026736)
Robert Maynard   
2011-06-07 08:57   
The Meta Information is only read twice once in RequestDataObject and RequestInformation.

c377139 Fixes Bug 0012166 we know only parse the meta information once.
850b225 BUG: Fix an issue where spy plot data wasn't updating for each timestep.
(0026889)
Alan Scott   
2011-06-24 20:23   
I tested this client/remote server, reading CTH. Trunk, Linux.