Commit Graph

637 Commits

Author SHA1 Message Date
Albert Cheng
22d4e6a05d [svn-r6000] Purpose:
Bug fix (ID 765 and part of ID 841)
Description:
    "h5dump -H" would core dump.  It was because the code was not
    checking if there was any file argument after option parsing.
    It referred to an non-existing filename argument.
    There was also some very old but not commented code which allowed
    the use of back slash to escape a filename begun with '-'.  The
    '--' option is better and more common practice.
Solution:
    Added code to check if there is still a filename argument after parsing.
    (This checking probably should goto inside the option_parsing routine.
    Also removed that old code mentioned above.
Platforms tested:
    eirene, arabica and modi4
2002-10-15 00:23:54 -05:00
Albert Cheng
3658b8bbd7 [svn-r5998] Purpose:
updated copyright note.
    Copied the UNUSED correction from v1.4.
    Added an example to the usage of -- option.
Description:
    [describe the bug, or describe the new feature, etc]
Solution:
    [details about the changes, algorithm, etc...]
    [Please as detail as you can since your own explanation is
    better than others guessing it from the code.]
Platforms tested:
    arabica (fortran), modi4 (pp, fortran),eirene (fortran, CC).
2002-10-14 23:12:42 -05:00
Quincey Koziol
ea08053e29 [svn-r5983] Purpose:
More fixups to the Dependencies files...
2002-10-14 13:11:12 -05:00
Quincey Koziol
a83585acca [svn-r5981] Purpose:
Regenerate Dependencies files.
2002-10-14 09:58:25 -05:00
Bill Wendling
b19aa45229 [svn-r5978] Purpose:
Bug Fix
Description:
    Tests were failing on SOlaris machines.
Solution:
    Added an explicit return value (0) to the script and main function.
2002-10-11 12:59:24 -05:00
Pedro Vicente Nunes
c705a9300a [svn-r5976] Purpose:
more features to h5diff

Platforms tested:


   linux, windows
2002-10-10 17:24:54 -05:00
Pedro Vicente Nunes
a9c1a913ab [svn-r5975] Purpose:
changed script for tests


Platforms tested:

linux 2.4.18
2002-10-10 11:33:16 -05:00
Pedro Vicente Nunes
2ac05ce9dc [svn-r5973] Purpose:
added h5fiff to configure and makefiles

Platforms tested:


   linux 2.4.18
2002-10-09 16:25:48 -05:00
Pedro Vicente Nunes
d49f76ace9 [svn-r5972] Purpose:
added a test file , a makefile and a script to run h5diff tests

Platforms tested:

linux 2.4.18
2002-10-09 16:23:38 -05:00
Pedro Vicente Nunes
375c22e776 [svn-r5969] Purpose:
added a new file
Description:

 prototype program for h5diff

Platforms tested:

    windows 2000
2002-10-09 11:33:05 -05:00
Albert Cheng
cf834c832e [svn-r5876] Change the wording of the message from "current directory" to
"current setting".
latforms tested:
    Modi4
2002-08-17 02:54:35 -05:00
Quincey Koziol
ea052ffd55 [svn-r5674] Purpose:
Code cleanup

Description:
    Removed more compiler warnings, etc.

Platforms tested:
    Linux 2.2.x (eirene) w/parallel
2002-06-19 11:06:55 -05:00
Quincey Koziol
aefc39ac32 [svn-r5667] Purpose:
Code cleanup

Description:
    Turn on more warnings in the IRIX builds and clean them up.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-19 07:54:53 -05:00
Bill Wendling
81ab0b5efc [svn-r5645] Purpose:
Possible Bug Fix
Description:
    There seems to be a problem with the h5cc script picking up old
    header files. This may have something to do with the CPPFLAGS macro
    being set to some nefarious thing and the compiler looking in those
    directories for the header files instead of the one where HDF5 is
    actually installed.
Solution:
    Put the -I$includedir first.
Platforms tested:
    None...This is really triggered by the nightly tests. I'm kind of
    hoping that this will fix things...
2002-06-16 10:26:47 -05:00
Albert Cheng
9cee5851f3 [svn-r5627] Purpose:
Bug fix
Description:
    Old setup put $(srcdir)/h5redeploy in the install list but this
    same list is used for clean too, thus the file is removed from
    source.  That is bad.
Solution:
    Set it to use a cp to do it.  Need to change the source version
    name to something else because for one, it is confusing to use
    the same name. For another, if the build is done in place (i.e.,
    not using --srcdir), the source file is removed, again.
    So, renamed it with the .in suffix.  Who knows, it may take
    more processing than just cp when more features are added to it.
Platforms tested:
    Eirene
2002-06-13 08:53:55 -05:00
Albert Cheng
f0a98bd85b [svn-r5612] Added h5redeploy to the install list.
Tested on eirene.
2002-06-12 15:14:07 -05:00
Albert Cheng
665ea1c36f [svn-r5606] Purpose:
New tool
Description:
    This updates compiler tools (e.g., h5cc) with new directory where
    the HDF5 software has been installed.
Platforms tested:
    modi4.
2002-06-12 14:31:53 -05:00
Bill Wendling
5afb12313a [svn-r5581] Purpose:
Bug Fix
Description:
    On AIX machines, the number of script interpreters which ran the
    testh5dump.sh script would strip too many of the quotes away, causing
    problems if you're quoting something with a space in it.
Solution:
    Just got rid of the spaces and used ',' instead.
Platforms tested:
    AIX and Linux
2002-06-10 15:26:23 -05:00
Quincey Koziol
03ab48c9c3 [svn-r5444] Purpose:
Code cleanup

Description:
    Clean up warnings on IRIX64 6.5 (modi4)

Platforms tested:
    IRIX64 6.5 (modi4)
2002-05-20 13:43:31 -05:00
Pedro Vicente Nunes
49a7f1d032 [svn-r5305]
Purpose:
    user reported a bug on h5 to gif tool
Description:
    h5 to gif did not read an HDF5 image correctly
Solution:
    updated the program so that it reads the updated HDF5 image format to the latest specification
    the debug version of MSVC was giving a failure on the write of the GIF file,
    regarding the GIF file pointer
    this write error is eliminated declaring that pointer a global variable
    there is still an applicattion error on the exit of the program, only on the debug version of MSVC



Platforms tested:
    w2000
2002-05-01 09:37:14 -05:00
Albert Cheng
73683e4380 [svn-r5278] Purpose:
Migrate from configure macros of XYZ_ABC to H5_XYZ_ABC
Description:
    configure generates many macros definitions on the fly and
    were stored in src/H5config.h which is included by H5public.h.
    But other software that uses hdf5 may also run their own configure.
    There can be a clash in macro name space.  We decided awhile ago
    to prepend all generated macros with "H5_" to avoid conflicts.
    The process has started and this commit completes it (at least attempt
    to).
Solution:
    Many macros symbols (e.g. SIZEOF_xxx and HAVE_xxx were changed to
    H5_SIZEOF_xxx and H5_HAVE_xxx).  Then H5private.h no longer includes
    H5config.h.  This cuts H5config.h away from HDF5 source code.
Pending issues:
    The module of fortran and pablo are to be resolved in a different
    commit.
Platforms tested:
    eirene (parallel), arabica (solaris 7 --enable-fortran, --enable-cxx)
2002-04-28 03:34:17 -05:00
Quincey Koziol
e5fc40662c [svn-r5219] Purpose:
Code cleanup

Description:
    Clean up warnings from gcc 3.1

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-22 12:48:24 -05:00
Quincey Koziol
ef9c40754b [svn-r5200] Purpose:
Code Cleanup

Description:
    Clean up compiler warnings from the last bunch of checkins

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-18 09:05:38 -05:00
Bill Wendling
ecb4296890 [svn-r5160] Purpose:
Regen
Description:
	Updated Dependencies file...
2002-04-10 10:43:37 -05:00
Robb Matzke
9606ebdfc7 [svn-r5143] ./hdf5-devel/tools/h5ls/h5ls.c
Minor h5ls bugfix for compound types with array members.
(Similar changes shortly for 1.4 branch).


2002-04-04 16:39:09 Robb Matzke  <matzke@arborea.spizella.com>
	* display_cmpd_type: Removed code to display array dimensions from display_cmpd_type()
	   since this was a holdover from the days when hdf5
	   didn't have an array datatype and was duplicated by
	   display_array_type().
2002-04-05 14:42:58 -05:00
Bill Wendling
65d52eaf8e [svn-r5120] Purpose:
HDF4 Removal
Description:
	There were some testfiles still left after we removed HDF4 from the
	HDF5 tree...
Platforms tested:
	Linux
2002-03-29 17:55:09 -05:00
Bill Wendling
0f7c2e3017 [svn-r5088] Purpose:
Code removal
Description:
	Removed the HDF4 source files from the HDF5 tree. The directories
	will remain. Use the "-P" option when doing a cvs checkout or update
	to "prune" the empty directories from your personal tree.
2002-03-27 11:11:41 -05:00
Bill Wendling
03463f4f94 [svn-r5074] Purpose:
Code Motion
Description:
	Removal of HDF4 from the configure/Makefiles. This is a precursor to
	the actual physical removal of the HDF4 tools from the HDF5 tree.
Platforms tested:
	Arabica, Dangermouse
2002-03-20 13:14:36 -05:00
Bill Wendling
fd5e3d23af [svn-r5042] Purpose:
Bug Fix
Description:
	Some -I paths weren't included in the h5cc script. That would cause
	the compiler to fail if it was trying to find gass header files or
	the like.
Solution:
	Added the CPPFLAGS macro to the h5cc.in file so that it'll be there
	when it's generated. This will also include some -D options which we
	compiled the library with, like the LFS flags on Linux.

	Also changed the configure* files so that it will "chmod" the created
	h5cc file to 755 (executable) since that wasn't happening all the
	time...
Platforms tested:
	Linux
2002-03-07 15:07:40 -05:00
Bill Wendling
78e3463dbb [svn-r5023] Purpose:
Bug Fix
Description:
	There was a problem with having a lot of groups nested together. We
	could only handle 1024 characters at most, but, in a parallel program
	especially, it could occur that there were lots and lots of groups
	and would be more than 1024.
Solution:
	I made the "objname" part of the obj_t structure a pointer instead of
	a fixed size. Added code to allocate/deallocate the memory we need
	for it. Had to fix how the "prefix" was being handled in the h5dump
	program. It was also set to only 1024 characters in length. I made it
	dynamic.

	Added a test case...Go me!
Platforms tested:
	Linux, Solaris
2002-02-27 16:52:19 -05:00
Bill Wendling
c78139de47 [svn-r5009] Purpose:
Oops
Description:
	I added files for testing the group comments dumping feature, but
	didn't actually add it to the testh5dump.sh script.
Solution:
	Added it.
Platforms tested:
	Linux
2002-02-25 18:12:17 -05:00
Bill Wendling
6a22514a56 [svn-r5008] Purpose:
Test Add
Description:
	Added a test for dumping files with the multi driver.
Platforms tested:
	Linux
2002-02-25 18:06:26 -05:00
Bill Wendling
4263340afa [svn-r5006] Purpose:
Test Addition
Description:
	Added tests to the h5dumper for split and family file drivers.
Platforms tested:
	Linux
2002-02-25 17:38:47 -05:00
Quincey Koziol
b8dbd390db [svn-r4978] Purpose:
Code cleanup
Description:
    Cleanup compiler warnings found by the SGI compiler and gcc 3.0
Platforms tested:
    FreeBSD 4.5 w/gcc 3.0 (hack) && IRIX64 (modi4)
2002-02-16 21:51:21 -05:00
Bill Wendling
8c7a1c71b5 [svn-r4926] Purpose:
Bug Fix
Description:
	The library path was relying upon the "exec_prefix" variable.
	However, we weren't including that into the h5cc script.
Solution:
	Added it.
Platforms tested:
	Linux
2002-02-08 12:41:38 -05:00
Robb Matzke
84f632178c [svn-r4898] ./hdf5-devel/tools/h5ls/h5ls.c
Fixed copyright notice
2002-02-01 14:05:14 -05:00
Robb Matzke
378df38955 [svn-r4892] ./hdf5-devel/tools/h5ls/h5ls.c
2002-01-31 15:22:24 Robb Matzke  <matzke@arborea.spizella.com>
	*: Displays array data type information instead of saying `4-byte
	   class-10 unknown'.
2002-01-31 14:47:06 -05:00
Bill Wendling
240c679e80 [svn-r4783]
Purpose:
	Small Fix
Description:
	Changed how the list of drivers were listed from:

		{ "driver1",
		  "driver2",
		  /* ... */
		  "drivern",
#ifdef FOO
		  "driverm"
#endif
		};

	to

		{ "driver1"
		  ,"driver2"
		  /* ... */
		  ,"drivern"
#ifdef FOO
		  ,"driverm"
#endif
		};

	since it's a nicer way of doing the same thing without the annoying
	warning of an extraneous , if FOO isn't defined.
Platforms tested:
	Dangermouse, Modi4, Kelgia
2002-01-05 11:36:59 -05:00
Bill Wendling
3c6be60da7 [svn-r4782]
Purpose:
	Feature Add
Description:
	Added support for dumping Group Comments. This involved a
	modification of the DDL as well.
Solution:
	Steal code from h5ls and put it in the h5dump. The ddl.html file was
	updated as normal. And a test was created...
Platforms tested:
	Dangermouse, Modi4, Kelgia
2002-01-05 11:33:50 -05:00
Bill Wendling
1dab130c2d [svn-r4759]
Purpose:
	Bug fix
Description:
	The "make depend" command wasn't propagating down into the tools/
	directories.
Solution:
	Added the "depend:" part to the Makefile in the tools/ subdirectory.
Platforms tested:
	Linux
2001-12-30 10:07:00 -05:00
Albert Cheng
e22c095636 [svn-r4757] Purpose:
Removing the DPSS (gridstorage) driver source code.
Description:
    The DPSS (using Grid-Storage) driver is retired.
    Removed the configure option with-gridstorage from configure.in.
    Cvs remove the following files
    ./src/H5FDdpss.c
    ./src/H5FDdpss.h
    ./test/dpss_read.c
    ./test/dpss_write.c

    Regenerated Dependencies files (some had to be hand-edited since
    'make depend' did not cover them.)
    Removed reference to DPSS Virtual file driver from H5F.c.
Platforms tested:
    modi4 (Parallel; -with-gass=...), eirene, arabica (fortran, cxx).
2001-12-30 00:23:38 -05:00
Quincey Koziol
5560c64e25 [svn-r4747] Purpose:
Bug Fix.
Description:
    The H5Rget_object_type function could not get the object type for dataset
    region references.
Solution:
    Added a new function, H5Rget_obj_type, to replace H5Rget_object_type.
    The new function requires the reference type as an additional parameter,
    in order to allow queries on different reference types to be performed
    correctly.
Platforms tested:
    FreeBSD 4.4. (sleipnir)
2001-12-20 15:51:30 -05:00
MuQun Yang
4b7fe91126 [svn-r4719]
Purpose:
    minor code changes for SDS conversion with unlimited dimension case
Description:
Solution:
Platforms tested:
    eirene
2001-12-13 11:43:24 -05:00
MuQun Yang
faf5c09840 [svn-r4718]
Purpose:
    parameter file
Description:
    handle parameters in various special cases.
    Users donot even have to use this file if they don't have those special needs.
    1) memory optimization (should always be set to 0 without handling huge SDS array                            conversion)
    2) unlimited dimension with zero current size, users can use this file to define
       their chunk size.
Solution:
Platforms tested:
RedHat Zoot 6.2
2001-12-13 11:23:27 -05:00
MuQun Yang
110a526819 [svn-r4717]
Purpose:
     a bug fix
     a feature added
Description:
    1.conversion of unlimited dimension data with the current dimensional size 0
    2. Use a parameter file to control some special cases:
        1) To subdivide the huge array into hyperslabs, a memory buffer size has i
           to be set.
        2) when current dimensional size is 0, a default chunk size can be set.
Solution:
bug fixed    1. Old approach: the current dimensional size is set to H5S_UNLIMITED, which is
                  a huge number. The default chunk size is set as a *FIXED* default value.
    2. New approach: the current dimensional size is set to the current value 0.
                     Users can provide the chunk size through a parameter file.

Platforms tested:
    eirene
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2001-12-13 11:16:13 -05:00
MuQun Yang
59d30c94ef [svn-r4702]
Purpose:
   bug fixed
Description:
    Make HDF4 dataset converted from Vdata extensible.
Solution:
Platforms tested:
RedHat 6.2(Linux)
2001-12-12 11:44:05 -05:00
MuQun Yang
74c1fcc3b7 [svn-r4701]
Purpose:
   bug fixed
Description:
   HDF4 Vdata is extensible, when converted, the new HDF4 data set should also be extensible.
Solution:
   Make the HDF4 dataset converted from Vdata unlimited dimensions.
   These three testing files should be updated accordingly.
Platforms tested:
Linux, RedHat 6.2
2001-12-12 11:42:47 -05:00
Quincey Koziol
6ecbcc1717 [svn-r4676] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_buffer's parameters changed between v1.4 and the
    development branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_buffer implementation and testing
    to allow v1.4.x users to continue to use their source code without
    modification.

    These changes are for everything except the FORTRAN wrappers - I spoke with
    Elena and she will make the FORTRAN wrapper changes.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 15:26:39 -05:00
Quincey Koziol
d456c2bb82 [svn-r4643] Purpose:
Code cleanup
Description:
    Windows is generating hundreds of warnings from some of the practices in
    the library.  Mostly, they are because size_t is 32-bit and hsize_t is
    64-bit on Windows and we were carelessly casting the larger values down to
    the smaller ones without checking for overflow.

    Also, some other small code cleanups,etc.

Solution:
    Re-worked some algorithms to eliminate the casts and also added more
    overflow checking for assignments and function parameters which needed
    casts.

    Kent did most of the work, I just went over his changes and fit them into
    the the library code a bit better.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-27 11:29:13 -05:00
MuQun Yang
debeaf6e64 [svn-r4612]
Purpose:
     A new feature
Description:
    While testing h4toh5 utility with real NASA files, we find an example that the data array(one SDS) is so big that it exceeds the physical memory of some machine(>128 MB) and the conversion failed. Before the smart hyperslab operation is out, I am dividing the whole SDS into smaller hyperslabs with each hyperslab propotational to the original SDS array dimensions. For example, a three dimension array with 1000*1000*1000 elements, I can divide them into eight 500*500*500 pieces. I can read and write each piece and remember their starting and ending points. In this way, the memory allocation failure can be avoided; however, it may not be the efficient way.

    I've tested this feature using SDS without chunking. It works fine. However, when testing SDS with chunking, it is extremely slow. This happens to be a bug in HDF5 library now. Quincey may fix this later and give me a more efficient way to handle the problem. Currently all my testing files are with UNLIMITED dimensions, so in HDF5 the chunking feature will be required.

    SO by default, this feature will not be turned on.

Solution:

   see the above
Platforms tested:
    linux 2.2.18
2001-11-19 16:29:26 -05:00