Commit Graph

4308 Commits

Author SHA1 Message Date
Elena Pourmal
acb356d309 [svn-r5958]
Purpose:
    Added missing fortran functions h5set(get)_buffer_f.
    Also added  docs and tests for them.
Solution:
    Currently functions do not accept conversion and background buffers.
    This corresponds to H5set(get)_buffer call with buffer pointers
    set to NULL. If there is a demand, I can overload the functions
    to have new parameters and go through all trouble creating functions
    for all supported datatypes.
Platforms tested:
    Solaris 2.7, Linux 2.2., IRIX64-6.5
2002-10-02 14:15:43 -05:00
Frank Baker
26cd535ff2 [svn-r5957] Purpose:
Added 19 Generic Properties functions.
    Development branch only.
Description:
    Added Generic Properties functions as follows:
	H5Pcreate_class         H5Pset
	H5Pcreate_list          H5Pexist
	H5Pclose_list           H5Pisa_class
	H5Pclose_class          H5Pequal
	H5Pregister
	H5Punregister           H5Pget_size
	H5Pinsert               H5Pget_nprops
	H5Premove               H5Pget_class_parent
	H5Piterate              H5Pget_class_name
	H5Pcopy_prop            H5Pget
Platforms tested:
    IE 5.1
2002-10-01 17:30:04 -05:00
Elena Pourmal
01a577a4e9 [svn-r5956]
Purpose:
    Added new F90 APIs
Description:
    I added new F90 APIs, tests, and documentation for the following
    functions:
         h5fget_obj_count_f   h5pequal_f               h5tget_member_index_f
         h5fget_obj_ids_f     h5pget_fclose_degree_f
                              h5pset_fclose_degree_f

    Documentation for exisiting functions was missing:

    h5freopen_f, h5fflush_f, h5fmount_f, h5unmount_f, h5fget_create_plist_f,
    h5fget_access_plist_f.
Platforms tested:
    Solaris 2.7, Linux 2.2 and IRIX64-6.5
2002-10-01 13:55:47 -05:00
Raymond Lu
09325c1da6 [svn-r5955]
Purpose:
    a bug fix
Description:
    modify the condition check for the file close degree.
Platforms tested:
    Linux 2.2(eirene), Solaris 2.7(arabica), IRIX64 6.5(modi4)
2002-10-01 09:35:01 -05:00
Raymond Lu
8410a85365 [svn-r5954]
Purpose:
     a bug fix
Description:
    When a file is opened for a second time, file close degree is supposed to
    be either the same as the first open, or default as the first open is also
    default.
Platforms tested:
    Linux 2.2(eirene), Solaris 2.7(arabica), IRIX64 6.5(modi4)
2002-09-30 16:51:05 -05:00
Raymond Lu
a4bb3150b8 [svn-r5953]
Purpose:
    Update for new test program.
Description:
    Added file_handle.c in /test
2002-09-30 11:35:50 -05:00
Raymond Lu
ff7f80c383 [svn-r5952]
Purpose:
    Testing program for new APIs.
Description:
    Added API functions to return pointer to low-level file handle
    (H5Fget_vfd_handle and H5FDget_vfd_handle) and related property list
    setting functions(H5Pset_family_offset and H5Pset_multi_type).
Platforms tested:
    Linux 2.2(eirene), Solaris 2.7(arabica), IRIX64 6.5(modi4)
2002-09-30 11:33:52 -05:00
Raymond Lu
d1e26ae328 [svn-r5951]
Purpose:
    New API functions
Description:
    Added API functions to return pointer to low-level file handle
    (H5Fget_vfd_handle and H5FDget_vfd_handle) and related property list
    setting functions(H5Pset_family_offset and H5Pset_multi_type).
Platforms tested:
    Linux 2.2(eirene), Solaris 2.7(arabica), IRIX64 6.5(modi4)
2002-09-30 11:31:55 -05:00
HDF Admin
4cfb158c29 [svn-r5949] Snapshot version 1.5 release 37 2002-09-28 03:38:31 -05:00
Elena Pourmal
11b0fad3fa [svn-r5948]
Purpose:
    Added new fortran functions
Description:
    Source code, tests and documentation for h5glink2_f and h5gmove2_f
    functions were added. I also added missing man page for h5glink_f
Platforms tested:
    Solaris 2.7, IRIX64-6.5 and Liniux 2.2
2002-09-25 17:24:55 -05:00
Quincey Koziol
12e30dc9b2 [svn-r5947] Purpose:
Code cleanup

Description:
    Clean up ID->name code:
        - Reformat to better match library coding standard
        - Changed several algorithms to be more efficient
        - Integrated into library more smoothly

Platforms tested:
    eirene w/FORTRAN & C++
    arabica w/FORTRAN
    modi4 w/FORTRAN & parallel
    sleipnir
2002-09-25 09:50:49 -05:00
Elena Pourmal
f9c3920d28 [svn-r5946]
Purpose:
    Added missing fortran functions.
Description:
    Four Library Fortran API functions have been added:

    h5get_libversion_f, h5_check_version_f, h5garbage_collect_f and
    h5dont_atexit_f. Only first two functions were tested.

    Documentation file and RELEASE.txt were updated.
Platforms tested:
    Solaris 2.7, IRIX64-6.5 and Linux 2.2
2002-09-24 18:27:51 -05:00
Elena Pourmal
d7be0ad7e0 [svn-r5944]
Purpose:
    Bug fix
Description:
    Search path for include files to build h5test_fortran.a did not have
    hdf5_builddir and hdf5_srcdir directories. Compilation failed when
    scrdir configure flag was used.
Solution:
    Modified Makefile.in to include the directories into the search path.
Platforms tested:
    modi4 with srcdir on AFS and build dir in $SCR using --enable-parallel
    --enable-fortran flags.
2002-09-24 11:05:20 -05:00
Elena Pourmal
f5096c2000 [svn-r5940]
Purpose:
    Bug fix, code improvement
Description:
    Fortran tests didn't cleanup created files. Also HDF5_PREFIX and
    HDF5_PARAPREFIX were not used to specify location of the files.
    There was a redundant file in the testpar directory that contained
    an error reporting function used by both serial and parallel tests.
Solution:
    Created library h5test_fortran.a that contains functions used by the
    serial and parallel tests. It includes Fortran and C functions that
    may be called from Fortran programs to report errors, to modify
    file names and to cleanup files after run. Modified test code to
    use new functions.
Platforms tested:
    Linux 2.2 (eirene) serial
    IRIX64 (modi4) parallel with HDF5_PREFIX and HDF5_PARAPREFIX set to $SCR
    Solris 2.7 with mpich 1.2.4 with HDF5_PARAPREFIX set to /tmp/epourmal
2002-09-23 17:06:01 -05:00
Pedro Vicente Nunes
47fc490832 [svn-r5936]
Purpose:
      bug fix


       [       i  s      this a bug fix? feature? ...]
Description:


  the copy of a symbol table entry was done with a  shallow copy, in H5T_copy
 this was causing an exception on the free call of the ID to name buffer


                                                            replaced a shallow copy of a symbo  l a          edescribe 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:
windows 2000
solaris with cpp, fortran
irix64, with fortran, parallel              i r



[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.]
2002-09-21 18:20:00 -05:00
Elena Pourmal
5487187a93 [svn-r5935]
Purpose:
   Bug fix
Description:
    _DLL_ macro was not replaced by H5_DLL macro in the Fortran stabs
     header file when it was replaced in the C header files.
Solution:
     Replace it.
Platforms tested:
     Tested on Solairs 2.7 with --enable-fortran --enable-cxx flags.
2002-09-21 16:52:08 -05:00
MuQun Yang
d6525b0430 [svn-r5933]
Purpose:
change the setting of HDF5DLL
Description:
To insert the "correct" zlib path for the project file HDF5DLL
Solution:
Platforms tested:
win2000
2002-09-20 15:46:33 -05:00
MuQun Yang
fcc1eea172 [svn-r5932]
Purpose:
use H5_DLLCPP to replacer __DLLCPP__ for c++ interfaces.
Description:
Solution:
Platforms tested:
linux 2.2.18smp, IRIX64, solaris 2.7, windows 2000
2002-09-20 15:37:56 -05:00
MuQun Yang
e5b28ef37b [svn-r5931]
Purpose:
__DLL__ is a keyword in some platforms and __DLL__ is also defined as a macro for windows DLL applications.
That causes problems.
Description:
Solution:
Use H5_DLL*** to replace __DLL***__ at all header files.
Change the macro defination at H5api_adpt.h.
Platforms tested:
linux2.2.18smp, irix64, solaris 2.7 and windows 2000
2002-09-20 15:36:09 -05:00
Pedro Vicente Nunes
2aca3b77d6 [svn-r5929]
Purpose:
    bug fix
Description:
    memory leak regarding the ID to name buffer
Solution:
    added a new function H5G_free_ent_name that is called on several places of the library
Platforms tested:
 windows 2000
 linux, with cpp
 solaris, with fortran, cpp
 irix64, with parallel, fortran
2002-09-18 10:51:29 -05:00
HDF Admin
d32ad09043 [svn-r5927] Snapshot version 1.5 release 36 2002-09-14 03:38:10 -05:00
Quincey Koziol
12f8879c40 [svn-r5926] Purpose:
API name change

Description:
    Change all "space time" references to "alloc time", including API functions
    and macro definitions, etc.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/C++
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN
2002-09-13 11:57:46 -05:00
Quincey Koziol
18758623d7 [svn-r5925] Purpose:
Code cleanup

Description:
    Eliminate memory leak of compact storage raw data buffer found by purify.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/C++
    Solaris 2.7 (arabica) w/C++
    IRIX64 6.5 (modi4) w/parallel & FORTRAN
2002-09-13 11:29:30 -05:00
Quincey Koziol
f0f56c0c0a [svn-r5924] Purpose:
Code cleanup

Description:
    Switch order of test on array bounds to avoid reading data outside of array
    Located by purify.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/C++
    Solaris 2.7 (arabica) w/C++
    IRIX64 6.5 (modi4) w/parallel & fortran
2002-09-13 11:27:09 -05:00
Quincey Koziol
208e59bab9 [svn-r5921] Purpose:
Code cleanup

Description:
    Two of the parameters to H5S_select_hyperslab are defined as
    "const hsize_t foo[]", and then "foo" is assigned another value, which is
    technically against the C standard and is now causing problems for a user
    with a more strict compiler.

Solution:
    Changed "const hsize_t foo[]" to "const hsize_t *foo".

Platforms tested:
    FreeBSD 4.6 (sleipnir) - not a significant enough change to worry about
    multi-platform testing.
2002-09-11 16:34:14 -05:00
Quincey Koziol
ad39fcd690 [svn-r5919] Purpose:
Cleanup

Description:
    Cleanup gcc cases to be more general about gcc 3.x, now that gcc 3.2 has
    been released.

Platforms tested:
    FreeBSD 4.6 (sleipnir) - not a significant enough change to worry about
    multi-platform testing.
2002-09-11 16:31:13 -05:00
Quincey Koziol
7122750342 [svn-r5918] Purpose:
Bug fix.

Description/Solution:
    Fix bug in log file driver where the size of the buffer for recording the
    log information was being set incorrectly.

Platforms tested:
    FreeBSD 4.6 (sleipnir) - no additional testing on other machines neceessary,
    due to scope of fix.
2002-09-11 11:59:56 -05:00
Albert Cheng
79aa53a08f [svn-r5917] Description:
Make it the same as v1.4 by adding year 2002.
2002-09-10 11:09:45 -05:00
Bill Wendling
e5d5634456 [svn-r5916] Purpose:
Bug Fix
Description:
    Sometimes, we needed to pick up a header file in the current build
    directory.
Solution:
    Added a test to see if the compiler can handle the "-I." option so
    that it will get that header file.
Platforms tested:
    Modi4
2002-09-09 16:51:35 -05:00
Bill Wendling
85ebef607f [svn-r5913] Purpose:
Bug Fix
Description:
    We were getting the wrong MPIRUN program when you used the full
    pathname. The "case" statement was checking the "F9X" macro, but it
    really only needed the basename of the F9X macro.
Solution:
    Put wildcard matching in so that it would find the appropriate
    basename.
Platforms tested:
    Modi4
2002-09-09 15:01:49 -05:00
HDF Admin
0b99dd414c [svn-r5912] Snapshot version 1.5 release 35 2002-09-07 10:47:53 -05:00
Pedro Vicente Nunes
d3f2e1bdff [svn-r5911]
Purpose:
    bug fix in 'ID to name' function
Description:
    the function replace_name was only checking for immutable datatypes
Solution:
added a new function H5T_is_named, that checks for named datatypes


Platforms tested:
windows 2000, linux, solaris with Fortran
2002-09-04 10:50:12 -05:00
Bill Wendling
46d9c62ba1 [svn-r5910] Purpose:
Bug Fix
Description:
    Some macros had "NULL" instead of "FAIL" as the return value.
Solution:
    Change from NULL to FAIL.
Platforms tested:
    Eirene (C++), Arabica (Fortran), Modi4 (pp and Fortran).
2002-09-03 18:08:30 -05:00
HDF Admin
ac96356230 [svn-r5908] Snapshot version 1.5 release 34 2002-08-31 11:26:35 -05:00
Pedro Vicente Nunes
dd44d88893 [svn-r5907]
Purpose:
    bug turnaround in test_hdf5_fortran on a h5fmount_c call
Description:
    the H5I_nmembers(H5I_GROUP) call that is made inside
   h5fmount_c  -> H5G_replace_name -> H5I_nmembers(H5I_GROUP)

is not detecteting correctly that the entry belongs to the group list
therefore a call is made to H5I_search(H5I_DATATYPE) (there are always non-named datatypes)
and H5G_replace_ent is called with a search for the datatype group
ent = H5T_entof((H5T_t*)obj_ptr);

which returns a NULL ent

a tweak for this is to add
if( !ent) goto done;



Platforms tested:

windows 2000, Linux, Solaris with fortran
2002-08-30 16:59:22 -05:00
Albert Cheng
35ea1840d1 [svn-r5905] Purpose:
Bug fix
Description:
    script did not work for SP system.
Solution:
    added "eval" command to launch the mpi execution.  This works fine
    for SP and is basically a no-op for non-batch systems like workstations.
    Also got rid of the wrongle implemented TESTING message since the
    result was not printed and the tests output mess up the format already.
Platforms tested:
    SP (snow).  Did not test more since it has been tested out fine
    in the v1.4 checkin.
2002-08-28 18:10:42 -05:00
Pedro Vicente Nunes
7bff4eb559 [svn-r5904]
Purpose:
    Added 'ID to name' support
Description:

    There is a new API function H5Iget_name
    Most of the changes are on H5G.c , regarding the symbol table entry struct H5G_entry_t
    which has 2 new fields 'name' and 'old_name'

    A new private function was introduced H5G_ent_copy, that does a deep copy
    between 2 symbol table entries

    The test file is getname.c


Platforms tested:
    windows 2000, Linux, Solaris
2002-08-28 13:34:12 -05:00
MuQun Yang
fc5e3b4897 [svn-r5903]
Purpose:
update windows project files for fortran, fix bugs, including new files etc.
Description:
Solution:
Platforms tested:
windows 2000
2002-08-27 16:15:44 -05:00
Quincey Koziol
966adccc59 [svn-r5900] Purpose:
Code cleanup/New Feature

Description:
    Improve the space allocation in the file by re-using freed space more
    effectively.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/serial & parallel
2002-08-27 14:59:12 -05:00
Quincey Koziol
44f3c84cc9 [svn-r5899] Purpose:
Update release notes

Description:
    Mention new space allocation features.
2002-08-27 14:54:40 -05:00
Quincey Koziol
7ee60ff06d [svn-r5898] Purpose:
Additional test

Description:
    Add in a fill-value to one of the tests, to make certain that they are
    handled correctly.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/serial & parallel
2002-08-27 14:31:04 -05:00
Bill Wendling
dec82bd98e [svn-r5897] Purpose:
Cleaned up the documentation
Description:
    There were some small errors in the documentation in the source file.
2002-08-27 13:44:31 -05:00
Quincey Koziol
c6f898c3c7 [svn-r5896] Purpose:
Code cleanup

Description:
    Cleaned up some compiler warnings.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/serial & parallel.  Will be testing on IRIX64
    6.5 (modi4) in serial & parallel shortly.
2002-08-27 08:42:40 -05:00
Quincey Koziol
c2869d6a57 [svn-r5895] Purpose:
Code cleanup/More tests

Description:
    Cleaned up some compiler warnings and wrote additional tests for space
    allocation and storage size routines.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/serial & parallel.  Will be testing on IRIX64
    6.5 (modi4) in serial & parallel shortly.
2002-08-27 08:42:22 -05:00
Quincey Koziol
32b58cef08 [svn-r5894] Purpose:
Bug fix/Code cleanup/New Feature

Description:
    Correct problems with writing fill-values to external storage and allocate
    the data storage at the correct times.

    Also, mostly straighten out the strange code which allocates and fills
    raw data storage for datasets.  Things are still a bit odd in that the
    fill-values for chunked datasets are written when the space is allocated,
    instead of in a separate routine, but there are two reasons for this:
    it's inefficient (especially in parallel) to iterate through all the chunks
    twice, and (more importantly) the space needed to store compressed chunks
    isn't known until we've got a buffer of compressed fill-values ready to
    write to the chunk.

    Additionally, add in the H5D_SPACE_ALLOC_INCR and H5D_SPACE_ALLOC_DEFAULT
    setting for the "space time", which incorporate the previous behavior of
    the space allocation for chunked datasets.

    The default settings for the different types of dataset storage are now
    as follows:
        Contiguous - Late
        Chunked    - Incremental
        Compact    - Early

    This checkin also incorporates a change to the behavior of external data
    storage in two ways - fill-values are _never_ written to external storage
    (under the assumption that writing fill-values is triggered by allocating
    space in an HDF5 file, and since space is not allocated in the file, the
    fill-values should not be written) and external data files are now created
    if they don't exist when data is written to them.  The fill-value will
    probably need to be revisited at some time in the future, this just seemed
    like the safer course currently.

    I think I cleaned up some compiler errors also, before getting bogged down
    in the fixes for the space allocation and fill-values.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/serial & parallel.  Will be testing on IRIX64
    6.5 (modi4) in serial & parallel shortly.
2002-08-27 08:41:32 -05:00
Raymond Lu
d85657351a [svn-r5893]
Purpose:
    bug fix
Description:
    The H5Dget_storage_size test doesn't handle the situation when no
    compression is configured.
Platforms tested:
    IRIX 6.5
2002-08-26 16:01:42 -05:00
Bill Wendling
1c2937343e [svn-r5890] Purpose:
Bug Fix
Description:
    Some more naming mistakes.
Solution:
    Stopped calling it ds_start and calling the structure its real name.
Platforms tested:
    NERSC
2002-08-23 14:49:20 -05:00
Bill Wendling
c749cde426 [svn-r5889] Purpose:
Bug Fix
Description:
    Structure elements in the GPFS code weren't named correctly.
Solution:
    Changed the names to the correct values.
2002-08-23 14:36:58 -05:00
MuQun Yang
403be84e62 [svn-r5888]
Purpose:
Update windows including zlib macro updating, new source adding and some source code tuning.
Description:
Need to update fortran case later.
Solution:
Platforms tested:
windows 2000
2002-08-23 09:36:38 -05:00
Quincey Koziol
caf088c960 [svn-r5887] Purpose:
Regression test for bug fix

Description:
    Adjust selection so chunked data needs to be read from pre-allocated chunks
    w/filters, to verify that filter is applied correctly.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/parallel
2002-08-23 07:43:58 -05:00