The ParaView 3.6 release will contain a prebuilt beta version of the VisIt Database Bridge on Windows and Linux. It should be available Monday.<br><br><div class="gmail_quote">On Sat, Jul 18, 2009 at 3:21 PM, pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Alin,<br>
<br>
The PARAVIEW_USE_SILO option isn't really supported anymore, it has<br>
been succeeded by the VisIt Database Bridge -<br>
<a href="http://www.paraview.org/Wiki/VisIt_Database_Bridge" target="_blank">http://www.paraview.org/Wiki/VisIt_Database_Bridge</a><br>
<br>
Having said that, I can confirm that the silo reader<br>
(vtkSiloReader.cxx) compiles and runs OK on linux using g++ 4.3.2.<br>
You have to use the Silo060605 source downloaded from this page:<br>
<a href="https://wci.llnl.gov/codes/visit/source.html" target="_blank">https://wci.llnl.gov/codes/visit/source.html</a>. Newer versions of Silo<br>
probably won't work.<br>
<font color="#888888"><br>
Pat<br>
</font><div><div></div><div class="h5"><br>
<br>
On Fri, Jul 17, 2009 at 6:03 PM, Alin M Elena<<a href="mailto:alinm.elena@googlemail.com">alinm.elena@googlemail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I try to compile paraview 3.6.1 with silo plugin but I get this error<br>
><br>
> [ 73%] Building CXX object<br>
> Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkSiloReader.o<br>
> cd /home/alin/ParaView3/build2/Servers/Filters && /usr/bin/g++ -<br>
> DvtkPVFilters_EXPORTS -DVTK_PYTHON_BUILD -Wno-deprecated -fPIC -<br>
> I/home/alin/ParaView3/paraview3/Servers/Filters -I/home/alin/ParaView3/build2<br>
> -I/home/alin/ParaView3/build2/VTK/Utilities -I/usr/include/python2.6 -<br>
> I/home/alin/ParaView3/paraview3/Utilities/VTKPythonWrapping/Executable -<br>
> I/usr/local/include -I/home/alin/ParaView3/build2/Servers/Filters -<br>
> I/home/alin/ParaView3/paraview3/Servers/Common -<br>
> I/home/alin/ParaView3/paraview3/Utilities/hdf5 -<br>
> I/home/alin/ParaView3/build2/Utilities/hdf5 -<br>
> I/home/alin/ParaView3/paraview3/VTK -I/home/alin/ParaView3/build2/VTK -<br>
> I/home/alin/ParaView3/paraview3/VTK/Utilities -<br>
> I/home/alin/ParaView3/paraview3/VTK/Common -<br>
> I/home/alin/ParaView3/build2/VTK/Common -<br>
> I/home/alin/ParaView3/paraview3/VTK/Filtering -<br>
> I/home/alin/ParaView3/build2/VTK/Filtering -<br>
> I/home/alin/ParaView3/paraview3/VTK/GenericFiltering -<br>
> I/home/alin/ParaView3/build2/VTK/GenericFiltering -<br>
> I/home/alin/ParaView3/paraview3/VTK/IO -I/home/alin/ParaView3/build2/VTK/IO -<br>
> I/home/alin/ParaView3/paraview3/VTK/Imaging -<br>
> I/home/alin/ParaView3/build2/VTK/Imaging -<br>
> I/home/alin/ParaView3/paraview3/VTK/Rendering -<br>
> I/home/alin/ParaView3/build2/VTK/Rendering -<br>
> I/home/alin/ParaView3/paraview3/VTK/Parallel -<br>
> I/home/alin/ParaView3/build2/VTK/Parallel -<br>
> I/home/alin/ParaView3/paraview3/VTK/Graphics -<br>
> I/home/alin/ParaView3/build2/VTK/Graphics -<br>
> I/home/alin/ParaView3/paraview3/VTK/Hybrid -<br>
> I/home/alin/ParaView3/build2/VTK/Hybrid -<br>
> I/home/alin/ParaView3/paraview3/VTK/VolumeRendering -<br>
> I/home/alin/ParaView3/build2/VTK/VolumeRendering -<br>
> I/home/alin/ParaView3/paraview3/VTK/Widgets -<br>
> I/home/alin/ParaView3/build2/VTK/Widgets -<br>
> I/home/alin/ParaView3/paraview3/VTK/Infovis -<br>
> I/home/alin/ParaView3/build2/VTK/Infovis -<br>
> I/home/alin/ParaView3/paraview3/VTK/Views -<br>
> I/home/alin/ParaView3/build2/VTK/Views -<br>
> I/home/alin/ParaView3/paraview3/Utilities/Xdmf2/vtk -<br>
> I/home/alin/ParaView3/build2/Utilities/Xdmf2/vtk -<br>
> I/home/alin/ParaView3/paraview3/Utilities/VTKClientServer -<br>
> I/home/alin/ParaView3/build2/Utilities/VTKClientServer -o<br>
> CMakeFiles/vtkPVFilters.dir/vtkSiloReader.o -c<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In member<br>
> function ‘vtkDataSet* vtkSiloReader::CreateRectilinearMesh(DBquadmesh*)’:<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:1732: error:<br>
> pointer of type ‘void *’ used in arithmetic<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:1732: error:<br>
> ‘void*’ is not a pointer-to-object type<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In member<br>
> function ‘vtkDataSet* vtkSiloReader::GetCurve(DBfile*, const char*)’:<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2008: error:<br>
> pointer of type ‘void *’ used in arithmetic<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2008: error:<br>
> ‘void*’ is not a pointer-to-object type<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2008: error:<br>
> pointer of type ‘void *’ used in arithmetic<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2008: error:<br>
> ‘void*’ is not a pointer-to-object type<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In member<br>
> function ‘vtkDataArray* vtkSiloReader::GetQuadVectorVar(DBquadvar*)’:<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2205: error:<br>
> pointer of type ‘void *’ used in arithmetic<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2205: error:<br>
> ‘void*’ is not a pointer-to-object type<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2206: error:<br>
> pointer of type ‘void *’ used in arithmetic<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2206: error:<br>
> ‘void*’ is not a pointer-to-object type<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2206: error:<br>
> pointer of type ‘void *’ used in arithmetic<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2206: error:<br>
> ‘void*’ is not a pointer-to-object type<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In member<br>
> function ‘vtkDataSet* vtkSiloReader::GetPointMesh(DBfile*, const char*)’:<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2256: error:<br>
> pointer of type ‘void *’ used in arithmetic<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2256: error:<br>
> ‘void*’ is not a pointer-to-object type<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In member<br>
> function ‘vtkDataArray* vtkSiloReader::GetPointVectorVar(DBmeshvar*)’:<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2306: error:<br>
> pointer of type ‘void *’ used in arithmetic<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2306: error:<br>
> ‘void*’ is not a pointer-to-object type<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2307: error:<br>
> pointer of type ‘void *’ used in arithmetic<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2307: error:<br>
> ‘void*’ is not a pointer-to-object type<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2307: error:<br>
> pointer of type ‘void *’ used in arithmetic<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2307: error:<br>
> ‘void*’ is not a pointer-to-object type<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In member<br>
> function ‘vtkDataArray* vtkSiloReader::GetUcdVectorVar(DBucdvar*)’:<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2482: error:<br>
> invalid conversion from ‘void*’ to ‘float*’<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2483: error:<br>
> invalid conversion from ‘void*’ to ‘float*’<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2485: error:<br>
> invalid conversion from ‘void*’ to ‘float*’<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In member<br>
> function ‘vtkDataSet* vtkSiloReader::GetUnstructuredMesh(DBfile*, const<br>
> char*)’:<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2577: error:<br>
> invalid conversion from ‘void*’ to ‘const float*’<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2578: error:<br>
> invalid conversion from ‘void*’ to ‘const float*’<br>
> /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2581: error:<br>
> invalid conversion from ‘void*’ to ‘const float*’<br>
> make[2]: *** [Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkSiloReader.o]<br>
> Error 1<br>
> make[2]: Leaving directory `/home/alin/ParaView3/build2'<br>
> make[1]: *** [Servers/Filters/CMakeFiles/vtkPVFilters.dir/all] Error 2<br>
> make[1]: Leaving directory `/home/alin/ParaView3/build2'<br>
> make: *** [all] Error 2<br>
><br>
><br>
> Any thoughts<br>
> Alin<br>
><br>
><br>
><br>
> --<br>
> ______________________________________________________________________<br>
> "If the Universities will not study useless subjects, who will?"<br>
> G. F. FitzGerald, Nature, 45/46, 392 (1892)<br>
> ______________________________________________________________________<br>
> Mr Alin M ELENA<br>
> Irish Centre for High-End Computing -- <a href="http://www.ichec.ie" target="_blank">www.ichec.ie</a><br>
> The Design Tower, Trinity Technology & Enterprise Campus<br>
> Grand Canal Quay, Dublin 2, Ireland<br>
> Tel: +353 (0) 1 5241608 ext 29<br>
> Fax: +353 (0) 1 7645845<br>
> <a href="http://alin.elenaworld.net" target="_blank">http://alin.elenaworld.net</a><br>
> <a href="mailto:alin.elena@ichec.ie">alin.elena@ichec.ie</a><br>
> <a href="mailto:alinm.elena@gmail.com">alinm.elena@gmail.com</a><br>
> ______________________________________________________________________<br>
> On Friday 17 July 2009 19:06:18 <a href="mailto:paraview-request@paraview.org">paraview-request@paraview.org</a> wrote:<br>
>> Send ParaView mailing list submissions to<br>
>> <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
>><br>
>> To subscribe or unsubscribe via the World Wide Web, visit<br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> or, via email, send a message with subject or body 'help' to<br>
>> <a href="mailto:paraview-request@paraview.org">paraview-request@paraview.org</a><br>
>><br>
>> You can reach the person managing the list at<br>
>> <a href="mailto:paraview-owner@paraview.org">paraview-owner@paraview.org</a><br>
>><br>
>> When replying, please edit your Subject line so it is more specific<br>
>> than "Re: Contents of ParaView digest..."<br>
>><br>
>><br>
>> Today's Topics:<br>
>><br>
>> 1. Re: memory leak in writer (Utkarsh Ayachit)<br>
>> 2. Re: memory leak in writer (Natalie Happenhofer)<br>
>><br>
>><br>
>> ----------------------------------------------------------------------<br>
>><br>
>> Message: 1<br>
>> Date: Fri, 17 Jul 2009 13:44:39 -0400<br>
>> From: Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>><br>
>> Subject: Re: [Paraview] memory leak in writer<br>
>> To: Natalie Happenhofer <<a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a>><br>
>> Cc: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
>> Message-ID:<br>
>> <<a href="mailto:7ba9d6a30907171044j47cdfa1bt4a0264ec1f8fea86@mail.gmail.com">7ba9d6a30907171044j47cdfa1bt4a0264ec1f8fea86@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset=ISO-8859-1<br>
>><br>
>> Try the following:<br>
>><br>
>> cvs -d :pserver:anoncvs@www.paraview.org:/cvsroot/ParaView3 co -r<br>
>> ParaView-3-6-1 ParaView3<br>
>><br>
>><br>
>><br>
>><br>
>> On Fri, Jul 17, 2009 at 1:41 PM, Natalie<br>
>><br>
>> Happenhofer<<a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a>> wrote:<br>
>> > ok, I tried cvs -d<br>
>> > :pserver:anoncvs@www.paraview.org:/cvsroot/ParaView-3-6-1 , but it says<br>
>> > there is no such repository.<br>
>> ><br>
>> > N<br>
>> ><br>
>> >> Date: Fri, 17 Jul 2009 13:34:34 -0400<br>
>> >> Subject: Re: [Paraview] memory leak in writer<br>
>> >> From: <a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><br>
>> >> To: <a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a><br>
>> >><br>
>> >> You can check out the CVS tag: ParaView-3-6 for the 3.6 branch or<br>
>> >> ParaView-3-6-1 for the release tag.<br>
>> >><br>
>> >> Utkarsh<br>
>> >><br>
>> >> On Fri, Jul 17, 2009 at 1:31 PM, Natalie<br>
>> >><br>
>> >> Happenhofer<<a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a>> wrote:<br>
>> >> > But the source code is also not available yet, is it?<br>
>> >> ><br>
>> >> > Natalie<br>
>> >> ><br>
>> >> >> Date: Fri, 17 Jul 2009 13:22:20 -0400<br>
>> >> >> Subject: Re: [Paraview] memory leak in writer<br>
>> >> >> From: <a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><br>
>> >> >> To: <a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a><br>
>> >> >> CC: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
>> >> >><br>
>> >> >> You can't download 3.6 binaries yet. We should have them posted by<br>
>> >> >> early next week.<br>
>> >> >><br>
>> >> >> Utkarsh<br>
>> >> >><br>
>> >> >> On Fri, Jul 17, 2009 at 1:13 PM, Natalie<br>
>> >> >><br>
>> >> >> Happenhofer<<a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a>> wrote:<br>
>> >> >> > I have written it months ago and it worked well for small files and<br>
>> >> >> > timeseries for about 30 files - I have just come across it trying<br>
>> >> >> > to write a<br>
>> >> >> > time series of 200 files.<br>
>> >> >> ><br>
>> >> >> > I can already download ParaView 3.6? Great, I did not know this!<br>
>> >> >> ><br>
>> >> >> > thx,<br>
>> >> >> > Natalie<br>
>> >> >> ><br>
>> >> >> >> Date: Fri, 17 Jul 2009 08:47:37 -0400<br>
>> >> >> >> Subject: Re: [Paraview] memory leak in writer<br>
>> >> >> >> From: <a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><br>
>> >> >> >> To: <a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a><br>
>> >> >> >> CC: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
>> >> >> >><br>
>> >> >> >> Out of curiosity, why are you writing your own wrapper? ParaView<br>
>> >> >> >> 3.6 onwards supports writing time series for legacy vtk files.<br>
>> >> >> >><br>
>> >> >> >> Utkarsh<br>
>> >> >> >><br>
>> >> >> >> On Fri, Jul 17, 2009 at 7:53 AM, Natalie<br>
>> >> >> >><br>
>> >> >> >> Happenhofer<<a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a>> wrote:<br>
>> >> >> >> > Hi!<br>
>> >> >> >> > I?ve written a Wrapper for the Legacy VTK files writer, so that<br>
>> >> >> >> > it writes a<br>
>> >> >> >> > whole timeseries if I want it to. Lamentably, applying it, it<br>
>> >> >> >> > needs<br>
>> >> >> >> > more<br>
>> >> >> >> > and<br>
>> >> >> >> > more memory, so I am looking for a memory leak.<br>
>> >> >> >> ><br>
>> >> >> >> > Here is the bit of code I suspect:<br>
>> >> >> >> ><br>
>> >> >> >> > ?vtkInformation* inInfo =<br>
>> >> >> >> > inputVector[0]->GetInformationObject(0); ? vtkDataObject* input<br>
>> >> >> >> > =<br>
>> >> >> >> > inInfo->Get(vtkDataObject::DATA_OBJECT());<br>
>> >> >> >> ><br>
>> >> >> >> > ? vtkSmartPointer<vtkDataObject> inputCopy;<br>
>> >> >> >> > ? inputCopy.TakeReference(input->NewInstance());<br>
>> >> >> >> > ? inputCopy->ShallowCopy(input);<br>
>> >> >> >> ><br>
>> >> >> >> > ? vtksys_ios::ostringstream fname;<br>
>> >> >> >> > ? if (this->WriteAllTimeSteps)<br>
>> >> >> >> > ??? {<br>
>> >> >> >> > ??? vtkstd::string path =<br>
>> >> >> >> > ????? vtksys::SystemTools::GetFilenamePath(this->FileName);<br>
>> >> >> >> > ??? vtkstd::string fnamenoext =<br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >> > vtksys::SystemTools::GetFilenameWithoutLastExtension(this->FileN<br>
>> >> >> >> >ame); ??? vtkstd::string ext =<br>
>> >> >> >> ><br>
>> >> >> >> > vtksys::SystemTools::GetFilenameLastExtension(this->FileName);<br>
>> >> >> >> > ??? if((this -> CurrentTimeIndex) < 10)? fname << path << "/" <<<br>
>> >> >> >> > fnamenoext<br>
>> >> >> >> > << ".000" <<this->CurrentTimeIndex << ext;<br>
>> >> >> >> > ??? else if((this -> CurrentTimeIndex) < 100) fname << path <<<br>
>> >> >> >> > "/" <<<br>
>> >> >> >> > fnamenoext << ".00" << this -> CurrentTimeIndex << ext;<br>
>> >> >> >> > ??? else if((this -> CurrentTimeIndex) < 1000) fname << path <<<br>
>> >> >> >> > "/"<br>
>> >> >> >> > <<<br>
>> >> >> >> > fnamenoext << ".0" << this -> CurrentTimeIndex << ext;<br>
>> >> >> >> > ??? else fname << path << "/" << fnamenoext << this -><br>
>> >> >> >> > CurrentTimeIndex<br>
>> >> >> >> > <<<br>
>> >> >> >> > ext;<br>
>> >> >> >> > ??? }<br>
>> >> >> >> > ? else<br>
>> >> >> >> > ??? {<br>
>> >> >> >> > ??? fname << this->FileName;<br>
>> >> >> >> > ??? }<br>
>> >> >> >> ><br>
>> >> >> >> > //Here I call the usual VTK Writer and set the input<br>
>> >> >> >> ><br>
>> >> >> >> > ? vtkGenericDataObjectWriter* Writer =<br>
>> >> >> >> > vtkGenericDataObjectWriter::New();<br>
>> >> >> >> > ? Writer -> SetInput(inputCopy);<br>
>> >> >> >> > ? Writer -> SetFileName(fname.str().c_str());<br>
>> >> >> >> > ? if((this -> FileType) == 1) Writer -> SetFileTypeToASCII();<br>
>> >> >> >> > ? else?? Writer -> SetFileTypeToBinary();<br>
>> >> >> >> ><br>
>> >> >> >> > ? Writer -> Update();<br>
>> >> >> >> ><br>
>> >> >> >> > ? if (this->WriteAllTimeSteps)<br>
>> >> >> >> > ??? {<br>
>> >> >> >> > ??? this->CurrentTimeIndex++;<br>
>> >> >> >> > ??? if (this->CurrentTimeIndex == this->NumberOfTimeSteps)<br>
>> >> >> >> > ????? {<br>
>> >> >> >> > ????? // Tell the pipeline to stop looping.<br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >> > request->Remove(vtkStreamingDemandDrivenPipeline::CONTINUE_EXECU<br>
>> >> >> >> >TING()); ????? this->CurrentTimeIndex = 0;<br>
>> >> >> >> > ????? }<br>
>> >> >> >> > ??? }<br>
>> >> >> >> ><br>
>> >> >> >> > ? Writer -> Delete();<br>
>> >> >> >> > ? return 1;<br>
>> >> >> >> ><br>
>> >> >> >> > Is there anything I forget to delete?<br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >> > thx for answers<br>
>> >> >> >> > Natalie<br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >> > ________________________________<br>
>> >> >> >> > Nuevo Internet Explorer 8 ?Es Gratis y optimizado para MSN!<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 ParaView Wiki at:<br>
>> >> >> >> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> >> >> >> ><br>
>> >> >> >> > Follow this link to subscribe/unsubscribe:<br>
>> >> >> >> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> >> >> ><br>
>> >> >> > ________________________________<br>
>> >> >> > ?Quieres conocerte mejor? ?Conoce lo que Windows Live tiene<br>
>> >> >> > especialmente<br>
>> >> >> > para ti!<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 ParaView Wiki at:<br>
>> >> >> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> >> >> ><br>
>> >> >> > Follow this link to subscribe/unsubscribe:<br>
>> >> >> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> >> ><br>
>> >> > ________________________________<br>
>> >> > ?Quieres conocerte mejor? ?Conoce lo que Windows Live tiene<br>
>> >> > especialmente<br>
>> >> > para ti!<br>
>> ><br>
>> > ________________________________<br>
>> > ?Cu?l de estas 16 personalidades es la tuya? ?Descubre qui?n eres<br>
>> > realmente! _______________________________________________<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 ParaView Wiki at:<br>
>> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 2<br>
>> Date: Fri, 17 Jul 2009 20:06:15 +0200<br>
>> From: Natalie Happenhofer <<a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a>><br>
>> Subject: Re: [Paraview] memory leak in writer<br>
>> To: <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
>> Message-ID: <BAY122-W10CDA02C8F4CA680FA50D3BC1E0@phx.gbl><br>
>> Content-Type: text/plain; charset="iso-8859-1"<br>
>><br>
>><br>
>> Thanks! :-)<br>
>><br>
>> > Date: Fri, 17 Jul 2009 13:44:39 -0400<br>
>> > Subject: Re: [Paraview] memory leak in writer<br>
>> > From: <a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><br>
>> > To: <a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a><br>
>> > CC: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
>> ><br>
>> > Try the following:<br>
>> ><br>
>> > cvs -d :pserver:anoncvs@www.paraview.org:/cvsroot/ParaView3 co -r<br>
>> > ParaView-3-6-1 ParaView3<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > On Fri, Jul 17, 2009 at 1:41 PM, Natalie<br>
>> ><br>
>> > Happenhofer<<a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a>> wrote:<br>
>> > > ok, I tried cvs -d<br>
>> > > :pserver:anoncvs@www.paraview.org:/cvsroot/ParaView-3-6-1 , but it says<br>
>> > > there is no such repository.<br>
>> > ><br>
>> > > N<br>
>> > ><br>
>> > >> Date: Fri, 17 Jul 2009 13:34:34 -0400<br>
>> > >> Subject: Re: [Paraview] memory leak in writer<br>
>> > >> From: <a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><br>
>> > >> To: <a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a><br>
>> > >><br>
>> > >> You can check out the CVS tag: ParaView-3-6 for the 3.6 branch or<br>
>> > >> ParaView-3-6-1 for the release tag.<br>
>> > >><br>
>> > >> Utkarsh<br>
>> > >><br>
>> > >> On Fri, Jul 17, 2009 at 1:31 PM, Natalie<br>
>> > >><br>
>> > >> Happenhofer<<a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a>> wrote:<br>
>> > >> > But the source code is also not available yet, is it?<br>
>> > >> ><br>
>> > >> > Natalie<br>
>> > >> ><br>
>> > >> >> Date: Fri, 17 Jul 2009 13:22:20 -0400<br>
>> > >> >> Subject: Re: [Paraview] memory leak in writer<br>
>> > >> >> From: <a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><br>
>> > >> >> To: <a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a><br>
>> > >> >> CC: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
>> > >> >><br>
>> > >> >> You can't download 3.6 binaries yet. We should have them posted by<br>
>> > >> >> early next week.<br>
>> > >> >><br>
>> > >> >> Utkarsh<br>
>> > >> >><br>
>> > >> >> On Fri, Jul 17, 2009 at 1:13 PM, Natalie<br>
>> > >> >><br>
>> > >> >> Happenhofer<<a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a>> wrote:<br>
>> > >> >> > I have written it months ago and it worked well for small files<br>
>> > >> >> > and timeseries for about 30 files - I have just come across it<br>
>> > >> >> > trying to write a<br>
>> > >> >> > time series of 200 files.<br>
>> > >> >> ><br>
>> > >> >> > I can already download ParaView 3.6? Great, I did not know this!<br>
>> > >> >> ><br>
>> > >> >> > thx,<br>
>> > >> >> > Natalie<br>
>> > >> >> ><br>
>> > >> >> >> Date: Fri, 17 Jul 2009 08:47:37 -0400<br>
>> > >> >> >> Subject: Re: [Paraview] memory leak in writer<br>
>> > >> >> >> From: <a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><br>
>> > >> >> >> To: <a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a><br>
>> > >> >> >> CC: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
>> > >> >> >><br>
>> > >> >> >> Out of curiosity, why are you writing your own wrapper? ParaView<br>
>> > >> >> >> 3.6 onwards supports writing time series for legacy vtk files.<br>
>> > >> >> >><br>
>> > >> >> >> Utkarsh<br>
>> > >> >> >><br>
>> > >> >> >> On Fri, Jul 17, 2009 at 7:53 AM, Natalie<br>
>> > >> >> >><br>
>> > >> >> >> Happenhofer<<a href="mailto:nataliehapp@hotmail.com">nataliehapp@hotmail.com</a>> wrote:<br>
>> > >> >> >> > Hi!<br>
>> > >> >> >> > I?ve written a Wrapper for the Legacy VTK files writer, so<br>
>> > >> >> >> > that it writes a<br>
>> > >> >> >> > whole timeseries if I want it to. Lamentably, applying it, it<br>
>> > >> >> >> > needs<br>
>> > >> >> >> > more<br>
>> > >> >> >> > and<br>
>> > >> >> >> > more memory, so I am looking for a memory leak.<br>
>> > >> >> >> ><br>
>> > >> >> >> > Here is the bit of code I suspect:<br>
>> > >> >> >> ><br>
>> > >> >> >> > vtkInformation* inInfo =<br>
>> > >> >> >> > inputVector[0]->GetInformationObject(0); vtkDataObject* input<br>
>> > >> >> >> > =<br>
>> > >> >> >> > inInfo->Get(vtkDataObject::DATA_OBJECT());<br>
>> > >> >> >> ><br>
>> > >> >> >> > vtkSmartPointer<vtkDataObject> inputCopy;<br>
>> > >> >> >> > inputCopy.TakeReference(input->NewInstance());<br>
>> > >> >> >> > inputCopy->ShallowCopy(input);<br>
>> > >> >> >> ><br>
>> > >> >> >> > vtksys_ios::ostringstream fname;<br>
>> > >> >> >> > if (this->WriteAllTimeSteps)<br>
>> > >> >> >> > {<br>
>> > >> >> >> > vtkstd::string path =<br>
>> > >> >> >> > vtksys::SystemTools::GetFilenamePath(this->FileName);<br>
>> > >> >> >> > vtkstd::string fnamenoext =<br>
>> > >> >> >> ><br>
>> > >> >> >> ><br>
>> > >> >> >> > vtksys::SystemTools::GetFilenameWithoutLastExtension(this->Fil<br>
>> > >> >> >> >eName); vtkstd::string ext =<br>
>> > >> >> >> ><br>
>> > >> >> >> > vtksys::SystemTools::GetFilenameLastExtension(this->FileName);<br>
>> > >> >> >> > if((this -> CurrentTimeIndex) < 10) fname << path << "/"<br>
>> > >> >> >> > << fnamenoext<br>
>> > >> >> >> > << ".000" <<this->CurrentTimeIndex << ext;<br>
>> > >> >> >> > else if((this -> CurrentTimeIndex) < 100) fname << path <<<br>
>> > >> >> >> > "/" <<<br>
>> > >> >> >> > fnamenoext << ".00" << this -> CurrentTimeIndex << ext;<br>
>> > >> >> >> > else if((this -> CurrentTimeIndex) < 1000) fname << path<br>
>> > >> >> >> > << "/"<br>
>> > >> >> >> > <<<br>
>> > >> >> >> > fnamenoext << ".0" << this -> CurrentTimeIndex << ext;<br>
>> > >> >> >> > else fname << path << "/" << fnamenoext << this -><br>
>> > >> >> >> > CurrentTimeIndex<br>
>> > >> >> >> > <<<br>
>> > >> >> >> > ext;<br>
>> > >> >> >> > }<br>
>> > >> >> >> > else<br>
>> > >> >> >> > {<br>
>> > >> >> >> > fname << this->FileName;<br>
>> > >> >> >> > }<br>
>> > >> >> >> ><br>
>> > >> >> >> > //Here I call the usual VTK Writer and set the input<br>
>> > >> >> >> ><br>
>> > >> >> >> > vtkGenericDataObjectWriter* Writer =<br>
>> > >> >> >> > vtkGenericDataObjectWriter::New();<br>
>> > >> >> >> > Writer -> SetInput(inputCopy);<br>
>> > >> >> >> > Writer -> SetFileName(fname.str().c_str());<br>
>> > >> >> >> > if((this -> FileType) == 1) Writer -> SetFileTypeToASCII();<br>
>> > >> >> >> > else Writer -> SetFileTypeToBinary();<br>
>> > >> >> >> ><br>
>> > >> >> >> > Writer -> Update();<br>
>> > >> >> >> ><br>
>> > >> >> >> > if (this->WriteAllTimeSteps)<br>
>> > >> >> >> > {<br>
>> > >> >> >> > this->CurrentTimeIndex++;<br>
>> > >> >> >> > if (this->CurrentTimeIndex == this->NumberOfTimeSteps)<br>
>> > >> >> >> > {<br>
>> > >> >> >> > // Tell the pipeline to stop looping.<br>
>> > >> >> >> ><br>
>> > >> >> >> ><br>
>> > >> >> >> ><br>
>> > >> >> >> > request->Remove(vtkStreamingDemandDrivenPipeline::CONTINUE_EXE<br>
>> > >> >> >> >CUTING()); this->CurrentTimeIndex = 0;<br>
>> > >> >> >> > }<br>
>> > >> >> >> > }<br>
>> > >> >> >> ><br>
>> > >> >> >> > Writer -> Delete();<br>
>> > >> >> >> > return 1;<br>
>> > >> >> >> ><br>
>> > >> >> >> > Is there anything I forget to delete?<br>
>> > >> >> >> ><br>
>> > >> >> >> ><br>
>> > >> >> >> > thx for answers<br>
>> > >> >> >> > Natalie<br>
>> > >> >> >> ><br>
>> > >> >> >> ><br>
>> > >> >> >> ><br>
>> > >> >> >> > ________________________________<br>
>> > >> >> >> > Nuevo Internet Explorer 8 ?Es Gratis y optimizado para MSN!<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 ParaView Wiki at:<br>
>> > >> >> >> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> > >> >> >> ><br>
>> > >> >> >> > Follow this link to subscribe/unsubscribe:<br>
>> > >> >> >> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> > >> >> ><br>
>> > >> >> > ________________________________<br>
>> > >> >> > ?Quieres conocerte mejor? ?Conoce lo que Windows Live tiene<br>
>> > >> >> > especialmente<br>
>> > >> >> > para ti!<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 ParaView Wiki at:<br>
>> > >> >> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> > >> >> ><br>
>> > >> >> > Follow this link to subscribe/unsubscribe:<br>
>> > >> >> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> > >> ><br>
>> > >> > ________________________________<br>
>> > >> > ?Quieres conocerte mejor? ?Conoce lo que Windows Live tiene<br>
>> > >> > especialmente<br>
>> > >> > para ti!<br>
>> > ><br>
>> > > ________________________________<br>
>> > > ?Cu?l de estas 16 personalidades es la tuya? ?Descubre qui?n eres<br>
>> > > realmente! _______________________________________________<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 ParaView Wiki at:<br>
>> > > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> > ><br>
>> > > Follow this link to subscribe/unsubscribe:<br>
>> > > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
>> _________________________________________________________________<br>
>> Vuelve famosa a tu mascota con MSN<br>
>> <a href="http://events.latam.msn.com/tumascota" target="_blank">http://events.latam.msn.com/tumascota</a><br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL:<br>
>> <<a href="http://www.paraview.org/pipermail/paraview/attachments/20090717/41b358b1/a" target="_blank">http://www.paraview.org/pipermail/paraview/attachments/20090717/41b358b1/a</a><br>
>>ttachment.htm><br>
>><br>
>> ------------------------------<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 ParaView Wiki at:<br>
>> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
>><br>
>> End of ParaView Digest, Vol 63, Issue 48<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 <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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><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 <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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>