<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title>Recent changes to bugs</title><link href="http://sourceforge.net/p/cgns/bugs/" rel="alternate"></link><id>http://sourceforge.net/p/cgns/bugs/</id><updated>2012-11-23T22:09:19Z</updated><entry><title>CGNS fails to create node when using multiple files </title><link href="http://sourceforge.net/p/cgns/bugs/13/" rel="alternate"></link><updated>2012-11-23T22:09:19Z</updated><published>2012-11-23T22:09:19Z</published><author><name>Jason Graham</name><uri>http://sourceforge.net/u/jgraha8/</uri></author><id>http://sourceforge.net6e39436df2e5ba882a5c1c6d7f9be8c82d3b431d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When CGNS is configured with HDF5 I am unable to create a new node (e.g., write a base) when working with multiple files. It only occurs if I close one of the files while writing to the other. For example, to repeat the issue:&lt;/p&gt;
&lt;p&gt;1. Open (new) file A for writing&lt;br /&gt;
2. Open file B as read only&lt;br /&gt;
3. Close file B&lt;br /&gt;
4. Write base to file A&lt;/p&gt;
&lt;p&gt;When attempting the write to file A the following error is obtained: cgio_create_node:H5Gcreate:node group creation failed&lt;/p&gt;
&lt;p&gt;This issue is not observed when using the ADF backend.&lt;/p&gt;
&lt;p&gt;Attached are a sample code to reproduce the issue along with the file the sample code opens as read only.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>pcgns_util.c fails to compile</title><link href="http://sourceforge.net/p/cgns/bugs/12/" rel="alternate"></link><updated>2012-04-20T15:58:16Z</updated><published>2012-04-20T15:58:16Z</published><author><name>GRinda</name><uri>http://sourceforge.net/u/grinda/</uri></author><id>http://sourceforge.net7841312cc75ebc84185247768110aa7fd5ded2fe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;cgnslib_3.1.3 fails to compile in Ubuntu 11.10 with parallel support.&lt;/p&gt;
&lt;p&gt;Compiler gives following error message:&lt;/p&gt;
&lt;p&gt;/home/user/cgnslib_3.1.3/pcgns/src/pcgns_util.c: Function ”new_str_attb”:&lt;br /&gt;
/home/user/cgnslib_3.1.3/pcgns/src/pcgns_util.c:264:2: error: too many arguments to function ”H5Acreate1”&lt;br /&gt;
/usr/include/H5Apublic.h:105:16: note: declared here&lt;/p&gt;
&lt;p&gt;and two similar errors follow.&lt;/p&gt;
&lt;p&gt;With Ubuntu 11.10 HDF5 library is compiled with option --with-default-api-version=v16 as there are these two lines in libhdf5.settings:&lt;/p&gt;
&lt;p&gt;...&lt;br /&gt;
Default API Mapping: v16&lt;br /&gt;
With Deprecated Public Symbols: yes&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;It seems that pcgns_util.c uses old functions by default even if it should use newer ones. With hard-coded to use function H5Acreate2 compiling finishes without errors.&lt;/p&gt;
&lt;p&gt;Expected behaviour: Compiling finishes without errors.&lt;br /&gt;
Current behaviour: Wrong version from function seems to be selected for pcgns_util.c and build process fails.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem opening files that have the same name</title><link href="http://sourceforge.net/p/cgns/bugs/11/" rel="alternate"></link><updated>2011-10-06T12:30:27Z</updated><published>2011-10-06T12:30:27Z</published><author><name>Anonymous</name><uri>http://sourceforge.net/u/userid-None/</uri></author><id>http://sourceforge.net4ef705d253607a93bb104191230a871cc3276855</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Steps to reproduce:&lt;/p&gt;
&lt;p&gt;1. Create two directories (let’s say dir A and dir B).&lt;br /&gt;
2. In dir A create two files (say, file 1 and file 2). File 1 is linked to file 2.&lt;br /&gt;
3. In dir B create two different files but give them the same name. File 1 is also linked to file 2.&lt;br /&gt;
4. Change the current working directory to one of the previously created directories, let’s say dir A.&lt;br /&gt;
5. Open dir A/file 1.&lt;br /&gt;
6. Try to open dir B/file 2. This step will fail.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>File is being opened as read/write when it is not needed</title><link href="http://sourceforge.net/p/cgns/bugs/10/" rel="alternate"></link><updated>2011-01-04T14:22:22Z</updated><published>2011-01-04T14:22:22Z</published><author><name>Anonymous</name><uri>http://sourceforge.net/u/userid-None/</uri></author><id>http://sourceforge.net4a8fb71420d06df61246c2cc8d32839613fca70e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In ADF_interface.c line 1048 of the 2.5.4 version of the CGNS library the files are being opened as r+b when there is no need to write the file. This is causing old files not to be loaded as the previous libraries did not require write permision&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>-lX11 not included in OS X</title><link href="http://sourceforge.net/p/cgns/bugs/9/" rel="alternate"></link><updated>2010-09-29T14:49:21Z</updated><published>2010-09-29T14:49:21Z</published><author><name>Sam Halliday</name><uri>http://sourceforge.net/u/fommil/</uri></author><id>http://sourceforge.neta15ac5e8bd6393726d8ea425ff3999ab66b45460</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The linker does not include the -lX11 on OS X in the definition for OGLLIBS.&lt;/p&gt;
&lt;p&gt;Current values are&lt;/p&gt;
&lt;p&gt;OGLLIBS = -lGL -lGLU&lt;/p&gt;
&lt;p&gt;but should be&lt;/p&gt;
&lt;p&gt;OGLLIBS = -lGL -lGLU -lX11&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OpenGL includes not included on OS X</title><link href="http://sourceforge.net/p/cgns/bugs/8/" rel="alternate"></link><updated>2010-09-29T14:14:40Z</updated><published>2010-09-29T14:14:40Z</published><author><name>Sam Halliday</name><uri>http://sourceforge.net/u/fommil/</uri></author><id>http://sourceforge.netccd2b8b83b71a5f665a51dfc18aae7a4ab5a0a3b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;After running the ./configure script, the /usr/X11/include directory is not being included on OS X - this results in all OpenGL related files failing to compile. Workaround is to edit the CFLAGS to have -I/usr/X11/include&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>syntax error in p3dout.c</title><link href="http://sourceforge.net/p/cgns/bugs/7/" rel="alternate"></link><updated>2010-09-29T14:08:15Z</updated><published>2010-09-29T14:08:15Z</published><author><name>Sam Halliday</name><uri>http://sourceforge.net/u/fommil/</uri></author><id>http://sourceforge.net7fee8c0d9657bfb960a0acb799117d55cfd5fc15</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The multi-line macro beginning on line 22 of p3dout.c is missing an end bracket. It currently reads (ignoring whitespace)&lt;/p&gt;
&lt;p&gt;fprintf (stderr, "Fortran unformatted output not supported for %s machine\n", bf_machname (MACH_LOCAL);&lt;/p&gt;
&lt;p&gt;but should read&lt;/p&gt;
&lt;p&gt;fprintf (stderr, "Fortran unformatted output not supported for %s machine\n", bf_machname (MACH_LOCAL));&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Tcl framework not referenced in OS X build</title><link href="http://sourceforge.net/p/cgns/bugs/6/" rel="alternate"></link><updated>2010-09-29T14:05:13Z</updated><published>2010-09-29T14:05:13Z</published><author><name>Sam Halliday</name><uri>http://sourceforge.net/u/fommil/</uri></author><id>http://sourceforge.netc146f1f47ad83aa99450afc5fa6881d197b859e7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;On OS X, in the file make.defs, the definition for the TKLIBS variable begins&lt;/p&gt;
&lt;p&gt;TKLIBS = -framework Tk -framework Tk ...&lt;/p&gt;
&lt;p&gt;which results in a failed compile. I believe a simple solution is to replace this with&lt;/p&gt;
&lt;p&gt;TKLIBS = -framework Tk -framework Tcl&lt;/p&gt;
&lt;p&gt;(i.e. the second framework is Tcl, not a repeat of Tk)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ADFI_string_2_C_String oversteps character string size</title><link href="http://sourceforge.net/p/cgns/bugs/5/" rel="alternate"></link><updated>2010-05-01T21:05:48Z</updated><published>2010-05-01T21:05:48Z</published><author><name>David Car</name><uri>http://sourceforge.net/u/userid-1960611/</uri></author><id>http://sourceforge.neta72ecfcd450f039aecc4d6825579b98b838fbd9d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This isn't a bug in ADFI_String_2_C_String per say, but rather many of the routines that call it.  What happens is that this function is being passed character strings which are smaller than the specified string_length parameter and the internal for loop is accessing memory beyond the size of the passed in string argument.  In many places you are calling cgi_new_node(...) with a fixed character string of "R4" for instance which is turn may call cgio_set_dimensions(...), eventually calling ADFI_string_2_C_string(...) with a value of string_length equal to ADF_DATA_TYPE_LENGTH, but you passed in a character constant of length 2, so you access memory outside the bounds of string.  So to repeat, the call path is:&lt;/p&gt;
&lt;p&gt;cgi_new_node -&amp;gt; cgio_set_dimensions -&amp;gt; ADF_Put_Dimension_Information -&amp;gt; ADF_evaluate_datatype -&amp;gt; ADFI_string_2_C_string&lt;/p&gt;
&lt;p&gt;If cgi_new_node is called with data_type="R4" or some such, this will be a problem as you will exceed the memory region of string in ADFI_string_2_C_string(...) when performing the copy.  An easy fix is to not use a character constant in the actual calls, but to define a ADF_DATA_TYPE_LENGTH length character constant in the header for things such as "I4", "R4", etc...  Also, they should be used in the cgi_adf_datatype(...) function as well.  Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Prameters in cg_gopath_f</title><link href="http://sourceforge.net/p/cgns/bugs/4/" rel="alternate"></link><updated>2008-10-17T13:59:58Z</updated><published>2008-10-17T13:59:58Z</published><author><name>Anonymous</name><uri>http://sourceforge.net/u/userid-None/</uri></author><id>http://sourceforge.net152ef72bb95399725cabe5cdfd815d724c81bb26</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There is a mismatch in parameters in cg_gopath_f.&lt;br /&gt;
Documentation says: &lt;br /&gt;
cg_gopath_f(fn, ier, path)&lt;/p&gt;
&lt;p&gt;however, the actual (2.5r3) implementation is&lt;br /&gt;
cg_gopath_f(fn, path, ier)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>