3832 Commits

Author SHA1 Message Date
Elena Pourmal
6336d12b03 [svn-r4638]
Purpose:
    Maintenance
Description:
    Added tests for the H5E Fortran interface
Platforms tested:
    arabica and eirene
2001-11-27 10:11:56 -05:00
Elena Pourmal
3adfa54afc [svn-r4637]
Purpose:
    Bug fix
Description:
    Error messages were printed to the file and standard output regardless
    of the parameters passed to the h5eprint_f function. h5eprintc function
    did not close the file with the error output. Fixed.
Platforms tested:
    arabica and eirene
2001-11-27 10:10:55 -05:00
Elena Pourmal
2e910e48b9 [svn-r4636]
Purpose:
    Bug fix and maintenance
Description:
    I added new file tH5E.f90 to the fortran/test directory
Platforms tested:
    arabica and eirene
2001-11-27 10:07:15 -05:00
Quincey Koziol
35a04d41ff [svn-r4635] Purpose:
Code cleanup (sorta)
Description:
    H5_SIZEOF_HSIZE_T was missing from among the definitions we provide for
    the variables we declare.
Solution:
    Added it.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-21 15:08:58 -05:00
Quincey Koziol
db8fa602a6 [svn-r4634] Purpose:
Bug fix
Description:
    A couple more compile problems from the recent elimination of IDs from
    internal function calls.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-11-21 12:01:10 -05:00
Quincey Koziol
2edb830946 [svn-r4633] Purpose:
Bug fix.
Description:
    Builds for parallel testing exposed some places that I forgot to get rid of
    using IDs in internal APIs.
Solution:
    Switch sections of code to use proper data structures instead of IDs.
Platforms tested:
    Parallel compiles from daily tests.
2001-11-21 10:09:47 -05:00
Quincey Koziol
cdffac61e5 [svn-r4632] Purpose:
Bug fix
Description:
    Fix deep copies of property lists with H5P_DEFAULT values.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-21 10:07:32 -05:00
Quincey Koziol
2a2d3b21aa [svn-r4631] Purpose:
Bug fix
Description:
    Fixed return type from FAIL to NULL.
Platforms tested:
    Daily tests on SGI machines.
2001-11-21 10:06:25 -05:00
Quincey Koziol
a496459acc [svn-r4630] Purpose:
Add missing file.
2001-11-21 10:05:12 -05:00
Quincey Koziol
ff0f769b87 [svn-r4629] Purpose:
Bug fix for code cleanup... :-)
Description:
    Fix a few problems introduced in my previous code cleanup.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 17:29:15 -05:00
Quincey Koziol
6248a58046 [svn-r4628] Purpose:
Fix typo...
Description:
    Copy & paste error... :-)
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 16:08:58 -05:00
Quincey Koziol
cfcfc906b6 [svn-r4627] Purpose:
Code cleanup
Description:
    Got rid of IDs from internal API functions and also got rid of API calls
    from internal functions.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:18:23 -05:00
Quincey Koziol
dabfd39dc8 [svn-r4626] Purpose:
Code cleanup
Description:
    Moved parts of the H5P stuff into the new H5Ppkg.h header file from here.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:17:25 -05:00
Quincey Koziol
977504e69f [svn-r4625] Purpose:
Code cleanup
Description:
    Add new header file to separate the H5P functionality better.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:16:38 -05:00
Quincey Koziol
7a8a23b9ca [svn-r4624] Purpose:
Code cleanup & bug fixes
Description:
    Clean up memory leaks when shutting down H5P API.

    Remove all IDs from internal API calls, except for H5P_isa_class, which
    should be the only internal API call which accepts an ID besides the H5I*
    functions.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:15:49 -05:00
Quincey Koziol
394aac2768 [svn-r4623] Purpose:
Bug fix & code cleanup
Description:
    Be much more careful when closing all the IDs in an ID group, re-flush
    the ID cache after each ID closed, since the close callback for an ID could
    get back into the ID API code and create havoc.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:14:01 -05:00
Quincey Koziol
fa4e258236 [svn-r4622] Purpose:
Code cleanup
Description:
    Be more careful when starting up and shutting down APIs, only initialize
    variables which are actually shut down already.

    Get rid of IDs from internal function calls
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:11:49 -05:00
Quincey Koziol
300fcb978b [svn-r4621] Purpose:
Code cleanup
Description:
    Get rid of IDs from internal function calls.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:10:12 -05:00
Quincey Koziol
6ab0e9f092 [svn-r4620] Purpose:
Code cleanup
Description:
    Get rid of IDs from internal function calls and some small cleanups from
    the old-stype => generic property list conversion.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:07:22 -05:00
Quincey Koziol
2e53165b47 [svn-r4619] Purpose:
Code cleanup
Description:
    Clean up thread-safety macros and neaten up code.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 13:56:24 -05:00
Quincey Koziol
137d18ffe8 [svn-r4618] Purpose:
Code cleanup
Description:
    Clean up threading macros and remove vestiges of old-style property lists.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 13:55:33 -05:00
Quincey Koziol
eca257df62 [svn-r4617] Purpose:
Update document
Description:
    Note a big fix that didn't make it into the document when the bug fix code
    was checked in.
2001-11-20 13:50:16 -05:00
Quincey Koziol
1e0003652b [svn-r4616] Purpose:
Code cleanup
Description:
    Put quotes around compiler flags when debugging is on, so they get
    carried down into the Makefiles properly.
Platforms tested:
    Solaris 2.6 (baldric)
2001-11-20 13:48:40 -05:00
Quincey Koziol
5c373b3136 [svn-r4615] Purpose:
Code cleanup
Description:
    Add new header file
2001-11-20 13:47:42 -05:00
Quincey Koziol
69575231ef [svn-r4614] Purpose:
Code cleanup
Description:
    Corrected header files needed.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 13:47:15 -05:00
Binh-Minh Ribler
e9019388d8 [svn-r4613]
Purpose:
    Updating MANIFEST
Description:
    Added ./windows/all_lang.zip, which is all.zip plus the C++ API
    library and tests.
2001-11-20 08:22:41 -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
Binh-Minh Ribler
6db1b78950 [svn-r4611]
Purpose:
    Adding new zip file for windows
Description:
    Added C++ API library and tests to "all" in this new zip file.
    The C++ API is disabled, however, and will need to be enabled
    by the user.
Platforms tested:
    Windows 98
2001-11-19 16:18:34 -05:00
Bill Wendling
af35ac0ec1 [svn-r4608]
Purpose:
    bug Fix
Description:
    Changed the code so that if parallel stuff isn't enabled, then we
    don't compile the parallel code.
Solution:
    Cleaned up the code and put #ifdef's around it checking for parallel
    flags.
Platforms tested:
    Linux
2001-11-15 17:46:32 -05:00
Binh-Minh Ribler
5077ac0c90 [svn-r4605]
Purpose:
    Bug fix

Description:
    Add the overloaded member function Attribute::getName to return
    the attribute name's length as in C API.  This functionality was
    missing.  Note that the current getName that returns "string"
    is not removed, for different way of using getName.

Platforms tested:
    SunOS 5.7 (arabica)
    Windows 98
2001-11-14 17:14:05 -05:00
Binh-Minh Ribler
c84ad4179d [svn-r4604]
Purpose:
    Fixing found bug
Description:
    A data file cannot be removed because the corresponding H5File object
    is still in existence, which means the data file is still opened.
Solution:
    Moved h5_cleanup to outside of the try block so that the H5File object
    will go out of scope and be destroyed before h5_cleanup attempts to
    remove the corresponding data file.
Platforms tested:
    SunOS 5.7 (arabica)
    Windows 98
2001-11-13 17:15:47 -05:00
Quincey Koziol
53d751ee47 [svn-r4601] Purpose:
Document bug fix.
Description:
    The internal B-tree code was dumping core with an assertion failure when
    flushing data to the file if too many objects were put into the same B-tree
    (forcing the root node to split, I think).
Solution:
    Fixed the B-tree copy routine to copy the correct number of raw keys.
Platforms tested:
    FreeBSD 4.4 (hawkwind), Solaris 2.6 (baldric)
2001-11-12 15:04:00 -05:00
Quincey Koziol
164b8083f0 [svn-r4600] Purpose:
Bug fix.
Description:
    The internal B-tree code was dumping core with an assertion failure when
    flushing data to the file if too many objects were put into the same B-tree
    (forcing the root node to split, I think).
Solution:
    Fixed the B-tree copy routine to copy the correct number of raw keys.
Platforms tested:
    FreeBSD 4.4 (hawkwind), Solaris 2.6 (baldric)
2001-11-12 15:03:30 -05:00
HDF Admin
c5c9b991e7 [svn-r4598] Snapshot version 1.5 release 15 2001-11-10 04:25:40 -05:00
Albert Cheng
90cda8338c [svn-r4597] Purpose:
Bug patch
Description:
    pio_xxx.c will fail compiling in serial mode.
    I temporary disable the compile of the pio-perform code from
    the Makefile.  Will fix it after sunday.
Platforms tested:
    eirene (serial).
2001-11-09 08:47:34 -05:00
MuQun Yang
c5cfcea6be [svn-r4596]
Purpose:
    Update H5pubconf.h and H5config.h on windows platform. Would like to be checked by c++ API and see whether the newly checking-in all.zip works.
Description:
      H5config.h and H5pubconf.h are all rearranged. Comments have not been added to H5pubconf.h yet. Will be done later.
Solution:
     Most auto-generated system specified constants have been manually tuned on windows platforms. Some of them are still unknown. Will wait later.

Platforms tested:
    windows 2000
2001-11-08 08:47:29 -05:00
MuQun Yang
7957dc20af [svn-r4595]
Purpose:
     1. temporarily fixed mtime test when daylight saving changes on windows.
     2. move H5_inline defination for win32 to windows H5pubconf.h at H5private.h.
Description:
     1. the mtime test is not working when the daylight saving ends. Hard-coded back to the correct time. Need to find a universal solution later.
     2. Move H5_inline defination for win32 at H5private.h into windows specificed H5pubconf.h so that windows maintenance can be more easy to handle.
Solution:
     see above.
Platforms tested:
    windows 2000, confirmed at Linux Red Hat 6.2.
2001-11-08 08:35:13 -05:00
Binh-Minh Ribler
55de078e47 [svn-r4594]
Purpose:
    Minor code cleanup
Description:
    Removed unused variables, that were complained by Windows.
Platforms tested:
    SunOS 5.7 (arabica)
    Windows 98
2001-11-07 22:40:00 -05:00
Albert Cheng
ef7dfc021a [svn-r4593] Updated for the PIO performance files. 2001-11-07 10:32:21 -05:00
Albert Cheng
bb76b558e6 [svn-r4592] Purpose:
New addition
Description:
    Initial version of the Parallel I/O performance measurement program.
    Not fully implemented yet but checking them in before I may destroy
    them by accident.
    Don't run this in small file system (like AFS or eirene) since it
    generates gigabytes test files.
Platforms tested:
    modi4 64bits.  It compiled and ran but took a long time because
    the current test parametes are too "wild".
2001-11-07 10:28:33 -05:00
Quincey Koziol
965e3bc3e2 [svn-r4591] Purpose:
Code cleanup
Description:
    Fix a bunch of warnings
Platforms tested:
    Linux 2.2 (eirene)
2001-11-03 22:23:30 -05:00
Quincey Koziol
bd74bf3ff0 [svn-r4590] Purpose:
Code cleanup
Description:
    Fix a bunch of warnings and also make the linux compilers happy with
    some casts.
Platforms tested:
    Linux 2.2 (eirene)
2001-11-03 22:21:41 -05:00
Quincey Koziol
0001a13617 [svn-r4589] Purpose:
Code cleanup
Description:
    Clean up various compiler warnings from generic property updates.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-03 17:27:54 -05:00
Quincey Koziol
3af26fa7a5 [svn-r4588] Purpose:
Documentation
Description:
    Mention improvements to I/O speed for non-regular hyperslabs.

    Hold off mentioning new API calls until we've reached consensus on them.
2001-11-02 15:37:39 -05:00
Quincey Koziol
1a65aeeade [svn-r4587] Purpose:
Code speedups, etc.
Description:
    Add tests for new hyperslab API functions (currently ifdef'd out)
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-02 15:32:11 -05:00
Quincey Koziol
1cd9eb7e0d [svn-r4586] Purpose:
Code speedups, etc.
Description:
    Bring in new algorithms and data structures for dealing with hyperslabs.

    This speeds up the hyperslab I/O for non-regular hyperslabs by a huge
    amount.

    Currently, the new API functions are ifdef'ed out, pending discussion
    and consensus approval.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-02 15:31:35 -05:00
Raymond Lu
e9d955be61 [svn-r4585]
Purpose:
    Switch from old property list to new generic property list.
Description:
    Switch API function for the new generic property list.
Platforms tested:
    IRIX64 6.5, FreeBSD, SunOS 5.7.
2001-11-02 14:47:41 -05:00
Raymond Lu
5122df335c [svn-r4584]
Purpose:
    Switch from old property list to new generic property list.
Description:
    Mainly changed H5Pcreat, H5Pclose, H5Pcopy.
Platforms tested:
    IRIX64 6.5, FreeBSD, SunOS 5.7.
2001-11-02 14:46:36 -05:00
Raymond Lu
ec59e5f52a [svn-r4583]
Purpose:
    Switch from old property list to new generic property list.
Description:
    Changed C++ according to the new generic property list.
Platforms tested:
    FreeBSD, SunOS 5.7.
2001-11-02 14:45:25 -05:00
Albert Cheng
651c4b1064 [svn-r4582] Purpose:
New test feature
Description:
    Added create_faccess_plist() that create just MPIO or split+MPIO
    file-access property list.  This in turn can run parallel tests
    with just MPIO or with Split-file VFD too.
    Added -s option for split-file Plus MPIO tests.
    For testphdf5.c: removed a bunch of old debug code that got left
    in by mistake.
Platforms tested:
    Modi4 and eirene parallel.
    But it has uncovered errors in the library.  The test program
    is correct though.  Checking the test program in so that it won't
    get lost and can be used for debugging.  Also, the -s is not used
    by default during test.  At least it won't abort "make check".
2001-11-02 10:21:51 -05:00