hdf5/examples
Albert Cheng 966f5f4236 [svn-r11381] Purpose:
bug fix.

Description:
In Janus (Tflops), the test would seg-fault in production (compiled
with -O).  If compiled with -O0, it would be okay.  Track down the
problem to the for loop index i & j being declared with type hsize_t
which is usually unsigned long int.  Guess the Tflop compiler has
a bug in optimization that could not handle unsigned int as for loop
index.

Solution:
Since it is no need for i & j to be hsize_t and it makes more
sense to have them with type int.  Changed them to int type.

Platforms tested:
Passed in tflops and colonelk here.
2005-09-09 00:05:57 -05:00
..
Attributes.txt [svn-r363] Added attribute example code. 1998-04-23 17:26:16 -05:00
h5_attribute.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5_chunk_read.c [svn-r11381] Purpose: 2005-09-09 00:05:57 -05:00
h5_compound.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5_drivers.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5_dtransform.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5_extend_write.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5_group.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5_mount.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5_read.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5_reference.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5_select.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5_write.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
Makefile.am [svn-r11323] Purpose: 2005-08-31 15:03:52 -05:00
Makefile.in [svn-r11323] Purpose: 2005-08-31 15:03:52 -05:00
ph5example.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00