We haven't tried CGNS 3 yet with the VisIt reader. The binaries are built with CGNS 2.5 still.<br><br><div class="gmail_quote">On Thu, Sep 29, 2011 at 5:29 PM, Fred Fred <span dir="ltr"><<a href="mailto:stan1313@hotmail.fr">stan1313@hotmail.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">
Bad suggestion lol<div>Actually I downloaded the dmg file, indeed to check this, and I can read the file using the prebuilt version.<br><br><div><hr>From: <a href="mailto:o_lemay@hotmail.com" target="_blank">o_lemay@hotmail.com</a><br>
To: <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a>; <a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a><div class="im"><br>CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
Subject: RE: [Paraview] CGNS files<br></div>Date: Thu, 29 Sep 2011 17:12:55 +0000<div><div></div><div class="h5"><br><br>
<div dir="ltr">
<div><br></div>Did you try a cgns file from cgns web site ? <div>Can you open your cgns file with the Windows browser, from cgns web site ?</div><div><br></div><div>My suggestion, had a look to your file first.</div><div>
<div><br></div><div>Odile Lemay<br><br><div><hr>From: <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a><br>To: <a href="mailto:o_lemay@hotmail.com" target="_blank">o_lemay@hotmail.com</a>; <a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a><br>
CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>Subject: RE: [Paraview] CGNS files<br>Date: Thu, 29 Sep 2011 18:55:50 +0200<br><br>
<div dir="ltr">
I have no problem to compile with cgns-3.1.3 but if I load a cgns file, I got the following error:<div><br></div><div>
<span style="font-family:'Courier';font-size:13pt;color:#800000">ERROR: In /usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx, line 409</span><br>
<span style="font-family:'Courier';font-size:13pt;color:#800000">vtkVisItCGNSReader (0x121793510): VisIt Exception caught.</span><br>
<p style="font-family:Courier;font-size:13pt;color:rgb(128, 0, 0)"></p>
<p style="font-family:Courier;font-size:13pt;color:rgb(128, 0, 0)"></p>
<span style="font-family:'Courier';font-size:13pt;color:#800000">ERROR: In /usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx, line 409</span><br>
<span style="font-family:'Courier';font-size:13pt;color:#800000">vtkVisItCGNSReader (0x121793510): VisIt Exception caught.</span><br>
<p style="font-family:Courier;font-size:13pt;color:rgb(128, 0, 0)"></p>
<p style="font-family:Courier;font-size:13pt;color:rgb(128, 0, 0)"></p>
<span style="font-family:'Courier';font-size:13pt;color:#800000">ERROR: In /usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx, line 409</span><br>
<span style="font-family:'Courier';font-size:13pt;color:#800000">vtkVisItCGNSReader (0x121793510): VisIt Exception caught.</span><br>
<p style="font-family:Courier;font-size:13pt;color:rgb(128, 0, 0)"></p><div><br></div>so what is this line 409 and what is wrong here:</div><div><br></div><div><div> this->AvtFile->GetMesh(timestep, i, name.c_str()) );</div>
<div><br></div><div><br></div><div><br></div><div><hr>From: <a href="mailto:o_lemay@hotmail.com" target="_blank">o_lemay@hotmail.com</a><br>To: <a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a>; <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a><br>
CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>Subject: RE: [Paraview] CGNS files<br>Date: Wed, 28 Sep 2011 12:43:53 +0000<br><br>
<div dir="ltr">
<br>I use cgns 3.0.8 with hdf5, without any compiling errors.<br>Works fine<br><br>Have fun<br><br>Odile Lemay<br><br><br><div><hr>From: <a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a><br>
Date: Wed, 28 Sep 2011 08:36:52 -0400<br>To: <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a><br>CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>Subject: Re: [Paraview] CGNS files<br>
<br>That looks like you are including 3.1.X as that line is a call to CGNS. A quick grep returns no usage of cgsize in the CGNS reader.<br><br><div>On Wed, Sep 28, 2011 at 6:22 AM, Fred Fred <span dir="ltr"><<a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a>></span> wrote:<br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
I was using the last version, ie 3.1.3, so I tried with the 2.5.5 but got a compilation error:<div><br></div><div><div>/usr/local/ParaView-3.10.1/Utilities/VisItBridge/databases/CGNS/avtCGNSFileFormat.C:331: error: ‘cgsize_t’ was not declared in this scope</div>
</div><div><br></div><div>I do not understand because cgsize_t is defined in the version 3.1.3 but not in the version 2.5.5 of cgns!<br><br><div><div><hr>From: <a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a><br>
</div>Date: Tue, 28 Jun 2011 09:13:36 -0400<div><div></div><div><br>Subject: Re: [Paraview] CGNS files<br>To: <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a><br>CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<br>What version of CGNS do you have installed? We have only tested the reader using the 2.5.5 version of CGNS<div><br><div><div>On Tue, Jun 28, 2011 at 9:00 AM, Fred Fred <span dir="ltr"><<a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a>></span> wrote:<br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
so why do I get this error?<br><br><div><div><hr>From: <a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a><br></div>Date: Tue, 28 Jun 2011 08:53:23 -0400<div><div></div><div>
<br>Subject: Re: [Paraview] CGNS files<br>To: <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a><br>CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><br>The CGNS reader with the official 3.10.1 release can load the 5blocks test file. <br>
<br><div>On Tue, Jun 28, 2011 at 5:47 AM, Fred Fred <span dir="ltr"><<a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a>></span> wrote:<br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
I have exactly the same error while trying to read ParaViewData-3.10.1/Data/VisItBridge/5blocks.cgns<br><br><div><hr>From: <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a><br>To: <a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a><br>
Date: Mon, 27 Jun 2011 18:22:18 +0200<br>CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><div><div></div><div><br>Subject: Re: [Paraview] CGNS files<br><br>
<div dir="ltr">
Actually I finally got it!<div>So now I have a CGNS reader but when I apply, I got the following errors:</div><div>
<p style="margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:'Courier';font-size:13pt;color:#800000"><br></span></p><p style="margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<span style="font-family:'Courier';font-size:13pt;color:#800000">ERROR: In /usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx, line 409</span></p>
<p style="margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:'Courier';font-size:13pt;color:#800000">vtkVisItCGNSReader (0x121f1b970): VisIt Exception caught.</span></p>
<p style="margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;font-family:'Courier';font-size:13pt;color:#800000"></p><div><br></div>even with a - supposed to be valid - cgns file downloaded from here (the bump file): <a href="http://cgns.sourceforge.net/CGNSFiles.html" target="_blank">http://cgns.sourceforge.net/CGNSFiles.html</a></div>
<div><br></div><div><br><div><hr>From: <a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a><br>Date: Mon, 27 Jun 2011 08:03:33 -0400<br>Subject: Re: [Paraview] CGNS files<br>To: <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a><br>
CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><br>Can you please email me your CMakeCache.txt please.<br><br><div>On Sun, Jun 26, 2011 at 5:12 PM, Fred Fred <span dir="ltr"><<a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a>></span> wrote:<br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
Si I finally did it, skipping cmake to build cgns library, toggled options as written below and finally... still not abe to read any cgns file!<div>I mean, same issue as before, ie if I select a cgns file, I am asked about which type of reader I want to use but no cgns reader in the list!<br>
<br><div><div><hr>From: <a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a><br></div>Date: Fri, 24 Jun 2011 08:31:46 -0400<div><div></div><div><br>Subject: Re: [Paraview] CGNS files<br>
To: <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a><br>CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><br>Hi Fred,<div><br></div><div>You have two options to enable CGNS in ParaView. The easiest is to use the SuperBuild process in ParaView which will automatically enable the VisIt bridge and the CGNS reader and build CGNS itself.</div>
<div><br></div><div>The other option is to manually enable CGNS support if you already have CGNS built. You will need to enable PARAVIEW_USE_VISITBRIDGE and set the Boost_INCLUDE_DIR. Once that is done you will need to enable VISIT_BUILD_READER_CGNS and set the CGNS_INCLUDE_DIR and CGNS_LIBRARY</div>
<div><br></div><div><br></div><div><br></div><div><br><div>On Fri, Jun 24, 2011 at 6:08 AM, Fred Fred <span dir="ltr"><<a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a>></span> wrote:<br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
I just compiled it but am unable to load a CGNS file - and CGNS is not included in the list of supported file formats - so I suppose I missed something in the configuration but did not see anything related to CGNS, please tell me which option has to be toggled.<br>
<div><br></div><div><div><hr>From: <a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a><br>Date: Fri, 17 Jun 2011 12:01:12 -0400<br>Subject: Re: [Paraview] CGNS files<br>
To: <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a><br>CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a></div><div><div></div><div><br><br>ParaView 3.10.1 has CGNS support. It will support structured and unstructured meshes and will only read cell and point centered properties.<br>
<br><div>On Fri, Jun 17, 2011 at 5:24 AM, Fred Fred <span dir="ltr"><<a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a>></span> wrote:<br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
Hello,<div>what is the current status of CGNS file support by PV?</div><div>Thanks in advance for your answer.</div><div><br></div>                                            </div></div>
<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></blockquote></div><br><br clear="all"><br>-- <br>Robert Maynard<br></div></div></div>                                            </div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Robert Maynard<br>
</div></div></div></div></div>                                            </div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Robert Maynard<br></div></div>                                            </div>
<br></div></div>_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
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>
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>
Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a></div>                                            </div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Robert Maynard<br></div></div></div>                                            </div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Robert Maynard<br>
</div></div></div></div></div></div>                                            </div></div>
<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></blockquote></div><br><br clear="all"><div><br></div>-- <br>Robert Maynard<br>
<br>_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
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>
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>
Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a></div>                                            </div></div></div>                                            </div></div></div></div>                                            </div></div>
</div></div></div>                                            </div></div>
<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></blockquote></div><br>