[Paraview] CGNS files

Fred Fred stan1313 at hotmail.fr
Thu Sep 29 12:55:50 EDT 2011


I have no problem to compile with cgns-3.1.3 but if I load a cgns file, I got the following error:

ERROR: In /usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx, line 409
vtkVisItCGNSReader (0x121793510): VisIt Exception caught.


ERROR: In /usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx, line 409
vtkVisItCGNSReader (0x121793510): VisIt Exception caught.


ERROR: In /usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx, line 409
vtkVisItCGNSReader (0x121793510): VisIt Exception caught.

so what is this line 409 and what is wrong here:
      this->AvtFile->GetMesh(timestep, i, name.c_str()) );


From: o_lemay at hotmail.com
To: robert.maynard at kitware.com; stan1313 at hotmail.fr
CC: paraview at paraview.org
Subject: RE: [Paraview] CGNS files
Date: Wed, 28 Sep 2011 12:43:53 +0000









I use cgns 3.0.8 with hdf5, without any compiling errors.
Works fine

Have fun

Odile Lemay


From: robert.maynard at kitware.com
Date: Wed, 28 Sep 2011 08:36:52 -0400
To: stan1313 at hotmail.fr
CC: paraview at paraview.org
Subject: Re: [Paraview] CGNS files

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.

On Wed, Sep 28, 2011 at 6:22 AM, Fred Fred <stan1313 at hotmail.fr> wrote:







I was using the last version, ie 3.1.3, so I tried with the 2.5.5 but got a compilation error:
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/databases/CGNS/avtCGNSFileFormat.C:331: error: ‘cgsize_t’ was not declared in this scope


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!

From: robert.maynard at kitware.com


Date: Tue, 28 Jun 2011 09:13:36 -0400
Subject: Re: [Paraview] CGNS files
To: stan1313 at hotmail.fr
CC: paraview at paraview.org



What version of CGNS do you have installed? We have only tested the reader using the 2.5.5 version of CGNS
On Tue, Jun 28, 2011 at 9:00 AM, Fred Fred <stan1313 at hotmail.fr> wrote:









so why do I get this error?

From: robert.maynard at kitware.com
Date: Tue, 28 Jun 2011 08:53:23 -0400


Subject: Re: [Paraview] CGNS files
To: stan1313 at hotmail.fr
CC: paraview at paraview.org

The CGNS reader with the official 3.10.1 release can load the 5blocks test file. 





On Tue, Jun 28, 2011 at 5:47 AM, Fred Fred <stan1313 at hotmail.fr> wrote:







I have exactly the same error while trying to read ParaViewData-3.10.1/Data/VisItBridge/5blocks.cgns

From: stan1313 at hotmail.fr
To: robert.maynard at kitware.com






Date: Mon, 27 Jun 2011 18:22:18 +0200
CC: paraview at paraview.org
Subject: Re: [Paraview] CGNS files








Actually I finally got it!So now I have a CGNS reader but when I apply, I got the following errors:







ERROR: In /usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx, line 409
vtkVisItCGNSReader (0x121f1b970): VisIt Exception caught.

even with a - supposed to be valid - cgns file downloaded from here (the bump file): http://cgns.sourceforge.net/CGNSFiles.html







From: robert.maynard at kitware.com
Date: Mon, 27 Jun 2011 08:03:33 -0400
Subject: Re: [Paraview] CGNS files
To: stan1313 at hotmail.fr






CC: paraview at paraview.org

Can you please email me your CMakeCache.txt please.

On Sun, Jun 26, 2011 at 5:12 PM, Fred Fred <stan1313 at hotmail.fr> wrote:













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!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!









From: robert.maynard at kitware.com
Date: Fri, 24 Jun 2011 08:31:46 -0400
Subject: Re: [Paraview] CGNS files








To: stan1313 at hotmail.fr
CC: paraview at paraview.org

Hi Fred,
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.










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













On Fri, Jun 24, 2011 at 6:08 AM, Fred Fred <stan1313 at hotmail.fr> wrote:















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.











From: robert.maynard at kitware.com
Date: Fri, 17 Jun 2011 12:01:12 -0400
Subject: Re: [Paraview] CGNS files


To: stan1313 at hotmail.fr
CC: paraview at paraview.org

ParaView 3.10.1 has CGNS support. It will support structured and unstructured meshes and will only read cell and point centered properties.











On Fri, Jun 17, 2011 at 5:24 AM, Fred Fred <stan1313 at hotmail.fr> wrote:







Hello,what is the current status of CGNS file support by PV?Thanks in advance for your answer.
 		 	   		  

_______________________________________________

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://www.paraview.org/mailman/listinfo/paraview




-- 
Robert Maynard
 		 	   		  


-- 
Robert Maynard

 		 	   		  


-- 
Robert Maynard
 		 	   		  

_______________________________________________
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://www.paraview.org/mailman/listinfo/paraview 		 	   		  


-- 
Robert Maynard
 		 	   		  


-- 
Robert Maynard

 		 	   		  

_______________________________________________

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://www.paraview.org/mailman/listinfo/paraview




-- 
Robert Maynard


_______________________________________________
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://www.paraview.org/mailman/listinfo/paraview 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110929/f5397bc8/attachment-0001.htm>


More information about the ParaView mailing list