Commit Graph

3508 Commits

Author SHA1 Message Date
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
Binh-Minh Ribler
1398cc0eef [svn-r4580]
Purpose:
    Bug fixing
Description:
    + added operator= to PredType
    + removed 'using namespace std' from H5RefCounter.cpp because it's not
        used and leaving it there requires #include some standard header file
    + added 'using namespace std' in H5Exception.cpp

Platforms tested:
    SunOS 5.7 (arabica)
    Windows 98
2001-10-31 11:01:35 -05:00
HDF Admin
356626bd34 [svn-r4578] Snapshot version 1.5 release 14 2001-10-27 04:44:59 -05:00
Quincey Koziol
6f6eca2c04 [svn-r4576] Purpose:
Bug fix
Description:
    When compiled with the -g flag (for debugging), the incremental linker
    causes problems when building the H5detect utility.
Solution:
    Turn off the incremental linker (with the -xildoff flag) when compiling
    for debugging.
Platforms tested:
    Solaris 2.8/64 (houdin)
2001-10-26 10:55:46 -05:00
Frank Baker
ed123d7555 [svn-r4574]
Purpose:
    Bugfix
Description:
    H5Awrite -- corrected final parameter type to 'const void'
Platforms tested:
    IE 5
2001-10-26 10:11:45 -05:00
Raymond Lu
33189bd39b [svn-r4573]
Purpose:
    Switch mount property list to the new generic property list.
Platforms tested:
    IRIX64 6.5, SunOS 5.7, FreeBSD.
2001-10-25 14:52:10 -05:00
Raymond Lu
b3afaccfe5 [svn-r4572]
Purpose:
    Followup file access property list changes.
Platforms tested:
    IRIX64, SunOS 5.7, FreeBSD.
2001-10-25 14:29:37 -05:00
Albert Cheng
46af16f87b [svn-r4571] Purpose:
Improvement
Description:
    Removed the hard coding of all the test hosts.  Let it be defined
    in a file.
Platforms tested:
    Eirene
2001-10-24 13:06:50 -05:00
Raymond Lu
b6da4ea427 [svn-r4569]
Purpose:
    Generic Property List Change
Description:
    Changed file access list to the new generic list.
Platforms tested:
    IRIX64, SunOS5.7, FreeBSD
2001-10-24 13:02:27 -05:00
Quincey Koziol
aef98c3b6f [svn-r4568] Purpose:
Code cleanup
Description:
    I had moved an fclose() in my earlier fix and it could lead to a resource
    leak in certain error conditions.

    Also, prepared file for Albert to expand to test with files larger than
    2GB... :-)
Solution:
    Moved fclose() call back to original position.

    Put in type cast for FAMILY_SIZE macro.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-10-23 16:38:21 -05:00
Quincey Koziol
b8a536b20b [svn-r4564] Purpose:
Bug fix
Description:
    'big' test was not detecting that the AFS quota had been hit when running
    under FreeBSD.
Solution:
    Amending quota checking code to detect errors on file closes as well as
    opens, seeks and writes.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-10-23 14:20:47 -05:00
Quincey Koziol
aeaa30b4e1 [svn-r4563] Purpose:
Code cleanup
Description:
    Update tracing API information
Platforms tested:
    Linux 2.? (dangermouse)
2001-10-23 14:19:03 -05:00
Quincey Koziol
ee449fbd40 [svn-r4562] Purpose:
Document bug fixes.
2001-10-20 14:31:41 -05:00
Quincey Koziol
fc0bc212bb [svn-r4561] Purpose:
Bug fix
Description:
    H5S_select_elements is not actually putting the new point on the list of
    points selected when there are no points currently selected and the
    'append' operation is chosen.
Solution:
    Add new point to list correctly.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-10-20 14:25:58 -05:00
Quincey Koziol
8c076f6921 [svn-r4560] Purpose:
Bug fix.
Description:
    H5S_select_hyperslab fails to correctly define a hyperslab when the space
    to put the hyperslab into is currently a 'none' selection and the hyperslab
    operation is the 'or' operation.
Solution:
    Detect the situation and internally modify the hyperslab operation to be
    a 'set' operation, since that's the next affect desired.
Platforms tested:
    FreeBSD 4.4. (hawkwind)
2001-10-20 14:24:03 -05:00
HDF Admin
5efe5534ce [svn-r4557] Purpose:
kludge
Description:
    Somehow if consecutive "rsh houdin -n ..." are issued too close,
    a "Connection refused" result.  Then /usr/local/krb5/rsh falls
    back to ordinary rsh protocal which of course won't work either.
Solution:
    if the houdin to be tested is houdin, wait for 5 seconds before
    launching the 'rsh ...' command.  Hopefully the system admin can
    fix the rsh problem.
Platforms tested:
    eirene talking to houdin.
2001-10-19 18:53:46 -05:00
Albert Cheng
7e76f7b0d1 [svn-r4556] Purpose:
Feature (actually a kludge)
Description:
    The old "setenv" option for the snaptest.cfg cannot handle
    if there are white spaces in the setenv value part.
    Added a "setenv2" that expects the value consists of 2 parts.
    A better solution (like can parse in double quoted values) is
    needed.
Platforms tested:
    eirene with houdin (solaris 2.7)
2001-10-19 00:20:44 -05:00
Quincey Koziol
3b2053492a [svn-r4554] Purpose:
Bug Fix
Description:
    Section of code which defined file offset and length macros was removed
    a while ago and found during testing just now.
Solution:
    Replaced section of code to define macros.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-10-17 15:25:03 -05:00
Quincey Koziol
0cec5adf06 [svn-r4553] Purpose:
Bug fix.
Description:
    Fix int/unsigned problem in C++ wrapper API
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-10-17 09:57:53 -05:00
MuQun Yang
f49ae55a0f [svn-r4551]
Purpose:
    bug fix
      HDF5 debug dll test failed when using all_withf90.zip.
Description:
    various tests failed when using all_withf90.zip
    with the same project setting, all tests passed when using all.zip(C test).
    Suspect Digital fortran compiler problem.
Solution:
     Find one strange warning message:
     LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library

      Following the instruction, ignore msvcrt.lib when linking with hdf5dll.
      All tests passed.
      Don't know the exact reason since msvcrt.lib is kind of required for DLL.

Platforms tested:
     windows 2000
2001-10-16 16:14:50 -05:00
Albert Cheng
99ae70b921 [svn-r4550] Purpose:
Bug fix
Description:
    GASS nor gridstorage worked any more because SSL library testing
    was moved after them.
Solution:
    Moved SSL library to be tested before GASS or Gridstorage options
    are tested.  Also make the testing of SSL libraries default to
    no testing, so that it won't get activated unnecessarily.
Platforms tested:
    IRIX64 -64, serial and parallel.  (GASS driver needs globus
    software which is available in modi4 only.)
2001-10-16 16:08:50 -05:00
Quincey Koziol
cdbb523b94 [svn-r4548] Purpose:
Code cleanup.
Description:
    Fix a few compiler warnings from the file creation property list -> generic
    property list conversion.  Also change a hard-wired value (8) for the
    number of B-tree key values to a value that uses the enum's generated by
    the compiler.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-10-16 13:19:06 -05:00
Albert Cheng
8f0acc1697 [svn-r4547] Description:
Revise the beginning comment block with "better" wording,
    at least better to me. :-)
Platforms tested:
    chkmanifest it in eirene.
2001-10-16 11:40:38 -05:00
Bill Wendling
dda41213de [svn-r4545]
Purpose:
	Bug Fix
Description:
	Function was returning NULL instead of FAIL
Solution:
	Returned FAIL instead.
Platforms tested:
	Linux
2001-10-15 14:41:08 -05:00
Raymond Lu
a3dfc8e0c5 [svn-r4544]
Purpose:
    Changed the file creation property list to the new generic property list.
    Modified for new file creation property list.
Platform tested:
    IRIX64, SunOS5.7, FreeBSD
2001-10-15 14:38:51 -05:00