It is the old Cosmo Reader.<br><br>Actually, I don&#39;t know how to use the new one.<br>I can not even compile my files.<br><br>In CMakeLists.txt <br>I changed from<br>TARGET_LINK_LIBRARIES(treat_density vtkRendering)<br>
to<br>TARGET_LINK_LIBRARIES(treat_density vtkRendering vtkParallel)<br><br>But my compiler doesn&#39;t recognize <br>#include &lt;vtkPCosmoReader.h&gt;<br><br>Probably, I should recompile VTK to work in parallel, <br>but I don&#39;t know how.<br>
<br><br><br><div class="gmail_quote">On Thu, Sep 16, 2010 at 8:37 AM, Jon Woodring <span dir="ltr">&lt;<a href="mailto:woodring@lanl.gov">woodring@lanl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Also, I am wondering if that is the old Cosmo reader?<br>
<br>
The latest official Cosmo reader is called vtkPCosmoReader in the Parallel directory (though it works in serial as well), and the old one doesn&#39;t exist anymore.<br><font color="#888888">
<br>
-Jon</font><div><div></div><div class="h5"><br>
<br>
On 9/15/10 7:08 PM, David E DeMarle wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Can you post the code that iterates? If large send it off list. I can<br>
help diagnose and fix.<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&amp;D Engineer<br>
28 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-371-3971 x109<br>
<br>
<br>
<br>
On Wed, Sep 15, 2010 at 4:31 PM, Ula Popov&lt;<a href="mailto:ula.popov@gmail.com" target="_blank">ula.popov@gmail.com</a>&gt;  wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
<br>
I&#39;m using vtkCosmoReader to read files.<br>
The files are really big, each file is 4GB.<br>
I read files in a loop, each iteration I&#39;m using (reading) only 2 files.<br>
After 2 iterations I get a message, that my computer can not allocate more<br>
memory.<br>
<br>
I suspect that the reader doesn&#39;t closes the files. Is there any way to<br>
check/force<br>
file/memory management/garbage collection?<br>
<br>
Thank you for any ideas,<br>
Ula<br>
<br>
P.S. I checked all other components, they should not cause the problem<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at:<br>
<a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
</blockquote></blockquote>
<br>
</div></div></blockquote></div><br>